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

1810 Commits

Author SHA1 Message Date
Francisco Zurita
149c0c517e Enable compiler vectorization in android make file. 2016-07-22 14:34:56 +06:00
Logan McNaughton
e0d8830b2a Another fix for FBE on Raspberry Pi 2016-07-21 10:57:17 +06:00
Francisco Zurita
51b8547eba Fix __VEC4_OPT issue for CBFD in gSPCBFDVertex.
This fixes incorrect lighting with VEC4_OPT enabled in CBFD.
2016-07-20 01:45:11 -04:00
Sergey Lipskiy
cd1b134ddc Add legacy blending option:
Use old, fixed functionality based method for emulation of N64 blending modes.
2016-07-17 11:15:02 +06:00
Sergey Lipskiy
c786cb9572 Remove version check for custom ini file. 2016-07-16 21:49:37 +06:00
Sergey Lipskiy
30d6d127aa Fix update shader render state when texrect drawer enabled.
Fixed excite bike new gx issue #1046
2016-07-16 19:53:14 +06:00
Sergey Lipskiy
0263eb34f7 Fix array bound write error in renderTriangles. 2016-07-13 17:32:22 +06:00
Sergey Lipskiy
feb446c3f8 Fix checksum calculation for mip-mapped textures. 2016-07-13 17:14:29 +06:00
Sergey Lipskiy
0ffaf66de0 Minor _calculateCRC optimization. 2016-07-12 15:46:07 +06:00
Sergey Lipskiy
d1749518ca Add tile format and size to texture checksum calculation. 2016-07-11 21:50:37 +06:00
Logan McNaughton
da2d580d59 Simplify cmake and fix a typo 2016-07-11 01:21:14 -06:00
Logan McNaughton
a20dc97a5a Fixes menu on Castlevania and Rayman 2 with FBE enabled on Raspberry Pi
Probably fixes other FBE issues as well
2016-07-11 10:05:52 +06:00
Stefan
1d56091c59 GLideN64.custom.ini: update config version 2016-07-11 10:03:33 +06:00
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