index
:
anonymous/yuzu
master
yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra. It is written in C++ with portability in mind,
mirror
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
video_core
/
renderer_opengl
/
gl_rasterizer.cpp
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
math_util: Remove the Clamp() function
Lioncash
2018-04-20
1
-12
/
+13
*
GLCache: Added boilerplate code to make supporting configurable texture component types.
Subv
2018-04-18
1
-0
/
+2
*
GLCache: Take into account the texture's block height when caching and unswizzling.
Subv
2018-04-18
1
-1
/
+2
*
renderer_opengl: Implement BlendEquation and BlendFunc.
bunnei
2018-04-18
1
-1
/
+26
*
gl_rendering: Use NGLOG* for changed code.
bunnei
2018-04-17
1
-3
/
+3
*
gl_rasterizer: Implement indexed vertex mode.
bunnei
2018-04-17
1
-19
/
+31
*
GPU: Use the same buffer names in the generated GLSL and the buffer uploading code.
Subv
2018-04-15
1
-10
/
+7
*
GPU: Don't use explicit binding points when uploading the constbuffers to opengl.
Subv
2018-04-15
1
-5
/
+25
*
GPU: Don't use GetPointer when uploading the constbuffer data to the GPU.
Subv
2018-04-15
1
-3
/
+4
*
GPU: Use the buffer hints from the shader decompiler to upload only the necessary const buffers for each shader stage.
Subv
2018-04-15
1
-29
/
+38
*
GPU: Upload the entirety of each constbuffer for each shader stage as SSBOs.
Subv
2018-04-15
1
-1
/
+38
*
GPU: Allow configuring ssbos in the opengl state manager.
Subv
2018-04-15
1
-0
/
+8
*
GPU: Added a function to determine whether a shader stage is enabled or not.
Subv
2018-04-15
1
-3
/
+3
*
gl_rasterizer: Generate shaders and upload uniforms.
bunnei
2018-04-14
1
-28
/
+74
*
gl_rasterizer: Use shader program manager, remove test shader.
bunnei
2018-04-14
1
-143
/
+27
*
renderer_opengl: Use OGLProgram instead of OGLShader.
bunnei
2018-04-14
1
-1
/
+1
*
GL: Set up the textures used for each draw call.
Subv
2018-04-07
1
-2
/
+36
*
GL: Bind the textures to the shaders used for drawing.
Subv
2018-04-07
1
-2
/
+11
*
GL: Create the sampler objects when starting up the GL rasterizer.
Subv
2018-04-07
1
-0
/
+6
*
GL: Ported the SamplerInfo struct from citra.
Subv
2018-04-07
1
-0
/
+39
*
gl_rasterizer: Move code to bind framebuffer surfaces before draw to its own function.
bunnei
2018-03-27
1
-22
/
+27
*
gl_rasterizer: Add a SyncViewport method.
bunnei
2018-03-27
1
-18
/
+17
*
gl_rasterizer: Move PrimitiveTopology check to MaxwellToGL.
bunnei
2018-03-27
1
-11
/
+2
*
gl_rasterizer: Use ReadBlock instead of GetPointer for SetupVertexArray.
bunnei
2018-03-27
1
-1
/
+1
*
gl_rasterizer: Normalize vertex array data as appropriate.
bunnei
2018-03-27
1
-1
/
+1
*
rasterizer: Rename DrawTriangles to DrawArrays.
bunnei
2018-03-27
1
-2
/
+2
*
gl_rasterizer: Use passthrough shader for SetupVertexShader.
bunnei
2018-03-27
1
-1
/
+2
*
renderer_opengl: Logging, etc. cleanup.
bunnei
2018-03-27
1
-17
/
+18
*
gl_rasterizer: Implement SetupVertexArray.
bunnei
2018-03-27
1
-20
/
+38
*
gl_rasterizer: Use 32 texture units instead of 3.
bunnei
2018-03-27
1
-0
/
+1
*
gl_rasterizer: Implement DrawTriangles.
bunnei
2018-03-27
1
-1
/
+194
*
gl_rasterizer: Implement AnalyzeVertexArray.
bunnei
2018-03-27
1
-1
/
+21
*
gl_rasterizer: Fake render in green, because it's cooler.
bunnei
2018-03-24
1
-1
/
+1
*
gl_rasterizer: Log warning instead of sync'ing unimplemented funcs.
bunnei
2018-03-24
1
-7
/
+1
*
rasterizer: Flush and invalidate regions should be 64-bit.
bunnei
2018-03-23
1
-3
/
+3
*
gl_rasterizer: Implement AccelerateDisplay method from Citra.
bunnei
2018-03-23
1
-1
/
+33
*
video_core: Remove usage of PAddr and replace with VAddr.
bunnei
2018-03-23
1
-4
/
+4
*
video_core: Move FramebufferInfo to FramebufferConfig in GPU.
bunnei
2018-03-23
1
-2
/
+3
*
gl_rasterizer: Replace a bunch of UNIMPLEMENTED with ASSERT.
bunnei
2018-03-23
1
-15
/
+15
*
gl_rasterizer: Add a simple passthrough shader in lieu of shader generation.
bunnei
2018-03-23
1
-3
/
+56
*
renderer_gl: Port boilerplate rasterizer code over from Citra.
bunnei
2018-03-20
1
-0
/
+269
*
Remove references to PICA and rasterizers in video_core
James Rowe
2018-01-13
1
-1686
/
+0
*
core/video_core: Fix a bunch of u64 -> u32 warnings.
bunnei
2018-01-01
1
-2
/
+2
*
Fixed framebuffer warning
Huw Pascoe
2017-09-17
1
-7
/
+18
*
gl_rasterizer: implement custom clip plane
wwylele
2017-08-25
1
-0
/
+28
*
gl_rasterizer: add clipping plane z<=0 defined in PICA
wwylele
2017-08-21
1
-0
/
+3
*
gl_rasterizer: use texture buffer for proctex LUT
wwylele
2017-07-01
1
-30
/
+35
*
gl_rasterizer: use texture buffer for fog LUT
wwylele
2017-06-22
1
-13
/
+12
*
gl_rasterizer: create the texture before applying the state
wwylele
2017-06-22
1
-2
/
+2
*
gl_rasterizer: fix glGetUniformLocation type
wwylele
2017-06-21
1
-8
/
+8
*
gl_rasterizer: manage texture ids in one place
wwylele
2017-06-21
1
-23
/
+24
*
gl_rasterizer/lighting: fix LUT interpolation
wwylele
2017-06-21
1
-49
/
+22
*
Merge pull request #2767 from yuriks/quaternion-flip-comment
Yuri Kunde Schlesner
2017-06-13
1
-8
/
+11
|
\
|
*
OpenGL: Update comment on AreQuaternionsOpposite with new information
Yuri Kunde Schlesner
2017-06-10
1
-8
/
+11
*
|
gl_rasterizer: sync spot light status
wwylele
2017-05-30
1
-0
/
+45
|
/
*
gl_rasterizer: implement procedural texture
wwylele
2017-05-20
1
-0
/
+232
*
pica: shader_dirty if texture2 coord changed
wwylele
2017-05-05
1
-0
/
+4
*
OpenGL: Pass Pica regs via parameter
Yuri Kunde Schlesner
2017-04-17
1
-1
/
+1
*
OpenGL: Move PicaShaderConfig to gl_shader_gen.h
Yuri Kunde Schlesner
2017-04-17
1
-1
/
+1
*
OpenGL: Move Attributes enum to a more appropriate file
Yuri Kunde Schlesner
2017-04-17
1
-1
/
+0
*
OpenGL: Check if uniform block exists before updating it (#2581)
Jannik Vogel
2017-02-18
1
-29
/
+30
*
OpenGL: Remove unused duplicate of IsPassThroughTevStage
Yuri Kunde Schlesner
2017-02-09
1
-12
/
+0
*
VideoCore: Split regs.h inclusions
Yuri Kunde Schlesner
2017-02-09
1
-1
/
+3
*
VideoCore: Move Regs to its own file
Yuri Kunde Schlesner
2017-02-04
1
-1
/
+1
*
VideoCore: Split framebuffer regs from Regs struct
Yuri Kunde Schlesner
2017-02-04
1
-49
/
+60
*
VideoCore: Split texturing regs from Regs struct
Yuri Kunde Schlesner
2017-02-04
1
-62
/
+67
*
VideoCore: Split rasterizer regs from Regs struct
Yuri Kunde Schlesner
2017-02-04
1
-25
/
+29
*
Merge pull request #2476 from yuriks/shader-refactor3
Yuri Kunde Schlesner
2017-02-04
1
-1
/
+1
|
\
|
*
VideoCore: Change misleading register names
Yuri Kunde Schlesner
2017-01-30
1
-1
/
+1
*
|
video_core: gl_rasterizer.cpp removed unused type alias
Kloen
2017-01-30
1
-2
/
+0
|
/
*
video_core: gl_rasterizer float to int warning
Kloen
2017-01-23
1
-1
/
+2
*
Merge pull request #2319 from yuriks/profile-scopes
bunnei
2016-12-21
1
-0
/
+12
|
\
|
*
VideoCore: Make profiling scope more representative
Yuri Kunde Schlesner
2016-12-15
1
-0
/
+12
*
|
Use GL_TRUE when setting color_mask
Albin Bernhardsson
2016-12-19
1
-4
/
+4
|
/
*
OpenGL: Drop framebuffer completeness check.
Markus Wick
2016-12-07
1
-16
/
+0
*
Report shader uniform block size in case of mismatch
Jannik Vogel
2016-12-05
1
-1
/
+3
*
OpenGL: Non-zero stride only makes sense for linear buffers
Yuri Kunde Schlesner
2016-12-04
1
-1
/
+1
*
OpenGL: Fix DisplayTransfer accel when input width != output width
Yuri Kunde Schlesner
2016-12-04
1
-1
/
+10
*
ClangFormat: Fixed the clang-format errors
Subv
2016-11-30
1
-4
/
+8
*
Build: Fixed a few warnings.
Subv
2016-11-29
1
-4
/
+4
*
RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1
Subv
2016-11-27
1
-2
/
+2
*
Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.
Subv
2016-11-27
1
-1
/
+1
*
Merge pull request #2103 from wwylele/gpu-reg-cleanup
bunnei
2016-10-04
1
-5
/
+5
|
\
|
*
rasterizer: separate TextureCopy from DisplayTransfer
wwylele
2016-09-29
1
-5
/
+5
*
|
OpenGL: Take cached viewport sub-rect into account for scissor
Yuri Kunde Schlesner
2016-09-30
1
-21
/
+21
|
/
*
Use negative priorities to avoid special-casing the self-include
Yuri Kunde Schlesner
2016-09-21
1
-1
/
+1
*
Remove empty newlines in #include blocks.
Emmanuel Gil Peyrot
2016-09-21
1
-5
/
+1
*
Manually tweak source formatting and then re-run clang-format
Yuri Kunde Schlesner
2016-09-19
1
-5
/
+5
*
Sources: Run clang-format on everything.
Emmanuel Gil Peyrot
2016-09-18
1
-86
/
+148
*
OpenGL: Add scaled resolution support to scissor
Yuri Kunde Schlesner
2016-06-28
1
-0
/
+8
*
PICA: Scissor fixes and cleanups
Yuri Kunde Schlesner
2016-06-28
1
-10
/
+10
*
PICA: Implement scissor test
Subv
2016-06-28
1
-0
/
+26
*
OpenGL: Implement fog
Jannik Vogel
2016-06-07
1
-0
/
+68
*
OpenGL: Set shader_dirty on lighting changes
Jannik Vogel
2016-05-23
1
-0
/
+23
*
OpenGL: Use uniforms for dist_atten_bias and dist_atten_scale
Jannik Vogel
2016-05-23
1
-0
/
+72
*
Merge pull request #1786 from JayFoxRox/blend-equation
bunnei
2016-05-17
1
-0
/
+2
|
\
|
*
OpenGL: Support blend equation
Jannik Vogel
2016-05-12
1
-0
/
+2
*
|
OpenGL: Only update depth uniforms if the depth changed
Jannik Vogel
2016-05-14
1
-7
/
+17
|
/
*
OpenGL: Implement texture type 3
Jannik Vogel
2016-05-11
1
-0
/
+8
*
OpenGL: Implement W-Buffers and fix depth-mapping
Jannik Vogel
2016-05-10
1
-3
/
+8
*
Pica: Implement W-Buffer in SW rasterizer
Jannik Vogel
2016-05-10
1
-2
/
+2
*
fixup simple type conversions where possible
Alexander Laties
2016-05-07
1
-1
/
+1
*
Merge pull request #1741 from linkmauve/iwyu-video_core
bunnei
2016-05-01
1
-6
/
+7
|
\
|
*
VideoCore: Run include-what-you-use and fix most includes.
Emmanuel Gil Peyrot
2016-04-30
1
-6
/
+7
*
|
OpenGL: border_color was never set. Fixed. (#1740)
Jannik Vogel
2016-04-30
1
-0
/
+1
|
/
*
Common: Remove section measurement from profiler (#1731)
Yuri Kunde Schlesner
2016-04-29
1
-1
/
+0
*
HWRasterizer: sync specular uniform for new shaders
tfarley
2016-04-22
1
-0
/
+2
*
HWRasterizer: Texture forwarding
tfarley
2016-04-21
1
-511
/
+328
*
OpenGL: Respect buffer-write allow registers
Jannik Vogel
2016-04-08
1
-6
/
+28
*
OpenGL: Split buffer-write mask sync into seperate functions
Jannik Vogel
2016-04-08
1
-8
/
+30
*
OpenGL: Keep stencil-test and framebuffer.depth_format in sync
Jannik Vogel
2016-04-08
1
-0
/
+1
*
Merge pull request #1639 from linkmauve/fix-double-framebuffer-check
bunnei
2016-04-08
1
-4
/
+6
|
\
|
*
OpenGL: Fix a double framebuffer completeness checks.
Emmanuel Gil Peyrot
2016-04-03
1
-4
/
+6
*
|
Merge pull request #1643 from MerryMage/make_unique
Mathew Maidment
2016-04-06
1
-2
/
+1
|
\
\
|
|
/
|
/
|
|
*
Common: Remove Common::make_unique, use std::make_unique
MerryMage
2016-04-05
1
-2
/
+1
*
|
OpenGL: Check for framebuffer completeness
Jannik Vogel
2016-04-03
1
-0
/
+3
*
|
OpenGL: Don't attempt to draw empty triangle batches
Yuri Kunde Schlesner
2016-03-24
1
-0
/
+3
|
/
*
Pica: Write depth value even when depth test is disabled
Yuri Kunde Schlesner
2016-03-06
1
-2
/
+4
*
Add immediate mode vertex submission
Dwayne Slater
2016-03-03
1
-0
/
+1
*
renderer_opengl: Use GLvec3/GLvec4 aliases for commonly used types.
bunnei
2016-02-05
1
-2
/
+2
*
gl_rasterizer: Fix issue with interpolation of opposite quaternions.
bunnei
2016-02-05
1
-3
/
+25
*
pica_types: Replace float24/20/16 with a template class.
bunnei
2016-02-05
1
-7
/
+7
*
renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.
bunnei
2016-02-05
1
-12
/
+39
*
renderer_opengl: Initial implementation of basic specular lighting.
bunnei
2016-02-05
1
-0
/
+68
*
renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.
bunnei
2016-02-05
1
-13
/
+52
*
renderer_opengl: Implement diffuse component of HW fragment lighting.
bunnei
2016-02-05
1
-0
/
+141
*
hwrasterizer: Use proper cached fb addr/size
tfarley
2016-02-03
1
-40
/
+32
*
hwrasterizer: Use depth offset
tfarley
2016-01-21
1
-0
/
+16
*
Merge pull request #1267 from yuriks/flipped-framebuffer
Yuri Kunde Schlesner
2015-12-10
1
-11
/
+10
|
\
|
*
OpenGL: Flip framebuffers during transfer rather than when rendering
Yuri Kunde Schlesner
2015-12-05
1
-11
/
+10
*
|
VideoCore: Unify interface to OpenGL and SW rasterizers
Yuri Kunde Schlesner
2015-12-08
1
-9
/
+0
*
|
VideoCore: Rename HWRasterizer methods to be less confusing
Yuri Kunde Schlesner
2015-12-07
1
-3
/
+3
*
|
OpenGL: Rename cache functions to better match what they actually do
Yuri Kunde Schlesner
2015-12-07
1
-4
/
+4
|
/
*
renderer_opengl: Fix uniform issues introduced with kemenaran/avoid-explicit-uniform-location.
bunnei
2015-11-26
1
-4
/
+6
*
Use regular uniform location
Pierre de La Morinerie
2015-11-25
1
-3
/
+4
*
FragShader: Use an UBO instead of several individual uniforms
Subv
2015-11-19
1
-4
/
+29
*
gl_rasterizer: Define enum types for each vertex texcoord attribute.
bunnei
2015-10-22
1
-6
/
+6
*
gl_rasterizer: Use MMH3 hash for shader cache hey.
bunnei
2015-10-22
1
-4
/
+3
*
gl_shader_gen: Require explicit uniform locations.
bunnei
2015-10-22
1
-19
/
+8
*
renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.
bunnei
2015-10-22
1
-74
/
+57
*
gl_rasterizer: Move logic for creating ShaderCacheKey to a static function.
bunnei
2015-10-22
1
-17
/
+2
*
gl_rasterizer: Fix typo in uploading TEV const color uniforms.
bunnei
2015-10-22
1
-5
/
+5
*
gl_shader_util: Fix precision bug with alpha testing.
bunnei
2015-10-22
1
-2
/
+2
*
Initial implementation of fragment shader generation with caching.
Subv
2015-10-22
1
-227
/
+124
*
Silence -Wsign-compare warnings.
Rohit Nirmal
2015-10-07
1
-3
/
+3
*
video_core: Reorganize headers
Lioncash
2015-09-11
1
-1
/
+1
*
gl_rasterizer: Replace push_back calls with emplace_back in AddTriangle
Lioncash
2015-09-10
1
-3
/
+3
*
OpenGL: Use Sampler Objects to decouple sampler config from textures
Yuri Kunde Schlesner
2015-09-03
1
-0
/
+46
*
OpenGL: Remove ugly and endian-unsafe color pointer casts
Yuri Kunde Schlesner
2015-09-03
1
-3
/
+3
*
Replace the previous OpenGL loader with a glad-generated 3.3 one
Yuri Kunde Schlesner
2015-08-30
1
-2
/
+2
*
Merge pull request #1049 from Subv/stencil
bunnei
2015-08-30
1
-4
/
+20
|
\
|
*
HWRenderer: Added a workaround for the Intel Windows driver bug that causes glTexSubImage2D to not change the stencil buffer.
Subv
2015-08-24
1
-2
/
+9
|
*
GLRasterizer: Implemented stencil testing in the hw renderer.
Subv
2015-08-20
1
-2
/
+11
*
|
gl_rasterizer_cache: Detect and ignore unnecessary texture flushes.
bunnei
2015-08-28
1
-2
/
+2
*
|
Integrate the MicroProfile profiling library
Yuri Kunde Schlesner
2015-08-25
1
-0
/
+10
|
/
*
GPU: Refactor "VertexShader" namespace to "Shader".
bunnei
2015-08-15
1
-3
/
+3
*
OpenGL: Remove redundant texture.enable_2d field from OpenGLState
Yuri Kunde Schlesner
2015-08-06
1
-10
/
+1
*
OpenGL: Add a profiler category measuring framebuffer readback
Yuri Kunde Schlesner
2015-07-28
1
-0
/
+7
*
GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.
Subv
2015-07-19
1
-3
/
+7
*
Core: Cleanup hw includes.
Emmanuel Gil Peyrot
2015-06-28
1
-0
/
+1
*
Common: Cleanup key_map includes.
Emmanuel Gil Peyrot
2015-06-28
1
-3
/
+5
*
Renderer formatting edits
tfarley
2015-06-09
1
-12
/
+12
*
Render-to-texture flush, interval math fix
tfarley
2015-06-09
1
-1
/
+13
*
Liberal texture unbind (clout menu)
tfarley
2015-06-09
1
-4
/
+34
*
Depth format fix (crush3d intro/black screens)
tfarley
2015-06-09
1
-46
/
+46
*
Implemented glColorMask
tfarley
2015-06-09
1
-0
/
+4
*
Merge pull request #811 from archshift/commonify
archshift
2015-05-31
1
-1
/
+2
|
\
|
*
Move video_core/color.h to common/color.h
archshift
2015-05-30
1
-1
/
+2
*
|
Pica: Implement LogicOp function.
bunnei
2015-05-31
1
-0
/
+10
|
/
*
Remove every trailing whitespace from the project (but externals).
Emmanuel Gil Peyrot
2015-05-29
1
-1
/
+1
*
Pica: Create 'State' structure and move state memory there.
bunnei
2015-05-23
1
-108
/
+126
*
OpenGL renderer
tfarley
2015-05-23
1
-0
/
+879