summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_rasterizer.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2018-04-18GLCache: Added boilerplate code to make supporting configurable texture component types.Subv1-0/+2
2018-04-18GLCache: Take into account the texture's block height when caching and unswizzling.Subv1-1/+2
2018-04-18renderer_opengl: Implement BlendEquation and BlendFunc.bunnei1-1/+26
2018-04-17gl_rendering: Use NGLOG* for changed code.bunnei1-3/+3
2018-04-17gl_rasterizer: Implement indexed vertex mode.bunnei1-19/+31
2018-04-15GPU: Use the same buffer names in the generated GLSL and the buffer uploading code.Subv1-10/+7
2018-04-15GPU: Don't use explicit binding points when uploading the constbuffers to opengl.Subv1-5/+25
2018-04-15GPU: Don't use GetPointer when uploading the constbuffer data to the GPU.Subv1-3/+4
2018-04-15GPU: Use the buffer hints from the shader decompiler to upload only the necessary const buffers for each shader stage.Subv1-29/+38
2018-04-15GPU: Upload the entirety of each constbuffer for each shader stage as SSBOs.Subv1-1/+38
2018-04-15GPU: Allow configuring ssbos in the opengl state manager.Subv1-0/+8
2018-04-15GPU: Added a function to determine whether a shader stage is enabled or not.Subv1-3/+3
2018-04-14gl_rasterizer: Generate shaders and upload uniforms.bunnei1-28/+74
2018-04-14gl_rasterizer: Use shader program manager, remove test shader.bunnei1-143/+27
2018-04-14renderer_opengl: Use OGLProgram instead of OGLShader.bunnei1-1/+1
2018-04-07GL: Set up the textures used for each draw call.Subv1-2/+36
2018-04-07GL: Bind the textures to the shaders used for drawing.Subv1-2/+11
2018-04-07GL: Create the sampler objects when starting up the GL rasterizer.Subv1-0/+6
2018-04-07GL: Ported the SamplerInfo struct from citra.Subv1-0/+39
2018-03-27gl_rasterizer: Move code to bind framebuffer surfaces before draw to its own function.bunnei1-22/+27
2018-03-27gl_rasterizer: Add a SyncViewport method.bunnei1-18/+17
2018-03-27gl_rasterizer: Move PrimitiveTopology check to MaxwellToGL.bunnei1-11/+2
2018-03-27gl_rasterizer: Use ReadBlock instead of GetPointer for SetupVertexArray.bunnei1-1/+1
2018-03-27gl_rasterizer: Normalize vertex array data as appropriate.bunnei1-1/+1
2018-03-27rasterizer: Rename DrawTriangles to DrawArrays.bunnei1-2/+2
2018-03-27gl_rasterizer: Use passthrough shader for SetupVertexShader.bunnei1-1/+2
2018-03-27renderer_opengl: Logging, etc. cleanup.bunnei1-17/+18
2018-03-27gl_rasterizer: Implement SetupVertexArray.bunnei1-20/+38
2018-03-27gl_rasterizer: Use 32 texture units instead of 3.bunnei1-0/+1
2018-03-27gl_rasterizer: Implement DrawTriangles.bunnei1-1/+194
2018-03-27gl_rasterizer: Implement AnalyzeVertexArray.bunnei1-1/+21
2018-03-24gl_rasterizer: Fake render in green, because it's cooler.bunnei1-1/+1
2018-03-24gl_rasterizer: Log warning instead of sync'ing unimplemented funcs.bunnei1-7/+1
2018-03-23rasterizer: Flush and invalidate regions should be 64-bit.bunnei1-3/+3
2018-03-23gl_rasterizer: Implement AccelerateDisplay method from Citra.bunnei1-1/+33
2018-03-23video_core: Remove usage of PAddr and replace with VAddr.bunnei1-4/+4
2018-03-23video_core: Move FramebufferInfo to FramebufferConfig in GPU.bunnei1-2/+3
2018-03-23gl_rasterizer: Replace a bunch of UNIMPLEMENTED with ASSERT.bunnei1-15/+15
2018-03-23gl_rasterizer: Add a simple passthrough shader in lieu of shader generation.bunnei1-3/+56
2018-03-20renderer_gl: Port boilerplate rasterizer code over from Citra.bunnei1-0/+269
2018-01-13Remove references to PICA and rasterizers in video_coreJames Rowe1-1686/+0
2018-01-01core/video_core: Fix a bunch of u64 -> u32 warnings.bunnei1-2/+2
2017-09-17Fixed framebuffer warningHuw Pascoe1-7/+18
2017-08-25gl_rasterizer: implement custom clip planewwylele1-0/+28
2017-08-21gl_rasterizer: add clipping plane z<=0 defined in PICAwwylele1-0/+3
2017-07-01gl_rasterizer: use texture buffer for proctex LUTwwylele1-30/+35
2017-06-22gl_rasterizer: use texture buffer for fog LUTwwylele1-13/+12
2017-06-22gl_rasterizer: create the texture before applying the statewwylele1-2/+2
2017-06-21gl_rasterizer: fix glGetUniformLocation typewwylele1-8/+8
2017-06-21gl_rasterizer: manage texture ids in one placewwylele1-23/+24
2017-06-21gl_rasterizer/lighting: fix LUT interpolationwwylele1-49/+22
2017-06-10OpenGL: Update comment on AreQuaternionsOpposite with new informationYuri Kunde Schlesner1-8/+11
2017-05-30gl_rasterizer: sync spot light statuswwylele1-0/+45
2017-05-20gl_rasterizer: implement procedural texturewwylele1-0/+232
2017-05-05pica: shader_dirty if texture2 coord changedwwylele1-0/+4
2017-04-17OpenGL: Pass Pica regs via parameterYuri Kunde Schlesner1-1/+1
2017-04-17OpenGL: Move PicaShaderConfig to gl_shader_gen.hYuri Kunde Schlesner1-1/+1
2017-04-17OpenGL: Move Attributes enum to a more appropriate fileYuri Kunde Schlesner1-1/+0
2017-02-18OpenGL: Check if uniform block exists before updating it (#2581)Jannik Vogel1-29/+30
2017-02-09OpenGL: Remove unused duplicate of IsPassThroughTevStageYuri Kunde Schlesner1-12/+0
2017-02-09VideoCore: Split regs.h inclusionsYuri Kunde Schlesner1-1/+3
2017-02-04VideoCore: Move Regs to its own fileYuri Kunde Schlesner1-1/+1
2017-02-04VideoCore: Split framebuffer regs from Regs structYuri Kunde Schlesner1-49/+60
2017-02-04VideoCore: Split texturing regs from Regs structYuri Kunde Schlesner1-62/+67
2017-02-04VideoCore: Split rasterizer regs from Regs structYuri Kunde Schlesner1-25/+29
2017-01-30VideoCore: Change misleading register namesYuri Kunde Schlesner1-1/+1
2017-01-30video_core: gl_rasterizer.cpp removed unused type aliasKloen1-2/+0
2017-01-23video_core: gl_rasterizer float to int warningKloen1-1/+2
2016-12-19Use GL_TRUE when setting color_maskAlbin Bernhardsson1-4/+4
2016-12-15VideoCore: Make profiling scope more representativeYuri Kunde Schlesner1-0/+12
2016-12-07OpenGL: Drop framebuffer completeness check.Markus Wick1-16/+0
2016-12-05Report shader uniform block size in case of mismatchJannik Vogel1-1/+3
2016-12-04OpenGL: Non-zero stride only makes sense for linear buffersYuri Kunde Schlesner1-1/+1
2016-12-04OpenGL: Fix DisplayTransfer accel when input width != output widthYuri Kunde Schlesner1-1/+10
2016-11-30ClangFormat: Fixed the clang-format errorsSubv1-4/+8
2016-11-29Build: Fixed a few warnings.Subv1-4/+4
2016-11-27RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1Subv1-2/+2
2016-11-27Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.Subv1-1/+1
2016-09-30OpenGL: Take cached viewport sub-rect into account for scissorYuri Kunde Schlesner1-21/+21
2016-09-29rasterizer: separate TextureCopy from DisplayTransferwwylele1-5/+5
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-5/+1
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner1-5/+5
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-86/+148
2016-06-28OpenGL: Add scaled resolution support to scissorYuri Kunde Schlesner1-0/+8
2016-06-28PICA: Scissor fixes and cleanupsYuri Kunde Schlesner1-10/+10
2016-06-28PICA: Implement scissor testSubv1-0/+26
2016-06-07OpenGL: Implement fogJannik Vogel1-0/+68
2016-05-23OpenGL: Set shader_dirty on lighting changesJannik Vogel1-0/+23
2016-05-23OpenGL: Use uniforms for dist_atten_bias and dist_atten_scaleJannik Vogel1-0/+72
2016-05-14OpenGL: Only update depth uniforms if the depth changedJannik Vogel1-7/+17
2016-05-12OpenGL: Support blend equationJannik Vogel1-0/+2
2016-05-11OpenGL: Implement texture type 3Jannik Vogel1-0/+8
2016-05-10OpenGL: Implement W-Buffers and fix depth-mappingJannik Vogel1-3/+8
2016-05-10Pica: Implement W-Buffer in SW rasterizerJannik Vogel1-2/+2
2016-05-07fixup simple type conversions where possibleAlexander Laties1-1/+1
2016-04-30OpenGL: border_color was never set. Fixed. (#1740)Jannik Vogel1-0/+1
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot1-6/+7
2016-04-29Common: Remove section measurement from profiler (#1731)Yuri Kunde Schlesner1-1/+0
2016-04-22HWRasterizer: sync specular uniform for new shaderstfarley1-0/+2
2016-04-21HWRasterizer: Texture forwardingtfarley1-511/+328
2016-04-08OpenGL: Respect buffer-write allow registersJannik Vogel1-6/+28
2016-04-08OpenGL: Split buffer-write mask sync into seperate functionsJannik Vogel1-8/+30
2016-04-08OpenGL: Keep stencil-test and framebuffer.depth_format in syncJannik Vogel1-0/+1
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage1-2/+1
2016-04-03OpenGL: Fix a double framebuffer completeness checks.Emmanuel Gil Peyrot1-4/+6
2016-04-03OpenGL: Check for framebuffer completenessJannik Vogel1-0/+3
2016-03-24OpenGL: Don't attempt to draw empty triangle batchesYuri Kunde Schlesner1-0/+3
2016-03-06Pica: Write depth value even when depth test is disabledYuri Kunde Schlesner1-2/+4
2016-03-03Add immediate mode vertex submissionDwayne Slater1-0/+1
2016-02-05renderer_opengl: Use GLvec3/GLvec4 aliases for commonly used types.bunnei1-2/+2
2016-02-05gl_rasterizer: Fix issue with interpolation of opposite quaternions.bunnei1-3/+25
2016-02-05pica_types: Replace float24/20/16 with a template class.bunnei1-7/+7
2016-02-05renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.bunnei1-12/+39
2016-02-05renderer_opengl: Initial implementation of basic specular lighting.bunnei1-0/+68
2016-02-05renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.bunnei1-13/+52
2016-02-05renderer_opengl: Implement diffuse component of HW fragment lighting.bunnei1-0/+141
2016-02-03hwrasterizer: Use proper cached fb addr/sizetfarley1-40/+32
2016-01-21hwrasterizer: Use depth offsettfarley1-0/+16
2015-12-08VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner1-9/+0
2015-12-07VideoCore: Rename HWRasterizer methods to be less confusingYuri Kunde Schlesner1-3/+3
2015-12-07OpenGL: Rename cache functions to better match what they actually doYuri Kunde Schlesner1-4/+4
2015-12-05OpenGL: Flip framebuffers during transfer rather than when renderingYuri Kunde Schlesner1-11/+10
2015-11-26renderer_opengl: Fix uniform issues introduced with kemenaran/avoid-explicit-uniform-location.bunnei1-4/+6
2015-11-25Use regular uniform locationPierre de La Morinerie1-3/+4
2015-11-19FragShader: Use an UBO instead of several individual uniformsSubv1-4/+29
2015-10-22gl_rasterizer: Define enum types for each vertex texcoord attribute.bunnei1-6/+6
2015-10-22gl_rasterizer: Use MMH3 hash for shader cache hey.bunnei1-4/+3
2015-10-22gl_shader_gen: Require explicit uniform locations.bunnei1-19/+8
2015-10-22renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.bunnei1-74/+57
2015-10-22gl_rasterizer: Move logic for creating ShaderCacheKey to a static function.bunnei1-17/+2
2015-10-22gl_rasterizer: Fix typo in uploading TEV const color uniforms.bunnei1-5/+5
2015-10-22gl_shader_util: Fix precision bug with alpha testing.bunnei1-2/+2
2015-10-22Initial implementation of fragment shader generation with caching.Subv1-227/+124
2015-10-07Silence -Wsign-compare warnings.Rohit Nirmal1-3/+3
2015-09-11video_core: Reorganize headersLioncash1-1/+1
2015-09-10gl_rasterizer: Replace push_back calls with emplace_back in AddTriangleLioncash1-3/+3
2015-09-03OpenGL: Use Sampler Objects to decouple sampler config from texturesYuri Kunde Schlesner1-0/+46
2015-09-03OpenGL: Remove ugly and endian-unsafe color pointer castsYuri Kunde Schlesner1-3/+3
2015-08-30Replace the previous OpenGL loader with a glad-generated 3.3 oneYuri Kunde Schlesner1-2/+2
2015-08-28gl_rasterizer_cache: Detect and ignore unnecessary texture flushes.bunnei1-2/+2
2015-08-25Integrate the MicroProfile profiling libraryYuri Kunde Schlesner1-0/+10
2015-08-24HWRenderer: Added a workaround for the Intel Windows driver bug that causes glTexSubImage2D to not change the stencil buffer.Subv1-2/+9
2015-08-20GLRasterizer: Implemented stencil testing in the hw renderer.Subv1-2/+11
2015-08-15GPU: Refactor "VertexShader" namespace to "Shader".bunnei1-3/+3
2015-08-06OpenGL: Remove redundant texture.enable_2d field from OpenGLStateYuri Kunde Schlesner1-10/+1
2015-07-28OpenGL: Add a profiler category measuring framebuffer readbackYuri Kunde Schlesner1-0/+7
2015-07-19GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.Subv1-3/+7
2015-06-28Core: Cleanup hw includes.Emmanuel Gil Peyrot1-0/+1
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot1-3/+5
2015-06-09Renderer formatting editstfarley1-12/+12
2015-06-09Render-to-texture flush, interval math fixtfarley1-1/+13
2015-06-09Liberal texture unbind (clout menu)tfarley1-4/+34
2015-06-09Depth format fix (crush3d intro/black screens)tfarley1-46/+46
2015-06-09Implemented glColorMasktfarley1-0/+4
2015-05-31Pica: Implement LogicOp function.bunnei1-0/+10
2015-05-30Move video_core/color.h to common/color.harchshift1-1/+2
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot1-1/+1
2015-05-23Pica: Create 'State' structure and move state memory there.bunnei1-108/+126
2015-05-23OpenGL renderertfarley1-0/+879