Paweł Kołodziejski
c4686ee84c
TINYGL: Rename copyToBuffer to copyFromFrameBuffer
2023-02-09 07:31:09 +01:00
Paweł Kołodziejski
bf8aa5c5b8
GRAPHICS: TINYGL: Added missing framebuffer class de-allocation
2022-10-27 01:02:32 +02:00
Paweł Kołodziejski
ce97902769
TINYGL: Initialise _enableScissor for case when dirty rects are off.
2022-05-02 10:01:08 +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
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
b673e0adf5
TINYGL: Janitorial
2021-12-15 23:55:36 +01:00
Paweł Kołodziejski
6a591146c8
TINYGL: Added stencil buffer implementation
2021-12-09 21:10:53 +01:00
Paweł Kołodziejski
87594a052f
TINYGL: Cleanup more FrameBuffer class entries
2021-12-07 22:11:55 +01:00
Paweł Kołodziejski
2368991ab6
TINYGL: Rearrange access gl context access from/to frame buffer class
2021-12-07 19:58:03 +01:00
Paweł Kołodziejski
c1512a5c40
TINYGL: Eliminate passing context where possible
2021-12-07 00:58:14 +01:00
Paweł Kołodziejski
d80bd265d2
TINYGL: Rearrange visibility various functions
2021-12-06 13:57:41 +01:00
Paweł Kołodziejski
d42e8dba6c
TINYGL: Fixed mismatch malloc/new
2021-11-27 18:32:10 +01:00
Paweł Kołodziejski
eab1fe4097
TINYGL: Implemented tglPolygonOffset function
2021-10-26 21:59:04 +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
Pawel Kolodziejski
b321938c7b
TINYGL: Restored ability to create internal buffer based on pixel format
2020-10-05 08:09:20 +02:00
Bastien Bouclet
fc67541742
ALL: Silence some GCC7 fall through warnings
2017-09-02 15:24:01 +02:00
Vincent Pelletier
7988c696d9
TINYGL: Drop unused Framebuffer pixelbits property
2017-05-01 08:34:53 +00:00
Vincent Pelletier
6087492dbd
TINYGL: Simplify setting & disabling scissors.
2017-04-23 10:35:04 +00:00
Vincent Pelletier
13ad766b31
Merge pull request #1294 from vpelletier/tinygl_memory
...
Tinygl memory
2016-08-27 04:58:56 +02:00
Vincent Pelletier
8cd029aac7
TINYGL: Add support for 4-bytes words in FrameBuffer::clear{,Region}
2016-07-28 23:29:17 +00:00
Vincent Pelletier
7e51d78480
TINYGL: Fix FrameBuffer::clearRegion color clearing line length.
2016-07-28 15:26:14 +00:00
Vincent Pelletier
f272c85704
TINYGL: Initialise z buffer (valgrind)
2016-07-28 01:55:48 +00:00
Vincent Pelletier
80983c1b69
TINYGL: Unroll FrameBuffer::blitOffscreenBuffer.
...
This method is used to blit large buffers, so a large unrolling is still
beneficial. As it is the second hottest-spot in grim, the frame rate
increase is most significant there (compared to emi).
2016-07-22 14:58:58 +02:00
Vincent Pelletier
93c6dc6027
TINYGL: Avoid calling memset_{s,l} when possible.
...
It is possible to convert calls to memset_{s,l} into call to memset when
all bytes of the depth or color value are the same (which is the likely
case), improving buffer clearing speed.
2016-07-22 07:19:48 +02:00
Vincent Pelletier
d437892538
TINYGL: Get rid of PSZB as it duplicates pixelbytes.
2016-07-21 16:39:40 +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
e3acac6187
TINYGL: Merged conflicts
2014-08-13 14:27:10 +02:00
Stefano Musumeci
8abb5b008c
Merge branch 'master' into tinygl-dirty-rects
...
Conflicts:
graphics/tinygl/zbuffer.cpp
graphics/tinygl/zbuffer.h
2014-08-13 14:06:34 +02:00
Joni Vähämäki
c420196014
TINYGL: Always pass the depth test if TGL_DEPTH_TEST is disabled.
2014-08-12 17:46:48 +03:00
Stefano Musumeci
c34dc7e4a5
TINYGL: Moved variable declaration to its first use.
2014-08-10 19:36:32 +02:00
Stefano Musumeci
f107e7cf6b
TINYGL: Renamed variables to camelCase.
2014-08-09 12:00:43 +02:00
Stefano Musumeci
2189e97409
TINYGL: Implemented partial screen clearing.
2014-08-01 19:45:55 +02:00
Stefano Musumeci
79ea06e41d
TINYGL: Implemented scissor rectangle in frame buffer.
2014-08-01 19:45:32 +02:00
Stefano Musumeci
46ff1767ab
TINYGL: Moved a few member function of FrameBuffer from source to header file to favor inlining.
2014-07-24 19:51:07 +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
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
109767e513
TINYGL: Implemented alpha blending and color transformation in sprite blitting for Grim TinyGL renderer.
2014-07-02 00:09:13 +02:00
Stefano Musumeci
63fd685589
TINYGL: Implemented alpha interpolation in triangle rasterization routine.
2014-07-01 14:29:44 +02:00
Stefano Musumeci
03072c4b7b
TINYGL: Encapsulated pixel access in FrameBuffer class, provided an implementation of glBlendFunc.
2014-07-01 14:27:40 +02:00
Stefano Musumeci
e373f12d64
TINYGL: Removed unnecessary files and updated changelog.
2014-06-29 19:13:18 +02:00
Stefano Musumeci
4555f10cd8
TINYGL: Refactored line drawing routines.
2014-06-29 19:13:18 +02:00
Stefano Musumeci
4f140b6520
TINYGL: Refactored the triangle function in a template fashion
2014-06-28 20:39:09 +02:00
Stefano Musumeci
b9e0b28ed9
TINYGL: Renamed ZBuffer into FrameBuffer
2014-06-28 20:39:08 +02:00
Stefano Musumeci
f9438a5e3c
TINYGL: Moved all external C functions inside the struct ZBuffer.
2014-06-28 20:39:06 +02:00
Stefano Musumeci
a2de6a0eef
TINYGL: Moved a few external C functions inside ZBuffer.
2014-06-28 20:39:05 +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