241 Commits

Author SHA1 Message Date
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
Paweł Kołodziejski
308f407969 Merge pull request #613 from tobigun/android
ANDROID: preliminary Android port for ResidualVM
2012-05-02 21:36:07 -07:00
Pawel Kolodziejski
8543f6c1e6 ALL: synced with scummvm 2012-05-03 05:51:15 +02:00
Tobias Gunkel
e4c76ee4cf GRAPHICS: add conversion.cpp needed by android port 2012-04-30 19:08:57 +02:00
Andrea Corna
173846c3df TINYGL: Remove an unneeded header 2012-04-21 12:20:06 +02:00
Andrea Corna
bd14146a78 TINYGL: Fix some memory leaks 2012-04-21 12:18:42 +02:00
Andrea Corna
a69f29dd3a GRAPHICS: Fix for a Valgrind warning about an uninitialized value 2012-04-18 09:20:23 +02:00
Pawel Kolodziejski
e856559777 ALL: sync with scummvm 2012-04-17 15:07:08 +02:00
Pawel Kolodziejski
78bacb47bb ALL: synced with scummvm 2012-04-07 17:58:15 +02:00
Paweł Kołodziejski
522885137f ALL: fix compile 2012-03-25 11:44:40 +02:00
Pawel Kolodziejski
8e2ab87455 ALL: synced with scummvm 2012-03-25 11:41:48 +02:00
Pawel Kolodziejski
fae032743d ALL: synced with scummvm 2012-02-24 12:15:44 +01:00
Pawel Kolodziejski
fad0b5b331 ALL: decrease diffs with scummvm 2012-02-22 23:26:36 +01:00
Pawel Kolodziejski
bc71f3f583 synced with scummvm 2012-02-22 17:21:09 +01:00
Giulio Camuffo
2b29820241 TinyGL: Try to not blit the clean buffer if empty. 2012-02-13 21:28:19 +01:00
Giulio Camuffo
8156e3a9a3 TinyGL: Remove the double zbuffer. Just use the 32bit one. 2012-02-13 19:21:37 +01:00
Giulio Camuffo
2c527f3993 TinyGL: Add an offscreen buffer, used to draw once and blit many times. 2012-02-13 17:59:48 +01:00
Paweł Kołodziejski
fce6b64e5e fixed compilation 2012-02-10 07:58:05 +01:00