summaryrefslogtreecommitdiffstats
path: root/src/video_core/clipper.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
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-4/+1
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner1-2/+1
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-35/+33
2016-05-10Pica: Implement W-Buffer in SW rasterizerJannik Vogel1-3/+1
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot1-1/+12
2016-03-03Add immediate mode vertex submissionDwayne Slater1-0/+1
2016-02-05pica_types: Replace float24/20/16 with a template class.bunnei1-4/+4
2016-02-05pica: Implement decoding of basic fragment lighting components.bunnei1-0/+2
- Diffuse - Distance attenuation - float16/float20 types - Vertex Shader 'view' output
2015-12-08VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner1-1/+1
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.
2015-09-11video_core: Reorganize headersLioncash1-4/+4
2015-08-15Shader: Move shader code to its own subdirectory, "shader".bunnei1-1/+1
2015-08-15GPU: Refactor "VertexShader" namespace to "Shader".bunnei1-1/+1
- Also renames "vertex_shader.*" to "shader_interpreter.*"
2015-07-15Pica/Clipper: Output proper number of triangles in debugging logs.Tony Wasserka1-1/+1
2015-06-27VideoCore: Fix floating point warningzawata1-1/+1
2015-05-23Pica: Create 'State' structure and move state memory there.bunnei1-6/+7
2015-02-18Pica: Cleanup clipping code and change screenspace z to range from -1..0.Tony Wasserka1-48/+36
The change in depth range seems to reflect better to what applications are expecting, and makes for cleaner code overall (hence is more likely to reflect hardware behavior).
2014-12-29Rasterizer: Pre-divide vertex attributes by WYuri Kunde Schlesner1-3/+10
Execute the division-by-W for perspective-correct interpolation of values in the clipper, moving them out of the rasterization inner loop.
2014-12-29Clipper: Compact buffers on each clipping passYuri Kunde Schlesner1-28/+27
Use a new buffer management scheme in the clipper that allows using a bounded minimal amount of buffer space. Even though it copies more data it is still slightly faster likely due to using less cache.
2014-12-29Clipper: Avoid dynamic allocationsYuri Kunde Schlesner1-10/+7
The triangle clipper was allocating its temporary input, output and work buffers using a std::vector. Since this is a hot path, it's desirable to use stack allocation instead.
2014-12-21License changepurpasmart961-1/+1
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-1/+1
2014-11-14Fix two format strings.Lioncash1-2/+2
2014-10-30Fix some warningsSean1-2/+2
2014-10-08Fix warnings in video_coreLioncash1-4/+4
2014-08-26VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.bunnei1-1/+1
2014-08-12Pica: Add basic rasterizer.Tony Wasserka1-1/+2
2014-08-12Pica: Add triangle clipper.Tony Wasserka1-0/+178