Commit Graph

477 Commits

Author SHA1 Message Date
Paweł Kołodziejski
4cea5706d0
GRAPHICS, OPENGL: Fixed static analysis issue report 2022-09-18 17:30:57 +02:00
Paweł Kołodziejski
0ca414daa0
TINYGL: Removed few more forced inlines 2022-07-17 01:35:19 +02:00
Paweł Kołodziejski
31e3132896
TINYGL: Reduced some forced inlines 2022-07-17 01:10:54 +02:00
Paweł Kołodziejski
f045abc031
TINYGL: Removed some not needed inlines 2022-07-16 23:54:41 +02:00
Paweł Kołodziejski
d832c015ad
TINYGL: Fixed missing semicolon 2022-06-27 22:45:59 +02:00
neuromancer
ca89768161
TINYGL: avoid zero division when drawing lines (#4064)
TINYGL: avoid zero division when drawing lines
2022-06-27 22:21:54 +02:00
Paweł Kołodziejski
4a05ea9eda
TINYGL: Remove left over macro use 2022-06-05 23:58:05 +02:00
Paweł Kołodziejski
ffe7bee81e
TINYGL: Switch profiling to runtime condition 2022-06-05 23:40:35 +02:00
Paweł Kołodziejski
00086d34ab
TINYGL: No need to have changelog file anymore. 2022-06-05 23:20:34 +02:00
Paweł Kołodziejski
cdaec9de8d
TINYGL: Added fog support. 2022-06-05 20:59:38 +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
a37fdcf2f1 TINYGL: Move gl_vertex_transform to GLContext 2022-01-02 10:43:29 +01:00
Paweł Kołodziejski
8ae516bd52 TINYGL: Janitorial 2022-01-02 09:22:49 +01:00
Paweł Kołodziejski
a4ec998a51 TINYGL: Small corrections for params type 2022-01-02 09:20:34 +01:00
Paweł Kołodziejski
cf8b3cc1f9 TINYGL: Move function to GLContext 2022-01-01 17:42:32 +01:00
Paweł Kołodziejski
c3a73efa8d TINYGL: No need to check for current_texture 2022-01-01 17:38:48 +01:00
Paweł Kołodziejski
a70168e416 TINYGL: Split/move functions to API and internal implementation. 2022-01-01 17:21:42 +01:00
Paweł Kołodziejski
af399f0a50 TINYGL: Janitorial 2022-01-01 17:16:10 +01:00
Paweł Kołodziejski
69198d5d30 TINYGL: Corrected variable type 2022-01-01 14:07:07 +01:00
Paweł Kołodziejski
fef0e04cb7 TINYGL: No need to check for current_texture 2022-01-01 14:06:45 +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
25c4e89b7a TINYGL: Janitorial 2022-01-01 12:00:38 +01:00
Paweł Kołodziejski
25c63234e4
TINYGL: Corrected cases for unsigned types arrays 2021-12-27 13:38:05 +01:00
Paweł Kołodziejski
6e6696271e
TINYGL: Cleanup function arguments 2021-12-27 13:22:38 +01:00
Paweł Kołodziejski
7cc90c7d44
TINYGL: Added few tglTextCoord combinations 2021-12-27 11:26:44 +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
ed93e09f92
STARK: Fixed minority coverity warnings 2021-12-20 19:42:50 +01:00
Paweł Kołodziejski
425632ec55
TINYGL: Disable scaling, it's broken 2021-12-18 08:51:45 +01:00
Matthew Duggan
68da2d21b3 TINYGL: Reorder ARGB arguments to match function parameters
The arguments to `setARGBAt` and `getARGBAt` at were in RGBA order instead of
ARGB order (as the function name suggests they should be).

In practice this was not a bug as values were immediately passed back in the
same swapped order, but coverity complained about it and it's nicer to name
them correctly.
2021-12-17 10:30:03 +09:00
D G Turner
70f64dd398 TINYGL: Fix Cut and Paste Error Causing Duplicate Branch
This was detected by GCC's -Wduplicated-branches warning which is
not enabled by default.
2021-12-17 00:44:18 +00:00
Paweł Kołodziejski
b673e0adf5
TINYGL: Janitorial 2021-12-15 23:55:36 +01:00
Paweł Kołodziejski
c98fe1c61c
TINYGL: Eliminate unnecessary branches and code in flow 2021-12-15 23:15:55 +01:00
Paweł Kołodziejski
d92c8dd595
TINYGL: Fixed taking depth write mask argument 2021-12-15 20:34:27 +01:00
Paweł Kołodziejski
c66ca22cbb
TINYGL,GRIM: Replace custom shadows to stencil buffer solution 2021-12-10 18:37:24 +01:00
Cameron Cawley
06e79f2adf TINYGL: Use the existing list of rectangles when copying to the screen 2021-12-09 22:01:46 +01:00
Paweł Kołodziejski
6a591146c8
TINYGL: Added stencil buffer implementation 2021-12-09 21:10:53 +01:00
Paweł Kołodziejski
a395700d1f
TINYGL: Put debug dirty rects code into runtime condition 2021-12-09 12:38:41 +01:00
Paweł Kołodziejski
96248ef6ef
TINYGL: Fixed dirtyrect debug display compilation 2021-12-09 09:24:58 +01:00
Paweł Kołodziejski
81a8da05ff
TINYGL: Replace stdio functions with debugstream 2021-12-08 18:29:25 +01:00
Paweł Kołodziejski
3b9f9804ee
TINYGL: Rearrange access to TinyGL 2021-12-08 14:52:18 +01:00
Paweł Kołodziejski
87594a052f
TINYGL: Cleanup more FrameBuffer class entries 2021-12-07 22:11:55 +01:00
Paweł Kołodziejski
10f6a79ce8
TINYGL: More work on accessing FrameBuffer class 2021-12-07 20:40:32 +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
4e34da3746
TINYGL: Eliminate passing context 2021-12-07 09:54:19 +01:00
D G Turner
b9ef0b49f4 TINYGL: Fix GCC Compiler Pedantic Warning 2021-12-07 00:31:48 +00: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
8ed00821ac
TINYGL: Attempt to fix compilation 2021-12-05 23:00:15 +01:00