aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl
AgeCommit message (Collapse)Author
2015-10-06Silence -Wsign-compare warnings.Rohit Nirmal
2015-09-29fix some xcode 7.0 warningsMartin Lindhe
2015-09-16general: Silence some warnings when using clangLioncash
2015-09-11video_core: Reorganize headersLioncash
2015-09-11video_core: Remove unnecessary includes from headersLioncash
2015-09-10Merge pull request #1133 from lioncash/emplace-backbunnei
gl_rasterizer: Replace push_back calls with emplace_back in AddTriangle
2015-09-10renderer_opengl: Remove unimplemented function declarationLioncash
2015-09-10gl_rasterizer: Replace push_back calls with emplace_back in AddTriangleLioncash
2015-09-03OpenGL: Use Sampler Objects to decouple sampler config from texturesYuri Kunde Schlesner
Fixes #978
2015-09-03OpenGL: Remove ugly and endian-unsafe color pointer castsYuri Kunde Schlesner
2015-09-03OpenGL: Add support for Sampler Objects to state trackerYuri Kunde Schlesner
2015-08-30Replace the previous OpenGL loader with a glad-generated 3.3 oneYuri Kunde Schlesner
The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES.
2015-08-29Merge pull request #1049 from Subv/stencilbunnei
Rasterizer: Corrected the stencil implementation.
2015-08-27gl_rasterizer_cache: Detect and ignore unnecessary texture flushes.bunnei
2015-08-24Integrate the MicroProfile profiling libraryYuri Kunde Schlesner
This brings goodies such as a configurable user interface and multi-threaded timeline view.
2015-08-24HWRenderer: Added a workaround for the Intel Windows driver bug that causes ↵Subv
glTexSubImage2D to not change the stencil buffer. Reported here https://communities.intel.com/message/324464
2015-08-21HWRasterizer: Implemented stencil ops 6 and 7.Subv
2015-08-21HWRasterizer: Implemented stencil op 1 (GL_ZERO)Subv
2015-08-20GLRasterizer: Implemented stencil testing in the hw renderer.Subv
2015-08-15Shader: Move shader code to its own subdirectory, "shader".bunnei
2015-08-15GPU: Refactor "VertexShader" namespace to "Shader".bunnei
- Also renames "vertex_shader.*" to "shader_interpreter.*"
2015-08-06OpenGL: Fix state tracking in situations with reused object handlesYuri Kunde Schlesner
If an OpenGL object is created, bound to a binding using the state tracker, and then destroyed, a newly created object can be assigned the same numeric handle by OpenGL. However, even though it is a new object, and thus needs to be bound to the binding again, the state tracker compared the current and previous handles and concluded that no change needed to be made, leading to failure to bind objects in certain cases. This manifested as broken text in VVVVVV, which this commit fixes along with similar texturing problems in other games.
2015-08-05OpenGL: Remove redundant texture.enable_2d field from OpenGLStateYuri Kunde Schlesner
All uses of this field where it's false can just set the texture id to 0 instead.
2015-07-28OpenGL: Add a profiler category measuring framebuffer readbackYuri Kunde Schlesner
2015-07-26OpenGL: Make OpenGL object resource wrappers fully inlineYuri Kunde Schlesner
The functions are so simple that having them separate only bloats the code and hinders optimization.
2015-07-23Merge pull request #977 from yuriks/glenable-tex2dbunnei
GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
2015-07-22Rasterizer/GL: Set the border color when binding a texture.Subv
2015-07-22GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsYuri Kunde Schlesner
In OpenGL 3, texturing is always enabled, and this call is invalid. While it produced no effect in the rest of the execution, it wouldn't have the intended effect of disabling texturing for that unit. Instead bind a null texture to the unit.
2015-07-21GPU: Added registers for min and mag texture filters and implemented them in ↵Subv
the hw renderer.
2015-07-19GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't ↵Subv
exist.
2015-07-13Add CiTrace recording support.Tony Wasserka
This is exposed in the GUI as a new "CiTrace Recording" widget. Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
2015-07-12Merge pull request #907 from Lectem/clamp_to_borderTony Wasserka
Add GL_CLAMP_TO_BORDER support.
2015-07-09Added GL_CLAMP_TO_BORDER supportLectem
2015-06-28Core: Cleanup hw includes.Emmanuel Gil Peyrot
2015-06-28Core, VideoCore: Replace or fix exit() calls.Emmanuel Gil Peyrot
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot
2015-06-16VideoCore: Log the GL driver’s vendor and renderer.Emmanuel Gil Peyrot
2015-06-08Renderer formatting editstfarley
2015-06-08Render-to-texture flush, interval math fixtfarley
2015-06-08Liberal texture unbind (clout menu)tfarley
2015-06-08Depth format fix (crush3d intro/black screens)tfarley
2015-06-08Implemented glColorMasktfarley
2015-05-31Merge pull request #811 from archshift/commonifyarchshift
Commonify video_core utility headers
2015-05-31Pica: Use zero for the SecondaryFragmentColor source.bunnei
- This is a workaround until we support fragment lighting.
2015-05-31Pica: Implement LogicOp function.bunnei
2015-05-30Move video_core/color.h to common/color.harchshift
2015-05-30Move video_core/math.h to common/vector_math.harchshift
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot
2015-05-23gl_state: Remove unnecessary const specifier on ApplyLioncash
2015-05-22Pica: Create 'State' structure and move state memory there.bunnei