1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
Commit Graph

1897 Commits

Author SHA1 Message Date
Francisco Zurita
60c5756ead Fixes corrupt graphics in PowerVR 2016-07-11 10:01:52 +06:00
gizmo98
a845be6086 OPT: Add description 2016-07-09 22:03:14 +02:00
Stefan
b3bc8ce689 cmake: seperate optimization options 2016-07-09 19:03:47 +02:00
Logan McNaughton
f2babed36d Fix some more graphical glitches with FBE on the Raspberry Pi
See https://github.com/RetroPie/RetroPie-Setup/pull/1563
2016-07-08 16:42:22 +06:00
Sergey Lipskiy
f48ab4828d Code cleanup: remove unused function textureCRC 2016-07-08 12:47:25 +06:00
Logan McNaughton
2bc803dd14 Add optimized CRC calculator when OPT is on 2016-07-08 00:20:13 -06:00
Logan McNaughton
b234daf505 Add NEON code to cmake system 2016-07-07 14:03:31 +06:00
Francisco Zurita
76962e975e Add Android make files. 2016-07-07 11:27:51 +06:00
Francisco Zurita
7386a036ce Port glN64 for Android NEON optimizations 2016-07-06 11:00:40 +06:00
Francisco Zurita
62ec0cb821 Fixes crash at GoldenEye startup 2016-07-06 10:54:27 +06:00
Logan McNaughton
c0c4d16abc Fix link dirs on Raspberry Pi 2016-07-04 12:30:01 -06:00
Sergey Lipskiy
803eb1d381 Clear cache if its size is too large. 2016-07-03 00:10:01 +06:00
Sergey Lipskiy
006218c708 Optimize TextureCache::_clear() 2016-07-03 00:09:58 +06:00
Sergey Lipskiy
5efd89ccd2 Fix input texture checksum calculation. 2016-07-03 00:09:26 +06:00
Sergey Lipskiy
154c06b14f Add Debug_mupenplus_uniformset configuration 2016-06-30 17:12:12 +06:00
Sergey Lipskiy
0aaadb1507 Make use of Uniform Block optional. 2016-06-30 17:12:06 +06:00
Sergey Lipskiy
99af3839e3 Add UniformBlock::updateTextureParameters() optimization by Francisco Zurita 2016-06-29 14:02:41 +06:00
Sergey Lipskiy
d691d98451 UniformBlock: remove GLES specific fixes. 2016-06-29 14:02:38 +06:00
Sergey Lipskiy
83ba9b5741 Revert "PowerVR performance improvement"
This reverts commit 93be54a54d.
2016-06-29 14:02:35 +06:00
Logan McNaughton
c52cc68fbf This is actually a GLES2 requirement
Since Android doesn't use cmake, any GLES2 device is going to require the stub file
2016-06-28 07:56:24 -06:00
Francisco Zurita
93be54a54d PowerVR performance improvement 2016-06-26 18:04:59 +06:00
Francisco Zurita
f235d9b07c Fix internal depth format for GLES 2.0 Android devices 2016-06-26 17:52:56 +06:00
Logan McNaughton
1cbbea8183 Enable Framebuffer Emulation on the Raspberry Pi
renderbuffer code was written by gonetz, not me
2016-06-26 17:40:14 +06:00
Sergey Lipskiy
cb54444b41 Fix updateBlendMode call. 2016-06-25 20:08:42 +06:00
Sergey Lipskiy
07854d3857 Use OGLRender::copyTexturedRect in ColorBufferToRDRAM::_prepareCopy.
Enable color buffer copy for GLES2.
2016-06-23 16:15:27 +06:00
Sergey Lipskiy
7ad11627d6 Use OGLRender::copyTexturedRect in FrameBuffer::renderBuffer
Remove GLES2-specific code.
2016-06-23 16:14:04 +06:00
Sergey Lipskiy
4cb53d9675 Use OGLRender::copyTexturedRect in FrameBuffer::_getSubTexture
Remove GLES2-specific code.
2016-06-23 16:12:50 +06:00
Sergey Lipskiy
d62c383390 Implement OGLRender::copyTexturedRect - simple copy buffer routine.
There are two implementation:
* default one, via glBlitFramebuffer. Incompatible with GLES2
* via plain rendering of textured rectangle. Compatible with all supported GL versions.

Use NO_BLIT_BUFFER_COPY define to enable the second method.
2016-06-23 16:09:02 +06:00
Logan McNaughton
e27126b271 Remove glEnable(GL_TEXTURE_2D)
It is not valid and it throws a GL error
2016-06-20 19:47:11 -06:00
Sergey Lipskiy
4c4b1bf57d Code refactor: move struct FBOTextureFormats to separate files. 2016-06-20 15:16:15 +06:00
Sergey Lipskiy
64799264d5 Mark depth buffer object as not cleared after software render draw to RDRAM.
Fixed pause screen in Zelda OOT.
2016-06-20 15:12:31 +06:00
Sergey Lipskiy
bb43a1b2e5 Add software depth buffer render option to GUI. 2016-06-20 15:12:31 +06:00
Sergey Lipskiy
42f3643865 Implement software depth buffer render. 2016-06-20 15:12:31 +06:00
Sergey Lipskiy
c816f7deeb Code refactor: rename CLIP_Z to CLIP_W 2016-06-20 15:12:31 +06:00
Sergey Lipskiy
1a114dd560 Fix compilation on Android. 2016-06-20 13:00:03 +06:00
Logan McNaughton
d2332fb546 Allow OpenGL.h to use libretro GL State Machine 2016-06-19 21:34:32 -06:00
Sergey Lipskiy
706e35dd10 Fix GL error when open Zelda OOT pause screen. 2016-06-18 18:47:32 +06:00
Sergey Lipskiy
2fbee3661f Move TextureFilterHandler class to separate files. 2016-06-10 17:58:47 +06:00
Sergey Lipskiy
86fbea9edc Code refactor: replace NULL by nullptr. 2016-06-10 12:40:18 +06:00
Sergey Lipskiy
0060d3ea80 Fix fb texture size for ColorBufferToRDRAM.
Fixed crash in ColorBufferToRDRAM::_initFBTexture on Perfect Dark start.
2016-06-10 12:40:12 +06:00
Logan McNaughton
287eb6ac08 Allowing building GLideNHQ using GLES2 2016-06-09 09:22:08 -06:00
Sergey Lipskiy
e7be11f62e Rename filter() shader function to texFilter() since "filter" can be a reserved keyword #1020 2016-06-09 12:40:58 +06:00
Logan McNaughton
3c1495de80 Update ColorBufferToRDRAMStub.cpp to match recent commits 2016-06-09 12:25:40 +06:00
Sergey Lipskiy
ffe0b61e76 Rename ColorBufferToRDRAMDesktop to ColorBufferToRDRAM_GL
and ColorBufferToRDRAMAndroid to ColorBufferToRDRAM_GLES
2016-06-08 22:06:02 +06:00
Sergey Lipskiy
2ed1dc17ad ColorBufferToRDRAM: use inner buffer for pixel data to avoid memory allocation/deallocation. 2016-06-08 21:57:50 +06:00
Francisco Zurita
87c93d9491 Fix PBOs in Android 2016-06-08 21:26:22 +06:00
Logan McNaughton
8c632ca0ad Fix Texture Cache on Raspberry Pi
The Raspberry Pi only supports 32768 GPU memory allocations
see https://github.com/raspberrypi/firmware/issues/611

Each texture takes 2 allocs, so the max is around 16000, I've set it to 15000 to be safe
2016-06-08 20:10:14 +06:00
Sergey Lipskiy
c9615e9164 Remove unused uniform uDepthScale from GLES2 shaders. 2016-06-08 14:14:14 +06:00
Logan McNaughton
c796dcd5d9 Disable uDepthScale check on GLES2
It is not used for GLES2
2016-06-08 14:05:22 +06:00
Logan McNaughton
c74d0419b6 Make uTestColor non-uniform
GLSL ES 1.0 doesn't like when you initialize a uniform
2016-06-08 14:05:22 +06:00