Luke Benstead
6bd42b87b9
Merge branch 'fog_fix' into 'master'
...
Fixed OpenGL Fog implementation + Added New Sample
See merge request simulant/GLdc!155
2025-02-22 08:23:16 +00:00
Luke Benstead
d630041cc8
Merge branch 'glCompressedTexSubImage2D-recreated' into 'master'
...
creates new GLext function glCompressedTexSubImage2D, updated nehe_06_vq.elf sample to use the new function.
See merge request simulant/GLdc!147
2025-02-22 08:21:10 +00:00
Luke Benstead
5af0d5831d
Merge branch 'fix_glRotatef' into 'master'
...
Call fsincos with angle degrees instead of passing in radians
See merge request simulant/GLdc!153
2025-02-22 08:20:21 +00:00
David Reichelt
32e3f4374e
Call fsincos with angle degrees instead of passing in radians
2025-02-22 08:20:21 +00:00
Falco Girgis
5466dc227f
Tenth time is a charm!
2025-02-18 22:09:48 -06:00
Falco Girgis
643685a7b7
ifdef-ing more DC-specifics from Nehe16
...
- Attempting to fix build.
2025-02-18 22:04:49 -06:00
Falco Girgis
d2eb58d7e8
Moved DC include into #ifdef to fix x86 build.
2025-02-18 22:00:46 -06:00
Falco Girgis
56f5b24d85
Fixed OpenGL Fog implementation + Added New Sample
...
- Redid fog.c OpenGL fog back-end implementation
* only reconfigure fog values when changed
* properly clamp between 0.0f and 1.0f colors
* error out on negative densities
* separate fog statics became single struct
- Added Nehe16 example (adapted from KGL)
* Made spinning much faster (so you can see it better)
* fixed a few issues with KGL code (invalid GL enums, lol)
* swapped to new controller API
* added #ifdef for non-DC file paths
2025-02-18 21:52:19 -06:00
Luke Benstead
e71560f31b
Merge branch 'platform_h_support_Naomi' into 'master'
...
platform.h: support Naomi again
See merge request simulant/GLdc!150
2025-02-09 20:21:51 +00:00
Luke Benstead
388df1d1d5
Merge branch 'cherry-pick-52011fe9' into 'master'
...
Add support for glGetIntegerv(GL_MATRIX_MODE, ...)
See merge request simulant/GLdc!152
2025-02-09 19:21:53 +00:00
David Reichelt
08b2d58b4e
Add support for glGetIntegerv(GL_MATRIX_MODE,...)
...
(cherry-picked from commit 52011fe9efeb2e997637876be8a3f600bf91df25)
Co-authored-by: David Reichelt <freakdave@hotmail.com>
2025-02-09 19:13:38 +00:00
David Reichelt
810d0fdc19
Merge branch GLdc:master into master
2025-02-09 19:00:07 +00:00
Luke Benstead
787b873674
Merge branch 'lighting_fix' into 'master'
...
Fix lighting using some values calculated for last vertex, instead of the current vertex
See merge request simulant/GLdc!151
2025-02-08 07:07:59 +00:00
UnknownShadow200
b7ac22ec34
Fix lighting using some values calculated for last vertex, instead of the current vertex
2025-02-08 12:23:43 +11:00
T_chan
72f11428d3
platform.h: support Naomi again
2025-02-05 20:29:21 +00:00
Troy Davis
9d2c1fb3e8
Merge branch GLdc:master into glCompressedTexSubImage2D-recreated
2025-02-05 18:00:14 +00:00
Luke Benstead
84281ca329
Merge branch 'depthsample_fix' into 'master'
...
Depthsample fix
See merge request simulant/GLdc!148
2025-02-05 17:47:57 +00:00
Luke Benstead
d3b8b89d47
Merge branch 'gluPerspective' into 'master'
...
fixed gluPerspective to use GLdouble instead of GLfloat for m4-single compilation.
See merge request simulant/GLdc!149
2025-02-05 17:47:29 +00:00
GPF
41e30028df
fixed gluPerspective to use GLdouble instead of GLfloat for m4-single compilation.
2025-02-05 10:42:05 -07:00
UnknownShadow200
62cb72091d
Fix wrong glEnable call
2025-02-05 21:47:35 +11:00
UnknownShadow200
455ad29e4c
At least the provided .dtex files load now
2025-02-05 21:42:50 +11:00
UnknownShadow200
72baba7a5e
Refactor dtex parser again
2025-02-05 21:36:28 +11:00
UnknownShadow200
4255767f9f
Refactor dtex parser
2025-02-05 20:34:04 +11:00
GPF
af460af119
Recreated glCompressedTexSubImage2D implementation
2025-02-04 14:27:18 -07:00
Luke Benstead
a34f18965d
Merge branch 'alloc_fix' into 'master'
...
Fix alloc_count_continuous calculation
See merge request simulant/GLdc!145
2025-02-02 23:00:08 +00:00
UnknownShadow200
5b5e6d3ee6
Fix alloc_count_continuous calculation
2025-02-03 06:53:16 +11:00
Luke Benstead
acee4b5c37
Merge branch 'quicker_transform' into 'master'
...
Quicker vertex transform in non-fast path
See merge request simulant/GLdc!144
2025-02-02 08:34:36 +00:00
Luke Benstead
9100660c78
Merge branch 'attribute_speedup' into 'master'
...
Move attribute parsing into separate file and avoid recomputing parse/read functions unless necessary
See merge request simulant/GLdc!143
2025-02-02 08:32:06 +00:00
UnknownShadow200
a566bba082
Call TransformVertex directly instead of using TransformVertices
2025-02-02 15:58:19 +11:00
UnknownShadow200
3b2e549934
Optimise vertex transform in non-fast path to avoid storing xyz to memory and then loading it again
2025-02-02 14:36:40 +11:00
UnknownShadow200
9d717800bd
Reorganise attribute parsing functions
2025-02-02 13:51:30 +11:00
Luke Benstead
ea4073fbdc
Merge branch 'error_coldpath' into 'master'
...
Move error handling code into the cold path
See merge request simulant/GLdc!142
2025-02-01 11:10:52 +00:00
Luke Benstead
8a572f5a51
Merge branch 'builtin_math' into 'master'
...
Prefer relying on built in codegen rather than relying on sh4_math.h
See merge request simulant/GLdc!141
2025-02-01 11:09:59 +00:00
UnknownShadow200
e2c3ff0ed6
Fix not building for desktop
2025-02-01 20:12:23 +11:00
UnknownShadow200
e2fc2da055
Move error handling code into the cold path
2025-02-01 19:58:22 +11:00
UnknownShadow200
5318f11f11
Defer recomputing attributes state when possible
2025-02-01 18:17:28 +11:00
UnknownShadow200
3550c89501
Make non-textured non-fast drawing a little bit faster
2025-02-01 17:04:42 +11:00
UnknownShadow200
a35659ce3d
Fix enable/disable attribute calls not updating read functions
2025-02-01 16:05:07 +11:00
UnknownShadow200
bdecf90d64
Calculate read attribute functions when attribute states changes, instead of at every draw call
2025-02-01 15:38:59 +11:00
UnknownShadow200
3b4b1b6975
Fix compile error
2025-02-01 14:00:49 +11:00
UnknownShadow200
71d0094ac4
Prefer relying on built in codegen rather than relying on sh4_math.h
2025-02-01 13:06:37 +11:00
Luke Benstead
2a2849d5e9
Merge branch 'falco/m4_single_lto_abi_fixes' into 'master'
...
API FP ABI conformity fixes for -flto and -m4-single
See merge request simulant/GLdc!140
2025-01-27 17:54:00 +00:00
Falco Girgis
dc0c8148cb
API FP ABI conformity fixes.
2025-01-27 00:53:23 -06:00
Luke Benstead
36ba8099bb
Merge branch 'kos_string.h_rip' into 'master'
...
Deleting memcpy2/4() and memset2/4() routines
See merge request simulant/GLdc!139
2025-01-24 09:36:42 +00:00
Falco Girgis
9653bf8c12
Got rid of a memset4() call from KOS.
2025-01-23 21:27:34 -06:00
Falco Girgis
a13d8a180b
Removed kos/string.h dependency.
2025-01-23 21:24:06 -06:00
Luke Benstead
b4c2dd0a5e
Merge branch 'micro_opts' into 'master'
...
Few micro optimisations
See merge request simulant/GLdc!133
2024-12-22 22:31:47 +00:00
Luke Benstead
aa383913cd
Merge branch 'nonPOT2glTexSubImage2D' into 'master'
...
update for glTexSubImage2D, now checks the active texture size and not the...
See merge request simulant/GLdc!136
2024-12-07 23:27:52 +00:00
GPF
f7830df480
removed the commented out debug printing
2024-12-07 16:24:05 -07:00
Luke Benstead
55a912b621
Fix continuous free count
2024-12-07 19:54:16 +00:00