summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/PerfQuery.cpp
AgeCommit message (Collapse)Author
2016-07-04Improve PerfQuery accuracyhthh
In TimeSplitters: Future Perfect, PerfQuery is used to detect the visibility of lights and draw coronas. 25 points are drawn for each light. However, the returned count was incorrectly being divided by four leading to dim coronas. Using 4x antialiasing was a workaround because of a bug where antialiasing multiplied the PerfQuery results. This commit fixes that bug too (but only for OpenGL).
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-01-17VideoCommon: Header cleanupLioncash
Also remedies places where the video backends and core rely on things being indirectly included.
2015-12-20VideoBackends: Simplify initialization and deinitialization of resourcesLioncash
Approximately three or four times now, the issue of pointers being in an inconsistent state been an issue in the video backend renderers with regards to tripping up other developers. Global (ugh) resources are put into a unique_ptr and will always have a well-defined state of being - null or not null
2015-09-22Move GL interface code out of the OpenGL video backend.Scott Mansell
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-04-15PerfQueryBase: Move common implementation variables into base classLioncash
2015-02-21Implement full occlusion queries for the Nexus 9.Ryan Houdek
GLES3 spec is worthless and only returns a boolean result for occlusion queries. This is fine for simple cellular games but we need more than a boolean result. Thankfully Nvidia exposes GL_NV_occlusion_queries under a OpenGL ES extension, which allows us to get full samples rendered. The only device this change affects is the Nexus 9, since it is an Nvidia K1 crippled to only support OpenGL ES. No other OpenGL ES device that I know of supports this extension.
2014-08-02Move GLInterface around to remove VideoBackends dependency on DolphinWXPierre Bourdon
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-16Merge pull request #37 from degasus/VideoCommonApiFixesTony Wasserka
VideoCommon API cleanups
2014-02-15move perfquery enable checks into videocommon (caller side)degasus
2014-02-15Kill off some usages of the ArraySize macro.Lioncash
This required the use of std::array in some cases.
2014-01-20Move GLInterface.h into GLInterface directoryScott Moreau
2014-01-17[GLExtensions] Initial code drop for GLExtensions. This drops GLEW entirely ↵Ryan Houdek
from the codebase. This has been tested on Android and Linux+ATI. Of course untested on Windows and Apple. Also untested with Linux + EGL but should be fine there. There are most likely a couple of extensions I'm missing which would result in null pointer runs but not bad for the initial commit. Conflicts: CMakeLists.txt Externals/GLew/glew.vcxproj Externals/GLew/glew.vcxproj.filters Source/Core/VideoBackends/OGL/CMakeLists.txt Source/Core/VideoBackends/OGL/GLFunctions.cpp Source/Core/VideoBackends/OGL/GLFunctions.h Source/Core/VideoBackends/OGL/GLUtil.h Source/Core/VideoBackends/OGL/Render.cpp Source/VSProps/Base.props
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre