Commit Graph

104 Commits

Author SHA1 Message Date
Luke Benstead
77531ca347 Drastically refactor glTexImage2D 2023-08-26 20:34:11 +01:00
Luke Benstead
a05e1b01fa Make glGenerateMipmap the function, and EXT the alias 2023-07-26 20:33:12 +01:00
Luke Benstead
19288918f0 Merge branch 'Declare_glFogiv' into 'master'
declare glFogiv()

See merge request simulant/GLdc!95
2023-02-02 11:58:35 +00:00
Luke Benstead
3d1f447af9 Merge branch 'paletted-textures' into 'master'
4BPP paletted textures and OES_compressed_paletted_texture support

See merge request simulant/GLdc!98
2022-05-04 20:05:24 +00:00
Luke Benstead
dd7bb47ffb Merge remote-tracking branch 'ozzyouzo/master' into paletted-textures 2022-05-04 20:39:39 +01:00
OzzyOuzo
c48bbfe07c Fixed glMultMatrixf(...)
Added _glResetSharedPalettes
2022-05-03 16:12:27 +03:00
T_chan
cd14a5ed11 gl.h: avoid gcc warning "function declaration isn’t a prototype" 2022-02-07 16:09:00 +00:00
T_chan
2d63fdf30f Add some missing gl.h defines for portability 2022-02-07 15:36:16 +00:00
T_chan
3160fc517d declare glFogiv() 2022-02-02 09:22:23 +00:00
T_chan
53eb2e2a51 Add gluBuild2DMipmaps() 2022-02-01 07:25:54 +00:00
T_chan
621982d14e Add glGetTexImage stub for portability 2022-01-31 08:29:00 +00:00
Luke Benstead
4ad2841809 Merge branch 'Add_glTexCoord1f_functions' into 'master'
Add glTexCoord1f() and glTexCoord1fv()

See merge request simulant/GLdc!80
2022-01-19 08:05:59 +00:00
Luke Benstead
cfbd126f58 Merge branch 'Add_GL_LINE_SMOOTH' into 'master'
Add GL_LINE_SMOOTH to increase portability

See merge request simulant/GLdc!82
2022-01-19 08:05:31 +00:00
T_chan
fb2e8d7d7e Update include/GL/gl.h 2022-01-19 06:55:33 +00:00
T_chan
72b115659a remove duplicate defines from gl.h 2022-01-19 06:50:11 +00:00
T_chan
9b6c2bbb21 Add glTexCoord1f() and glTexCoord1fv() 2022-01-18 21:40:31 +00:00
Luke Benstead
f9af9af567 Merge branch 'Add_glPolygonMode_Stub' into 'master'
add glPolygonMode() stub

See merge request simulant/GLdc!79
2022-01-18 21:38:31 +00:00
Luke Benstead
8d51579870 Merge branch 'Add_Stencil_Functions_Stubs' into 'master'
Add stubs for Stencil functions glStencilFunc() and glStencilOp()

See merge request simulant/GLdc!78
2022-01-18 21:37:56 +00:00
T_chan
50aee8a92c add glPolygonMode() stub 2022-01-18 21:28:07 +00:00
T_chan
66d87fb845 Add stubs for Stencil functions glStencilFunc() and glStencilOp() 2022-01-18 20:29:27 +00:00
Luke Benstead
6802f64725 Merge branch 'Add_PixelStore_parameters' into 'master'
Add PixelStore parameters for Read/DrawPixels to increase compatibility

See merge request simulant/GLdc!77
2022-01-18 19:25:56 +00:00
Luke Benstead
11860ba6e1 Merge branch 'add_glGetTexParameterfv_stub' into 'master'
Add glGetTexParameterfv() stub to increase compatibility

See merge request simulant/GLdc!76
2022-01-18 19:25:39 +00:00
Luke Benstead
3b320bf874 Merge branch 'add_glTexParameterf' into 'master'
expose and correct glTexParameterf()

See merge request simulant/GLdc!75
2022-01-18 19:25:20 +00:00
Luke Benstead
fbf322f470 Merge branch 'add_glColor4ubv' into 'master'
Add glColor4ubv() to increase compatibility of GLdc

See merge request simulant/GLdc!74
2022-01-18 19:25:02 +00:00
T_chan
fbe310f8d5 Add PixelStore parameters for Read/DrawPixels to increase compatibility 2022-01-18 18:09:44 +00:00
T_chan
d594eff3a6 Add glGetTexParameterfv() stub to increase compatibility 2022-01-18 17:38:14 +00:00
T_chan
0d60b318da expose and correct glTexParameterf() 2022-01-18 17:23:30 +00:00
T_chan
d9a2ed7892 Add glColor4ubv() to increase compatibility of GLdc 2022-01-18 17:06:26 +00:00
T_chan
a7762aa965 add GLclampd to increase compatibility of GLdc 2022-01-18 16:51:31 +00:00
OzzyOuzo
1a456cb1a7 16bit palette color format support, extended 64 shared palette slots (4bpp), GL_OES_compressed_paletted_texture support
GL_ERROR generated when texture size > 1024
2021-12-03 09:32:53 +02:00
Luke Benstead
b710a619d5 Fix issues with bilinear mipmapping 2021-10-25 19:04:58 +01:00
Luke Benstead
cb9d699576 Use invW as the Z axis (abandon standards compliance for speed) 2021-05-01 14:32:16 +01:00
Luke Benstead
fe616028bb X86 2021-04-09 15:24:47 +00:00
Luke Benstead
03694d85bf Minor fixes 2021-04-03 21:15:03 +01:00
Luke Benstead
8408a36629 Implement GL_ATI_meminfo 2021-02-20 15:10:35 +00:00
Luke Benstead
f9b7cd7985 Add a custom extension to query and defragment texture memory 2021-02-19 21:28:31 +00:00
Luke Benstead
db079fdc39 Remove .gch files 2020-05-14 07:05:47 +01:00
lerabot
bd59922052 updated makefile 2020-05-13 10:33:55 -04:00
Luke Benstead
03bc758be7 Allow enabling fsaa via the GLdcConfig struct 2020-03-18 20:47:12 +00:00
Hayden Kowalchuk
ea3dec1daa feat: opengl headers expose new functionality 2020-03-05 15:13:30 -05:00
Luke Benstead
43a8db9e9d Remove divisions 2020-02-29 09:48:51 +00:00
Luke Benstead
140eec3d92 glNormalPointer should accept GL_INT_2_10_10_10_REV, not GL_UNSIGNED_INT_2_... 2019-11-27 09:10:10 +00:00
Luke Benstead
11cd54bc0b Add partial support for GL_ARB_vertex_type_2_10_10_10_rev and also GL_NORMALIZE 2019-11-18 17:39:09 +00:00
Luke Benstead
f59e9bf56e Implement GL_ARB_vertex_array_bgra 2019-09-30 21:59:11 +01:00
Luke Benstead
d7e424a766 Initial implementation of a fast-path (currently some corruption) 2019-09-30 09:14:43 +01:00
Luke Benstead
200db3593e Make primitive constants match the spec 2019-09-06 09:36:14 +01:00
Luke Benstead
22690600d0 Don't include kos headers from gl.h 2019-09-06 09:35:33 +01:00
Luke Benstead
041b545177 Add missing glDepthRange declaration 2019-08-20 21:02:08 +01:00
Luke Benstead
57f4f62f86 Implement glColor3ubv 2019-08-20 20:42:29 +01:00
Luke Benstead
00c38edba9 Add polygon_offset sample (thanks mrneo240) 2019-07-17 10:46:19 +01:00