241 Commits

Author SHA1 Message Date
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
Pawel Kolodziejski
7370dcd635 TINYGL: implemented tglAlphaTest 2014-07-04 22:24:28 +02:00
Pawel Kolodziejski
b4962f645e TINYGL: added tglAlphaTest stubs 2014-07-04 08:43:19 +02:00
Stefano Musumeci
38aa730b76 TINYGL: Implemented tglDepthMask. 2014-07-03 17:02:01 +02:00
Stefano Musumeci
f1aaf99497 TINYGL: Added comments to code 2014-07-03 13:07:32 +02:00
Stefano Musumeci
ba5fa4d2b8 TINYGL: Updated makefile and changelog.
Conflicts:
	graphics/tinygl/Changelog
2014-07-03 13:07:32 +02:00
Stefano Musumeci
a14f2b6695 MYST3: Removed dependency to GLU 2014-07-03 13:07:30 +02:00
Stefano Musumeci
a77ebef942 MYST3: Fixed incorrect viewport issues. 2014-07-03 12:33:06 +02:00
Stefano Musumeci
79ddb89ffe MYST3: Implemented 2D rendering correctly. 2014-07-03 12:33:05 +02:00
Stefano Musumeci
bceb1a7516 TINYGL: Added a few utility functions in TinyGL 2014-07-03 12:33:03 +02:00
Pawel Kolodziejski
d61fdc9bf6 TINYGL: fixed previous formatting 2014-07-02 18:45:30 +02:00
Pawel Kolodziejski
e350350908 TINYGL: formatting code 2014-07-02 07:59:22 +02:00
Pawel Kolodziejski
88b93b36dd ALL: sync with ScummVM 2014-07-02 01:02:35 +02:00
Stefano Musumeci
5a4e94638b TINYGL: Modified changelog. 2014-07-02 00:09:14 +02:00
Stefano Musumeci
109767e513 TINYGL: Implemented alpha blending and color transformation in sprite blitting for Grim TinyGL renderer. 2014-07-02 00:09:13 +02:00