Nikolay Kasyanov
75d79e98b9
Force software decompression if OPENMW_DECOMPRESS_TEXTURES is set
7 years ago
Nikolay Kasyanov
359f87ab9f
Change imageToSurface to return a unique_ptr to avoid manual surface cleanup
7 years ago
Nikolay Kasyanov
224b94c0ce
Decompress cursors using SDL software renderer on Mac or if OSG >= 3.5.8
7 years ago
bret curtis
4890ecd357
remove native GLESv* support, as it never worked; make things less complicated as result, fixed lighting.glsl to work with gl2es thanks to ptitSeb
7 years ago
Ilya Zhuravlev
359910762d
GraphicsWindowSDL2: support setting up GLESv2 context for android
7 years ago
Ilya Zhuravlev
a038327521
SDLCursorManager: fix possibly invalid read when no cursor present
...
On android we have no cursor so I moved the check closer to usage
7 years ago
Ilya Zhuravlev
d2121ccd62
Update android port.
7 years ago
scrawl
e7ad012977
Pass repeat key events to the GUI
...
For example, one can scroll to the last element in a list by holding down the 'Down Arrow' key.
7 years ago
Thunderforge
54fe645703
Removing erroneous comment since Qt is not relevant here
7 years ago
Thunderforge
464c64a306
Swap the OIS Ctrl and Meta keys on macOS to match Qt
7 years ago
scrawl
cef415509f
Revert "Merge redundant input events"
8 years ago
Julian
3cfd9af945
merge redundant input events
8 years ago
PlutonicOverkill
5049fe4320
Pause game when minimised on Windows
8 years ago
scrawl
c1fe9f2a89
Avoid warping the mouse cursor more than necessary
...
Apparently, the SDL_WarpMouseInWindow can be very expensive (anywhere from 0.1-5ms) due to XSync() in the implementation.
This was causing no-grab=1 configurations to suffer from terrible stuttering when turning the view.
8 years ago
scrawl
21aad00612
Don't pass key events to the viewer when Alt modifier is held
...
Fixes the stats panel briefly showing up when using 'Alt+F4' to exit.
8 years ago
scrawl
fc95a45cb6
Don't pass repeat key events to the viewer's eventQueue
8 years ago
scrawl
8f79fa3d72
Add resource statistics panel opened with F4
8 years ago
scrawl
3b24bb9a5e
Use OS X cursor workaround for GL_VENDOR ATI and add an environment variable for control
8 years ago
Leon Krieg
170e723cc7
Handle SDL event 0x304 by doing nothing ( #3670 )
8 years ago
Aussiemon
369272fc70
Handle SDL event 0x302 by doing nothing
8 years ago
sandstranger
a7b78b37f5
disable opengles for Android by default
9 years ago
Marc Zinnschlag
28e3fe837f
Merge remote-tracking branch 'scrawl/osg_34'
9 years ago
scrawl
eaf3f5a829
Remove unused arguments
9 years ago
scrawl
6fc6913424
Do not set the cursor when creating it
9 years ago
scrawl
5824619a95
Clean up includes
9 years ago
scrawl
8b596dfcbe
Remove support for OSG 3.2
...
Since commit e8662bea31
, we're using OSG functionality that contains an unfixed crash bug in version 3.2. The bug is fixed in version 3.4 (OSG commit 6351e5020371b0b72b300088a5c6772f58379b84)
9 years ago
scrawl
e8662bea31
Change the way that image origin is converted to OpenGL's lower-left convention
...
Flip the texture coordinates instead of flipping textures.
This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
9 years ago
scrawl
78a733a12c
Fix initialization of InputWrapper::mWindowHasFocus
9 years ago
scrawl
6f966b8434
Don't use osg::notify
9 years ago
Paul Cercueil
06719df868
Use the standard cursor if the custom cursor can't be used
...
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
9 years ago
scrawl
293f3f30b5
Indentation fix
9 years ago
sandstranger
238a5824be
add custom new variable fot Qt
9 years ago
sandstranger
bd5057aa3c
enable opengl es1
9 years ago
scrawl
7776c49fc1
GraphicsWindowSDL2: adjust the log levels
9 years ago
scrawl
0409e5a043
Use OSG_VERSION_GREATER_EQUAL / LESS_THAN rather than MIN_VERSION_REQUIRED (cosmetic change)
9 years ago
scrawl
a47617c21f
Fix tab indentations in apps/ and components/
9 years ago
Nikolay Kasyanov
166df28906
OS X cursor workaround build fix
9 years ago
scrawl
4a68ceaeb7
Restrict the OS X cursor workaround to Intel graphics systems
9 years ago
scrawl
af5ffa5548
Don't warn about SDL touch events
10 years ago
scrawl
47ac20af40
Workaround flipped cursor on OS X
10 years ago
slothlife
420789baa9
Remove an unused include
10 years ago
slothlife
1b3cc957f8
Move some OSG static library setup code
10 years ago
slothlife
df99d5a59d
Move setup code for OSG when statically linked
10 years ago
scrawl
de6dc21552
Create hardware cursors in advance ( Fixes #2660 )
10 years ago
scrawl
35b2d91fb3
Throw error when failing to create graphics context
10 years ago
scrawl
9c9b83f8e2
Changes to compile with osg-svn 3.3.8
10 years ago
scrawl
e642f20a65
Restore screenshot key functionality
10 years ago
scrawl
1cdb440b77
glReadPixels *is* available on OpenGL ES
10 years ago
scrawl
9ee63dc3f4
Change stats viewer key to f3
10 years ago
scrawl
22f01b1232
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
apps/launcher/graphicspage.cpp
apps/opencs/editor.cpp
apps/opencs/model/doc/document.cpp
apps/opencs/view/render/cell.cpp
apps/opencs/view/render/mousestate.cpp
apps/opencs/view/render/textoverlay.cpp
apps/opencs/view/render/worldspacewidget.cpp
apps/openmw/mwclass/creature.cpp
apps/openmw/mwclass/npc.cpp
apps/openmw/mwgui/inventorywindow.cpp
apps/openmw/mwgui/loadingscreen.cpp
apps/openmw/mwgui/mapwindow.cpp
apps/openmw/mwgui/pickpocketitemmodel.cpp
apps/openmw/mwgui/waitdialog.cpp
apps/openmw/mwmechanics/combat.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
apps/openmw/mwrender/globalmap.cpp
apps/openmw/mwworld/physicssystem.cpp
apps/openmw/mwworld/refdata.cpp
apps/openmw/mwworld/scene.cpp
apps/openmw/mwworld/worldimp.cpp
components/sdlutil/sdlinputwrapper.cpp
extern/shiny/Main/Factory.cpp
extern/shiny/Main/MaterialInstance.cpp
extern/shiny/Main/Platform.cpp
extern/shiny/Main/ShaderSet.cpp
10 years ago