Commit Graph
37 Commits
Author SHA1 Message Date
Paweł Kołodziejski cdaec9de8d TINYGL: Added fog support. 2022-06-05 20:59:38 +02:00
Paweł Kołodziejski de67c1ae54 TINYGL: Latest TinyGL 0.4.1 is relicensed under MIT license. 2022-03-08 15:47:20 +01:00
Paweł Kołodziejski 04b13dc61a TINYGL: Split/move functions to API and internal implementation. 2022-01-01 14:06:10 +01:00
Paweł Kołodziejski 6e6696271e TINYGL: Cleanup function arguments 2021-12-27 13:22:38 +01:00
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paweł Kołodziejski c66ca22cbb TINYGL,GRIM: Replace custom shadows to stencil buffer solution 2021-12-10 18:37:24 +01:00
Paweł Kołodziejski 6a591146c8 TINYGL: Added stencil buffer implementation 2021-12-09 21:10:53 +01:00
Paweł Kołodziejski 3b9f9804ee TINYGL: Rearrange access to TinyGL 2021-12-08 14:52:18 +01:00
Paweł Kołodziejski d80bd265d2 TINYGL: Rearrange visibility various functions 2021-12-06 13:57:41 +01:00
Paweł Kołodziejski e5b055d064 TINYGL: Cleanup texture pixel formats 2021-12-04 01:09:12 +01:00
Paweł Kołodziejski dd50e1a6bc TINYGL: Formatting 2021-12-04 01:06:37 +01:00
Paweł Kołodziejski d5c1d52198 TINYGL: Added tglDrawElements 2021-10-20 22:20:28 +02:00
Vincent Pelletier f8c72b5967 TINYGL: Move texture resampling from create time to render time
Thanks to pixel repacking using cpu data cache, this has a low runtime
cost even for TGL_LINEAR.
Adds support for TGL_NEAREST.
Adds support for TGL_MIRRORED_REPEAT, TGL_CLAMP_TO_EDGE and TGL_REPEAT.
Also, add support for more texture clamping and resampling options.

Mipmaps are not supported, although their sampling modes will be
applied - but to the full-size texture instead of selected mipmap.

Note: Texture sampler is still chosen at texture creation time.
2020-11-12 08:15:39 +01:00
Vincent Pelletier 0108c11d98 TINYGL: Add support for more texture color formats 2020-11-12 08:03:48 +01:00
Vincent Pelletier df62c19a88 TINYGL: const-ify all vector API parameters 2017-04-29 14:04:13 +00:00
Vincent Pelletier 500803fc38 TINYGL: Implement tglDrawArrays. 2017-04-22 16:42:14 +00:00
Vincent Pelletier 6f1e46d6b4 TINYGL: Implement tglColor3ub. 2016-07-11 00:00:30 +00:00
Pawel Kolodziejski c2a9a394c3 MYST3, TINYGL: fixed endian issue 2014-12-23 20:40:59 +01:00
Stefano Musumeci 974f47fa42 TINYGL: Added a way to disable or enable dirty rectangles at runtime. 2014-08-16 16:04:10 +02:00
Stefano Musumeci 2cf70d6d76 Merge branch 'master' into tinygl-dirty-rects-fixed
Conflicts:
	graphics/tinygl/ztriangle.cpp
2014-08-16 16:03:27 +02:00
Pawel Kolodziejski 1b48414d7e TINYGL: cleanup license headers 2014-08-13 18:52:52 +02:00
Stefano Musumeci 7b3f0850b8 TINYGL: Moved some functions inside TinyGL namespace 2014-08-09 12:10:26 +02:00
Stefano Musumeci 8abbf7296c TINYGL: Added "end of frame" marker function. 2014-07-23 15:28:48 +02:00
Pawel Kolodziejski 7be4ec6800 TINYGL: remove GLU leftovers 2014-07-10 07:29:49 +02:00
Pawel Kolodziejski 1b8dd28bc7 TINYGL: implemented tglDepthFunc 2014-07-04 23:14:44 +02:00
Pawel Kolodziejski b4962f645e TINYGL: added tglAlphaTest stubs 2014-07-04 08:43:19 +02:00
Stefano Musumeci a14f2b6695 MYST3: Removed dependency to GLU 2014-07-03 13:07:30 +02:00
Stefano Musumeci bceb1a7516 TINYGL: Added a few utility functions in TinyGL 2014-07-03 12:33:03 +02:00
Stefano Musumeci 10c25d49d4 TINYGL: Added external interface for tglBlendFunc 2014-07-01 14:25:36 +02: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
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
Einar Johan T. Sømåen 3394bd15ef TINYGL: Add tglColor4ub, to have less diff between tgl-code and gl-code 2012-01-10 09:10:16 +01:00
Einar Johan T. Sømåen 97a3fec971 TINYGL: Add conversion RGB/BGR -> RGBA
Thus allowing for such textures to be loaded without
needing external conversion before creating them.
2012-01-10 08:44:18 +01:00
Pawel Kolodziejski 49b578ec6a put tinygl internals into namespace, left only api 2009-05-25 13:19:29 +00:00
Pawel Kolodziejski 7ad12a0856 update defines for include files 2009-05-25 12:28:16 +00:00
Pawel Kolodziejski f85c21fa4c moved tinygl 2009-05-08 07:17:43 +00:00