Commit Graph

27 Commits (0.7.0)

Author SHA1 Message Date
Nikolay Kasyanov 75d79e98b9 Force software decompression if OPENMW_DECOMPRESS_TEXTURES is set 6 years ago
Nikolay Kasyanov 359f87ab9f Change imageToSurface to return a unique_ptr to avoid manual surface cleanup 6 years ago
Nikolay Kasyanov 224b94c0ce Decompress cursors using SDL software renderer on Mac or if OSG >= 3.5.8 6 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
6 years ago
Ilya Zhuravlev d2121ccd62 Update android port. 6 years ago
scrawl 3b24bb9a5e Use OS X cursor workaround for GL_VENDOR ATI and add an environment variable for control 7 years ago
scrawl eaf3f5a829 Remove unused arguments 8 years ago
scrawl 6fc6913424 Do not set the cursor when creating it 8 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.
8 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
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 47ac20af40 Workaround flipped cursor on OS X 9 years ago
slothlife 420789baa9 Remove an unused include 9 years ago
slothlife 1b3cc957f8 Move some OSG static library setup code 9 years ago
slothlife df99d5a59d Move setup code for OSG when statically linked 9 years ago
scrawl de6dc21552 Create hardware cursors in advance (Fixes #2660) 9 years ago
scrawl 35b2d91fb3 Throw error when failing to create graphics context 9 years ago
scrawl 1cdb440b77 glReadPixels *is* available on OpenGL ES 9 years ago
scrawl 314c1161ae Minor addition to reading display 9 years ago
scrawl 99eb78fc19 Fix $DISPLAY not being accounted for in cursor decompression context 9 years ago
scrawl 5dd1b2ae86 Readded HW cursor rotation 9 years ago
scrawl 9ea416b852 Readded HW cursor manager (no image rotation yet) 9 years ago