Commit Graph
158 Commits
Author SHA1 Message Date
Lars Buitinck e5e2c3701a TINYGL: rename variable to get rid of warning 2014-05-18 16:26:09 +02:00
Dries Harnie aa90e6848f GRAPHICS: Only use packed depth-stencil framebuffer if extensions allow it 2014-04-21 12:00:41 +02:00
Dries Harnie 9f6cae54af GRAPHICS: Add OpenGL extension registry 2014-04-21 12:00:41 +02:00
Pawel Kolodziejski 8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Dries Harnie 5dcf795fd7 GRAPHICS: Remove use of glMapBuffer (extension) 2014-04-02 20:38:15 +02:00
Einar Johan Trøan Sømåen 7f77f55d10 TINYGL: Update ChangeLog 2014-02-20 19:33:27 +01:00
Einar Johan Trøan Sømåen 1b3753bc48 TINYGL: Remove typedef from struct-definitions. 2014-02-20 19:08:55 +01:00
Einar Johan Trøan Sømåen 206975fb13 TINYGL: Make read-only parameters in zmath const.
(This also changes a by-value pass in gl_M4_InvOrtho to const-reference,
thanks to Botje for pointing that one out).
2014-02-20 18:58:03 +01:00
Einar Johan Trøan Sømåen 698ef4a37c TINYGL: Use astyle to (semi-selectively) apply the code-formatting conventions to TinyGL. 2014-02-20 18:46:49 +01:00
Einar Johan Trøan Sømåen b21271bd82 TINYGL: Put declaration of counting variable inside for-construct. 2014-02-20 18:06:04 +01:00
Christian Krause 348e5fe105 JANITORIAL: Fix compile warning
- initialize size_t member with 0 instead of NULL
2014-02-17 20:51:25 +01:00
Pawel Kolodziejski 9f54d1a56e JANITORIAL: cleanup licences 2014-02-16 17:57:34 +01:00
Dries Harnie 6ed13c9dd0 JANITORIAL: Store size_t offsets in vertex attributes 2014-02-16 11:51:50 +01:00
Pawel Kolodziejski aa74f1c610 GLES2: avoid direclty cast uint32 to 64bit pointer 2014-02-16 09:10:23 +01:00
Christian Krause 5577bd71b7 Merge pull request #833 from chkr-private/compiler-warning-fixes
EMI/GRIM/TINYGL: fix compile warnings and coverity issues
2014-02-15 18:50:59 +01:00
Christian Krause 344d86bf45 TINYGL: Fix coverity and compile warning
- change void* to byte*, otherwise delete[] is undefined
2014-02-15 18:40:30 +01:00
Dries Harnie c13a6613e6 GRAPHICS: Update system_headers.h for regular OpenGL 2014-02-06 18:56:11 +01:00
Dries Harnie ef1c2f5a67 GRAPHICS: Also add a stencil attachment to framebuffers
Note that this does require the GL_OES_packed_depth_stencil extension on
ES2. iOS supports it, and so do modern Android devices.
2014-01-26 12:27:08 +01:00
Pawel Kolodziejski 9098dfe9a2 ALL: sync with scummvm 2014-01-25 22:16:57 +01:00
Dries Harnie 841d08db2e GRAPHICS: Distinguish between texture size and viewport size in Graphics::FrameBuffer 2014-01-23 21:51:54 +01:00
Dries Harnie 132508b683 GRAPHICS: Add boolean flag to Shader::use 2014-01-14 00:26:43 +01:00
Dries Harnie a768689fbe GRAPHICS: Use #version 130 on desktop [OpenGLS] 2014-01-14 00:26:43 +01:00
Dries Harnie 621c0c7602 GRAPHICS: Add Graphics::Framebuffer 2014-01-14 00:26:39 +01:00
Dries Harnie f93c655b02 BUILD: add with-opengl-shaders 2014-01-14 00:26:38 +01:00
Joel Teichroeb f989e29d09 TINYGL: Add obviously missing break 2013-12-08 11:37:51 -08:00
Joel Teichroeb 96f2dd1748 TINYGL: Remove default case as the current cases already represent all possible values 2013-12-08 11:37:39 -08:00
Joel Teichroeb edce904439 TINYGL: Do not check the same conditions twice 2013-12-08 11:37:24 -08:00
Joel Teichroeb 7331ccf4da TINYGL: Use the right delete 2013-12-08 11:37:14 -08:00
Pawel Kolodziejski b22d441a00 ALL: synced with scummvm 2013-12-08 13:25:24 +01:00
Joel Teichroeb f10c953d28 TINYGL: Remove dead assignments 2013-12-06 14:56:13 -08:00
Dries Harnie 5abd95957a JANITORIAL: Add include guard for shader.h 2013-11-05 07:30:10 -08:00
Pawel Kolodziejski 790db038c0 ALL: sync with scummvm 2013-10-13 11:30:34 +02:00
Pawel Kolodziejski c68193e3a4 ALL: synced with scummvm 2013-07-13 14:30:29 +02:00
Pawel Kolodziejski 068ff94d20 ALL: synced with ScummVM 2013-07-07 15:29:33 +02:00
Paweł Kołodziejski 1f3ad19a38 Merge pull request #731 from Botje/android-tinygl
Basic support for Android
2013-07-06 22:52:13 -07:00
Dries Harnie 6bd38b1801 TINYGL: Support ColorMask
Note, this is just basic support, it is either all or nothing.
Disabling select channels is not possible.
2013-07-02 00:22:59 +02:00
Dries Harnie 471e4748b3 ANDROID: Support swipe-based virtcontrols
Touching and holding the left side of the screen functions as a
joystick.
Swiping the middle side allows fine control over arrow keys (eg.
dialogues), tapping it sends an enter key.
Swiping the right side up/down sends pageup/pagedown.
2013-06-02 15:27:55 +02:00
Dries Harnie 35bfb79da8 GRAPHICS: Introduce Shader object 2013-06-02 14:53:50 +02:00
Giulio Camuffo 80109ca3fe GRIM: Fix ActorToClean behaviour. Bump save version to 22.4. Fix #701.
The clean buffer code needs two layers. Every actor needs its buffer,
but we also need a global one. The actors' buffers blit to the global buffer
which then gets blitted to screen.
2013-01-11 12:44:30 +01:00
Paweł Kołodziejski 8f418e2247 tinygl: fix: endian issue
(cherry picked from commit 3c0a12d30d4032957f21902d3ccd87eb09d949e8)
2013-01-07 19:09:27 +01:00
Einar Johan Trøan Sømåen bc5ca044a5 Merge pull request #668 from somaen/videoFixes
Update VideoDecoders to use the new VideoDecoder-interface (for testing)
2013-01-02 01:04:14 -08:00
Paweł Kołodziejski 175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Giulio Camuffo 1e9c530ccd GRAPHICS/TinyGL: Fix the color format on big endian. 2012-12-19 20:45:55 +01:00
Bastien Bouclet 9afc83fc40 GRAPHICS: Update the YUVA decoder from the YUV decoder
And use it to decode alpha from bink videos
2012-12-03 07:54:04 +01:00
Pawel Kolodziejski adcb0b8383 ALL: synced with scummvm 2012-11-18 19:07:46 +01:00
Einar Johan Trøan Sømåen 51babbf092 TinyGL: Fix ZB_fillTriangleSmooth to support the colour-support patch. 2012-10-24 22:51:38 +02:00
Einar Johan Trøan Sømåen f4621327f3 GRAPHICS: Merge in the TGA-decoder from ScummVM 2012-09-09 17:14:32 +02:00
Pawel Kolodziejski c6c4bc7566 ALL: sync with scummvm 2012-09-08 21:09:03 +02:00
Pawel Kolodziejski 8bc0a26091 ALL: synced with scummvm 2012-08-20 08:20:05 +02:00
Pawel Kolodziejski 72664703cf ALL: sync with scummvm 2012-07-06 22:05:21 +02:00