summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src
AgeCommit message (Collapse)Author
2013-10-07Put Plugins/ in Core/, rename to VideoBackendsJasper St. Pierre
2013-10-06[Android] Missed a few things for PowerVR544MP3 'support.' It doesn't ↵Ryan Houdek
actually get any video output on it just like Tegra 4.
2013-10-06[Android] Tegra 4 'support.' This brings up the OpenGL backend to support ↵Ryan Houdek
Tegra 4 to the point where it will run games but it doesn't have any video output for some reason. This is a large change that doesn't actually change much functionally. Walking through the changes. It changes the string in the Android backend select to just OpenGL ES. Adds a check in the Android code to check for Tegra 4 and to enable the option to select the OpenGL ES backend. Adds a DriverDetails bug under BUG_ISTEGRA as a blanket case of Tegra 4 support. The changes that effects most lines in this change. Removing all float suffixes in the pixel/vertex/util shaders since OpenGL ES 2 doesn't support float suffixes. Disables the shaders for reinterpreting the EFB format since Tegra 4 doesn't support integers. Changes GLFunctions.cpp to grab the correct Tegra extension functions. Readds the GLSL 1.2 'hacks' as GLSLES2 'hacks' since they are required for GLSL ES 2 Adds a GLSLES2 to the GLSL_VERSION enum. Disable the SamplerCache on Tegra since Tegra doesn't support samplers... Enable glBufferSubData on Tegra since it is the only mobile GPU to correctly work with it. Disable glDrawRangeElements on Tegra since it doesn't support it, This uses glDrawElements instead.
2013-09-28Support a gcm revision-specific game ini for cheats + partially fix gecko ↵comex
codes in default ini. The local ini is not revision-specific because it would require renaming everything. Meh.
2013-09-24Merge branch 'fix-field-ordering'Scott Mansell
Fixes 6387 Closes 6635
2013-09-23Remove all refrences of field ordering from video backends.Scott Mansell
They were unused.
2013-09-23Fixed issues with feild ordering.Scott Mansell
This commit fixes issues with PAL games which use the incorrect feild ordering. We move all code that deals with indivudal fields from the indivudal video plugins and VideoCommon and make VideoInterface always pass in the start address of the whole XFB into VideoCommon.
2013-09-22ogl: drop glsl120 supportdegasus
2013-09-22Pull in the glRenderbufferStorageMultisample function pointer at run time.Ryan Houdek
2013-09-22Allow GLES3 hardware to support FSAA. Need a GUI option for this on Android ↵Ryan Houdek
devices.
2013-09-18ogl: don't PanicAlert on shader compiler warningsdegasus
2013-09-18[ANDROID] Add two new DriverDetails bugs for Adreno. V45 of the driver has ↵Ryan Houdek
broken shader compilation with UBOs in the shaders, this is most likely fixed with V53 found in the Nexus 5. Add a bug for issue surrounding on screentext and doing a glClear after swap causes screen swizzling and zero frames rendered respectively. On the Java side, pass in the dimensions of the screen swapped since there is an issue with Adreno where it rotates the output 90 degrees for some reason. Disable the GLSL shader cache on Android for now due to the inability to cleanly exit the emulator, this tends to cause the cache to get corrupted. All this together fixes rendering with Adreno 3xx GPUs with driver version v14 and above. In particular my Galaxy S4 still resets with this without the root commands, but my HTC Droid DNA and LG G2 is fine. This must be due to particular 'enhancements' that the Samsung kernel has over the other ones. The speed on Adreno has yet to be optimized, so it will most likely be slow still. Faster than the software rasterizer in any case. The ARMJIT is still broken in at this point, so not much fun can be had.
2013-09-18Revert "ogl: change the default buffer upload on osx+nvidia"degasus
This reverts commit 3b0b5155e8335d3645ed5860682ecb1975d8c342. It seems that both unsync upload methods are broken on osx+nvidia, so switch back to the default one :-(
2013-09-16[GLES3] Enable support for primitive restart.Ryan Houdek
2013-09-14Overlay local gameinis over global gameinis instead of copying.Pierre Bourdon
Huge megacommit because a lot of things needed to be modified to make this possible.
2013-09-14Overlay the user Shaders/ over the shared one to avoid copying filesPierre Bourdon
2013-09-11Replace ARRAYSIZE macro with another ugly macro. At least this will throw an ↵Jordan Woyak
error for a non-array and won't conflict with Windows macro names.
2013-09-11ogl: change the default buffer upload on osx+nvidiadegasus
2013-09-09ogl: also restore logic op for util shadersdegasus
2013-09-03ogl: remove obsolete codedegasus
2013-09-03ogl: disable revision 737df2a68cd5 for desktop ogldegasus
texelFetch doesn't filter linear, so every copy with filters didn't work correctly. This is still the case for gles, but this will be fixed after the 4.0 release. Fixes issue 6465.
2013-09-02ogl: reorder driver extensions checksdegasus
2013-09-01A few more warnings.comex
2013-09-01More warnings: mark/avert truncating conversions from float.comex
2013-08-29ogl: only free use fencesdegasus
This fixes some opengl error when not all fences are created.
2013-08-29ogl: fix vertex stream detectiondegasus
sorry, copy & paste fail
2013-08-27ogl: warn on osd if not supported features are enableddegasus
2013-08-26ogl: reset api state for blittingdegasus
glBlitFramebuffer depends on scissior test and color mask. It isn't documented well, but it does. So we have to reset the apistate before using it. In this way, there isn't any benefit of glBlitFramebuffer, glDrawArray would be better :-(
2013-08-26ogl driverdetails: add flag to disable hacked and pinned memorydegasus
pinned memory is broken for index buffers hacked buffer crashes the amd driver
2013-08-24Simplify a few OSD::AddMessage calls now that this function accepts ↵Pierre Bourdon
std::string objects
2013-08-23ogl: fix ubo workarounddegasus
2013-08-23ogl: rework DriverDetails framework + detect UBO mesa bugdegasus
2013-08-21Typo + Add Lima to the driverdetails.Ryan Houdek
2013-08-21Make us capable of supporting driver specific issues(OSS versus official)Ryan Houdek
2013-08-21ogl: enable glsl extension ARB_shader_image_load_store for early-zdegasus
2013-08-20ogl: explain why pinned memory is disabled for index bufferdegasus
2013-08-20ogl: fix the range of glDrawRangeElementsdegasus
This range isn't the amound of rendered vertices (this is count). It's the minimum/maximum of the indices in the index buffer.
2013-08-20ogl: use texture_2d instead of renderbuffer for realxfb + efb2ram fbodegasus
It should do the same on gpu, but textures are more flexible. eg we could copy and sample them directly without blitting.
2013-08-20ogl: remove glBindFragDataLocationdegasus
Without dual source blend, we have only one output per fragment shader, so this is bound to zero by default.
2013-08-19ogl: remove glMapBuffer as it isn't in glesdegasus
2013-08-16Put the shader info log at the end of the shader log file. This fixes issue ↵Ryan Houdek
6495.
2013-08-15Add some ifdef magic to GLFunctions.cpp to make it not directly dependant on ↵Ryan Houdek
GLESv3.
2013-08-15[Android] Fall back to using dlsym on ourselves to pull in OpenGL Functions ↵Ryan Houdek
when eglGetProcAddress fails. This fixes an issue on the Chromebook where I was forced to link to libGLESv2 and pull in the functions statically since eglGetProcAddress wouldn't return any GLESv3 functions. This also changes glMapBuffer to glMapBufferOES because glMapBuffer isn't actually part of the OpenGL ES 3 spec...
2013-08-15properly clean up PerfQuery on OGLJack Frost
2013-08-14Respect ShouldEmulate() in PerfQuery implementations for DX11 and OGL (ugly ↵Pierre Bourdon
implem, but the current state of VideoCommon does not allow much better)
2013-08-06disable emulate format changes on glsl120degasus
The current shader uses bit operations which aren't supported by glsl120. A workaround with round + frac + lots of additions would be possible, but unreadable. So I think it isn't worth But this fixes the annoying shader compilation error message
2013-08-02Change a glClear in the OpenGL renderer to improve performance on Mali chips.Ryan Houdek
2013-07-26[Android] Qualcomm Swap hack isn't needed anymore due to the new ↵Ryan Houdek
StreamBuffer type.
2013-07-27Didn't mean to disable hacked buffer.Ryan Houdek
2013-07-27Enable the shader cache on GLES3 now that the shaders compile fine on Mali ↵Ryan Houdek
and Adreno.