Johannes Schickel
64f9c902dd
OPENGL: Smooth mouse experience when black bars are visible.
...
This gets rid of the feeling of the mouse sticking to black borders by using
the full output resolution as area for tracking game mouse movement. The same
behavior is present in plain SDL output with SDL2.
2015-12-14 20:26:05 +01:00
Johannes Schickel
862e4302a7
WIN32: Fix building for (some) MinGW64 toolchains.
2015-12-14 17:15:18 +01:00
Johannes Schickel
86db21467e
SDL: Slight formatting fixes.
2015-12-13 23:53:27 +01:00
Johannes Schickel
898773e12f
OPENGLSDL: Set proper mouse emulation dimensions.
...
Formerly we did not initialize the mouse emulation from SdlEventSource
properly. Now hopefully joysticks etc. should work fine with the SDL OpenGL
output too.
2015-12-13 23:53:27 +01:00
Johannes Schickel
5d48e211aa
SDL: Fix mouse emulation with SDL2.
...
The mouse emulation via keyboard (or other means) was broken with
079037b739
.
2015-12-13 21:30:25 +01:00
Johannes Schickel
942d0fdad4
OPENGL: Limit scissor override to invisible overlay.
...
This fixes some corner cases which caused black bars to appear for a few screen
updates when the overlay is visible.
2015-12-13 21:30:25 +01:00
Johannes Schickel
cbc517f14f
SDL: Fix warpMouse for SDL2.
...
Thanks to bgK for noticing.
2015-12-13 15:44:42 +01:00
Johannes Schickel
693834e8c6
OPENGL: Implement black borders using scissor test.
2015-12-12 22:40:20 +01:00
Johannes Schickel
f65a8b2689
OPENGL: Only redraw screen when actual changes happened.
2015-12-12 22:31:35 +01:00
Johannes Schickel
fe2ee9ecf5
OPENGL: Refactor screen refresh handling.
...
Subclasses of OpenGLGraphicsManager are now supposed to supply a refreshScreen
function which handles actual screen updating (for example, buffer swapping).
2015-12-12 22:31:35 +01:00
Johannes Schickel
3232050dfc
OPENGL: Fix include guard name.
2015-12-12 22:31:35 +01:00
Johannes Schickel
33be7ef5dd
Merge branch 'rpi-sdl2'
...
This is a manual merge of pull request #632 . The history fo the PR has been
cleaned up.
2015-12-08 21:43:34 +01:00
vanfanel
66dbb7f485
SDL/DISPMANX: Remove dispmanx graphics output.
2015-12-08 21:41:40 +01:00
vanfanel
1eecc41ef6
OPENGLSDL: Request GLES1.1 context with SDL2 for GLES targets.
2015-12-08 21:41:40 +01:00
Johannes Schickel
457640a162
SDL: Prevent cursor from leaving screen area in fullscreen with SDL2.
2015-12-08 15:43:36 +01:00
Johannes Schickel
079037b739
SDL: Prevent graphics stretching in fullscreen when using SDL2.
...
As a side effect we get better coordinates from mouse move events in
fullscreen, i.e. we do not get actual window coordinates but something close
to actual viewport coordinates. The easily noticable issue is that mouse
coordinates inside black bars are outside of the viewport. For example, the
x coordinate can get negative when there's a black bar at the left side.
2015-12-08 15:41:10 +01:00
Eugene Sandulenko
bfb326a4a2
Merge pull request #631 from fedor4ever/fedor4ever-patch-1
...
SYMBIAN: various fixes in build scripts
2015-12-06 16:24:44 +01:00
Fedor
84c516d47a
Symbian: cleanup build script
...
Add missed engines, all engines ordered by names, simplified and clear comments
2015-12-03 23:43:22 +03:00
Fedor
9cdcce6bc6
Symbian: add Sherlock engine support
2015-12-03 23:31:20 +03:00
Torbjörn Andersson
93b2a2e5c6
TIMIDITY: Fix resource leak (CID 1003919)
2015-11-30 22:21:35 +01:00
Fedor Strizhnev
f6ea588b89
Symbian: fix build issues
...
Add new linker options to remove useless code
Add file not parsed by script
2015-11-22 23:36:47 +03:00
Fedor Strizhnev
296199086a
Symbian: add new engine
2015-11-22 23:22:36 +03:00
Fedor Strizhnev
96b2706b29
Symbian: fix complation issues
2015-11-22 23:20:58 +03:00
Fedor Strizhnev
a155ba6542
Symbian: add new engine to help file
2015-11-22 23:17:54 +03:00
Fedor Strizhnev
c282884276
Symbian: help file build once now
2015-11-22 23:13:32 +03:00
vanfanel
9d831d0c42
SDL/DISPMANX Fixed small issues with merging: Use append_var, fix spacing issues and changed SurfaceSdlGraphicsManager constructor call parameters on DispmanXSdlGraphicsManager constructor.
2015-11-12 14:03:14 +01:00
vanfanel
99739a13fe
Merge branch 'master' into dispmanx
2015-11-11 17:56:12 +01:00
vanfanel
37e157a11c
SDL/DISPMANX Make additional notes on README.RASPBERRYPI telling users to manually disable some features that are sub-optimal on the Pi when they don't pass a host parameter
2015-10-20 21:15:26 +02:00
vanfanel
c2c95cc95b
SDL/DISPMANX Fixed dispmanx activation parameter on README.RASPBERRYPI
2015-10-19 12:12:54 +02:00
vanfanel
c362119572
SDL/DISPMANX Renamed the RASBERRYPI define to the less confusing name of DISPMANX because it controls whether dispmanx rendering backend is enabled or not on the Raspberry Pi.
2015-10-18 20:25:53 +02:00
Kirben
8f9245cfce
WIN: Fix mingw64 compilation, by limiting last hack.
2015-10-08 11:02:40 +11:00
Kirben
7e81052150
WIN: Add hack for command line display in Windows versions built with MinGW.
2015-10-08 10:46:05 +11:00
Willem Jan Palenstijn
bf822e7dc0
SYMBIAN: Rename define and rephrase comments
2015-09-14 22:46:19 +02:00
Fedor Strizhnev
c7aa5cb995
SYMBIAN: Delete obsolete fixes for 'remove'
2015-09-14 22:43:35 +02:00
Fedor Strizhnev
99d6dec059
SYMBIAN: Fix compilation error caused by remove macro
2015-09-14 22:43:09 +02:00
vanfanel
fcbecdeaf6
SDL/DISPMANX: Corrected hasFeature() return values and made setFullScreenMode() ignore the enable value.
2015-07-24 12:04:51 +02:00
vanfanel
8382e87baa
SDL/DISPMANX: Made minor corrections sugested by fingolfin.
2015-07-24 11:48:21 +02:00
vanfanel
8cf5f96b9e
SDL/DISPMANX: Make hasFeature(kFeatureFullscreenMode) return false since dispmanx graphics always run in accelerated fullscreen mode.
2015-07-22 13:33:19 +02:00
vanfanel
b706ca36f1
SDL/DISPMANX: Updated class member names, configure script and asociated files and docs to conform to fingolfin's corrections.
2015-07-22 13:00:45 +02:00
vanfanel
6320a008ec
SDL/DISPMANX: Updated rendering code for better buffers management.
2015-07-20 17:15:04 +02:00
vanfanel
bf68de9aa7
RASPBERRYPI: Changed the RGB code for the game screen surface and added RaspberryPi information file.
2015-07-20 17:13:19 +02:00
vanfanel
2592c72cb5
RASPBERRYPI: Rewrote buffering code of the dispmanx graphics driver for stability.
2015-07-20 17:13:19 +02:00
vanfanel
eeb9ec9af9
RASPBERRYPI: Corrected redundant for loop on the dispmanx graphics driver code.
2015-07-20 17:13:19 +02:00
vanfanel
0855b41c07
RASPBERRYPI: Fixed variable names, removed gcc optimization flags, temporary decrease buffers to 2.
2015-07-20 17:11:47 +02:00
Johannes Schickel
ed698701d7
SDL: Fix compilation with SDL2.
2015-05-20 00:27:23 +02:00
Johannes Schickel
c300944335
SDL: Add TODO about fullscreen modes to OpenGL SDL code.
2015-05-16 16:57:44 +02:00
Littleboy
40e019efd4
SDL: Restore the original video mode when unloading the Surface graphics manager
...
We set a custom video mode that might have a different BPP from the default. To ensure that other graphics managers will get the proper results when listing available video modes, we need to restore the initial BPP when unloading.
This fixes an issue when switching to OpenGL on Windows 8 and later. On those OSes, fullscreen OpenGL only has a 32bpp mode. It is correctly listed in the options but we call SLD_SetVideoMode later in the surface graphics manager. When we list the mode again after a switch, the internally selected BPP is still 16 and we fail to find any available fullscreen modes.
2015-05-16 01:29:15 -04:00
Littleboy
ed3a32a91a
SDL: Check for NULL when listing available modes via SDL_ListModes
...
It can be returned when there are no dimensions available for the currently selected pixel format
2015-05-15 23:30:02 -04:00
Tarek Soliman
0aa512da12
MAEMO: Fix compilation.
...
Related to 71cc9e41e8
2015-04-20 12:12:34 -05:00
vanfanel
f876fdc7f0
RASPBERRYPI: fixed some comments and spacing on the dispmanx graphics driver
2015-03-29 21:53:21 +02:00