255 Commits

Author SHA1 Message Date
Stefano Musumeci
4ef1b80ff6 TINYGL: Added queue information to tinyGL context. 2014-07-23 15:29:20 +02:00
Stefano Musumeci
506cbe35c5 TINYGL: Moved a tglPresent from api.cpp to zrect.cpp 2014-07-23 15:29:16 +02:00
Stefano Musumeci
ff58b301b9 TINYGL: Added stub implementation for the two draw call categories. 2014-07-23 15:28:51 +02:00
Stefano Musumeci
d74692477b TINYGL: Added dirty rectangle files. 2014-07-23 15:28:51 +02:00
Stefano Musumeci
8abbf7296c TINYGL: Added "end of frame" marker function. 2014-07-23 15:28:48 +02:00
Stefano Musumeci
c33cd39b15 TINYGL: Removed an hardcoded value. 2014-07-18 20:06:42 +02:00
Stefano Musumeci
3994405195 TINYGL: Optimized blitting routines 2014-07-18 19:56:26 +02:00
Stefano Musumeci
6716541311 TINYGL: Optimized a branching instruction towards static evaluation. 2014-07-18 18:50:10 +02:00
Stefano Musumeci
142a439091 TINYGL: Tweaked a few functions to make them inline. 2014-07-18 18:50:09 +02:00
Stefano Musumeci
98a2e7f3c8 TINYGL: Optimized a few cases in blitting routines. 2014-07-18 18:50:09 +02:00
Stefano Musumeci
ff32b64212 TINYGL: Added utility function in FrameBuffer. 2014-07-18 18:50:08 +02:00
Stefano Musumeci
7a1bba2591 TINYGL, GRIM: Fixed a bug in monkey island rendering. 2014-07-18 18:50:07 +02:00
Stefano Musumeci
3c2655f21a TINYGL, MYST3: Fixed compiler warnings. 2014-07-18 18:50:07 +02:00
Stefano Musumeci
e4e0b09059 TINYGL: Formatting fixup 2014-07-18 18:50:06 +02:00
Stefano Musumeci
85940f353d TINYGL: Formatting fixup. 2014-07-18 18:50:06 +02:00
Stefano Musumeci
6afaca3dc0 TINYGL: Fixed a bug about scaled and rotated sprites not being rendered correctly. 2014-07-18 18:50:05 +02:00
Stefano Musumeci
f4521867d4 TINYGL: Added shortcut for tglBlit API. 2014-07-18 18:50:04 +02:00
Stefano Musumeci
baf872c963 TINYGL: Moved tglBlit functions inside the struct BlitImage. 2014-07-18 18:50:04 +02:00
Stefano Musumeci
c7e70710b3 TINYGL: Fixed a bug in tglBlitRLE that disregarded destination position. 2014-07-18 18:50:02 +02:00
Stefano Musumeci
d5b137b507 TINYGL: Optimized color keying and fixed a bug with conversion from different types of pixel formats.. 2014-07-18 18:50:02 +02:00
Stefano Musumeci
2c697350a9 TINYGL: Fixed sprite coloring and blending.
TINYGL: Fixed bug with sprite coloring.
2014-07-18 18:50:01 +02:00
Stefano Musumeci
697d8108b1 TINYGL: Removed duplicated code. 2014-07-18 18:50:01 +02:00
Stefano Musumeci
ba202b497a TINYGL: Removed unnecessary function arguments to tglBlitScale 2014-07-18 18:50:00 +02:00
Stefano Musumeci
d99aae5b64 TINYGL: Split blitting function in multiple routines to make code more readable. 2014-07-18 18:50:00 +02:00
Stefano Musumeci
6bd8021402 TINYGL: Implemented RLE blit optimization. 2014-07-18 18:49:59 +02:00
Stefano Musumeci
0a43444611 TINYGL: Added license header. 2014-07-18 18:49:59 +02:00
Stefano Musumeci
cc6cc4abb4 TINYGL: Removed static variable. 2014-07-18 18:49:58 +02:00
Stefano Musumeci
a75f462615 TINYGL, MYST3: Added namespace to blitting API. 2014-07-18 18:49:58 +02:00
Stefano Musumeci
148011fb06 TINYGL: Implemented sprite rotation 2014-07-18 18:49:57 +02:00
Stefano Musumeci
674688d771 TINYGL: Implemented sprite scaling 2014-07-18 18:49:56 +02:00
Stefano Musumeci
fb65073dcd TINYGL: Addressed a few issues with blitting interface. 2014-07-18 18:49:56 +02:00
Stefano Musumeci
75908d68d8 TINYGL: refined blit interface. 2014-07-18 18:49:55 +02:00
Stefano Musumeci
62aa0af91a TINYGL: Brute force blit api implementation. 2014-07-18 18:49:54 +02:00
Stefano Musumeci
6ab14ac528 TINYGL: Added 2d blitting draft interface. 2014-07-18 18:49:53 +02:00
Bastien Bouclet
cd8af78b6b GRAPHICS: Minor cleanup in the Shader class 2014-07-13 21:22:39 +02:00
Pawel Kolodziejski
7be4ec6800 TINYGL: remove GLU leftovers 2014-07-10 07:29:49 +02:00
Pawel Kolodziejski
9240d64348 TINYGL: fix typo in name 2014-07-10 07:21:26 +02:00
Bastien Bouclet
59fdc042a0 GRAPHICS: Make the Shader class properly free its resources 2014-07-06 10:30:57 +02:00
Pawel Kolodziejski
b08462d1bc GLES2/SHADERS: add search path for loading shaders from source code directory 2014-07-06 09:43:10 +02:00
Pawel Kolodziejski
4888f4368c JANITORIAL: formatting code 2014-07-06 08:20:50 +02:00
Pawel Kolodziejski
9a81f8997c TINYGL: properly handle color for FLAT mode and lines drawing. Respect FLAT/SMOOTH mode for triangle drawing 2014-07-05 20:54:14 +02:00
Pawel Kolodziejski
97b03aed01 TINYGL: changed code to allow initialize TinyGL with specific internal texture dimension.
Grim: 256x256, Myst3: 1024x1024
2014-07-05 13:08:34 +02:00
Pawel Kolodziejski
f477946646 TINYGL: allow change internal texture size at compilation time. Now it's 1024x1024 pixels. 2014-07-05 12:13:03 +02:00
Pawel Kolodziejski
2072e51813 Revert "TINYGL: fixing T texture cordinate"
This reverts commit 5d65e40e1fe55dc683fc07fac0c0d2ceb1849d98.
2014-07-05 11:08:30 +02:00
Pawel Kolodziejski
5d65e40e1f TINYGL: fixing T texture cordinate 2014-07-05 11:06:34 +02:00
Pawel Kolodziejski
e6924e894c TINYGL: eliminate not clear use of define 2014-07-05 09:29:38 +02:00
Pawel Kolodziejski
7d65d5727f TINYGL: cleanup comment 2014-07-05 09:02:04 +02:00
Pawel Kolodziejski
7ef3738022 TINYGL: remove leftovers 2014-07-05 08:50:57 +02:00
Pawel Kolodziejski
d758937cbc TINYGL: fix CID 1224445 2014-07-05 08:00:22 +02:00
Pawel Kolodziejski
1b8dd28bc7 TINYGL: implemented tglDepthFunc 2014-07-04 23:14:44 +02:00