Sergey Lipskiy
|
fc8a000616
|
Fix RDRAMSize for non-Windows platforms.
|
2015-05-13 10:22:33 +06:00 |
|
Sergey Lipskiy
|
2feb8a24dd
|
Use glTexStorage2DMultisample for GLES3_1
|
2015-05-13 10:22:33 +06:00 |
|
Sergey Lipskiy
|
d46ed98804
|
Fix wrong set of CHANGED_TEXTURE flag.
|
2015-05-13 10:22:32 +06:00 |
|
Sergey Lipskiy
|
13d53a0dde
|
Set CHANGED_TILE flag in gDPSetTile.
Fixed Banjo Tooie: certain textures change/shift #499
|
2015-05-13 10:22:31 +06:00 |
|
Sergey Lipskiy
|
e685cbc83c
|
Rewrite mipmap shader.
Less if().
|
2015-05-13 10:22:31 +06:00 |
|
Sergey Lipskiy
|
09837f88d4
|
Replace int uniforms uFb8Bit, uFbFixedAlpha by ivec2 ones.
|
2015-05-13 10:22:30 +06:00 |
|
Sergey Lipskiy
|
6c062c8232
|
Replace uniforms uMSTex0Enabled, uMSTex1Enabled by vector uniform uMSTexEnabled.
|
2015-05-13 10:22:29 +06:00 |
|
Sergey Lipskiy
|
7f9a3973eb
|
Do not use textureLod for fetching normal textures. It kills anisotropic filtering:
https://www.opengl.org/wiki/Sampler_(GLSL)
Also need to keep in mind issue #232 and not allow mip-mapping for combiners,
which do not use it.
Fixed anisotropic filtering not working #505
|
2015-05-13 10:22:29 +06:00 |
|
Sergey Lipskiy
|
49efba0ce6
|
Correct RDRAMtoFrameBuffer::CopyFromRDRAM -
need to update combiner's FBInfo before use.
|
2015-05-13 10:22:28 +06:00 |
|
Sergey Lipskiy
|
eabbd252f8
|
Change CachedTexture::frameBufferTexture type to enum.
Need to separate one-sampled frame buffer textures from multosampled ones.
|
2015-05-13 10:22:27 +06:00 |
|
Sergey Lipskiy
|
dbbb7da427
|
Move _isMarioTennisScoreboard() from FrameBufferList to FrameBuffer.
|
2015-05-13 10:22:26 +06:00 |
|
Sergey Lipskiy
|
663a0d76f1
|
Implement multisampled textures fetch in shaders.
Thanks mudlord for the idea.
Fixed Perfect Dark frame buffer effects do not work when FSAA is on. #244
|
2015-05-13 10:22:26 +06:00 |
|
Sergey Lipskiy
|
b728ab97a7
|
Disable multisampling related code for GLES below 3.1
|
2015-05-13 10:22:25 +06:00 |
|
Sergey Lipskiy
|
f754943515
|
Disable use of depth_compare_shader for platforms, which do not support GL_IMAGE_TEXTURES_SUPPORT
|
2015-05-13 10:22:24 +06:00 |
|
Sergey Lipskiy
|
1437eb030a
|
Define internal format for depth texture for GLES3
|
2015-05-13 10:22:23 +06:00 |
|
Sergey Lipskiy
|
d1a16d0a12
|
Fix memcpy not found on Android.
|
2015-05-13 10:22:23 +06:00 |
|
Sergey Lipskiy
|
e9564caaab
|
Disable zelda_monochrome_fragment_shader for platforms without GL_IMAGE_TEXTURES_SUPPORT
|
2015-05-13 10:22:22 +06:00 |
|
Sergey Lipskiy
|
aac3c036dc
|
Add define for shader version string.
|
2015-05-13 10:22:22 +06:00 |
|
Sergey Lipskiy
|
37963159e4
|
Fix texturedRectShadowMap for platforms without GL_IMAGE_TEXTURES_SUPPORT
|
2015-05-13 10:22:21 +06:00 |
|
Sergey Lipskiy
|
81c003a872
|
Add GLES3 headers include to OpenGL.h
|
2015-05-13 10:22:20 +06:00 |
|
Sergey Lipskiy
|
f95804db92
|
Fix vertex_shader_notex for GLES
|
2015-05-13 10:22:20 +06:00 |
|
Sergey Lipskiy
|
e819e3cf65
|
Remove obsolete code from Textures.h
|
2015-05-13 10:22:19 +06:00 |
|
Sergey Lipskiy
|
09b78ea577
|
Replace define GLES3 by GLES3_1 since current code is GLES3.1 compatible.
GLES3 is different.
|
2015-05-13 10:22:18 +06:00 |
|
Sergey Lipskiy
|
a550f70330
|
Add extern "C" for functions in glState.h
Thanks Gillou68310 for hint.
|
2015-05-13 10:22:18 +06:00 |
|
Sergey Lipskiy
|
243e186ba2
|
Correct internal format for DepthBufferToRDRAM color texture.
|
2015-05-13 10:22:17 +06:00 |
|
Sergey Lipskiy
|
d3f6754cff
|
Correct depth texture intarnal format for GLES3
|
2015-05-13 10:22:16 +06:00 |
|
Sergey Lipskiy
|
0a89aa9f77
|
Make Shaders GLES3.1 compatible.
|
2015-05-13 10:22:16 +06:00 |
|
Sergey Lipskiy
|
e4e6c277da
|
Fix fragment shader creation for GLES.
|
2015-05-13 10:22:15 +06:00 |
|
Sergey Lipskiy
|
c53dac8fa7
|
Temporal stub for PluginAPI::FindPluginPath
|
2015-05-13 10:22:14 +06:00 |
|
Sergey Lipskiy
|
107a81d079
|
Don't init from/to RDRAM objects when frame buffer emulation is off.
|
2015-05-13 10:22:14 +06:00 |
|
Sergey Lipskiy
|
94ec380bc8
|
Use GL_R16 as internal type for unsigned short textures for GL and
GL_R16UI for GL ES.
|
2015-05-13 10:22:13 +06:00 |
|
Sergey Lipskiy
|
a68db29c28
|
Remove Android project. Mupen64Plus AE uses main android makefile.
|
2015-05-13 10:22:12 +06:00 |
|
Sergey Lipskiy
|
0f8f8c3834
|
Move video_api_export.ver to mupenplus folder.
|
2015-05-13 10:22:12 +06:00 |
|
Sergey Lipskiy
|
4e4f0d1bf3
|
Replace 1D textures by 2D ones
|
2015-05-13 10:22:11 +06:00 |
|
Sergey Lipskiy
|
01807a0499
|
Fix FrameBuffer_CopyDepthBuffer: return false for GLES2 case.
|
2015-05-13 10:22:10 +06:00 |
|
Sergey Lipskiy
|
12102146f1
|
Add TxFilterStub.cpp for GL ES.
Temporal solution to avoid compilation errors.
|
2015-05-13 10:22:10 +06:00 |
|
Sergey Lipskiy
|
759578ff14
|
Replace TextDrawer by TextDrawerStub for GL ES.
|
2015-05-13 10:22:09 +06:00 |
|
Sergey Lipskiy
|
2bf72ab833
|
Correct filename case in includes.
|
2015-05-13 10:22:08 +06:00 |
|
Sergey Lipskiy
|
6afe5fe30c
|
Disable anisotropy for GL ES
|
2015-05-13 10:22:08 +06:00 |
|
Sergey Lipskiy
|
ded889350c
|
Remove use of obsolete texture type GL_LUMINANCE8_ALPHA8.
|
2015-05-13 10:22:07 +06:00 |
|
Sergey Lipskiy
|
2f2a22ee48
|
Move video_api_export.ver to projects/android folder.
|
2015-05-13 10:22:06 +06:00 |
|
Sergey Lipskiy
|
f7b27138d8
|
Enable GL_IMAGE_TEXTURES_SUPPORT for GLES3
|
2015-05-13 10:22:06 +06:00 |
|
Sergey Lipskiy
|
a02d284645
|
Use glTexStorage2DMultisample instead of glTexImage2DMultisample in case of GLSE3
|
2015-05-13 10:22:05 +06:00 |
|
Sergey Lipskiy
|
70b1b9ad03
|
Replace glMapBuffer by GLES3 compatible glMapBufferRange.
|
2015-05-13 10:22:04 +06:00 |
|
Sergey Lipskiy
|
82ce16f5fc
|
Add new defines: GLESX for any GL ES version and GLES3 for GL ES 3.1
Guard GL ES incompatible code with GLESX
|
2015-05-13 10:22:03 +06:00 |
|
Sergey Lipskiy
|
bd5740ea3d
|
Disable GL_CLIP_DISTANCE for GLES
|
2015-05-13 10:22:03 +06:00 |
|
Sergey Lipskiy
|
d894d465c1
|
Correct android project:
- enable c++11
- switch to GLES3
- change module name
|
2015-05-13 10:22:02 +06:00 |
|
Sergey Lipskiy
|
e8d8ee93e4
|
Correct RSP_SegmentToPhysical
Fixed Glover crash after intro #474
|
2015-05-13 10:22:01 +06:00 |
|
Sergey Lipskiy
|
bbc71c3f0a
|
Fix crash in FrameBufferToRDRAM::CopyToRDRAM when current buffer is NULL.
Fixed Snowboard Kids causes segmentation fault #477
|
2015-05-13 10:22:01 +06:00 |
|
Sergey Lipskiy
|
cd0c74dff0
|
Enable translations for About dialog.
|
2015-05-13 10:22:00 +06:00 |
|