summaryrefslogtreecommitdiff
path: root/src/video_core/clipper.cpp
AgeCommit message (Collapse)Author
2017-02-12VideoCore: Move software rasterizer files to sub-directoryYuri Kunde Schlesner
2017-02-09VideoCore: Split regs.h inclusionsYuri Kunde Schlesner
2017-02-04VideoCore: Move Regs to its own fileYuri Kunde Schlesner
2017-02-04VideoCore: Split rasterizer regs from Regs structYuri Kunde Schlesner
2017-01-29VideoCore: Extract swrast-specific data from OutputVertexYuri Kunde Schlesner
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-05-10Pica: Implement W-Buffer in SW rasterizerJannik Vogel
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot
2016-03-02Add immediate mode vertex submissionDwayne Slater
2016-02-05pica_types: Replace float24/20/16 with a template class.bunnei
2016-02-05pica: Implement decoding of basic fragment lighting components.bunnei
- Diffuse - Distance attenuation - float16/float20 types - Vertex Shader 'view' output
2015-12-07VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner
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 headersLioncash
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-07-15Pica/Clipper: Output proper number of triangles in debugging logs.Tony Wasserka
2015-06-26VideoCore: Fix floating point warningzawata
2015-05-22Pica: Create 'State' structure and move state memory there.bunnei
2015-02-18Pica: Cleanup clipping code and change screenspace z to range from -1..0.Tony Wasserka
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 Schlesner
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 Schlesner
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 Schlesner
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-20License changepurpasmart96
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-11-14Fix two format strings.Lioncash
2014-10-29Fix some warningsSean
2014-10-07Fix warnings in video_coreLioncash
2014-08-26VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.bunnei
2014-08-12Pica: Add basic rasterizer.Tony Wasserka
2014-08-12Pica: Add triangle clipper.Tony Wasserka