Commit Graph

62 Commits

Author SHA1 Message Date
Hayden Kowalchuk
1ac25e4d79 merge: final merge of custom gldc and upstream current 2020-02-18 18:25:04 -05:00
Luke Benstead
e61369674c Change where txr.alpha is set 2019-11-30 10:07:04 +00:00
Luke Benstead
e97dd466aa Fix depth test functions 2019-11-30 10:06:46 +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
150c95bd33 Huge refactor of mipmap handling. All textures are now stored twiddled on the PVR 2019-09-24 15:47:23 +01:00
Hayden Kowalchuk
f497a24fe9 fix: forgot a free to match a malloc 2019-09-22 19:50:40 -04:00
Hayden Kowalchuk
bb89a40678 feat: allow mixed texture allocation 2019-09-22 11:50:20 -04:00
Luke Benstead
3af18cb514 Refactor the perspective divide to work with glDepthRange 2019-09-08 17:27:56 +01:00
Luke Benstead
1d32834b52 Simplify texture and blending context updates 2019-09-06 09:35:57 +01:00
Hayden Kowalchuk
ca8d27a1c2 fix: minor warning round and add burst draw 2019-08-29 09:40:30 -04:00
Hayden Kowalchuk
0ab6a7f039 feat: glDepthRange and glPolygonOffset 2019-08-13 18:16:38 -04:00
Hayden Kowalchuk
a2c55967d4 fix: possible minor speedups 2019-07-03 14:30:41 -04:00
Hayden K
e03a651d10 minor function call reduction. 2019-04-22 19:06:57 -04:00
Hayden K
83b61f3cfa fix: use our mipmap_bias when creating pvr context 2019-04-17 14:28:58 -04:00
Hayden K
944f911d41 merge latest to latest gldc 2019-04-08 09:12:45 -04:00
Hayden K
275a2aad30 merge 2019-04-08 09:03:05 -04:00
Hayden K
9aee9fe970 feat: add correct mipmapping
* fixes memory layout and handling
* allows paletted mipmapped textures
2019-04-05 22:15:57 -04:00
Luke Benstead
cb692f59b4 Remove unnecessary conditional check 2019-04-01 09:57:33 +01:00
Luke Benstead
d912680ef0 Update version string 2019-03-30 07:15:50 +00:00
Luke Benstead
a75ced3fef Speed up immediate mode submission 2019-03-29 11:26:19 +00:00
Hayden K
61f9ff5122 merge upstream 2019-03-13 12:17:43 -04:00
Luke Benstead
724ff628aa Fix some signedness issues 2019-03-13 15:14:09 +00:00
Hayden K
b301f51bd9 final finishing touches. DEPRECRATE Reserve*List funcs 2019-03-13 07:01:58 -04:00
Hayden Kowalchuk
6cce79cfe6 Merge branch 'master' of gitlab.com:simulant/GLdc 2019-03-11 18:07:26 -04:00
Luke Benstead
2ad23b1e16 Update version string 2019-03-11 19:54:55 +00:00
Hayden K
ba211c3a50 General merge and repair
- Fix defines
- Fix POLYGON logic
- change static func names to macro
- Fix checkEnum
2019-03-10 21:02:24 -04:00
Luke Benstead
a561fd469f Protect against invalid read 2019-03-10 20:18:11 +00:00
Luke Benstead
834599dc4b Add glDrawBuffer stub 2019-03-10 20:05:40 +00:00
Luke Benstead
04dab8da9a Implement glAlphaFunc and glEnable(GL_ALPHA_TEST) 2019-03-10 17:53:58 +00:00
Luke Benstead
91c3b66d73 Add GL_MODELVIEW_MATRIX as an option to glGetFloatv 2019-03-10 12:30:39 +00:00
Luke Benstead
1807a0119c Add some missing function stubs 2019-03-10 12:19:45 +00:00
Luke Benstead
259a82e69f Add support for multiple shared palettes 2019-03-10 11:18:56 +00:00
Luke Benstead
864dc45d10 Allocate palette slots on a FIFO basis 2019-03-09 14:32:50 +00:00
Luke Benstead
ba4fde3975 Fix depth funcs 2019-03-03 19:41:19 +00:00
Luke Benstead
5f7fef2cf9 Prefix non-static private functions with '_gl' 2019-03-03 19:06:01 +00:00
Luke Benstead
926214bd82 Prefix some non-static private functions with '_gl' 2019-03-03 19:02:25 +00:00
Luke Benstead
ef06af793a Don't apply the color table unless a texture is bound 2019-03-03 18:54:25 +00:00
Luke Benstead
02937ccd2c Add stub with just GL_PROJECTION_MATRIX supported 2019-02-28 08:46:13 +00:00
Luke Benstead
6d2c47bda1 Implement GL_EXT_shared_texture_palette 2019-02-21 21:58:31 +00:00
Luke Benstead
9645b10ed6 Add paletted texture to the supported extensions 2018-09-20 15:11:01 +01:00
Luke Benstead
7100ebe5a9 Prefix some non-static private methods 2018-09-15 11:45:38 +01:00
Luke Benstead
17c9699966 More clipping fixes 2018-09-08 20:53:28 +01:00
Luke Benstead
b29303fb6c Implement glColorMaterial 2018-08-22 09:24:49 +01:00
Luke Benstead
9b0322ce8a Properly restore enabled client state when using immediate mode 2018-08-21 16:08:06 +01:00
Luke Benstead
edae8a9166 Properly pop active client texture in immediate mode 2018-08-21 15:50:59 +01:00
Luke Benstead
26bd8df37c Fix some bugs with mipmaps + compressed textures 2018-08-20 08:34:54 +01:00
Luke Benstead
25e4518501 Performance optimisations 2018-08-19 21:10:42 +01:00
Luke Benstead
021237f258 Fix a number of issues with texture loading 2018-08-14 09:49:31 +01:00
Luke Benstead
e7cd91a91f Try to match GL filtering with PVR filtering 2018-08-09 09:32:29 +01:00