Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SWRasterizer: Implemented stencil ops 6 and 7. | Subv | 2015-08-21 | 1 | -0/+6 |
| | | | | IncrementWrap and DecrementWrap, verified with hwtests. | ||||
* | SWRasterizer: Implemented stencil action 1 (GL_ZERO). | Subv | 2015-08-21 | 1 | -0/+3 |
| | | | | Verified with hwtests. | ||||
* | SWRasterizer: Removed a todo. Verified with hwtests. | Subv | 2015-08-21 | 1 | -1/+0 |
| | |||||
* | SWRenderer: The stencil depth_pass action is executed even if depth testing is disabled. | Subv | 2015-08-21 | 1 | -7/+5 |
| | | | | The HW renderer already did this. | ||||
* | Rasterizer: Abstract duplicated stencil code into a lambda. | Subv | 2015-08-21 | 1 | -6/+9 |
| | |||||
* | GPU/Rasterizer: Corrected the stencil implementation. | Subv | 2015-08-20 | 1 | -13/+24 |
| | | | | Verified the behavior with hardware tests. | ||||
* | Shader: Move shader code to its own subdirectory, "shader". | bunnei | 2015-08-15 | 1 | -1/+1 |
| | |||||
* | GPU: Refactor "VertexShader" namespace to "Shader". | bunnei | 2015-08-15 | 1 | -7/+7 |
| | | | | - Also renames "vertex_shader.*" to "shader_interpreter.*" | ||||
* | VideoCore: #ifdef out some debugging routines | Yuri Kunde Schlesner | 2015-07-26 | 1 | -0/+2 |
| | | | | | | | Some disabled debugging functionality was being called from rendering routines in VideoCore. Although disabled, many of them still allocated memory or did some extra work that was enough to show up in a profiler. Gives a slight (~2ms) speedup. | ||||
* | GPU: Added registers for min and mag texture filters and implemented them in the hw renderer. | Subv | 2015-07-21 | 1 | -0/+1 |
| | |||||
* | VideoCore: Implement the DOT3_RGB combiner | Lectem | 2015-07-14 | 1 | -1/+12 |
| | |||||
* | Pica: Implement stencil testing. | Tony Wasserka | 2015-07-13 | 1 | -3/+139 |
| | |||||
* | Added GL_CLAMP_TO_BORDER support | Lectem | 2015-07-09 | 1 | -11/+20 |
| | |||||
* | Merge pull request #811 from archshift/commonify | archshift | 2015-05-31 | 1 | -1/+1 |
|\ | | | | | Commonify video_core utility headers | ||||
| * | Move video_core/color.h to common/color.h | archshift | 2015-05-30 | 1 | -1/+1 |
| | | |||||
* | | Pica: Use zero for the SecondaryFragmentColor source. | bunnei | 2015-05-31 | 1 | -1/+6 |
| | | | | | | | | - This is a workaround until we support fragment lighting. | ||||
* | | rasterizer: Remove unnecessary 'using' for BlendEquation. | bunnei | 2015-05-31 | 1 | -2/+1 |
| | | |||||
* | | Pica: Implement LogicOp function. | bunnei | 2015-05-31 | 1 | -2/+57 |
| | | |||||
* | | rasterizer: Implement AddSigned combiner function for alpha channel. | bunnei | 2015-05-31 | 1 | -0/+7 |
|/ | |||||
* | 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 | -119/+125 |
| | |||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -10/+10 |
| | |||||
* | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 2015-05-15 | 1 | -0/+2 |
| | | | | | | | memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory. | ||||
* | GPU: Add more fine grained profiling for vertex shader and rasterization | Yuri Kunde Schlesner | 2015-05-12 | 1 | -0/+5 |
| | |||||
* | rasterizer: Implemented combiner output scaling. | bunnei | 2015-05-10 | 1 | -1/+4 |
| | |||||
* | rasterizer: Implemented AddSigned combiner op. | bunnei | 2015-05-10 | 1 | -0/+10 |
| | |||||
* | rasterizer: Fixed a depth testing bug. | bunnei | 2015-05-10 | 1 | -3/+4 |
| | |||||
* | rasterizer: Implement combiner buffer input. | bunnei | 2015-05-10 | 1 | -1/+20 |
| | |||||
* | rasterizer: Return zero'd vectors on error conditions. | bunnei | 2015-05-10 | 1 | -3/+3 |
| | |||||
* | Memory: Add GetPhysicalPointer helper function | Yuri Kunde Schlesner | 2015-05-09 | 1 | -5/+5 |
| | |||||
* | Memory: Support more regions in the VAddr-PAddr translation functions | Yuri Kunde Schlesner | 2015-05-09 | 1 | -5/+5 |
| | | | | | Also adds better documentation and removes the one-off reimplementation of the function in pica.h. | ||||
* | Silence some -Wsign-compare warnings. | Rohit Nirmal | 2015-04-10 | 1 | -2/+2 |
| | |||||
* | GPU: Added the stencil test structure to the Pica Regs struct. | Subv | 2015-03-10 | 1 | -32/+22 |
| | |||||
* | GPU: Implemented more depth buffer formats. | Subv | 2015-03-10 | 1 | -9/+51 |
| | | | | This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others | ||||
* | GPU: Added RGB565/RGB8 framebuffer support and various cleanups. | bunnei | 2015-03-04 | 1 | -50/+26 |
| | | | | | | - Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger. | ||||
* | Added RGBA5551 compatibility in the rasterizer | archshift | 2015-02-28 | 1 | -2/+21 |
| | | | | This allows Virtual Console games to display properly. | ||||
* | GPU: Implemented bits 3 and 1 from the display transfer flags. | Subv | 2015-02-27 | 1 | -12/+27 |
| | | | | | Bit 3 is used to specify a raw copy, where no processing is done to the data, seems to behave exactly as a DMA. Bit 1 is used to specify whether to convert from a tiled format to a linear format or viceversa. | ||||
* | Rasterizer: Add support for RGBA4 framebuffer format. | bunnei | 2015-02-25 | 1 | -0/+21 |
| | |||||
* | Rasterize with the correct color component order. | bunnei | 2015-02-22 | 1 | -11/+24 |
| | | | | - Fixes a regression with #594. | ||||
* | Rasterizer: Fixed a warning in GetWrappedTexCoord. | Subv | 2015-02-19 | 1 | -4/+4 |
| | | | | Redeclaring the variable inside the switch was causing weird behavior. | ||||
* | Pica/Rasterizer: Replace exit() calls with UNIMPLEMENTED(). | Tony Wasserka | 2015-02-18 | 1 | -5/+5 |
| | |||||
* | Pica/Rasterizer: Make some local lambdas static. | Tony Wasserka | 2015-02-18 | 1 | -8/+8 |
| | |||||
* | Pica/BlendUnit: Implement separate color/alpha blend equations. | Tony Wasserka | 2015-02-18 | 1 | -64/+58 |
| | |||||
* | Pica/TextureEnvironment: Add a note. | Tony Wasserka | 2015-02-18 | 1 | -0/+4 |
| | |||||
* | Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor. | Tony Wasserka | 2015-02-18 | 1 | -0/+2 |
| | | | | Not really sure where the difference is, but some applications seem to use this 1:1 the same way... | ||||
* | Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic. | Tony Wasserka | 2015-02-18 | 1 | -0/+25 |
| | |||||
* | Pica/OutputMerger: Fix flipped framebuffers. | Tony Wasserka | 2015-02-18 | 1 | -0/+10 |
| | |||||
* | Pica/TextureUnit: Implement mirrored repeating texture wrapping. | Tony Wasserka | 2015-02-18 | 1 | -1/+9 |
| | |||||
* | Pica: Fix a bug in the register definitions, relating to texture wrapping. | Tony Wasserka | 2015-02-18 | 1 | -1/+1 |
| | |||||
* | Pica/OutputMerger: Implement color format checking. | Tony Wasserka | 2015-02-18 | 1 | -3/+12 |
| | |||||
* | Pica/Rasterizer: Rasterize actual pixel centers instead of pixel corners. | Tony Wasserka | 2015-02-18 | 1 | -2/+3 |
| | |||||
* | Pica/Rasterizer: Fix garbage pixels at triangle borders. | Tony Wasserka | 2015-02-18 | 1 | -1/+3 |
| | |||||
* | Pica/Rasterizer: Clean up and fix backface culling. | Tony Wasserka | 2015-02-18 | 1 | -11/+27 |
| | |||||
* | Pica: Cleanup clipping code and change screenspace z to range from -1..0. | Tony Wasserka | 2015-02-18 | 1 | -5/+6 |
| | | | | 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). | ||||
* | Fix Min and Max blend equations | Darius Goad | 2015-02-11 | 1 | -6/+8 |
| | |||||
* | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 2015-02-11 | 1 | -5/+5 |
| | | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft. | ||||
* | Add more blend equations from 3dbrew | Darius Goad | 2015-02-10 | 1 | -1/+44 |
| | |||||
* | Rasterizer: Implement the other color and alpha modifiers. | bunnei | 2015-02-05 | 1 | -48/+49 |
| | |||||
* | Pica: Implement blend factors. | bunnei | 2015-01-31 | 1 | -4/+46 |
| | |||||
* | Pica: Implement color/alpha channel enable. | bunnei | 2015-01-28 | 1 | -1/+8 |
| | |||||
* | Rasterizer: Implemented alpha testing. | bunnei | 2015-01-27 | 1 | -4/+41 |
| | |||||
* | GPU: Implement the remaining depth testing functions. | bunnei | 2015-01-26 | 1 | -0/+20 |
| | |||||
* | Pica/Rasterizer: Remove some redundant casts. | Tony Wasserka | 2014-12-31 | 1 | -3/+3 |
| | |||||
* | Pica/Rasterizer: Make orient2d a free function and rename it to SignedArea. | Tony Wasserka | 2014-12-31 | 1 | -31/+38 |
| | |||||
* | Pica/Rasterizer: Fix a bug related to multitexturing and texture wrapping. | Tony Wasserka | 2014-12-31 | 1 | -2/+2 |
| | |||||
* | Pica/Rasterizer: Clean up long code lines. | Tony Wasserka | 2014-12-31 | 1 | -4/+8 |
| | |||||
* | Pica/Rasterizer: Implement backface culling. | Tony Wasserka | 2014-12-31 | 1 | -9/+21 |
| | |||||
* | Pica/Rasterizer: Textures seem to be laid out flipped vertically. | Tony Wasserka | 2014-12-31 | 1 | -1/+1 |
| | | | | Not sure if this is a correct fix. Probably should instead change the decoding logic itself. | ||||
* | Pica/Rasterizer: Implement alpha blending. | Tony Wasserka | 2014-12-31 | 1 | -0/+84 |
| | |||||
* | Pica/Rasterizer: Implement depth testing. | Tony Wasserka | 2014-12-31 | 1 | -6/+33 |
| | |||||
* | Pica/Rasterizer: Further enhance Tev support. | Tony Wasserka | 2014-12-31 | 1 | -4/+19 |
| | |||||
* | Rasterizer: Pre-divide vertex attributes by W | Yuri Kunde Schlesner | 2014-12-29 | 1 | -5/+2 |
| | | | | | Execute the division-by-W for perspective-correct interpolation of values in the clipper, moving them out of the rasterization inner loop. | ||||
* | Rasterizer: Common sub-expression elimination | Yuri Kunde Schlesner | 2014-12-29 | 1 | -14/+17 |
| | | | | | Move the computation of some values out of loops so that they're not constantly recalculated even when they don't change. | ||||
* | Merge pull request #291 from purpasmart96/license | bunnei | 2014-12-21 | 1 | -1/+1 |
|\ | | | | | License change | ||||
| * | License change | purpasmart96 | 2014-12-21 | 1 | -1/+1 |
| | | |||||
* | | Pica/Rasterizer: Get rid of C-style casts. | Tony Wasserka | 2014-12-20 | 1 | -4/+4 |
| | | |||||
* | | Pica: Unify ugly address translation hacks. | Tony Wasserka | 2014-12-20 | 1 | -4/+4 |
| | | |||||
* | | Pica: Further improve Tev emulation. | Tony Wasserka | 2014-12-20 | 1 | -10/+42 |
| | | |||||
* | | Pica: Merge texture lookup logic for DebugUtils and Rasterizer. | Tony Wasserka | 2014-12-20 | 1 | -46/+3 |
| | | | | | | | | This effectively adds support for a lot texture formats in the rasterizer. | ||||
* | | Pica: Implement texture wrapping. | Tony Wasserka | 2014-12-20 | 1 | -1/+20 |
| | | |||||
* | | Pica: Initial support for multitexturing. | Tony Wasserka | 2014-12-20 | 1 | -17/+41 |
|/ | |||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 1 | -6/+6 |
| | |||||
* | Fix warnings in video_core | Lioncash | 2014-10-08 | 1 | -6/+6 |
| | |||||
* | VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size. | bunnei | 2014-08-26 | 1 | -3/+3 |
| | |||||
* | Pica/Rasterizer: Clarify a TODO. | Tony Wasserka | 2014-08-25 | 1 | -1/+3 |
| | |||||
* | Pica/Rasterizer: Add texturing support. | Tony Wasserka | 2014-08-25 | 1 | -0/+64 |
| | |||||
* | Pica/Rasterizer: Add initial implementation of texture combiners. | Tony Wasserka | 2014-08-25 | 1 | -1/+121 |
| | |||||
* | Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly. | Tony Wasserka | 2014-08-25 | 1 | -16/+16 |
| | | | | | | - Swizzlers now return const objects so that things like "first_vec4.xyz() = some_vec3" now will fail to compile (ideally we should support some vector holding references to make this actually work). - The methods "InsertBeforeX/Y/Z" and "Append" have been replaced by more versions of MakeVec, which now also supports building new vectors from vectors. - Vector library now follows C++ type promotion rules (hence, the result of Vec2<u8> with another Vec2<u8> is now a Vec2<int>). | ||||
* | Pica: Add basic rasterizer. | Tony Wasserka | 2014-08-12 | 1 | -0/+180 |