Commit graph

48 commits

Author SHA1 Message Date
Ian Brown
822022ca35 whitespace to keep clang happy 2021-03-10 00:24:17 +00:00
Ian Brown
48a403ee4c clang 2021-03-10 00:16:02 +00:00
Ian
b8acfd7662 fixed some arm compile errors 2021-03-05 17:30:53 +00:00
Ian Brown
173ec0eb81 arm neon version of PSMT4 2021-03-05 17:20:35 +00:00
Ian Brown
6d9a0e3fad 4 bit 16 wide textures work in SIMD now. 2021-03-02 15:06:31 +00:00
Ian Brown
2180e53a80 Fixed issue with narrow textures. 2021-03-02 12:00:08 +00:00
Ian Brown
5c9f830b5b Get pixel address gives the wrong value for PSMT4, use getColumnAddress instead. 2021-03-01 11:19:50 +00:00
Ian Brown
787c510ae8 sse version of psm4 2021-02-28 22:18:12 +00:00
Ian Brown
3990ba93ce added defines for 32 bit platforms 2021-02-16 13:31:05 +00:00
Ian Brown
0447b16fdb added NEON version 2021-02-16 13:31:05 +00:00
Ian Brown
f458f76f98 update SSE detection to work better on ios compilation 2021-02-16 13:31:05 +00:00
Ian Brown
12e35483b1 SSE version of column unswizzle for PSM8 2021-02-16 13:31:05 +00:00
Jean-Philip Desjardins
8040d055c9 Remove redundant definitions. 2020-01-25 18:31:17 -05:00
Jean-Philip Desjardins
fe6eb3a267 Make PSM 32 work as PSMCT32.
Fixes movies in LotR: RotK.
2019-09-24 12:49:31 -04:00
Jean-Philip Desjardins
2076edf3c0 Fix Linux build. 2019-08-17 13:51:31 -04:00
Jean-Philip Desjardins
7cd417d492 Code style fixes. 2019-08-12 17:49:16 -04:00
Jean-Philip Desjardins
427cd8735c Split framebuffer search for texture in two passes.
Prevents wrong FB to be selected in Castlevania CoD.
2019-08-12 12:56:57 -04:00
Jean-Philip Desjardins
acde5d1417 Fix warning. 2019-04-04 13:15:07 -04:00
Jean-Philip Desjardins
15d7909c9c Code style fix. 2018-09-28 17:22:08 -04:00
Jean-Philip Desjardins
4659aff384 Restrict/clarify when framebuffer's alpha can be used as indexed texture. 2018-09-28 17:17:09 -04:00
Jean-Philip Desjardins
61f4ca3d73 Allow reading from alpha as indexed texture. 2018-09-28 17:17:09 -04:00
Clang-Format
acf75535ec Clang format 2018-04-30 21:01:23 +01:00
Jean-Philip Desjardins
75a8388bac Use IsCompatibleFramebufferPSM in D3D9. 2018-04-03 09:18:41 -04:00
Mahmood(Thunder07)
3e8cac12e7 Add GSH_OpenGL CMakeLists.txt 2018-03-02 12:01:58 +00:00
Mahmood(Thunder07)
97c229ec98 Cleanup
Silence:"warning: '0' flag ignored with precision and ‘%X’ gnu_printf format"
2017-05-29 06:01:32 +01:00
Jean-Philip Desjardins
786bf0e98d Use MakeLinearCLUT in OpenGL. 2017-05-07 22:02:33 -04:00
Mahmood(Thunder07)
75f7d0792b Cleanup
Replace WIN32 preprocessor with _WIN32
2017-02-21 15:47:18 +00:00
Jean-Philip Desjardins
ae30df7683 Use GsTextureCache in OpenGL GS handler. 2017-01-29 21:12:56 -05:00
Jean-Philip Desjardins
76b9142e9a Got rid of texture uploaders. 2017-01-29 21:12:56 -05:00
Jean-Philip Desjardins
db34f8193c Use dirty rects to update textures more efficiently. 2017-01-29 21:12:56 -05:00
Jean-Philip Desjardins
b150e8431b Clarify page rect business. 2017-01-29 21:12:55 -05:00
Jean-Philip Desjardins
5daf12d81a Mask CSA value to prevent out of bounds access.
Was occuring in Kingdom Hearts.
2017-01-06 19:18:28 -05:00
Jean-Philip Desjardins
83c5381854 Add support for PSMCT16S CLUTs. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
02be94723b Added basic MSAA support. 2016-04-16 23:37:49 -04:00
Jean-Philip Desjardins
380039b671 Store texture info in render state. 2016-04-16 23:37:48 -04:00
Jean-Philip Desjardins
77d1385533 Reverted changes that were made to fix DQ8's display.
FindCompatibleFramebuffer was wrong and it was also wrong
to change the width of a framebuffer without invalidating its contents.
2016-01-03 21:35:16 -05:00
Jean-Philip Desjardins
578904c146 Added restriction on case where framebuffer can be used as texture with an offset. 2016-01-03 21:35:16 -05:00
Jean-Philip Desjardins
fc23b5aa9a Moved all interlaced display handling code to present phase. 2016-01-03 21:35:15 -05:00
Jean-Philip Desjardins
cbae904b87 Pushed input color manipulation operations to shaders.
Also removed MulBy2Clamp since it's not needed anymore.
2015-12-20 17:42:13 -05:00
Jean-Philip Desjardins
54ef78db8c Removed code that is not compatible with GLES. 2015-12-20 17:42:12 -05:00
Jean-Philip Desjardins
318db00257 Relaxed PSM requirement when looking for a framebuffer to display on screen. 2015-09-19 19:03:24 -04:00
Jean-Philip Desjardins
038a73eef3 Use the more compatible GL_UNSIGNED_SHORT_5_5_5_1 pixel format for 16-bit textures. 2015-07-29 22:35:02 -04:00
Jean-Philip Desjardins
ed38164136 Added some more GL error checks. 2015-07-29 22:31:09 -04:00
Jean-Philip Desjardins
139efaafc5 Added some GL error checks. 2015-07-29 00:44:10 -04:00
Jean-Philip Desjardins
0c526ce5c0 Added support for PSMCT24 palettes. 2015-06-13 00:40:59 -04:00
Jean-Philip Desjardins
649cbf5eb5 Fixed some paletted textures not showing up in GLES compatibility mode. 2015-06-04 03:20:24 -04:00
Jean-Philip Desjardins
2a0a9a25fa Made requirements to use a framebuffer for rendering a bit less strict and allowed buffer size to change. Makes DQ8 show something, but makes UT blinky. 2015-05-09 22:53:00 -04:00
Jean-Philip Desjardins
fcf1b11f1b Moved EE and GS specific files in a separate folder. 2015-05-06 00:54:15 -04:00
Renamed from Source/GSH_OpenGL_Texture.cpp (Browse further)