Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | | this is a rebasing error from #2792. It doesn't affect much though, because the later more Apply() call fixes/hides it | ||||
* | 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 | ||||
| * | OpenGL: Update comment on AreQuaternionsOpposite with new information | Yuri Kunde Schlesner | 2017-06-10 | 1 | -8/+11 |
| | | | | | | | | | | | | | | While debugging the software renderer implementation, it was noticed that this is actually exactly what the hardware does, upgrading the status of this "hack" to being a proper implementation. And there was much rejoicing. | ||||
* | | 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 |
| | | | | Also move the implementation of CurrentConfig to the cpp file. | ||||
* | 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 |
| | | | | | This copy was left behind when the shader generation code was moved to a separate file. | ||||
* | 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 |
|\ | | | | | Oh No! More shader changes! | ||||
| * | VideoCore: Change misleading register names | Yuri Kunde Schlesner | 2017-01-30 | 1 | -1/+1 |
| | | | | | | | | | | | | A few registers had names such as "count" or "number" when they actually contained the maximum (that is, count - 1). This can easily lead to hard to notice off by one errors. | ||||
* | | 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 | ||||
| * | 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 |
| | | | | | | | This OpenGL call synchronize the worker thread of the nvidia blob. It can be verified on linux with the __GL_THREADED_OPTIMIZATIONS=1 environment variable. Those errors should not happen on tested drivers. It was used as a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=94148 | ||||
* | 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 |
| | | | | Fixes #2246, #2261 | ||||
* | 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 |
|\ | | | | | GPU: DisplayTransfer & MemoryFill cleanup and param check | ||||
| * | 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 |
|/ | | | | Fixes #1938 | ||||
* | 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 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | 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 | ||||
| * | 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 |
|\ | | | | | Fix video_core includes (and dependencies) using include-what-you-use | ||||
| * | 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 |
| | | | | This has been entirely superseded by MicroProfile. The rest of the code can go when a simpler frametime/FPS meter is added to the GUI. | ||||
* | 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. | ||||
| * | 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 | ||||
| * | 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 |
|/ | | | | | Our code did not handle this well, causing random crashes in some situations. | ||||
* | Pica: Write depth value even when depth test is disabled | Yuri Kunde Schlesner | 2016-03-06 | 1 | -2/+4 |
| | | | | This has been confirmed on hardware. Fixes Etrian Odyssey IV. | ||||
* | 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 |
| | | | | | - Gets us LUT interpolation for free. - Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs. | ||||
* | 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 | ||||
| * | 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 |
| | | | | | | | | | | | | This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations. | ||||
* | | 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 |
| | | | | | | The support for GL_ARB_explicit_uniform_location is not that good (53% according to http://feedback.wildfiregames.com/report/opengl/feature/GL_ARB_explicit_uniform_location). This fix the shader compilation on Intel HD 4000 (#1222). | ||||
* | 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 |
| | | | | - Includes a check to confirm no hash collisions. | ||||
* | gl_shader_gen: Require explicit uniform locations. | bunnei | 2015-10-22 | 1 | -19/+8 |
| | | | | - Fixes uniform issue on AMD. | ||||
* | 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 |
| | | | | - Alpha testing is not done with float32 precision, this makes the HW renderer match the SW renderer. | ||||
* | 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 |
| | | | | Fixes #978 | ||||
* | 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 |
| | | | | | | 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. | ||||
* | Merge pull request #1049 from Subv/stencil | bunnei | 2015-08-30 | 1 | -4/+20 |
|\ | | | | | Rasterizer: Corrected the stencil implementation. | ||||
| * | 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 |
| | | | | | | | | Reported here https://communities.intel.com/message/324464 | ||||
| * | 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 |
|/ | | | | | This brings goodies such as a configurable user interface and multi-threaded timeline view. | ||||
* | GPU: Refactor "VertexShader" namespace to "Shader". | bunnei | 2015-08-15 | 1 | -3/+3 |
| | | | | - Also renames "vertex_shader.*" to "shader_interpreter.*" | ||||
* | OpenGL: Remove redundant texture.enable_2d field from OpenGLState | Yuri Kunde Schlesner | 2015-08-06 | 1 | -10/+1 |
| | | | | | All uses of this field where it's false can just set the texture id to 0 instead. | ||||
* | 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 |
|\ | | | | | Commonify video_core utility headers | ||||
| * | 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 |