summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/Render.cpp
AgeCommit message (Collapse)Author
2014-07-02FPS counter cleanupLioncash
- Isolate it into it's own namespace - Shorten function names, the namespace self-documents. - Just use the std I/O, we can just write directly to the stream for logging.
2014-06-15Remove EmuWindow.Armada
All it did was raise complexity.
2014-06-06Fix OpenGL ES version detection.Ryan Houdek
Mesa report GLES version as "3.0" not "3.00" Spec mandates X.Y versioning scheme, doesn't say how long the decimal place must be.
2014-06-05OGL: speed up the EFB cachedegasus
gcc doesn't optimize this loops with -O2, so using memset now. A flag to skip the clear funktion was added as the cache is already cleared most of the time.
2014-05-25Use strings instead of arbitrary buffers for video statisticsLioncash
2014-05-19ogl: use ARB_texture_multisample for msaadegasus
2014-05-19ogl: drop csaa supportdegasus
2014-05-16Video backends: mass-replace "xfregs" with "xfmem".magumagu
2014-04-18Change to ARM's naming convention in DriverDetails.Ryan Houdek
This matches how ARM handles their naming in their drivers for different models. Really it's that way because both Mali-T6xx and Mali-T7xx fall under Midgard. While everything else (except Mali-55) fall under Utgard.
2014-04-14Merge pull request #263 from Sonicadvance1/DetermineMaliVersionMatthew Parlane
Add Mali driver version check and support of checking for Mali-T7xx
2014-04-12OpenGL backend: remove useless header Globals.h.magumagu
The header has no content, so it can can just be deleted.
2014-04-11Support checking for the Mali-T7xx line of GPUs.Ryan Houdek
They are similar enough that they will share bugs with their drivers, so make them fall under the same Mali-Txxx umbrella of bug issues. If there is ever a need in the future for having separate bugs depending on family, we can support that then.
2014-04-11Add the ability to determine the Mali driver version.Ryan Houdek
This is the only way we can determine the video driver version with mali. Really it's a good thing that they only push driver updates once every two years, makes it easy to determine what driver anybody is running.
2014-04-03Add initial support for GLSL ES 3.10.Ryan Houdek
GLSL ES 3.10 adds implicit support for the binding layout qualifier that we use. Changes our GLSL version enums to bit values so we can check for both ES versions easily.
2014-03-29Remove all trailing whitespaces from our codebase.Pierre Bourdon
2014-03-25BPMemory: Make use of BitField in a number of structures.Tony Wasserka
2014-03-25BPMemory: Expose the pixel_format and zformat fields in PE_CONTROL as ↵Tony Wasserka
enumerations.
2014-03-20Merge pull request #167 from neobrain/ogl-efbpokesRyan Houdek
Implement EFB pokes in the OpenGL backend.
2014-03-14OpenGL: Implement color and z pokes.Tony Wasserka
2014-03-14Kill off some usages of c_str.Lioncash
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-02-26remove (ATTR|VARY)(IN|OUT) macrosdegasus
2014-02-20Fix more header sorting issues in VideoBackends/ (now check-includes clean).Pierre Bourdon
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-17Second and final pass of clearing out tabs.Lioncash
2014-02-16Merge pull request #37 from degasus/VideoCommonApiFixesTony Wasserka
VideoCommon API cleanups
2014-02-16Remove the old MMIO access "interface".Pierre Bourdon
2014-02-15merge some common parts of Swap() into VideoCommondegasus
2014-02-15use EFBRectangle for scissor rectdegasus
This one is backend independed. The backend should recalc such things on their own.
2014-02-15rename UpdateViewport to SetViewport like all others setters in RenderBase.hdegasus
2014-02-13Turn loops into range-based formTillmann Karras
and some things suggested by cppcheck and compiler warnings.
2014-02-01OGL: remove ubo workarounddegasus
This was only keeped for some broken mesa versions. Meanwhile most used versions should be fixed for almost a year.
2014-01-31VideoCommon: remove Cache Displaylistdegasus
This option was known to break every second game and only boost a bit. It also seems to be broken because of streaming into pinned memory and buffer storage buffers. v2: also remove dlc_desc
2014-01-29[Android] Fix Adreno v53 development drivers rotating framebufferRyan Houdek
Older Qualcomm drivers rotated the framebuffer 90 degrees and this fix didn't work. Now for some obscene reason it rotates a full 180 degrees. This can at least be worked around by flipping around the image on our end.
2014-01-28OGL: remove version check for buffer_storage on windowsdegasus
On Windows, nvidia don't give us their driver version, so we can't workaround any issues. As buffer_storage is broken on some drivers, we wanted to disble it for them. So we can't. Luckyly only "some" released driver versions are affected as this extension is only available since some months. Let's hope that nobody have to use one of this driver version, else they will get a black screen ...
2014-01-26BBox: Changed the rounding again, the old one fixed Paper Mario but had bugs ↵crudelios
in Mickey's Magical Mirror. This change fixes the glitches in both games. Also fixed some compiler warnings.
2014-01-23OpenGL: remove unused OpenGL headersdegasus
2014-01-23OpenGL: Stream vertices + indicesdegasus
2014-01-17[GLExtensions] fixup for missing changes on rebasedegasus
2014-01-17[GLExtensions] Pull in all the function pointers for OpenGL 1.1, This ↵Ryan Houdek
removes the need for a couple compile time differences between GL and GLES3 mode.
2014-01-17[GLExtensions] Oops. Don't just outright disable these helper functions.Ryan Houdek
2014-01-17[GLExtensions] KHR_debug on OpenGL ES 3 has a KHR suffix on their function ↵Ryan Houdek
pointers. In Desktop OpenGL there is no suffix. So handle this correctly. Make the GrabFunction macro slightly less evil, so update the init_* to reflect it. Thanks Bh44L for the suggestion.
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
2014-01-09VideoCommon: disable efb access + perf querys on cph threaddegasus
The usual way to handle this kind of request is to rise a flag which the gpu thread polls. The gpu thread itself either generates the result or just write zeros if disabled. After this, it rise another flag which says that this work is done. So if disabled, we still have the cpu-gpu round trip time. This commit just returns 0 on the cpu thread instead of playing ping pong...
2014-01-07Fix for previous commit. I was supposed to use GL_VERSION, not GL_RENDERER.Ryan Houdek
2014-01-07Probe the GL_RENDERER string on Nvidia to grab the driver version.Ryan Houdek
2014-01-05OpenGL: use shader 420pack if available to staticly bind ubo locationdegasus
Bindung locations after compiling a shader stalls the driver. So if we manage not to bind anything after compilation, the lag would be reduced much.
2014-01-01Merge Fail. We don't disable BaseVertex on broken pinned memory.Ryan Houdek
2013-12-31Merge branch 'master' into buffer_storageRyan Houdek