Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-01-27 | memory: Replace all memory hooking with Special regions | MerryMage | 1 | -1/+1 | |
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 4 | -4/+4 | |
2018-01-18 | CMakeLists: Derive the source directory grouping from targets themselves | Lioncash | 1 | -19/+15 | |
Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases. | |||||
2018-01-16 | clang-format | MerryMage | 1 | -1/+2 | |
2018-01-15 | renderer_gl: Clear screen to black before rendering framebuffer. | bunnei | 2 | -5/+8 | |
2018-01-15 | renderer: Render previous frame when no new one is available. | bunnei | 3 | -16/+18 | |
2018-01-13 | Fix build on macOS and linux | MerryMage | 1 | -0/+1 | |
2018-01-13 | Remove gpu debugger and get yuzu qt to compile | James Rowe | 2 | -5/+0 | |
2018-01-13 | Remove references to PICA and rasterizers in video_core | James Rowe | 64 | -14952/+3 | |
2018-01-12 | renderer_opengl: Fix LOG_TRACE in LoadFBToScreenInfo. | bunnei | 1 | -1/+1 | |
2018-01-11 | renderer_opengl: Support rendering Switch framebuffer. | bunnei | 3 | -138/+83 | |
2018-01-11 | render_base: Add a struct describing framebuffer metadata. | bunnei | 1 | -0/+26 | |
2018-01-11 | renderer_opengl: Add MortonCopyPixels function for Switch framebuffer. | bunnei | 1 | -0/+111 | |
2018-01-11 | renderer_opengl: Update DrawScreens for Switch. | bunnei | 2 | -23/+11 | |
2018-01-01 | core/video_core: Fix a bunch of u64 -> u32 warnings. | bunnei | 4 | -8/+8 | |
2017-10-15 | hle: Initial implementation of NX service framework and IPC. | bunnei | 1 | -1/+1 | |
2017-10-04 | Extracted the attribute setup and draw commands into their own functions | Huw Pascoe | 1 | -217/+222 | |
2017-09-30 | Fixed type conversion ambiguity | Huw Pascoe | 2 | -3/+3 | |
2017-09-27 | Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types. | Subv | 1 | -1/+1 | |
It is unlikely we will ever use this without first doing a Cast to a signed type. Fixes 9 "unary minus operator applied to unsigned type, result still unsigned" warnings on MSVC2017.3 | |||||
2017-09-25 | Optimized Float<M,E> multiplication | Huw Pascoe | 1 | -11/+7 | |
Before: ucomiss xmm1, xmm1 jp .L9 pxor xmm2, xmm2 mov edx, 1 ucomiss xmm0, xmm2 setp al cmovne eax, edx test al, al jne .L9 .L3: movaps xmm0, xmm2 ret .L9: ucomiss xmm0, xmm0 jp .L10 pxor xmm2, xmm2 mov edx, 1 ucomiss xmm1, xmm2 setp al cmovne eax, edx test al, al je .L3 After: movaps xmm2, xmm1 mulss xmm2, xmm0 ucomiss xmm2, xmm2 jnp .L3 ucomiss xmm1, xmm0 jnp .L11 .L3: movaps xmm0, xmm2 ret .L11: pxor xmm2, xmm2 jmp .L3 | |||||
2017-09-24 | Optimized Morton | Huw Pascoe | 1 | -10/+4 | |
2017-09-23 | Remove pipeline.gpu_mode and fix minor issues | James Rowe | 1 | -12/+2 | |
2017-09-17 | Improved performance of FromAttributeBuffer | Huw Pascoe | 1 | -1/+2 | |
Ternary operator is optimized by the compiler whereas std::min() is meant to return a value. I've noticed a 5%-10% emulation speed increase. | |||||
2017-09-17 | Fixed framebuffer warning | Huw Pascoe | 1 | -7/+18 | |
2017-09-11 | GPU: Add draw for immediate and batch modes | James Rowe | 1 | -2/+17 | |
PR #1461 introduced a regression where some games would change configuration even while in the poorly named "drawing" mode, which broke the heuristic citra was using to determine when to draw the batch. This change adds back in a draw call for batching, and also adds in a draw call in immediate mode each time it adds a triangle. | |||||
2017-09-03 | pica/lighting: only apply Fresnel factor for the last light | wwylele | 2 | -7/+9 | |
2017-08-31 | video_core: report telemetry for gas mode | wwylele | 1 | -0/+6 | |
2017-08-26 | Warnings: Fixed a few missing-return warnings in video_core. | Subv | 3 | -6/+10 | |
2017-08-25 | SwRasterizer/Clipper: flip the sign convention to match PICA and OpenGL | wwylele | 1 | -9/+9 | |
2017-08-25 | gl_rasterizer: implement custom clip plane | wwylele | 3 | -34/+83 | |
2017-08-24 | SwRasterizer: implement custom clip plane | wwylele | 2 | -4/+25 | |
2017-08-22 | gl_rasterizer/lighting: more accurate CP formula | wwylele | 1 | -2/+2 | |
2017-08-22 | SwRasterizer/Lighting: implement LUT input CP | wwylele | 1 | -0/+11 | |
2017-08-22 | SwRasterizer/Lighting: implement bump mapping | wwylele | 3 | -8/+27 | |
2017-08-21 | swrasterizer: remove invalid TODO | wwylele | 1 | -4/+2 | |
This function is called in clipping, before the pespective divide, and is not used in later rasterization. Thus it doesn't need perspective correction. | |||||
2017-08-21 | swrasterizer/clipper: remove tested TODO | wwylele | 1 | -4/+0 | |
hwtested. Current implementation is the correct behavior | |||||
2017-08-21 | gl_shader_gen: simplify and clarify the depth transformation between vertex shader and fragment shader | wwylele | 1 | -2/+5 | |
2017-08-21 | gl_rasterizer: add clipping plane z<=0 defined in PICA | wwylele | 4 | -0/+21 | |
2017-08-19 | pica/command_processor: build geometry pipeline and run geometry shader | wwylele | 6 | -28/+383 | |
The geometry pipeline manages data transfer between VS, GS and primitive assembler. It has known four modes: - no GS mode: sends VS output directly to the primitive assembler (what citra currently does) - GS mode 0: sends VS output to GS input registers, and sends GS output to primitive assembler - GS mode 1: sends VS output to GS uniform registers, and sends GS output to primitive assembler. It also takes an index from the index buffer at the beginning of each primitive for determine the primitive size. - GS mode 2: similar to mode 1, but doesn't take the index and uses a fixed primitive size. hwtest shows that immediate mode also supports GS (at least for mode 0), so the geometry pipeline gets refactored into its own class for supporting both drawing mode. In the immediate mode, some games don't set the pipeline registers to a valid value until the first attribute input, so a geometry pipeline reset flag is set in `pipeline.vs_default_attributes_setup.index` trigger, and the actual pipeline reconfigure is triggered in the first attribute input. In the normal drawing mode with index buffer, the vertex cache is a little bit modified to support the geometry pipeline. Instead of OutputVertex, it now holds AttributeBuffer, which is the input to the geometry pipeline. The AttributeBuffer->OutputVertex conversion is done inside the pipeline vertex handler. The actual hardware vertex cache is believed to be implemented in a similar way (because this is the only way that makes sense). Both geometry pipeline and GS unit rely on states preservation across drawing call, so they are put into the global state. In the future, the other three vertex shader units should be also placed in the global state, and a scheduler should be implemented on top of the four units. Note that the current gs_unit already allows running VS on it in the future. | |||||
2017-08-19 | pica/shader/jit: implement SETEMIT and EMIT | wwylele | 2 | -2/+49 | |
2017-08-19 | pica/primitive_assembly: Handle winding for GS primitive | wwylele | 2 | -3/+19 | |
hwtest shows that, although GS always emit a group of three vertices as one primitive, it still respects to the topology type, as if the three vertices are input into the primitive assembler independently and sequentially. It is also shown that the winding flag in SETEMIT only takes effect for Shader topology type, which is believed to be the actual difference between List and Shader (hence removed the TODO). However, only Shader topology type is observed in official games when GS is in use, so the other mode seems to be just unintended usage. | |||||
2017-08-19 | correct constness | wwylele | 2 | -2/+4 | |
2017-08-19 | pica/shader/interpreter: implement SETEMIT and EMIT | wwylele | 1 | -0/+16 | |
2017-08-19 | pica/shader: extend UnitState for GS | wwylele | 2 | -0/+84 | |
Among four shader units in pica, a special unit can be configured to run both VS and GS program. GSUnitState represents this unit, which extends UnitState (which represents the other three normal units) with extra state for primitive emitting. It uses lots of raw pointers to represent internal structure in order to keep it standard layout type for JIT to access. This unit doesn't handle triangle winding (inverting) itself; instead, it calls a WindingSetter handler. This will be explained in the following commits | |||||
2017-08-11 | gl_shader_gen: don't call SampleTexture when bump map is not used | wwylele | 1 | -4/+5 | |
2017-08-11 | SwRasterizer/Lighting: implement spot light | wwylele | 1 | -3/+19 | |
2017-08-11 | SwRasterizer/Lighting: implement geometric factor | wwylele | 1 | -4/+16 | |
2017-08-10 | SwRasterizer/Lighting: use make_tuple instead of constructor | wwylele | 1 | -1/+1 | |
implicit tuple constructor is a c++17 thing, which is not supported by some not-so-old libraries. Play safe for now | |||||
2017-08-10 | pica/regs: layout geometry shader configuration regs | wwylele | 2 | -2/+39 | |
All the register meanings are derived from ctrulib (3dbrew is outdated for most of them) | |||||
2017-08-07 | pica: upload shared shader code to both unit | wwylele | 2 | -26/+45 | |
2017-08-03 | SwRasterizer/Lighting: shorten file name | wwylele | 4 | -4/+4 | |
2017-08-02 | SwRasterizer/Lighting: move to its own file | wwylele | 4 | -240/+271 | |
2017-08-02 | SwRasterizer/Lighting: reduce confusion | wwylele | 1 | -1/+1 | |
2017-08-02 | SwRasterizer/Lighting: move quaternion normalization to the caller | wwylele | 1 | -3/+3 | |
2017-07-27 | pica/shader_interpreter: fix off-by-one in LOOP | wwylele | 1 | -1/+1 | |
2017-07-18 | telemetry: Log performance, configuration, and system data. | bunnei | 2 | -6/+16 | |
2017-07-11 | SwRasterizer/Lighting: dist atten lut input need to be clamp | wwylele | 1 | -1/+1 | |
2017-07-11 | SwRasterizer/Lighting: unify float suffix | wwylele | 1 | -11/+13 | |
2017-07-11 | SwRasterizer/Lighting: get rid of nested return | wwylele | 1 | -10/+11 | |
2017-07-11 | SwRasterizer/Lighting: refactor GetLutValue into a function. | wwylele | 1 | -83/+27 | |
merging similar pattern. Also makes the code more similar to the gl one | |||||
2017-07-11 | SwRasterizer: only interpolate quat and view when lighting is enabled | wwylele | 1 | -14/+14 | |
2017-07-11 | SwRasterizer/Lighting: pass lighting state as parameter | wwylele | 1 | -13/+13 | |
2017-07-11 | SwRasterizer/Lighting: Move the clamp highlight calculation to the end of the per-light loop body. | Subv | 1 | -17/+17 | |
2017-07-11 | SwRasterizer/Lighting: Move the lighting enable check outside the ComputeFragmentsColors function. | Subv | 1 | -7/+6 | |
2017-07-11 | SwRasterizer/Lighting: Do not use global registers state in ComputeFragmentsColors. | Subv | 1 | -3/+3 | |
2017-07-11 | SwRasterizer/Lighting: Do not use global state in LookupLightingLut. | Subv | 2 | -13/+22 | |
2017-07-11 | SwRasterizer/Lighting: Fixed a bug where the distance attenuation bias was being set to the dist atten scale. | Subv | 1 | -3/+2 | |
2017-07-11 | SwRasterizer: Fixed a few conversion warnings and moved per-light values into the per-light loop. | Subv | 1 | -5/+6 | |
2017-07-11 | SwRasterizer: Run clang-format | Subv | 1 | -45/+83 | |
2017-07-11 | SwRasterizer: Flip the vertex quaternions before clipping (if necessary). | Subv | 2 | -20/+15 | |
2017-07-11 | SwRasterizer: Corrected the light LUT lookups. | Subv | 1 | -6/+7 | |
2017-07-11 | SwRasterizer: Corrected the light LUT lookups. | Subv | 1 | -33/+43 | |
2017-07-11 | SwRasterizer: Fixed the lighting lut lookup function. | Subv | 1 | -2/+4 | |
2017-07-11 | SwRasterizer: Calculate fresnel for fragment lighting. | Subv | 1 | -1/+25 | |
2017-07-11 | SwRasterizer: Calculate specular_1 for fragment lighting. | Subv | 1 | -3/+59 | |
2017-07-11 | SwRasterizer: Calculate specular_0 for fragment lighting. | Subv | 1 | -13/+94 | |
2017-07-11 | SwRasterizer: Implement primary fragment color. | Subv | 1 | -4/+113 | |
2017-07-01 | gl_rasterizer: use texture buffer for proctex LUT | wwylele | 5 | -70/+80 | |
2017-06-22 | gl_rasterizer: use texture buffer for fog LUT | wwylele | 7 | -29/+32 | |
2017-06-22 | gl_rasterizer: create the texture before applying the state | wwylele | 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 | |||||
2017-06-21 | gl_state: reset 1d textures | wwylele | 1 | -0/+14 | |
2017-06-21 | gl_rasterizer: fix glGetUniformLocation type | wwylele | 1 | -8/+8 | |
2017-06-21 | gl_rasterizer: manage texture ids in one place | wwylele | 3 | -31/+55 | |
2017-06-21 | gl_rasterizer/lighting: fix LUT interpolation | wwylele | 7 | -116/+102 | |
2017-06-18 | gl_rasterizer/lighting: use the formula from the paper for germetic factor | wwylele | 1 | -8/+8 | |
2017-06-17 | Stop using reserved operator names (and/or/xor) with Xbyak | Yuri Kunde Schlesner | 1 | -13/+13 | |
Also has the Dynarmic upgrade with the same change | |||||
2017-06-15 | gl_rasterizer/lighting: implement geometric factor | wwylele | 3 | -1/+20 | |
2017-06-11 | gl_rasterizer/lighting: Implement tangent mapping | wwylele | 1 | -7/+12 | |
2017-06-11 | gl_rasterizer/lighting: implement lut input 5 (CP) | wwylele | 2 | -3/+26 | |
2017-06-10 | gl_rasterizer_cache: depth write is disabled if allow_depth_stencil_write is false | wwylele | 1 | -4/+5 | |
2017-06-10 | OpenGL: Update comment on AreQuaternionsOpposite with new information | Yuri Kunde Schlesner | 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. | |||||
2017-06-04 | pica/rasterizer: implement/stub texture wrap mode 4-7 | wwylele | 4 | -12/+48 | |
2017-05-30 | gl_rasterizer: implement spot light | wwylele | 1 | -6/+24 | |
2017-05-30 | gl_rasterizer: sync spot light status | wwylele | 4 | -2/+61 | |
2017-05-30 | pica: prepare registers for spotlight | wwylele | 1 | -20/+43 | |
2017-05-29 | swrasterizer: implement TextureCube | wwylele | 1 | -2/+51 | |
2017-05-29 | pica: add registers for texture cube | wwylele | 1 | -1/+26 | |
2017-05-28 | CMake: Create INTERFACE targets for microprofile and nihstro | Yuri Kunde Schlesner | 1 | -1/+1 | |
2017-05-28 | CMake: Use IMPORTED target for libpng | Yuri Kunde Schlesner | 1 | -3/+2 | |
2017-05-28 | CMake: Correct inter-module dependencies and library visibility | Yuri Kunde Schlesner | 1 | -5/+7 | |
Modules didn't correctly define their dependencies before, which relied on the frontends implicitly including every module for linking to succeed. Also changed every target_link_libraries call to specify visibility of dependencies to avoid leaking definitions to dependents when not necessary. | |||||
2017-05-28 | Move screen size constants from video_core to core | Yuri Kunde Schlesner | 2 | -27/+8 | |
video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core. | |||||
2017-05-28 | OpenGL: Remove unused RendererOpenGL fields | Yuri Kunde Schlesner | 2 | -11/+2 | |
2017-05-27 | OpenGL: Improve accuracy of quaternion interpolation | Yuri Kunde Schlesner | 1 | -3/+5 | |
Current order of operations (rotate then normalize) seems to produce a lot more distortion than normalizing and then rotating. This makes Citra results match pretty closesly with hardware, and indicates that hardware may also be using lerp instead of slerp to interpolate the quaternions. | |||||
2017-05-27 | gl_shader: refactor texture sampler into its own function | wwylele | 1 | -40/+39 | |
2017-05-21 | swrasterizer: add missing tc0_w and fragment lighting attribute processing | wwylele | 2 | -5/+8 | |
2017-05-20 | gl_rasterizer: implement procedural texture | wwylele | 6 | -7/+600 | |
2017-05-20 | pica/swrasterizer: implement procedural texture | wwylele | 8 | -4/+438 | |
2017-05-17 | pica: use correct register value for shader bool_uniforms | wwylele | 1 | -2/+2 | |
variable value is not masked. the masked and combined register value should be used instead | |||||
2017-05-16 | pica: correct bit field length for some registers | wwylele | 4 | -17/+25 | |
2017-05-12 | Pica: Write GS registers | Jannik Vogel | 1 | -0/+52 | |
This adds the handlers for the geometry shader register writes which will call the functions from the previous commit to update registers for the GS. | |||||
2017-05-12 | Pica: Write shader registers in functions | Jannik Vogel | 1 | -57/+103 | |
The commit after this one adds GS register writes, so this moves the VS handlers into functions so they can be re-used and extended more easily. | |||||
2017-05-11 | Pica: Set program code / swizzle data limit to 4096 | Jannik Vogel | 5 | -13/+16 | |
One of the later commits will enable writing to GS regs. It turns out that on startup, most games will write 4096 GS program words. The current limit of 1024 would hence result in 3072 (4096 - 1024) error messages: ``` HW.GPU <Error> video_core/shader/shader.cpp:WriteProgramCode:229: Invalid GS program offset 1024 ``` New constants have been introduced to represent these limits. The swizzle data size has also been raised. This matches the given field sizes of [GPUREG_SH_OPDESCS_INDEX](https://3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_OPDESCS_INDEX) and [GPUREG_SH_CODETRANSFER_INDEX](https://www.3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_CODETRANSFER_INDEX) (12 bit = [0; 4095]). | |||||
2017-05-05 | pica: shader_dirty if texture2 coord changed | wwylele | 5 | -7/+12 | |
2017-05-03 | pica: use correct coordinates for texture 2 | wwylele | 4 | -5/+22 | |
2017-04-20 | gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardware | wwylele | 1 | -2/+0 | |
2017-04-19 | rasterizer: implement combiner operation 7 (Dot3_RGBA) | wwylele | 4 | -20/+39 | |
2017-04-17 | OpenGL: Pass Pica regs via parameter | Yuri Kunde Schlesner | 3 | -7/+5 | |
2017-04-17 | OpenGL: Move PicaShaderConfig to gl_shader_gen.h | Yuri Kunde Schlesner | 4 | -202/+206 | |
Also move the implementation of CurrentConfig to the cpp file. | |||||
2017-04-17 | OpenGL: Move Attributes enum to a more appropriate file | Yuri Kunde Schlesner | 3 | -12/+11 | |
2017-04-08 | Pica/Regs: Correct bit width for blend-equations | Jannik Vogel | 1 | -2/+2 | |
2017-03-01 | Input: remove unused stuff & clean up | wwylele | 1 | -0/+1 | |
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID 2. removed button handling in EmuWindow 3. removed key_map 4. cleanup #include | |||||
2017-02-27 | Doxygen: Amend minor issues (#2593) | Mat M | 3 | -3/+5 | |
Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues. | |||||
2017-02-27 | Core: Re-write frame limiter | Yuri Kunde Schlesner | 1 | -3/+3 | |
Now based on std::chrono, and also works in terms of emulated time instead of frames, so we can in the future frame-limit even when the display is disabled, etc. The frame limiter can also be enabled along with v-sync now, which should be useful for those with displays running at more than 60 Hz. | |||||
2017-02-27 | Core: Make PerfStats internally locked | Yuri Kunde Schlesner | 1 | -8/+2 | |
More ergonomic to use and will be required for upcoming changes. | |||||
2017-02-27 | Remove built-in (non-Microprofile) profiler | Yuri Kunde Schlesner | 1 | -8/+0 | |
2017-02-27 | Add performance statistics to status bar | Yuri Kunde Schlesner | 1 | -0/+9 | |
2017-02-18 | OpenGL: Check if uniform block exists before updating it (#2581) | Jannik Vogel | 1 | -29/+30 | |
2017-02-15 | video_core: remove #pragma once in cpp file (#2570) | Weiyi Wang | 2 | -4/+0 | |
2017-02-13 | SWRasterizer: Move more framebuffer functions to file | Yuri Kunde Schlesner | 3 | -100/+105 | |
2017-02-13 | SWRasterizer: Move texturing functions to their own file | Yuri Kunde Schlesner | 4 | -210/+259 | |
2017-02-13 | SWRasterizer: Convert large no-capture lambdas to standalone functions | Yuri Kunde Schlesner | 1 | -315/+310 | |
2017-02-13 | SWRasterizer: Move framebuffer operation functions to their own file | Yuri Kunde Schlesner | 4 | -236/+285 | |
2017-02-13 | VideoCore: Move software rasterizer files to sub-directory | Yuri Kunde Schlesner | 8 | -12/+12 | |
2017-02-12 | video_core/shader: Document sanitized MUL operation | Yuri Kunde Schlesner | 1 | -0/+8 | |
2017-02-11 | video_core: Fix benign out-of-bounds indexing of array (#2553) | Yuri Kunde Schlesner | 1 | -2/+1 | |
The resulting pointer wasn't written to unless the index was verified as valid, but that's still UB and triggered debug checks in MSVC. Reported by garrettboast on IRC | |||||
2017-02-09 | VideoCore: Split u64 Pica reg unions into 2 separate u32 unions | Yuri Kunde Schlesner | 1 | -36/+42 | |
This eliminates UB when aliasing it with the array of u32 regs, and is compatible with non-LE architectures. | |||||
2017-02-09 | VideoCore: Force enum sizes to u32 in LightingRegs | Yuri Kunde Schlesner | 1 | -4/+4 | |
All enums that are used with BitField must have their type forced to u32 to ensure correctness. | |||||
2017-02-09 | OpenGL: Remove unused duplicate of IsPassThroughTevStage | Yuri Kunde Schlesner | 1 | -12/+0 | |
This copy was left behind when the shader generation code was moved to a separate file. | |||||
2017-02-09 | VideoCore: Split regs.h inclusions | Yuri Kunde Schlesner | 13 | -24/+45 | |
2017-02-09 | Pica/Regs: Use binary search to look up reg names | Yuri Kunde Schlesner | 2 | -15/+10 | |
This gets rid of the static unordered_map. Also changes the return type const char*, avoiding unnecessary allocations (the result was only used by calling .c_str() on it.) | |||||
2017-02-09 | VideoCore: Use union to index into Regs struct | Yuri Kunde Schlesner | 2 | -46/+28 | |
Also remove some unused members. | |||||
2017-02-05 | Use std::array<u8,2> instead of u8[2] to fix MSVC build | Lectem | 1 | -1/+1 | |
2017-02-04 | VideoCore: Move Regs to its own file | Yuri Kunde Schlesner | 22 | -658/+679 | |
2017-02-04 | VideoCore: Split shader regs from Regs struct | Yuri Kunde Schlesner | 9 | -102/+116 | |
2017-02-04 | VideoCore: Split geometry pipeline regs from Regs struct | Yuri Kunde Schlesner | 9 | -264/+292 | |
2017-02-04 | VideoCore: Split lighting regs from Regs struct | Yuri Kunde Schlesner | 6 | -312/+341 | |
2017-02-04 | VideoCore: Split framebuffer regs from Regs struct | Yuri Kunde Schlesner | 10 | -445/+491 | |
2017-02-04 | VideoCore: Split texturing regs from Regs struct | Yuri Kunde Schlesner | 15 | -494/+532 | |
2017-02-04 | VideoCore: Split rasterizer regs from Regs struct | Yuri Kunde Schlesner | 13 | -187/+218 | |
2017-02-04 | Pica/Texture: Move part of ETC1 decoding to new file and cleanups | Yuri Kunde Schlesner | 4 | -110/+159 | |
2017-02-04 | Pica/Texture: Simplify/cleanup texture tile addressing | Yuri Kunde Schlesner | 4 | -37/+111 | |
2017-02-04 | VideoCore: Move LookupTexture out of debug_utils.h | Yuri Kunde Schlesner | 7 | -301/+340 | |
2017-02-03 | ShaderJIT: add 16 dummy bytes at the bottom of the stack | wwylele | 1 | -2/+5 | |
2017-01-31 | Common/x64: remove legacy emitter and abi (#2504) | Weiyi Wang | 1 | -1/+0 | |
These are not used any more since we moved shader JIT to xbyak. | |||||
2017-01-31 | shader_jit_x64_compiler: esi and edi should be persistent (#2500) | Merry | 1 | -0/+2 | |
2017-01-30 | VideoCore: Make PrimitiveAssembler const-correct | Yuri Kunde Schlesner | 2 | -3/+4 | |
2017-01-30 | VideoCore: Extract swrast-specific data from OutputVertex | Yuri Kunde Schlesner | 5 | -58/+64 | |
2017-01-30 | VideoCore/Shader: Clean up OutputVertex::FromAttributeBuffer | Yuri Kunde Schlesner | 2 | -10/+16 | |
This also fixes a long-standing but neverthless harmless memory corruption bug, whech the padding of the OutputVertex struct would get corrupted by unused attributes. | |||||
2017-01-30 | VideoCore: Split shader output writing from semantic loading | Yuri Kunde Schlesner | 3 | -24/+24 | |
2017-01-30 | VideoCore: Consistently use shader configuration to load attributes | Yuri Kunde Schlesner | 6 | -44/+23 | |
2017-01-30 | VideoCore: Use correct register for immediate mode attribute count | Yuri Kunde Schlesner | 2 | -7/+13 | |
2017-01-30 | VideoCore: Rename some types to more accurate names | Yuri Kunde Schlesner | 8 | -18/+18 | |
2017-01-30 | VideoCore: Change misleading register names | Yuri Kunde Schlesner | 4 | -8/+9 | |
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. | |||||
2017-01-30 | video_core: gl_rasterizer_cache.cpp removed unused type alias | Kloen | 1 | -1/+0 | |
2017-01-30 | video_core: gl_rasterizer.cpp removed unused type alias | Kloen | 1 | -2/+0 | |
2017-01-29 | video_core: silence unused-local-typedef boost related warning on GCC | Kloen | 1 | -0/+7 | |
2017-01-26 | VideoCore/Shader: Move entry_point to SetupBatch | Yuri Kunde Schlesner | 6 | -26/+27 | |
2017-01-26 | VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup | Yuri Kunde Schlesner | 6 | -44/+40 | |
2017-01-26 | Shader: Remove OutputRegisters struct | Yuri Kunde Schlesner | 4 | -22/+17 | |
2017-01-26 | Shader: Initialize conditional_code in interpreter | Yuri Kunde Schlesner | 2 | -3/+3 | |
This doesn't belong in LoadInputVertex because it also happens for non-VS invocations. Since it's not used by the JIT it seems adequate to initialize it in the interpreter which is the only thing that cares about them. | |||||
2017-01-26 | Shader: Don't read ShaderSetup from global state | Yuri Kunde Schlesner | 1 | -3/+3 | |
2017-01-26 | shader_jit_x64: Don't read program from global state | Yuri Kunde Schlesner | 3 | -22/+22 | |
2017-01-26 | VideoCore/Shader: Move ProduceDebugInfo to InterpreterEngine | Yuri Kunde Schlesner | 4 | -19/+10 | |
2017-01-26 | VideoCore/Shader: Split interpreter and JIT into separate ShaderEngines | Yuri Kunde Schlesner | 8 | -97/+153 | |
2017-01-26 | VideoCore/Shader: Rename shader_jit_x64{ => _compiler}.{cpp,h} | Yuri Kunde Schlesner | 4 | -4/+4 | |
2017-01-26 | VideoCore/Shader: Split shader uniform state and shader engine | Yuri Kunde Schlesner | 4 | -21/+54 | |
Currently there's only a single dummy implementation, which will be split in a following commit. | |||||
2017-01-26 | VideoCore/Shader: Add constness to methods | Yuri Kunde Schlesner | 2 | -4/+4 | |
2017-01-26 | VideoCore/Shader: Use only entry_point as ShaderSetup param | Yuri Kunde Schlesner | 3 | -11/+13 | |
This removes all implicit dependency of ShaderState on global PICA state. | |||||
2017-01-26 | VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup | Yuri Kunde Schlesner | 2 | -11/+8 | |
2017-01-26 | VideoCore/Shader: Extract input vertex loading code into function | Yuri Kunde Schlesner | 3 | -22/+26 | |
2017-01-23 | video_core: fix shader.cpp signed / unsigned warning | Kloen | 1 | -2/+2 | |
2017-01-23 | video_core: gl_rasterizer float to int warning | Kloen | 1 | -1/+2 | |
2017-01-23 | video_core: fix gl_rasterizer warning on MSVC | Kloen | 1 | -1/+1 | |
2017-01-07 | config: Add option for specifying screen resolution scale factor. | bunnei | 3 | -5/+10 | |
2017-01-04 | Fix some warnings (#2399) | Jonathan Hao | 1 | -2/+0 | |
2016-12-25 | Minor cleanup in GLSL code | Jannik Vogel | 1 | -3/+2 | |
2016-12-25 | Offset lighting LUT samples correctly | Jannik Vogel | 1 | -7/+7 | |
2016-12-23 | core: Move emu_window and key_map into core | MerryMage | 2 | -2/+2 | |
* Removes circular dependences (common should not depend on core) | |||||
2016-12-19 | Use GL_TRUE when setting color_mask | Albin Bernhardsson | 1 | -4/+4 | |
2016-12-16 | VideoCore/Shader: Extract DebugData out from UnitState | Yuri Kunde Schlesner | 8 | -103/+99 | |
2016-12-16 | Remove unnecessary cast | Yuri Kunde Schlesner | 1 | -3/+1 | |
2016-12-16 | VideoCore/Shader: Extract evaluate_condition lambda to function scope | Yuri Kunde Schlesner | 1 | -26/+24 | |
2016-12-16 | VideoCore/Shader: Extract call lambda up a scope and remove unused param | Yuri Kunde Schlesner | 1 | -21/+17 | |
2016-12-16 | VideoCore/Shader: Remove dynamic control flow in (Get)UniformOffset | Yuri Kunde Schlesner | 2 | -18/+11 | |
2016-12-16 | VideoCore/Shader: Move DebugData to a separate file | Yuri Kunde Schlesner | 4 | -172/+189 | |
2016-12-15 | shader_jit_x64: Use LOOPCOUNT_REG as a 64-bit reg when indexing | Yuri Kunde Schlesner | 1 | -1/+1 | |
2016-12-15 | VideoCore: Make profiling scope more representative | Yuri Kunde Schlesner | 2 | -0/+15 | |
2016-12-15 | VideoCore: Inline IsPicaTracing | Yuri Kunde Schlesner | 3 | -16/+15 | |
Speeds up ALBW main menu slightly (~3%) | |||||
2016-12-15 | VideoCore: Eliminate an unnecessary copy in the drawcall loop | Yuri Kunde Schlesner | 3 | -5/+3 | |
2016-12-15 | shader_jit_x64: Use Reg32 for LOOP* registers, eliminating casts | Yuri Kunde Schlesner | 1 | -16/+16 | |
2016-12-15 | VideoCore: Convert x64 shader JIT to use Xbyak for assembly | Yuri Kunde Schlesner | 3 | -223/+228 | |
2016-12-11 | Add all services to the Service namespace | Lioncash | 2 | -6/+7 | |
Previously there was a split where some of the services were in the Service namespace and others were not. | |||||
2016-12-07 | OpenGL: Drop framebuffer completeness check. | Markus Wick | 5 | -47/+8 | |
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 | |||||
2016-12-06 | Implement Frame rate limiter (#2223) | emmauss | 2 | -0/+2 | |
* implement frame limiter * fixes | |||||
2016-12-05 | ASSERT that shader was linked successfully | Jannik Vogel | 1 | -0/+2 | |
2016-12-05 | Report shader uniform block size in case of mismatch | Jannik Vogel | 1 | -1/+3 | |
2016-12-05 | Print broken shader code to log | Jannik Vogel | 1 | -3/+9 | |
2016-12-04 | OpenGL: Non-zero stride only makes sense for linear buffers | Yuri Kunde Schlesner | 3 | -7/+11 | |
2016-12-04 | OpenGL: Ensure framebuffer binding is restored if completion check fails | Yuri Kunde Schlesner | 1 | -10/+7 | |
2016-12-04 | OpenGL: Fix DisplayTransfer accel when input width != output width | Yuri Kunde Schlesner | 1 | -1/+10 | |
Fixes #2246, #2261 | |||||
2016-12-04 | shader_jit: Fix non-SSE4.1 path where FLR would not truncate | Jannik Vogel | 1 | -1/+1 | |
2016-12-03 | clang-format: Fix coding style | Yuri Kunde Schlesner | 1 | -1/+1 | |
2016-12-02 | shader_jit: Load LOOPCOUNT_REG and LOOPINC 4 bit left-shifted | Jannik Vogel | 1 | -6/+9 | |
2016-11-30 | ClangFormat: Fixed the clang-format errors | Subv | 2 | -6/+10 | |
2016-11-29 | Build: Fixed a few warnings. | Subv | 2 | -7/+7 | |
2016-11-27 | GPU: Remove the broken frame_skip option. | Emmanuel Gil Peyrot | 1 | -4/+0 | |
Fixes #1960. | |||||
2016-11-27 | RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1 | Subv | 2 | -4/+4 | |
2016-11-27 | Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer. | Subv | 1 | -1/+1 | |
2016-11-24 | Cache Vertices instead of Output registers (#2165) | jphalimi | 1 | -6/+7 | |
This patch brings +3% performance improvement on average. It removes ToVertex() as an important hotspot of the emulator. | |||||
2016-11-22 | Fix format error from #2195 | wwylele | 1 | -1/+1 | |
2016-11-20 | GPU/CiTrace: Avoid calling GetTextures() when not necessary. | Subv | 1 | -6/+5 | |
2016-11-19 | Minor formatting change | James Rowe | 1 | -1/+1 | |
2016-11-05 | Add default hotkey to swap primary screens. | James Rowe | 1 | -3/+2 | |
Also minor style changes | |||||
2016-11-05 | Support additional screen layouts. | James Rowe | 1 | -6/+12 | |
Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen. | |||||
2016-10-20 | Fix typos | Ricardo de Almeida Gonzaga | 1 | -1/+1 | |
2016-09-30 | VideoCore: Shader interpreter cleanups | Yuri Kunde Schlesner | 1 | -32/+42 | |
2016-09-30 | VideoCore: Fix out-of-bounds read in ShaderSetup::ProduceDebugInfo | Yuri Kunde Schlesner | 1 | -3/+1 | |
As far as I can tell, memset was replaced by a fill without correcting the parameter type, causing an out-of-bounds array read in the Vec4 constructor. | |||||
2016-09-30 | OpenGL: Take cached viewport sub-rect into account for scissor | Yuri Kunde Schlesner | 3 | -29/+25 | |
Fixes #1938 | |||||
2016-09-29 | rasterizer: separate TextureCopy from DisplayTransfer | wwylele | 3 | -6/+12 | |
2016-09-21 | Remove special rules for Windows.h and library includes | Yuri Kunde Schlesner | 1 | -1/+1 | |
2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 18 | -18/+18 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 35 | -105/+17 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 23 | -125/+119 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 42 | -2532/+2943 | |
2016-09-16 | VideoCore: Fix dangling lambda context in shader interpreter | Yuri Kunde Schlesner | 1 | -1/+1 | |
The static meant that after the first execution, these lambda context would be pointing to a random location on the stack. Fixes a random crash when using the interpreter. | |||||
2016-08-30 | OpenGL: Avoid error on unsupported lighting LUT | Jannik Vogel | 1 | -0/+1 | |
2016-08-30 | config: Add a setting for graphics V-Sync. | bunnei | 1 | -0/+1 | |
2016-06-28 | OpenGL: Add scaled resolution support to scissor | Yuri Kunde Schlesner | 4 | -3/+16 | |
2016-06-28 | PICA: Scissor fixes and cleanups | Yuri Kunde Schlesner | 5 | -45/+39 | |
2016-06-28 | PICA: Implement scissor test | Subv | 5 | -3/+105 | |
2016-06-25 | Remove superfluous std::move in return std::move(local_var) | scurest | 1 | -1/+1 | |
2016-06-07 | OpenGL: Implement fog | Jannik Vogel | 5 | -7/+124 | |
2016-06-07 | Rasterizer: Implement fog | Jannik Vogel | 1 | -21/+52 | |
2016-06-07 | Pica: Add fog state | Jannik Vogel | 3 | -14/+69 | |
2016-06-07 | OpenGL: Avoid undefined behaviour for UNIFORM_BLOCK_DATA_SIZE | Jannik Vogel | 2 | -6/+8 | |
2016-06-01 | gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueue | mailwl | 1 | -1/+1 | |
2016-05-23 | OpenGL: Set shader_dirty on lighting changes | Jannik Vogel | 1 | -0/+23 | |
2016-05-23 | Pica: Name LightSrc.config register | Jannik Vogel | 2 | -17/+15 | |
2016-05-23 | Pica: Name lighting.config0 and .config1 registers | Jannik Vogel | 2 | -18/+18 | |
2016-05-23 | OpenGL: Use uniforms for dist_atten_bias and dist_atten_scale | Jannik Vogel | 3 | -8/+84 | |
2016-05-21 | Refactor Tev stage dumper | Jannik Vogel | 2 | -115/+114 | |
2016-05-21 | Extend Tev stage dumper | Jannik Vogel | 1 | -14/+38 | |
2016-05-16 | Retrieve shader result from new OutputRegisters-type | Jannik Vogel | 4 | -64/+81 | |
2016-05-14 | OpenGL: Only update depth uniforms if the depth changed | Jannik Vogel | 2 | -9/+22 | |
2016-05-14 | OpenGL: value-initialize variables which cause uninitialised access otherwise | Jannik Vogel | 1 | -2/+2 | |
2016-05-13 | Use new shader-jit signature for interpreter | Jannik Vogel | 3 | -8/+8 | |
2016-05-13 | Refactor access to state in shader-jit | Jannik Vogel | 4 | -24/+42 | |
2016-05-12 | OpenGL: Support blend equation | Jannik Vogel | 4 | -0/+31 | |
2016-05-12 | Move program_counter and call_stack from UnitState to interpreter | Jannik Vogel | 3 | -45/+42 | |
2016-05-12 | Move default_attributes into Pica state | Jannik Vogel | 4 | -4/+4 | |
2016-05-11 | Turn ShaderSetup into struct | Jannik Vogel | 4 | -57/+58 | |
2016-05-11 | OpenGL: Implement texture type 3 | Jannik Vogel | 4 | -35/+67 | |
2016-05-11 | Rasterizer: Implement texture type 3 | Jannik Vogel | 1 | -2/+27 | |
2016-05-11 | Pica: Add tc0.w to OutputVertex | Jannik Vogel | 1 | -1/+2 | |
2016-05-11 | Pica: Add texture type to state | Jannik Vogel | 1 | -0/+10 | |
2016-05-10 | gl_rasterizer: Fix compilation for debug builds | Lioncash | 1 | -1/+1 | |
2016-05-10 | OpenGL: Implement W-Buffers and fix depth-mapping | Jannik Vogel | 3 | -4/+23 | |
2016-05-10 | Pica: Implement W-Buffer in SW rasterizer | Jannik Vogel | 4 | -11/+43 | |
2016-05-09 | vertex_loader: Correct forward declaration of InputVertex | Lioncash | 1 | -1/+1 | |
It's actually a struct, not a class. | |||||
2016-05-09 | vertex_loader: Provide an assertion for ensuring the loader has been setup | Lioncash | 2 | -0/+7 | |
Also adds an assert to ensure that Setup is not called more than once during a VertexLoader's lifetime. | |||||
2016-05-09 | vertex_loader: Add constructors to facilitate immediate and two-step initialization | Lioncash | 2 | -2/+6 | |
2016-05-09 | vertex_loader: initialize_num_total_attributes. | Lioncash | 1 | -1/+1 | |
Keeps the public API sane. | |||||
2016-05-09 | vertex_loader: Use std::array instead of raw C arrays | Lioncash | 1 | -6/+7 | |
2016-05-09 | vertex_loader: Correct header ordering | Lioncash | 1 | -1/+1 | |
2016-05-07 | fixup simple type conversions where possible | Alexander Laties | 4 | -7/+8 | |
2016-05-06 | Frontends, VideoCore: Move glad initialisation to the frontend | Emmanuel Gil Peyrot | 1 | -6/+0 | |
On SDL2 this allows it to use SDL_GL_GetProcAddress() instead of the default function loader, and fixes a crash when using apitrace with an EGL context. On Qt we will need to migrate from QGLWidget to QOpenGLWidget and QOpenGLContext before we can use gladLoadGLLoader() instead of gladLoadGL(), since the former doesn’t expose a function loader. | |||||
2016-05-04 | Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation | Jannik Vogel | 2 | -7/+5 | |
2016-05-03 | Pica: Use a union for PicaShaderConfig | Jannik Vogel | 3 | -125/+139 | |
2016-05-03 | Pica: Add TevStageConfigRaw to PicaShaderConfig (MSVC workaround) | Jannik Vogel | 2 | -2/+23 | |
2016-05-03 | Pica: Make PicaShaderConfig trivially_copyable and clear it before use | Jannik Vogel | 1 | -21/+28 | |
2016-05-03 | OpenGL: Don't copy const_color (Reverts #1745) | Jannik Vogel | 1 | -2/+3 | |
2016-05-03 | Pica: Replace logic in shader.cpp with loop | Jannik Vogel | 1 | -34/+4 | |
2016-05-01 | OpenGL: Copy TevStageConfig using a loop. Fixes bug: const_color not copied | Jannik Vogel | 1 | -30/+11 | |
2016-04-30 | OpenGL: border_color was never set. Fixed. (#1740) | Jannik Vogel | 1 | -0/+1 | |
2016-04-30 | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 34 | -79/+212 | |
2016-04-30 | Remove TGA dumper | Jannik Vogel | 3 | -62/+0 | |
2016-04-29 | Common: Remove section measurement from profiler (#1731) | Yuri Kunde Schlesner | 4 | -11/+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. | |||||
2016-04-29 | Move and rename the MemoryAccesses class to MemoryAccessTracker. | Henrik Rydgard | 4 | -32/+35 | |
2016-04-28 | Debugger fix | Henrik Rydgard | 1 | -2/+2 | |
2016-04-28 | Optimize the vertex loader, nearly doubling its speed. | Henrik Rydgard | 2 | -32/+54 | |
2016-04-28 | Don't keep base_address in the loader, it doesn't belong there (with it, the loader can't be cached). | Henrik Rydgard | 3 | -11/+10 | |
2016-04-28 | Move "&" to their proper place, add missing includes and make some properly relative. | Henrik Rydgard | 2 | -8/+11 | |
2016-04-28 | Refactor: Extract VertexLoader from command_processor.cpp. | Henrik Rydgard | 5 | -125/+185 | |
Preparation for a similar concept to Dolphin or PPSSPP. These can be JIT-ed and cached. | |||||
2016-04-28 | Remove late accesses to attribute_config | Henrik Rydgard | 1 | -5/+7 | |
2016-04-24 | shader: Shader size is long uint, not uint. | Sam Spilsbury | 1 | -1/+1 | |
2016-04-24 | shader: Handle non-CALL opcodes with a break | Sam Spilsbury | 1 | -0/+2 | |
2016-04-24 | shader: Format string must be provided inline and not as a variable | Sam Spilsbury | 1 | -1/+1 | |
2016-04-24 | Replace std::map with std::array for graphics event breakpoints, and allow the compiler to inline. Saves 1%+ in vertex heavy situations. | Henrik Rydgard | 2 | -7/+14 | |
2016-04-23 | pica: Handle default lighting case | Sam Spilsbury | 1 | -1/+6 | |
2016-04-22 | HWRasterizer: reorder declarations to match defs | tfarley | 1 | -9/+9 | |
2016-04-22 | HWRasterizer: sync specular uniform for new shaders | tfarley | 1 | -0/+2 | |
2016-04-21 | HWRasterizer: Texture forwarding | tfarley | 13 | -759/+1371 | |
2016-04-21 | Config: Add scaled resolution option | tfarley | 2 | -0/+2 | |
2016-04-17 | Rasterizer: Allow all blend factors for alpha blend-func | Jannik Vogel | 1 | -57/+42 | |
2016-04-15 | debug_utils: use std::make_unique for initializing PicaTrace | Lioncash | 1 | -1/+1 | |
2016-04-14 | shader_jit_x64: Rename RuntimeAssert to Compile_Assert. | bunnei | 2 | -5/+5 | |
2016-04-14 | shader_jit_x64.cpp: Rename JitCompiler to JitShader. | bunnei | 3 | -92/+92 | |
2016-04-14 | shader_jit_x64: Free memory that's no longer needed after compilation. | bunnei | 1 | -0/+6 | |
2016-04-14 | shader_jit_x64: Use a sorted vector instead of a set for keeping track of return addresses. | bunnei | 2 | -5/+8 | |
2016-04-14 | shader_jit_x64: Use CALL/RET instead of JMP for subroutines. | bunnei | 1 | -17/+7 | |
2016-04-14 | shader_jit_x64: Separate initialization and code generation for readability. | bunnei | 1 | -9/+8 | |
2016-04-14 | shader_jit_x64: Get rid of unnecessary last_program_counter variable. | bunnei | 2 | -6/+2 | |
2016-04-14 | shader_jit_x64: Execute certain asserts at runtime. | bunnei | 2 | -5/+19 | |
- This is because we compile the full shader code space, and therefore its common to compile malformed instructions. | |||||
2016-04-14 | shader: Remove unused 'state' argument from 'Setup' function. | bunnei | 3 | -5/+4 | |
2016-04-14 | shader_jit_x64: Specify shader main offset at runtime. | bunnei | 3 | -10/+6 | |
2016-04-14 | shader_jit_x64: Allocate each program independently and persist for emu session. | bunnei | 3 | -38/+28 | |
2016-04-14 | shader_jit_x64: Rewrite flow control to support arbitrary CALL and JMP instructions. | bunnei | 2 | -35/+119 | |
2016-04-14 | shader_jit_x64: Fix strict memory aliasing issues. | bunnei | 1 | -1/+3 | |
2016-04-14 | file_util: Don't expose IOFile internals through the API | Lioncash | 1 | -1/+16 | |
2016-04-10 | Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY) | Jannik Vogel | 4 | -71/+0 | |
2016-04-10 | OpenGL: Implement color combiner Operation::Dot3_RGB | Jannik Vogel | 1 | -0/+3 | |
2016-04-08 | OpenGL: Respect buffer-write allow registers | Jannik Vogel | 1 | -6/+28 | |
2016-04-08 | OpenGL: Split buffer-write mask sync into seperate functions | Jannik Vogel | 2 | -8/+39 | |
2016-04-08 | Rasterizer: Respect buffer-write allow registers | Jannik Vogel | 2 | -4/+16 | |
2016-04-08 | OpenGL: Keep stencil-test and framebuffer.depth_format in sync | Jannik Vogel | 1 | -0/+1 | |
2016-04-05 | Common: Remove Common::make_unique, use std::make_unique | MerryMage | 5 | -11/+7 | |
2016-04-03 | OpenGL: Fix a double framebuffer completeness checks. | Emmanuel Gil Peyrot | 1 | -4/+6 | |
2016-04-03 | OpenGL: Check for framebuffer completeness | Jannik Vogel | 1 | -0/+3 | |
2016-04-01 | Avoid warnings by casting to size_t for ARRAY_SIZE() comparisons | Jannik Vogel | 1 | -6/+6 | |
2016-03-24 | Pica: Improve accuracy of immediate-mode support | Yuri Kunde Schlesner | 5 | -29/+56 | |
This partially fixes Etrian Odyssey IV. | |||||
2016-03-24 | OpenGL: Don't attempt to draw empty triangle batches | Yuri Kunde Schlesner | 1 | -0/+3 | |
Our code did not handle this well, causing random crashes in some situations. | |||||
2016-03-17 | video_core: Don't cast away const | Lioncash | 3 | -18/+19 | |
2016-03-17 | shader_interpreter: use std::inner_product for the dot product | Lioncash | 1 | -5/+3 | |
Same thing, less code. | |||||
2016-03-17 | core/video_core: Make NumIds functions constexpr | Lioncash | 1 | -1/+1 | |
2016-03-17 | core/video_core: Don't cast away const in subscript operators | Lioncash | 1 | -3/+3 | |
Not to say these subscript operators aren't totally ugly as is. | |||||
2016-03-17 | PICA: Alignment happens locally in vertex | Jannik Vogel | 1 | -6/+6 | |
2016-03-15 | PICA: Fix MAD/MADI encoding | Jannik Vogel | 2 | -29/+33 | |
2016-03-14 | PICA: Fix viewport offset | Jannik Vogel | 1 | -2/+2 | |
2016-03-14 | Respect vs output map | Jannik Vogel | 2 | -7/+19 | |
2016-03-13 | PICA: Align vertex attributes | Jannik Vogel | 1 | -1/+5 | |
2016-03-12 | shader_jit_x64: Clear cache after code space fills up. | bunnei | 3 | -2/+19 | |
2016-03-12 | shader_jit_x64: Make assert outputs more useful & cleanup formatting. | bunnei | 1 | -4/+7 | |
2016-03-12 | shader: Update log message to use proper log class. | bunnei | 1 | -1/+1 | |
2016-03-09 | Common: Get rid of alignment macros | Lioncash | 1 | -4/+4 | |
The gl rasterizer already uses alignas, so we may as well move everything over. | |||||
2016-03-09 | renderer_base: In-class initialize variables | Lioncash | 1 | -5/+2 | |
2016-03-09 | render_base: Clarify/normalize getter functions | Lioncash | 1 | -2/+2 | |
2016-03-09 | renderer_base: Don't directly expose the rasterizer unique_ptr | Lioncash | 3 | -8/+11 | |
There's no reason to allow direct access to the unique_ptr instance. Only its contained pointer. | |||||
2016-03-08 | Improve error report from Init() functions | LittleWhite | 5 | -8/+18 | |
Add error popup when citra initialization failed | |||||
2016-03-06 | Pica: Write depth value even when depth test is disabled | Yuri Kunde Schlesner | 2 | -10/+12 | |
This has been confirmed on hardware. Fixes Etrian Odyssey IV. | |||||
2016-03-03 | Add immediate mode vertex submission | Dwayne Slater | 17 | -60/+172 | |
2016-02-26 | renderer_opengl: Initalise fragment shader LUT textures | MerryMage | 1 | -0/+4 | |
2016-02-21 | Fix out of bounds array access when loading a component >= 12 | Dwayne Slater | 1 | -1/+4 | |
2016-02-21 | Add support for padding vertex attributes | Dwayne Slater | 1 | -6/+13 | |
2016-02-12 | BitField: Make trivially copyable and remove assignment operator | MerryMage | 2 | -6/+6 | |
2016-02-05 | pica: Cleanup lighting register definitions and documentation. | bunnei | 2 | -48/+51 | |
2016-02-05 | gl_rasterizer: Use alignas(16) instead of explicit padding. | bunnei | 1 | -13/+6 | |
2016-02-05 | renderer_opengl: Use GLvec3/GLvec4 aliases for commonly used types. | bunnei | 4 | -14/+18 | |
2016-02-05 | gl_rasterizer: Fix issue with interpolation of opposite quaternions. | bunnei | 2 | -4/+32 | |
2016-02-05 | pica_types: Fix typo in docstring. | bunnei | 1 | -1/+1 | |
2016-02-05 | pica_types: Replace float24/20/16 with a template class. | bunnei | 5 | -116/+82 | |
2016-02-05 | command_processor: Add an assertion to ensure LUTs are not written past their boundaries. | bunnei | 1 | -0/+3 | |
2016-02-05 | gl_rasterizer: Remove unnecessary casts. | bunnei | 1 | -6/+6 | |
2016-02-05 | gl_rasterizer: Fix PicaShaderConfig on GCC. | bunnei | 1 | -29/+27 | |
2016-02-05 | gl_rasterizer: Initial implementation of bump mapping. | bunnei | 3 | -5/+42 | |
2016-02-05 | gl_shader_gen: Fix bug in LUT range (should within range [0, 255] not [0, 256]). | bunnei | 1 | -3/+3 | |
2016-02-05 | gl_shader_gen: Implement lighting red, green, and blue reflection. | bunnei | 3 | -21/+77 | |
2016-02-05 | gl_shader_gen: View should be normalized. | bunnei | 1 | -2/+2 | |
2016-02-05 | gl_shader_gen: Implement fragment lighting fresnel effect. | bunnei | 3 | -9/+38 | |
2016-02-05 | gl_shader_gen: Implement fragment lighting specular 1 component. | bunnei | 3 | -11/+41 | |
2016-02-05 | gl_shader_gen: Add support for D0 LUT scaling. | bunnei | 3 | -3/+71 | |
2016-02-05 | gl_shader_gen: Refactor lighting config to match Pica register naming. | bunnei | 3 | -42/+50 | |
- Also implement D0 LUT enable. | |||||
2016-02-05 | pica: Cleanup and add some comments to lighting registers. | bunnei | 2 | -19/+19 | |
2016-02-05 | gl_rasterizer: Minor naming refactor on Pica register naming. | bunnei | 2 | -20/+23 | |
2016-02-05 | gl_shader_gen: Reorganize and cleanup lighting code. | bunnei | 1 | -100/+107 | |
- No functional difference. | |||||
2016-02-05 | gl_shader_gen: Fix directional lights. | bunnei | 1 | -1/+1 | |
2016-02-05 | gl_shader_gen: Fix bug with lighting where clamp highlights was only applied to last light. | bunnei | 1 | -6/+6 | |
2016-02-05 | gl_shader_gen: View vector needs to be normalized when computing half angle vector. | bunnei | 1 | -3/+4 | |
2016-02-05 | renderer_opengl: Use textures for fragment shader LUTs instead of UBOs. | bunnei | 5 | -27/+64 | |
- Gets us LUT interpolation for free. - Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs. | |||||
2016-02-05 | renderer_opengl: Initial implementation of basic specular lighting. | bunnei | 4 | -13/+165 | |
2016-02-05 | renderer_opengl: Implement HW fragment lighting distance attenuation. | bunnei | 2 | -17/+38 | |
2016-02-05 | renderer_opengl: Implement HW fragment lighting LUTs within our default UBO. | bunnei | 4 | -16/+67 | |
2016-02-05 | renderer_opengl: Implement diffuse component of HW fragment lighting. | bunnei | 6 | -15/+270 | |
2016-02-05 | pica: Implement decoding of basic fragment lighting components. | bunnei | 5 | -15/+120 | |
- Diffuse - Distance attenuation - float16/float20 types - Vertex Shader 'view' output | |||||
2016-02-05 | pica: Implement fragment lighting LUTs. | bunnei | 2 | -0/+34 | |
2016-02-05 | pica: Add decodings for distance attenuation and LUT registers. | bunnei | 1 | -1/+104 | |
2016-02-05 | pica: Add pica_types module and move float24 definition. | bunnei | 3 | -112/+127 | |
2016-02-03 | hwrasterizer: Use proper cached fb addr/size | tfarley | 2 | -42/+34 | |
2016-02-03 | OpenGL: Downgrade GL_DEBUG_SEVERITY_NOTIFICATION to Debug logging level | Yuri Kunde Schlesner | 1 | -2/+0 | |
The nVidia driver is *extremely* spammy on this category, sending a message on every buffer or texture upload, slowing down the emulator and making the log useless. | |||||
2016-01-25 | Debugger: Use 3dbrew names for GPU registers | Yuri Kunde Schlesner | 1 | -57/+465 | |
This list was imported from the 3dbrew wiki page and is pretty much complete. | |||||
2016-01-25 | Shader: Implement "invert condition" feature of IFU instruction | Yuri Kunde Schlesner | 2 | -2/+5 | |
If the bit 0 of the JMPU instruction is set, then the jump condition will be inverted. That is, a jump will happen when the boolean is false instead of when it is true. | |||||
2016-01-24 | Shader JIT: Fix off-by-one error when compiling JMPs | Yuri Kunde Schlesner | 2 | -6/+6 | |
There was a mistake in the JMP code which meant that one instruction at the destination would be skipped when the jump was taken. This commit also changes the meaning of the culprit parameter to make it less confusing and avoid similar mistakes in the future. | |||||
2016-01-21 | hwrasterizer: Use depth offset | tfarley | 3 | -2/+24 | |
2016-01-17 | command_processor: Get rid of variable shadowing | Lioncash | 1 | -2/+1 | |
2015-12-30 | video_core: Make the renderer global a unique_ptr | Lioncash | 2 | -6/+10 | |
2015-12-30 | swrasterizer: Add missing override specifier | Lioncash | 1 | -1/+1 | |
2015-12-21 | VideoCore: Sync state after changing rasterizers | Yuri Kunde Schlesner | 1 | -0/+1 | |
This fixes various bugs that appear in the HW rasterizer after switching between it and the SW one during emulation. | |||||
2015-12-08 | VideoCore: Unify interface to OpenGL and SW rasterizers | Yuri Kunde Schlesner | 13 | -67/+105 | |
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-12-07 | VideoCore: Rename HWRasterizer methods to be less confusing | Yuri Kunde Schlesner | 4 | -12/+12 | |
2015-12-07 | OpenGL: Rename cache functions to better match what they actually do | Yuri Kunde Schlesner | 3 | -12/+11 | |
2015-12-06 | GPU/PrimitiveAssembler: Fixed drawing triangle fans. | Subv | 1 | -5/+4 | |
It was skipping the second vertex assignment and using uninitialized garbage when assembling the corresponding triangle. | |||||
2015-12-05 | OpenGL: Flip framebuffers during transfer rather than when rendering | Yuri Kunde Schlesner | 2 | -12/+11 | |
2015-12-05 | OpenGL: Add support for glFrontFace in the state tracker | Yuri Kunde Schlesner | 2 | -0/+6 | |
2015-12-01 | PICA: Properly emulate 1-stage delay in the combiner buffer | Yuri Kunde Schlesner | 2 | -12/+19 | |
This was discovered and verified by @fincs. The tev combiner buffer actually lags behind by one stage, meaning stage 1 reads the initial color, stage 2 reads stage 0's output, and so on. Fixes character portraits in Fire Emblem: Awakening and world textures in Zelda: ALBW. Closes #1140. | |||||
2015-11-26 | renderer_opengl: Fix uniform issues introduced with kemenaran/avoid-explicit-uniform-location. | bunnei | 2 | -6/+8 | |
2015-11-25 | Use regular uniform location | Pierre de La Morinerie | 3 | -15/+5 | |
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). | |||||
2015-11-19 | FragShader: Use an UBO instead of several individual uniforms | Subv | 6 | -13/+67 | |
2015-11-10 | GPU/Loaders: Log an error when a loader tries to load from a component beyond the available ones (12). | Subv | 1 | -0/+2 | |
Related to #1170 | |||||
2015-10-24 | OpenGL: Log GL_KHR_debug messages we receive | Emmanuel Gil Peyrot | 1 | -0/+57 | |
This allows the driver to communicate errors, warnings and improvement suggestions about our usage of the API. | |||||
2015-10-22 | gl_shader_gen: Use explicit locations for vertex shader attributes. | bunnei | 2 | -15/+9 | |
2015-10-22 | gl_shader_gen: Optimize code for AppendAlphaTestCondition. | bunnei | 1 | -16/+11 | |
- Also add a comment to AppendColorCombiner. | |||||
2015-10-22 | gl_rasterizer: Define enum types for each vertex texcoord attribute. | bunnei | 3 | -12/+14 | |
2015-10-22 | gl_shader_gen: Various cleanups to shader generation. | bunnei | 3 | -48/+52 | |
2015-10-22 | gl_rasterizer: Use MMH3 hash for shader cache hey. | bunnei | 4 | -83/+63 | |
- Includes a check to confirm no hash collisions. | |||||
2015-10-22 | gl_shader_gen: Require explicit uniform locations. | bunnei | 3 | -56/+34 | |
- Fixes uniform issue on AMD. | |||||
2015-10-22 | gl_shader_gen: Rename 'o' to 'attr' in vertex/fragment shaders. | bunnei | 1 | -11/+11 | |
2015-10-22 | gl_shader_gen: AppendAlphaModifier default should be 0.0, not vec4(0.0). | bunnei | 1 | -1/+1 | |
2015-10-22 | gl_shader_gen: Fix bug where TEV stage outputs should be clamped. | bunnei | 1 | -3/+3 | |
2015-10-22 | gl_rasterizer: Add documentation to ShaderCacheKey. | bunnei | 1 | -0/+16 | |
2015-10-22 | gl_shader_gen: Add additional function documentation. | bunnei | 2 | -0/+18 | |
2015-10-22 | gl_shader_util: Cleanup header file + add docstring. | bunnei | 1 | -1/+7 | |
2015-10-22 | gl_shader_gen: Various cleanups + moved TEV stage generation to its own function. | bunnei | 1 | -161/+170 | |
2015-10-22 | renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups. | bunnei | 10 | -788/+509 | |
2015-10-22 | gl_rasterizer: Move logic for creating ShaderCacheKey to a static function. | bunnei | 3 | -22/+50 | |
2015-10-22 | gl_shader_util: Use vec3 constants for AppendColorCombiner. | bunnei | 1 | -6/+6 | |
2015-10-22 | gl_rasterizer: Fix typo in uploading TEV const color uniforms. | bunnei | 1 | -5/+5 | |
2015-10-22 | gl_shader_util: Fix precision bug with alpha testing. | bunnei | 2 | -9/+9 | |
- Alpha testing is not done with float32 precision, this makes the HW renderer match the SW renderer. | |||||
2015-10-22 | Initial implementation of fragment shader generation with caching. | Subv | 7 | -261/+568 | |
2015-10-09 | CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls. | Emmanuel Gil Peyrot | 2 | -7/+7 | |
The LOG_* function itself already appends one. | |||||
2015-10-07 | Silence -Wsign-compare warnings. | Rohit Nirmal | 1 | -3/+3 | |
2015-09-29 | fix some xcode 7.0 warnings | Martin Lindhe | 3 | -2/+4 | |
2015-09-16 | general: Silence some warnings when using clang | Lioncash | 3 | -7/+7 | |
2015-09-11 | video_core: Reorganize headers | Lioncash | 19 | -62/+56 | |
2015-09-11 | video_core: Remove unnecessary includes from headers | Lioncash | 5 | -13/+3 | |
2015-09-10 | renderer_opengl: Remove unimplemented function declaration | Lioncash | 1 | -3/+0 | |
2015-09-10 | video_core: Remove unused variables | Lioncash | 3 | -4/+0 | |
2015-09-10 | gl_rasterizer: Replace push_back calls with emplace_back in AddTriangle | Lioncash | 1 | -3/+3 | |
2015-09-07 | Shader JIT: Use SCALE constant from emitter | aroulin | 1 | -4/+4 | |
2015-09-07 | Shader: Fix size_t to int casts of register offsets | aroulin | 2 | -15/+21 | |
2015-09-03 | OpenGL: Use Sampler Objects to decouple sampler config from textures | Yuri Kunde Schlesner | 4 | -21/+76 | |
Fixes #978 | |||||
2015-09-03 | OpenGL: Remove ugly and endian-unsafe color pointer casts | Yuri Kunde Schlesner | 4 | -9/+13 | |
2015-09-03 | OpenGL: Add support for Sampler Objects to state tracker | Yuri Kunde Schlesner | 3 | -4/+42 | |
2015-09-02 | video_core: Fix format specifiers warnings | aroulin | 2 | -2/+3 | |
2015-09-01 | x64: Proper stack alignment in shader JIT function calls | aroulin | 2 | -28/+18 | |
Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files | |||||
2015-08-31 | Pica: Added the primitive_restart register (0x25f) to the registers map. | Subv | 2 | -1/+5 | |
2015-08-31 | Pica: Add the vertex_offset register to the Pica registers map. | Subv | 2 | -0/+2 | |
2015-08-31 | Shader JIT: Fix SGE/SGEI NaN behavior | aroulin | 1 | -3/+3 | |
SGE was incorrectly emulated w.r.t. NaN behavior as the CMPSS SSE instruction was used with NLT | |||||
2015-08-30 | GPU: Implemented register 0x22A. | Subv | 2 | -2/+8 | |
This is the equivalent of the "first" parameter in glDrawArrays, it tells the GPU the vertex index at which to start rendering. Register 0x22A doesn't affect indexed rendering. | |||||
2015-08-30 | Replace the previous OpenGL loader with a glad-generated 3.3 one | Yuri Kunde Schlesner | 11 | -2812/+12 | |
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. | |||||
2015-08-28 | gl_rasterizer_cache: Detect and ignore unnecessary texture flushes. | bunnei | 3 | -8/+18 | |
2015-08-27 | Shader JIT: Fix float to integer rounding in MOVA | aroulin | 1 | -2/+2 | |
MOVA converts new address register values from floats to integers using truncation | |||||
2015-08-27 | Shader JIT: ifdef out reference to ifdef'd out shader_map | archshift | 1 | -0/+2 | |
shader_map was only defined on x86 architectures, but was cleared on shutdown with no ifdef protection. Ifdef this out so non-x86 architectures can be built. | |||||
2015-08-25 | Integrate the MicroProfile profiling library | Yuri Kunde Schlesner | 5 | -0/+25 | |
This brings goodies such as a configurable user interface and multi-threaded timeline view. | |||||
2015-08-24 | HWRenderer: Added a workaround for the Intel Windows driver bug that causes glTexSubImage2D to not change the stencil buffer. | Subv | 1 | -2/+9 | |
Reported here https://communities.intel.com/message/324464 | |||||
2015-08-24 | fixup! Shaders: Fix multiplications between 0.0 and inf | Yuri Kunde Schlesner | 1 | -4/+4 | |
2015-08-24 | Shader JIT: Tiny micro-optimization in DPH | Yuri Kunde Schlesner | 1 | -4/+4 | |
2015-08-24 | Shaders: Fix multiplications between 0.0 and inf | Yuri Kunde Schlesner | 3 | -40/+58 | |
The PICA200 semantics for multiplication are so that when multiplying inf by exactly 0.0, the result is 0.0, instead of NaN, as defined by IEEE. This is relied upon by games. Fixes #1024 (missing OoT interface items) | |||||
2015-08-24 | Shaders: Explicitly conform to PICA semantics in MAX/MIN | Yuri Kunde Schlesner | 2 | -2/+10 | |
2015-08-24 | Shader JIT: Add name to second scratch register (XMM4) | Yuri Kunde Schlesner | 1 | -3/+5 | |
2015-08-24 | shader_jit: Replace two MDisp usages with MatR | Lioncash | 1 | -2/+2 | |
2015-08-24 | Shader JIT: Fix CMP NaN behavior to match hardware | Yuri Kunde Schlesner | 1 | -8/+23 | |
2015-08-23 | HWRenderer: Only reload the framebuffer from gpu memory if the hw renderer is in use during a breakpoint. | Subv | 1 | -2/+6 | |
2015-08-23 | Shader: Use std::sqrt for float instead of sqrt | aroulin | 1 | -1/+1 | |
2015-08-23 | Shader: RCP and RSQ computes only the 1st component | aroulin | 2 | -10/+10 | |
2015-08-22 | Shader: implement DPH/DPHI in JIT | aroulin | 2 | -2/+36 | |
2015-08-22 | Shader: implement DPH/DPHI in interpreter | aroulin | 1 | -1/+8 | |
Tests revealed that the component with w=1 is SRC1 and not SRC2, it is now fixed on 3dbrew. | |||||
2015-08-21 | HWRasterizer: Implemented stencil ops 6 and 7. | Subv | 1 | -1/+3 | |
2015-08-21 | SWRasterizer: Implemented stencil ops 6 and 7. | Subv | 2 | -6/+14 | |
IncrementWrap and DecrementWrap, verified with hwtests. | |||||
2015-08-21 | HWRasterizer: Implemented stencil op 1 (GL_ZERO) | Subv | 1 | -1/+1 | |
2015-08-21 | SWRasterizer: Implemented stencil action 1 (GL_ZERO). | Subv | 2 | -1/+4 | |
Verified with hwtests. | |||||
2015-08-21 | SWRasterizer: Removed a todo. Verified with hwtests. | Subv | 1 | -1/+0 | |
2015-08-21 | SWRenderer: The stencil depth_pass action is executed even if depth testing is disabled. | Subv | 1 | -7/+5 | |
The HW renderer already did this. | |||||
2015-08-21 | Rasterizer: Abstract duplicated stencil code into a lambda. | Subv | 1 | -6/+9 | |
2015-08-20 | GLRasterizer: Implemented stencil testing in the hw renderer. | Subv | 4 | -2/+44 | |
2015-08-20 | GPU/Rasterizer: Corrected the stencil implementation. | Subv | 2 | -18/+39 | |
Verified the behavior with hardware tests. | |||||
2015-08-19 | Shader: implement SGE, SGEI and SLT in JIT | aroulin | 2 | -15/+36 | |
2015-08-19 | Shader: implement SGE, SGEI in interpreter | aroulin | 1 | -0/+14 | |
2015-08-19 | Shader: Save caller-saved registers in JIT before a CALL | aroulin | 2 | -0/+33 | |
2015-08-17 | Shader: implement EX2 and LG2 in JIT | aroulin | 2 | -2/+22 | |
2015-08-16 | Fix Linux GCC 4.9 build (complaining about undeclared memset) | LittleWhite | 1 | -1/+2 | |
2015-08-16 | Shader: implement EX2 and LG2 in interpreter | aroulin | 1 | -0/+36 | |
2015-08-16 | Build fix for Debug configurations. | Tony Wasserka | 1 | -1/+1 | |
2015-08-16 | Introduce a shader tracer to allow inspection of input/output values for each processed instruction. | Tony Wasserka | 8 | -41/+326 | |
2015-08-16 | Pica/DebugUtils: Include uniform information into shader dumps. | Tony Wasserka | 2 | -11/+51 | |
2015-08-16 | citra-qt: Improve shader debugger. | Tony Wasserka | 4 | -13/+28 | |
Now supports dumping the current shader and recognizes a larger number of output semantics. | |||||
2015-08-16 | videocore: Added RG8 texture support | Patrick Martin | 2 | -1/+8 | |
2015-08-16 | Shader: Use a POD struct for registers. | bunnei | 5 | -40/+43 | |
2015-08-16 | Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64. | bunnei | 2 | -7/+6 | |
2015-08-16 | Common: Cleanup CPU capability detection code. | bunnei | 1 | -5/+5 | |
2015-08-16 | Common: Move cpu_detect to x64 directory. | bunnei | 1 | -2/+1 | |
2015-08-16 | x64: Refactor to remove fake interfaces and general cleanups. | bunnei | 6 | -150/+26 | |
2015-08-16 | JIT: Support negative address offsets. | bunnei | 1 | -26/+25 | |
2015-08-16 | Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders. | bunnei | 10 | -3/+940 | |
- Config: Add an option for selecting to use shader JIT or interpreter. - Qt: Add a menu option for enabling/disabling the shader JIT. | |||||
2015-08-15 | Common: Added MurmurHash3 hash function for general-purpose use. | bunnei | 1 | -1/+1 | |
2015-08-15 | Shader: Define a common interface for running vertex shader programs. | bunnei | 7 | -186/+289 | |
2015-08-15 | Shader: Move shader code to its own subdirectory, "shader". | bunnei | 9 | -12/+12 | |
2015-08-15 | GPU: Refactor "VertexShader" namespace to "Shader". | bunnei | 13 | -50/+48 | |
- Also renames "vertex_shader.*" to "shader_interpreter.*" | |||||
2015-08-11 | ARM Core, Video Core, CitraQt, Citrace: Use CommonTypes types instead of the standard u?int*_t types. | Emmanuel Gil Peyrot | 1 | -1/+2 | |
2015-08-06 | OpenGL: Fix state tracking in situations with reused object handles | Yuri Kunde Schlesner | 4 | -0/+45 | |
If an OpenGL object is created, bound to a binding using the state tracker, and then destroyed, a newly created object can be assigned the same numeric handle by OpenGL. However, even though it is a new object, and thus needs to be bound to the binding again, the state tracker compared the current and previous handles and concluded that no change needed to be made, leading to failure to bind objects in certain cases. This manifested as broken text in VVVVVV, which this commit fixes along with similar texturing problems in other games. | |||||
2015-08-06 | OpenGL: Remove redundant texture.enable_2d field from OpenGLState | Yuri Kunde Schlesner | 4 | -26/+3 | |
All uses of this field where it's false can just set the texture id to 0 instead. | |||||
2015-08-05 | Videocore: Implement simple vertex caching | Yuri Kunde Schlesner | 1 | -62/+89 | |
This gives a ~2/3 reduction in the amount of vertices that need to be processed through the vertex loaders and the vertex shader, yielding a good speedup. | |||||
2015-07-28 | OpenGL: Add a profiler category measuring framebuffer readback | Yuri Kunde Schlesner | 1 | -0/+7 | |
2015-07-26 | citra-qt/debug_utils: Use lock_guard everywhere | Lectem | 1 | -6/+5 | |
unique_lock were being used as lock_guards. Also replaced manual lock/unlock by lock_guard for harmonization. | |||||
2015-07-26 | citra-qt/command list: Add mask column | Lectem | 3 | -25/+24 | |
2015-07-26 | OpenGL: Make OpenGL object resource wrappers fully inline | Yuri Kunde Schlesner | 3 | -143/+79 | |
The functions are so simple that having them separate only bloats the code and hinders optimization. | |||||
2015-07-26 | Videocore: Don't reinitialize register name map on every query | Yuri Kunde Schlesner | 2 | -65/+72 | |
This greatly speeds up the command list debug widget. | |||||
2015-07-26 | Videocore: Simplify variables in vertex shader interpreter | Yuri Kunde Schlesner | 1 | -24/+21 | |
Simplifies the code and gives a tiny speed-up. | |||||
2015-07-26 | Videocore: Replace std::stack in shader interpreter with static_vector | Yuri Kunde Schlesner | 1 | -6/+6 | |
Shaves off 1/3rd of the vertex shader time in Fire Emblem | |||||
2015-07-26 | VideoCore: #ifdef out some debugging routines | Yuri Kunde Schlesner | 5 | -13/+18 | |
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. | |||||
2015-07-25 | Address error that remained in last merge | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-07-23 | VideoCore: Fix values of unset components in input attribute arrays | Yuri Kunde Schlesner | 1 | -42/+38 | |
If an input attribute array had a field with less than 4 components, the remaining components were left unset if not specified by a default vertex attribute. If neither mechanism would set a component, it would assume a garbage value. It has been verified that the hardware behavior is to instead to set the missing components from the fixed default of (0 0 0 1). The default vertex attribute values aren't used at all if a vertex array is specified for that attribute. Fixes UI graphics on Fire Emblem: Awakening, a small texturing glitch when selecting a character in Cubic Ninja, as well as eliminating the unset-W hack which was required for Ocarina of Time to not have garbled triangles. This change has been tested against hardware. | |||||
2015-07-23 | VideoCore: Saturate vertex colors before interpolating | Yuri Kunde Schlesner | 1 | -0/+6 | |
During testing, it was discovered that hardware does not interpolate colors output by the vertex shader as-is. Rather, it drops the sign and saturates the value to 1.0. This is done before interpolation, such that (e.g.) interpolating outputs 1.5 and -0.5 is equivalent to as if the shader had output the values 1.0 and 0.5 instead, with the interpolated value never crossing 0.0. This change has been tested against hardware. | |||||
2015-07-23 | Qt/GPU Breakpoints: Added three more breakpoint types: | Subv | 2 | -4/+7 | |
* IncomingDisplayTransfer: Triggered just before a display transfer is performed. * GSPCommandProcessed: Triggered right after a GSP command is processed. * BufferSwapped: Triggered when the frames flip | |||||
2015-07-23 | Rasterizer/GL: Set the border color when binding a texture. | Subv | 1 | -2/+9 | |
2015-07-22 | GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls | Yuri Kunde Schlesner | 1 | -8/+5 | |
In OpenGL 3, texturing is always enabled, and this call is invalid. While it produced no effect in the rest of the execution, it wouldn't have the intended effect of disabling texturing for that unit. Instead bind a null texture to the unit. | |||||
2015-07-21 | GPU: Added registers for min and mag texture filters and implemented them in the hw renderer. | Subv | 4 | -3/+37 | |
2015-07-20 | Pica: Correct switched S/T texture wrapping registers | Yuri Kunde Schlesner | 1 | -2/+2 | |
This was found and hwtested by Lectem | |||||
2015-07-20 | Pica: Fix DP3 instruction, which wasn't assigning to the w component | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-07-19 | GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist. | Subv | 1 | -3/+7 | |
2015-07-19 | Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride. | Subv | 1 | -0/+1 | |
Also added its name to the texture viewer widget | |||||
2015-07-19 | Vertex Shader : Undo casting | zawata | 1 | -1/+1 | |
2015-07-19 | Video_Core : Type fixes | zawata | 2 | -2/+2 | |
2015-07-19 | Video_Core: Finally fix pesky warning | zawata | 1 | -1/+1 | |
2015-07-19 | Video_Core : Change Tabs to Spaces | zawata | 1 | -0/+15 | |
This really should be universalized, I keep getting errors creating commits because lines I've edited use tabs instead of spaces(and yes I did read the contributing guide and i know they are supposed to be spaces) | |||||
2015-07-19 | Video_Core : Fix Conversion Warnings | zawata | 3 | -18/+3 | |
2015-07-15 | Pica/Shader: Add geometry shader definitions. | Tony Wasserka | 5 | -149/+162 | |
2015-07-15 | Pica/CommandProcessor: Move default attribute setup to the proper position. | Tony Wasserka | 1 | -40/+40 | |
2015-07-15 | Pica/Clipper: Output proper number of triangles in debugging logs. | Tony Wasserka | 1 | -1/+1 | |
2015-07-14 | VideoCore: Implement the DOT3_RGB combiner | Lectem | 2 | -1/+13 | |
2015-07-13 | Pica: Implement stencil testing. | Tony Wasserka | 2 | -12/+173 | |
2015-07-13 | Clean up command_processor.cpp. | Tony Wasserka | 1 | -22/+27 | |
2015-07-13 | Add CiTrace recording support. | Tony Wasserka | 3 | -2/+63 | |
This is exposed in the GUI as a new "CiTrace Recording" widget. Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still). | |||||
2015-07-09 | Added GL_CLAMP_TO_BORDER support | Lectem | 3 | -13/+28 | |
2015-06-28 | Core: Cleanup hw includes. | Emmanuel Gil Peyrot | 5 | -4/+13 | |
2015-06-28 | Core, VideoCore: Replace or fix exit() calls. | Emmanuel Gil Peyrot | 1 | -6/+9 | |
2015-06-28 | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 3 | -5/+10 | |
2015-06-28 | Common: Cleanup emu_window includes. | Emmanuel Gil Peyrot | 3 | -10/+8 | |
2015-06-28 | Common: Cleanup key_map includes. | Emmanuel Gil Peyrot | 2 | -3/+9 | |
2015-06-27 | VideoCore: Fix floating point warning | zawata | 1 | -1/+1 | |
2015-06-16 | VideoCore: Log the GL driver’s vendor and renderer. | Emmanuel Gil Peyrot | 1 | -0/+2 | |
2015-06-14 | video_core: add extra braces around initializer | Yuri Kunde Schlesner | 1 | -3/+3 | |
Trivial change and fixes several warnings in the clang build. | |||||
2015-06-09 | Renderer formatting edits | tfarley | 2 | -26/+29 | |
2015-06-09 | Render-to-texture flush, interval math fix | tfarley | 1 | -1/+13 | |
2015-06-09 | Liberal texture unbind (clout menu) | tfarley | 2 | -4/+40 | |
2015-06-09 | Depth format fix (crush3d intro/black screens) | tfarley | 1 | -46/+46 | |
2015-06-09 | Implemented glColorMask | tfarley | 3 | -0/+24 | |
2015-05-31 | Pica: Use zero for the SecondaryFragmentColor source. | bunnei | 3 | -11/+21 | |
- This is a workaround until we support fragment lighting. | |||||
2015-05-31 | rasterizer: Remove unnecessary 'using' for BlendEquation. | bunnei | 1 | -2/+1 | |
2015-05-31 | Pica: Implement LogicOp function. | bunnei | 7 | -8/+135 | |
2015-05-31 | rasterizer: Implement AddSigned combiner function for alpha channel. | bunnei | 1 | -0/+7 | |
2015-05-31 | vertex_shader: Use address offset on src2 in inverted mode. | bunnei | 1 | -3/+3 | |
2015-05-31 | Pica: Implement command buffer execution registers. | bunnei | 2 | -44/+76 | |
2015-05-31 | vertex_shader: Implement SLT/SLTI instructions. | bunnei | 1 | -4/+10 | |
2015-05-31 | vertex_shader: Implement MIN instruction. | bunnei | 1 | -0/+9 | |
2015-05-30 | Move video_core/color.h to common/color.h | archshift | 5 | -218/+4 | |
2015-05-30 | Move video_core/math.h to common/vector_math.h | archshift | 7 | -648/+6 | |
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core. | |||||
2015-05-29 | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 11 | -25/+25 | |
2015-05-23 | gl_state: Remove unnecessary const specifier on Apply | Lioncash | 2 | -2/+2 | |
2015-05-23 | video_core/utils: Remove unused variables in GetMortonOffset | Lioncash | 1 | -3/+0 | |
2015-05-23 | Pica: Create 'State' structure and move state memory there. | bunnei | 12 | -428/+451 | |
2015-05-23 | gl_state: Fix a condition typo in Apply | Lioncash | 1 | -1/+1 | |
2015-05-23 | OpenGL renderer | tfarley | 21 | -44/+2196 | |
2015-05-17 | GPU/DefaultAttributes: Clear up a comment in command_processor | Subv | 1 | -2/+2 | |
2015-05-17 | GPU/DefaultAttributes: Let the attribute data from the loaders overwrite the default attributes, if set. | Subv | 1 | -21/+23 | |
closes #735 | |||||
2015-05-15 | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 4 | -5/+3 | |
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. | |||||
2015-05-14 | pica: Add the ULL specifier in IsDefaultAttribute | Lioncash | 1 | -1/+1 | |
This is necessary otherwise there are warnings about a 32-bit result being casted to a 64-bit value. | |||||
2015-05-12 | GPU: Add more fine grained profiling for vertex shader and rasterization | Yuri Kunde Schlesner | 2 | -0/+10 | |
2015-05-11 | Implement I4 texture format | archshift | 2 | -1/+12 | |
@neobrain, could you confirm that this is correct? It's been tested with various different games and fixes different textures, including in Animal Crossing, Kirby Triple Deluxe, and SMB3D. | |||||
2015-05-10 | rasterizer: Implemented combiner output scaling. | bunnei | 2 | -2/+16 | |
2015-05-10 | rasterizer: Implemented AddSigned combiner op. | bunnei | 1 | -0/+10 | |
2015-05-10 | rasterizer: Fixed a depth testing bug. | bunnei | 2 | -6/+19 | |
2015-05-10 | rasterizer: Implement combiner buffer input. | bunnei | 2 | -4/+53 | |
2015-05-10 | rasterizer: Return zero'd vectors on error conditions. | bunnei | 1 | -3/+3 | |
2015-05-10 | vertex_shader: Implement FLR instruction. | bunnei | 1 | -0/+9 | |
2015-05-10 | vertex_shader: Implement MADI instruction. | bunnei | 1 | -4/+7 | |
nihstro: Update submodule to latest upstream/master to support MADI instruction decoding. | |||||
2015-05-09 | Memory: Add GetPhysicalPointer helper function | Yuri Kunde Schlesner | 3 | -11/+11 | |
2015-05-09 | Memory: Support more regions in the VAddr-PAddr translation functions | Yuri Kunde Schlesner | 3 | -18/+7 | |
Also adds better documentation and removes the one-off reimplementation of the function in pica.h. | |||||
2015-05-09 | Memory: Re-organize and rename memory area address constants | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 6 | -3/+8 | |
2015-05-07 | GPU: Implemented default vertex shader attributes. | Subv | 4 | -68/+137 | |
Fixes some games crashing. | |||||
2015-04-29 | VideoCore: Remove a superfluous auto variable declaration in debug_utils. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2015-04-10 | Silence some -Wsign-compare warnings. | Rohit Nirmal | 1 | -2/+2 | |
2015-04-05 | Changed occurences of colour to color for consistency | Gareth Higgins | 2 | -4/+4 | |
2015-04-04 | Allow the user to set the background clear color during emulation | archshift | 1 | -1/+2 | |
The background color can be seen at the sides of the bottom screen or when the window is wider than normal. | |||||
2015-03-16 | VideoCore: Add static_cast around expressions where the compiler doesn’t deduce the right type. | Emmanuel Gil Peyrot | 2 | -4/+4 | |
2015-03-12 | Pica/VertexShader: Fix a bug caused due to incorrect assumptions of consecutive output register tables. | Tony Wasserka | 1 | -20/+24 | |
We now write create a temporary buffer for output registers and copy all of them to the actual output vertex structure after the shader has run. This is technically not necessary, but it's easier to vectorize in the future. | |||||
2015-03-10 | GPU: Added the stencil test structure to the Pica Regs struct. | Subv | 3 | -50/+65 | |
2015-03-10 | GPU: Implemented more depth buffer formats. | Subv | 3 | -9/+115 | |
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others | |||||
2015-03-09 | Added LCD registers, and implementation for color filling in OGL code. | archshift | 2 | -11/+48 | |
2015-03-09 | Pica/PrimitiveAssembly: Fix triangle strips and fans being generated with incorrect winding order. | Tony Wasserka | 1 | -6/+3 | |
2015-03-08 | Update nihstro submodule to the initial release version. | archshift | 1 | -37/+38 | |
Includes more opcodes to implement in the future. | |||||
2015-03-07 | Set framebuffer layout from EmuWindow. | bunnei | 3 | -43/+9 | |
2015-03-07 | GPU/Textures: Fixed ETC texture decoding. | Subv | 1 | -1/+1 | |
2015-03-04 | GPU: Added RGB565/RGB8 framebuffer support and various cleanups. | bunnei | 5 | -85/+155 | |
- Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger. | |||||
2015-03-02 | Add profiling infrastructure and widget | Yuri Kunde Schlesner | 2 | -0/+18 | |
2015-02-28 | Added RGBA5551 compatibility in the rasterizer | archshift | 3 | -2/+41 | |
This allows Virtual Console games to display properly. | |||||
2015-02-27 | GPU: Implemented bits 3 and 1 from the display transfer flags. | Subv | 3 | -54/+91 | |
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. | |||||
2015-02-26 | Video core: Fix A4 texture decoding | Yuri Kunde Schlesner | 1 | -2/+2 | |
It was trying to take the LSB from `coarse_x`, which would always be 0 and thus would always return the same texel from each byte. To add insult to the injury, the conditional was actually the wrong way around too. Fixes blocky text in OoT. | |||||
2015-02-26 | Video core: Fix pixelation/blockiness in textures. | Yuri Kunde Schlesner | 1 | -3/+3 | |
This was caused during morton decoding by me not masking the bits of each coordinate before merging them, so the bits from x could set bits in y if it was >255. | |||||
2015-02-25 | Rasterizer: Add support for RGBA4 framebuffer format. | bunnei | 1 | -0/+21 | |
2015-02-22 | Rasterize with the correct color component order. | bunnei | 1 | -11/+24 | |
- Fixes a regression with #594. | |||||
2015-02-21 | Pica/VertexShader: Fixed LOOP with more than one iteration. | Subv | 1 | -1/+4 | |
Previously it wouldn't jump back to the start of the loop code once it reached the end of the block. Fixes the texture problems in a lot of games. | |||||
2015-02-20 | Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.h | archshift | 1 | -11/+0 | |
2015-02-19 | Rasterizer: Fixed a warning in GetWrappedTexCoord. | Subv | 1 | -4/+4 | |
Redeclaring the variable inside the switch was causing weird behavior. | |||||
2015-02-18 | Pica/Rasterizer: Replace exit() calls with UNIMPLEMENTED(). | Tony Wasserka | 1 | -5/+5 | |
2015-02-18 | Pica/Rasterizer: Make some local lambdas static. | Tony Wasserka | 1 | -8/+8 | |
2015-02-18 | Pica/BlendUnit: Implement separate color/alpha blend equations. | Tony Wasserka | 2 | -65/+59 | |
2015-02-18 | Pica/TextureEnvironment: Add a note. | Tony Wasserka | 1 | -0/+4 | |
2015-02-18 | Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor. | Tony Wasserka | 2 | -0/+4 | |
Not really sure where the difference is, but some applications seem to use this 1:1 the same way... | |||||
2015-02-18 | Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic. | Tony Wasserka | 2 | -0/+28 | |
2015-02-18 | Pica/OutputMerger: Fix flipped framebuffers. | Tony Wasserka | 1 | -0/+10 | |
2015-02-18 | Pica/TextureUnit: Implement mirrored repeating texture wrapping. | Tony Wasserka | 2 | -3/+12 | |
2015-02-18 | Pica: Fix a bug in the register definitions, relating to texture wrapping. | Tony Wasserka | 2 | -2/+2 | |
2015-02-18 | Pica/OutputMerger: Implement color format checking. | Tony Wasserka | 2 | -4/+13 | |
2015-02-18 | Pica/Rasterizer: Rasterize actual pixel centers instead of pixel corners. | Tony Wasserka | 1 | -2/+3 | |
2015-02-18 | Pica/Rasterizer: Fix garbage pixels at triangle borders. | Tony Wasserka | 1 | -1/+3 | |
2015-02-18 | Pica/Rasterizer: Clean up and fix backface culling. | Tony Wasserka | 1 | -11/+27 | |
2015-02-18 | Pica: Cleanup clipping code and change screenspace z to range from -1..0. | Tony Wasserka | 2 | -53/+42 | |
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). | |||||
2015-02-18 | Pica/VertexShader: Implement the LOOP instruction. | Tony Wasserka | 1 | -14/+36 | |
2015-02-18 | Pica/CommandProcessor: Properly implement shader load destination offset registers. | Tony Wasserka | 2 | -20/+10 | |
2015-02-18 | Pica/CommandProcessor: Work around initialized vertex attributes some more. | Tony Wasserka | 1 | -2/+8 | |
2015-02-17 | core/video_core: Use in-place construction where possible | Lioncash | 2 | -4/+4 | |
2015-02-16 | VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument was Vec2<T> instead. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2015-02-15 | video_core: Implement the remaining framebuffer formats in the OpenGL renderer. | Emmanuel Gil Peyrot | 2 | -12/+67 | |
2015-02-12 | Build: Fixed some warnings | Subv | 2 | -3/+3 | |
2015-02-11 | Fix Min and Max blend equations | Darius Goad | 1 | -6/+8 | |
2015-02-11 | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 8 | -23/+18 | |
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. | |||||
2015-02-10 | Add more blend equations from 3dbrew | Darius Goad | 2 | -2/+49 | |
2015-02-05 | Rasterizer: Implement the other color and alpha modifiers. | bunnei | 2 | -58/+69 | |
2015-02-05 | VideoCore: Added same-component swizzlers to math utility functions. | bunnei | 1 | -16/+35 | |
2015-01-31 | Pica: Implement blend factors. | bunnei | 2 | -10/+67 | |
2015-01-28 | Pica: Implement color/alpha channel enable. | bunnei | 2 | -1/+12 | |
2015-01-27 | Rasterizer: Implemented alpha testing. | bunnei | 2 | -7/+52 | |
2015-01-26 | GPU: Implement the remaining depth testing functions. | bunnei | 2 | -3/+28 | |
2015-01-14 | GSP: Update framebuffer info on all interrupts | Yuri Kunde Schlesner | 1 | -3/+1 | |
Hardware testing determined that the GSP processes shared memory framebuffer update info even when no memory transfer or filling GX commands are used. They are now updated on every interrupt, which isn't confirmed correct but matches hardware behaviour more closely. This also reverts the hack introduced in #404. It made a few games behave better, but I believe it's incorrect and also breaks other games. | |||||
2015-01-13 | Pica/Rasterizer: Add ETC1 texture decompression support. | Tony Wasserka | 2 | -14/+142 | |
2015-01-13 | Pica/VertexShader: Implement JMPC/JMPU/CALLC/CALLU. | Tony Wasserka | 1 | -23/+52 | |
2015-01-13 | Pica/VertexShader: Implement the MAD instruction. | Tony Wasserka | 1 | -0/+69 | |
2015-01-08 | GSP: Toggle active framebuffer each frame | bunnei | 1 | -1/+4 | |
2014-12-31 | Pica/Rasterizer: Remove some redundant casts. | Tony Wasserka | 1 | -3/+3 | |
2014-12-31 | Pica/Rasterizer: Make orient2d a free function and rename it to SignedArea. | Tony Wasserka | 1 | -31/+38 | |
2014-12-31 | Pica: Cleanup color conversion. | Tony Wasserka | 2 | -18/+46 | |
2014-12-31 | VideoCore: Remove some unused functions. | Tony Wasserka | 1 | -26/+0 | |
2014-12-31 | Pica/Rasterizer: Fix a bug related to multitexturing and texture wrapping. | Tony Wasserka | 1 | -2/+2 | |
2014-12-31 | Pica/Rasterizer: Clean up long code lines. | Tony Wasserka | 1 | -4/+8 | |
2014-12-31 | Pica/VertexShader: Coding style fixes. | Tony Wasserka | 1 | -16/+8 | |
2014-12-31 | Pica/CommandProcessor: Cleanups. | Tony Wasserka | 1 | -3/+4 | |
2014-12-31 | Pica/CommandProcessor: Workaround games not setting the input position's w component. | Tony Wasserka | 1 | -0/+14 | |
2014-12-31 | Pica/Rasterizer: Implement backface culling. | Tony Wasserka | 2 | -10/+36 | |
2014-12-31 | Pica/Rasterizer: Textures seem to be laid out flipped vertically. | Tony Wasserka | 1 | -1/+1 | |
Not sure if this is a correct fix. Probably should instead change the decoding logic itself. | |||||
2014-12-31 | Pica/DebugUtils: Fix a bug in RGBA4 texture decoding. | Tony Wasserka | 1 | -2/+2 | |
2014-12-31 | Pica/Rasterizer: Implement alpha blending. | Tony Wasserka | 1 | -0/+84 | |
2014-12-31 | Pica/Rasterizer: Implement depth testing. | Tony Wasserka | 2 | -6/+34 | |
2014-12-31 | Pica/Rasterizer: Further enhance Tev support. | Tony Wasserka | 1 | -4/+19 | |
2014-12-31 | Pica: Add output merger definitions. | Tony Wasserka | 1 | -1/+56 | |
2014-12-31 | Pica: Fix A4, IA4 and IA8 texture formats. | Tony Wasserka | 1 | -13/+7 | |
Both IA4 and IA8 had their component order mixed up. Additionally, IA4 used the wrong number of nibbles per texel. A4 skipped every second texel. | |||||
2014-12-31 | Pica/CommandProcessor: Add support for integer uniforms. | Tony Wasserka | 4 | -1/+30 | |
2014-12-29 | Rasterizer: Pre-divide vertex attributes by W | Yuri Kunde Schlesner | 3 | -8/+32 | |
Execute the division-by-W for perspective-correct interpolation of values in the clipper, moving them out of the rasterization inner loop. | |||||
2014-12-29 | GPU: Bitwise texture swizzling | Yuri Kunde Schlesner | 1 | -27/+24 | |
Replace the loop-based texture address swizzling code by a bit-twiddling implementation, providing a very small speed up. Also simplify addressing code. | |||||
2014-12-29 | Rasterizer: Common sub-expression elimination | Yuri Kunde Schlesner | 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. | |||||
2014-12-29 | Clipper: Compact buffers on each clipping pass | Yuri Kunde Schlesner | 1 | -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-29 | Clipper: Avoid dynamic allocations | Yuri Kunde Schlesner | 1 | -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-29 | Vertex Shader: Zero OutputVertex to avoid denormals | Yuri Kunde Schlesner | 1 | -0/+4 | |
Unused OutputVertex attributes were being left un-initialized. The leftover garbage sometimes decoded as floating-point denormalized values, causing fallbacks to microcode and massive slowdowns in the rest of the rasterization pipeline even though the results were unused. By zeroing the structure we ensure these attributes only contain harmless zeros. | |||||
2014-12-29 | GPU: Implement frameskip and remove forced framebuffer swap hack. | bunnei | 1 | -0/+5 | |
2014-12-21 | Fix visual studio ambiguous symbol error | Apology11 | 1 | -4/+4 | |
2014-12-21 | More warning cleanups | Chin | 2 | -7/+7 | |
2014-12-21 | License change | purpasmart96 | 23 | -23/+23 | |
2014-12-20 | Pica/VertexShader: Promote a log message to critical status. | Tony Wasserka | 1 | -1/+1 | |
2014-12-20 | Pica/VertexShader: Small optimization. | Tony Wasserka | 1 | -7/+7 | |
2014-12-20 | Pica/VertexShader: Be robust against invalid inputs. | Tony Wasserka | 1 | -2/+9 | |
More specifically, this also fixes crashes by Citra trying to load a src2 register even if the current instruction does not use that. | |||||
2014-12-20 | Pica/VertexShader: Clarify a comment. | Tony Wasserka | 1 | -1/+3 | |
2014-12-20 | Pica/DebugUtils: Further cleanups to LookupTexture. | Tony Wasserka | 1 | -7/+7 | |
2014-12-20 | Pica/DebugUtils: Fix two warnings. | Tony Wasserka | 1 | -2/+2 | |
2014-12-20 | Pica/DebugUtils: Better document LookupTexture. | Tony Wasserka | 2 | -7/+16 | |
2014-12-20 | Pica/Rasterizer: Get rid of C-style casts. | Tony Wasserka | 1 | -4/+4 | |
2014-12-20 | Pica/DebugUtils: Make a number of variables static. | Tony Wasserka | 1 | -13/+13 | |
Makes for cleaner and faster code. | |||||
2014-12-20 | Pica/VertexShader: Cleanup flow control logic and implement CMP/IFU instructions. | Tony Wasserka | 1 | -50/+56 | |
2014-12-20 | Pica/VertexShader: Run instruction handlers according to the effective opcode. | Tony Wasserka | 1 | -1/+1 | |
This allows for proper emulation of the different CMP/LRP/MAD instructions. | |||||
2014-12-20 | Pica/VertexShader: Implement MAX instructions. | Tony Wasserka | 1 | -0/+9 | |
2014-12-20 | Pica: Add support for boolean uniforms. | Tony Wasserka | 4 | -2/+21 | |
2014-12-20 | Pica/VertexShader: Add support for MOVA, CMP and IFC. | Tony Wasserka | 2 | -7/+138 | |
2014-12-20 | Pica/VertexShader: Move code around a bit. | Tony Wasserka | 1 | -42/+58 | |
2014-12-20 | Pica/VertexShader: Some cleanups using std::array. | Tony Wasserka | 2 | -5/+19 | |
2014-12-20 | Pica/VertexShader: Support negating src2. | Tony Wasserka | 2 | -3/+9 | |
2014-12-20 | Pica/DebugUtils: Replace duplicated SHBIN structures in favor of nihstro's ones. | Tony Wasserka | 1 | -61/+8 | |
2014-12-20 | Pica/VertexShader: Remove (now) duplicated shader bytecode definitions in favor of nihstro's ones. | Tony Wasserka | 2 | -222/+30 | |
2014-12-20 | Pica/DebugUtils: Add an event triggered after loading a vertex. | Tony Wasserka | 2 | -0/+4 | |
2014-12-20 | Pica/PrimitiveAssembly: Implement triangle strips. | Tony Wasserka | 2 | -8/+16 | |
2014-12-20 | Pica/CommandProcessor: Add a safety check for invalid (?) GPU configurations. | Tony Wasserka | 1 | -0/+7 | |
2014-12-20 | Pica/CommandProcessor: Fix vertex decoding if multiple memory areas are accessed for different attributes. | Tony Wasserka | 1 | -7/+8 | |
2014-12-20 | Add support for a ridiculous number of texture formats. | Tony Wasserka | 2 | -7/+80 | |
2014-12-20 | Pica: Unify ugly address translation hacks. | Tony Wasserka | 5 | -16/+25 | |
2014-12-20 | Pica: Further improve Tev emulation. | Tony Wasserka | 3 | -12/+51 | |
2014-12-20 | Pica: Merge texture lookup logic for DebugUtils and Rasterizer. | Tony Wasserka | 3 | -55/+41 | |
This effectively adds support for a lot texture formats in the rasterizer. | |||||
2014-12-20 | Pica: Implement texture wrapping. | Tony Wasserka | 2 | -2/+31 | |
2014-12-20 | Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats. | Tony Wasserka | 2 | -3/+48 | |
2014-12-20 | Pica: Initial support for multitexturing. | Tony Wasserka | 3 | -24/+83 | |
2014-12-20 | Clean up some warnings | Chin | 1 | -2/+2 | |
2014-12-19 | Properly erase/remove an observer | chinhodado | 1 | -1/+1 | |
2014-12-13 | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 10 | -38/+50 | |
2014-12-12 | MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP. | bunnei | 1 | -2/+2 | |
- Linear simply indicates that the mapped physical address is always MappedVAddr+0x0C000000, thus this memory can be used for hardware devices' DMA (such as the GPU). | |||||
2014-12-10 | GSP: Trigger GPU interrupts at more accurate locations. | bunnei | 2 | -1/+15 | |
2014-12-10 | GPU: Fixed bug in command list size decoding. | bunnei | 1 | -1/+2 | |
2014-12-09 | Pica: Re-enable command names on MSVC. | Tony Wasserka | 1 | -5/+0 | |
The affected code is no longer limited by compiler support on that platform. | |||||
2014-12-09 | More coding style fixes. | Tony Wasserka | 1 | -6/+12 | |
2014-12-09 | Some code cleanup. | Tony Wasserka | 1 | -3/+1 | |
2014-12-09 | citra_qt: Add enhanced texture debugging widgets. | Tony Wasserka | 3 | -1/+30 | |
Double-clicking a texture parameter command in the pica command lists will spawn these as a new tab in the pica command list dock area. | |||||
2014-12-09 | citra-qt: Add texture viewer to Pica command list. | Tony Wasserka | 2 | -21/+45 | |
The texture viewer is enabled when selecting a write command to one of the texture config registers. | |||||
2014-12-09 | Pica/DebugUtils: Add breakpoint functionality. | Tony Wasserka | 3 | -0/+189 | |
2014-12-09 | Build fix for something which shouldn't have compiled successfully to begin with. | Tony Wasserka | 1 | -1/+1 | |
2014-12-07 | Integrate Boost into build system and perform a trivial cleanup in vertex_shader.cpp. | Tony Wasserka | 1 | -6/+10 | |
2014-12-03 | Change NULLs to nullptrs. | Rohit Nirmal | 2 | -7/+7 | |
2014-12-01 | Silence a few -Wsign-compare warnings. | Rohit Nirmal | 3 | -6/+6 | |
2014-11-30 | Fixed viewport error caused by rounding | vaguilar | 1 | -2/+2 | |
2014-11-19 | Remove tabs in all files except in skyeye imports and in generated GL code | Emmanuel Gil Peyrot | 4 | -14/+14 | |
2014-11-19 | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2 | -3/+3 | |
2014-11-18 | OpenGL Renderer: Cleanup viewport extent calculation. | Tony Wasserka | 2 | -44/+29 | |
2014-11-18 | Fixup EmuWindow interface and implementations thereof. | Tony Wasserka | 1 | -3/+3 | |
2014-11-18 | Viewport scaling and display density independence | Kevin Hartman | 2 | -1/+50 | |
The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly. | |||||
2014-11-16 | vertex_shader: Fix control reaches end of function warning | Lioncash | 1 | -1/+1 | |
2014-11-14 | Fix two format strings. | Lioncash | 1 | -2/+2 | |
2014-10-30 | Fix some warnings | Sean | 2 | -3/+3 | |
2014-10-29 | Renamed souce files of services to match port names | Gareth Poole | 1 | -1/+1 | |
2014-10-26 | Add `override` keyword through the code. | Yuri Kunde Schlesner | 1 | -4/+4 | |
This was automated using `clang-modernize`. | |||||
2014-10-21 | Only check OpenGL shader log if size is >1. | Yuri Kunde Schlesner | 1 | -9/+6 | |
This prevents a crash when the buffer size returned by the driver is 0, in which case no space is allocated to store even the NULL byte and glGetShaderInfoLog errors out. Thanks to @Relys for the bug report. | |||||
2014-10-12 | Rework OpenGL renderer. | Yuri Kunde Schlesner | 4 | -233/+193 | |
The OpenGL renderer has been revised, with the following changes: - Initialization and rendering have been refactored to reduce the number of redundant objects used. - Framebuffer rotation is now done directly, using texture mapping. - Vertex coordinates are now given in pixels, and the projection matrix isn't hardcoded anymore. | |||||
2014-10-12 | OpenGL renderer: Shuffle initialization code around and rename functions. | Yuri Kunde Schlesner | 2 | -25/+18 | |
2014-10-12 | Remove virtual inheritance from RendererOpenGL | Yuri Kunde Schlesner | 2 | -3/+3 | |
Also make destructor virtual so that instances are properly destructed. | |||||
2014-10-08 | Fix warnings in video_core | Lioncash | 7 | -23/+23 | |
2014-09-17 | Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2014-09-14 | Core: Fix warnings in gpu.cpp | Lioncash | 1 | -1/+1 | |
2014-09-12 | Added support for multiple input device types for KeyMap and connected Qt. | Kevin Hartman | 1 | -0/+1 | |
2014-09-09 | Moved common_types::Rect from common to Common namespace | archshift | 2 | -3/+3 | |
2014-09-07 | renderer_opengl.cpp: improved alignment for readability | archshift | 1 | -16/+16 | |
2014-09-07 | Dead code removal: video_core.cpp, load_symbol_map.cpp | archshift | 1 | -7/+0 | |
2014-09-07 | utils: cleaned up DumpTGA, removing redundancies | archshift | 2 | -21/+13 | |
2014-09-01 | Remove hand-crafted Visual Studio solution. | Yuri Kunde Schlesner | 2 | -217/+0 | |
2014-09-01 | CMake cleanup | Yuri Kunde Schlesner | 1 | -13/+26 | |
Several cleanups to the buildsystem: - Do better factoring of common libs between platforms. - Add support to building on Windows. - Remove Qt4 support. - Re-sort file lists and add missing headers. | |||||
2014-09-01 | Replace GLEW with a glLoadGen loader. | Yuri Kunde Schlesner | 10 | -13/+2819 | |
This should fix the GL loading errors that occur in some drivers due to the use of deprecated functions by GLEW. Side benefits are more accurate auto-completion (deprecated function and symbols don't exist) and faster pointer loading (less entrypoints to load). In addition it removes an external library depency, simplifying the build system a bit and eliminating one set of binary libraries for Windows. | |||||
2014-08-28 | Downgrade GLSL version to 1.50 (compatible with GL 3.2) | Yuri Kunde Schlesner | 3 | -10/+15 | |
2014-08-26 | VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size. | bunnei | 4 | -8/+15 | |
2014-08-26 | Rewrite of OpenGL renderer, including OS X support | Kevin Hartman | 8 | -211/+340 | |
Screen contents are now displayed using textured quads. This can be updated to expose an FBO once an OpenGL backend for when Pica rendering is being worked on. That FBO's texture can then be applied to the quads. Previously, FBO blitting was used in order to display screen contents, which did not work on OS X. The new textured quad approach is less of a compatibility risk. | |||||
2014-08-25 | Pica/Rasterizer: Clarify a TODO. | Tony Wasserka | 1 | -1/+3 | |
2014-08-25 | Pica/VertexShader: Fix a bug in the call stack handling. | Tony Wasserka | 1 | -2/+3 | |
2014-08-25 | Math: Warning fixes. | Tony Wasserka | 1 | -14/+23 | |
2014-08-25 | Pica: Consolidate the primitive assembly code in PrimitiveAssembly and GeometryDumper. | Tony Wasserka | 5 | -46/+74 | |
2014-08-25 | Pica/Rasterizer: Add texturing support. | Tony Wasserka | 3 | -18/+69 | |
2014-08-25 | Pica/DebugUtils: Add convenient tev setup printer. | Tony Wasserka | 3 | -0/+101 | |
2014-08-25 | Pica/Rasterizer: Add initial implementation of texture combiners. | Tony Wasserka | 2 | -2/+225 | |
2014-08-25 | Pica: Add support for dumping textures. | Tony Wasserka | 3 | -1/+177 | |
2014-08-25 | Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly. | Tony Wasserka | 3 | -98/+133 | |
- 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>). | |||||
2014-08-25 | Pica/VertexShader: Fix a bug in the bitfield definitions and add the "negate" field for swizzlers. | Tony Wasserka | 2 | -14/+92 | |
2014-08-25 | Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated. | Tony Wasserka | 4 | -63/+78 | |
2014-08-25 | Pica/CommandProcessor: Implement parameter masking. | Tony Wasserka | 2 | -6/+25 | |
2014-08-25 | Pica: Add debug utilities for dumping shaders. | Tony Wasserka | 4 | -1/+227 | |
2014-08-25 | Pica: Add debug utility functions for dumping geometry data. | Tony Wasserka | 6 | -4/+123 | |
2014-08-24 | Fix the threading for GL Context in Qt5. | Sacha | 1 | -1/+0 | |
Connect the emu_thread start/finish to a moveContext slot. | |||||
2014-08-13 | float24: Remove private default constructor | archshift | 1 | -2/+0 | |
Fixes building with clang. | |||||
2014-08-12 | Use glewExperimental on Linux in order to fix GLFW-mode | archshift | 1 | -3/+2 | |
2014-08-12 | Pica: Add basic rasterizer. | Tony Wasserka | 7 | -2/+260 | |
2014-08-12 | Pica: Add triangle clipper. | Tony Wasserka | 7 | -8/+230 | |
2014-08-12 | Pica: Add primitive assembly stage. | Tony Wasserka | 7 | -2/+95 | |
2014-08-12 | Pica: Add vertex shader implementation. | Tony Wasserka | 7 | -10/+722 | |
2014-08-12 | Pica: Implement vertex loading. | Tony Wasserka | 2 | -8/+102 | |
2014-08-12 | Pica: Add register definition for vertex loading and rendering. | Tony Wasserka | 1 | -33/+128 | |
2014-08-12 | Pica: Add command processor. | Tony Wasserka | 7 | -5/+107 | |
2014-08-12 | Pica: Add float24 structure. | Tony Wasserka | 1 | -0/+75 | |
24-bit floating points are used internally for calculations on the GPU, however the current code will still emulate that with 32-bit floating points. In the future we might want to accurately perform the calculations with correct bitness in the future, but for now we just wrap the calculations around this class. | |||||
2014-08-12 | Video core: Add utility class for vector operations. | Tony Wasserka | 4 | -1/+582 | |
I wrote most of this for ppsspp, so I hold full copyright over it. In addition to the original release in ppsspp, this provides functionality to easily extend e.g. two-dimensional vectors to three-dimensional vectors. | |||||
2014-08-12 | Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones. | Tony Wasserka | 2 | -8/+8 | |
This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible. This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though. | |||||
2014-08-12 | Remove the fancy RegisterSet class introduced in 4c2bff61e. | Tony Wasserka | 2 | -100/+146 | |
While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use. | |||||
2014-08-06 | GSP: Removed dumb GX prefixes to functions/structs in GSP namespace. | bunnei | 1 | -6/+6 | |
- Various other cleanups. | |||||
2014-07-23 | Use uniform formatting when printing hexadecimal numbers. | Tony Wasserka | 1 | -1/+1 | |
2014-07-23 | GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32. | Tony Wasserka | 1 | -3/+2 | |
Anonymous structs are not standard C++, hence don't use them. | |||||
2014-07-23 | RegisterSet: Simplify code by using structs for register definition instead of unions. | Tony Wasserka | 1 | -9/+9 | |
2014-07-23 | GPU: Make use of RegisterSet. | Tony Wasserka | 1 | -26/+28 | |
2014-07-23 | Renderer: Fix component order in bottom framebuffer. | Tony Wasserka | 2 | -5/+4 | |
2014-07-23 | Renderer: Respect the active_fb GPU register. | Tony Wasserka | 1 | -2/+9 | |
2014-07-23 | Renderer: Add a few TODOs. | Tony Wasserka | 1 | -3/+10 | |
2014-07-22 | GPU debugger: Don't keep track of debugging data if no debugger views are active. | Tony Wasserka | 1 | -0/+6 | |
2014-06-12 | GPU debugger: Const correctness and build fix. | Tony Wasserka | 1 | -3/+3 | |
2014-06-12 | Preprocessor: #if's out OSX-specific GL changes on other platforms | archshift | 1 | -0/+3 | |
2014-06-12 | Pica: Use some template magic to define register structures efficiently. | Tony Wasserka | 1 | -25/+102 | |
2014-06-12 | Further refine GPU command list debugging. | Tony Wasserka | 2 | -0/+17 | |
2014-06-12 | Refine command list debugging functionality and its qt interface. | Tony Wasserka | 2 | -8/+17 | |
2014-06-12 | citra-qt: Add command list view. | Tony Wasserka | 1 | -2/+2 | |
2014-06-12 | GPU debugger: Add functionality to inspect command lists. | Tony Wasserka | 1 | -1/+53 | |
2014-06-12 | video core: added PICA definitions file. | Tony Wasserka | 3 | -0/+37 | |
2014-06-12 | Rename LCD to GPU. | Tony Wasserka | 1 | -3/+3 | |
2014-06-12 | Add initial graphics debugger interface. | Tony Wasserka | 3 | -3/+102 | |
2014-05-20 | common_types: Changed BasicRect back to Rect, in the common namespace | archshift | 2 | -3/+3 | |
Only Rect is in the namespace for now; the rest of common should be added in the future | |||||
2014-05-20 | Improved clarity and whitespace | archshift | 2 | -3/+4 | |
Changed QGL version to 3,2 in order to be less restrictive, yet it should still change up to 4,1 on OSX on Qt5. | |||||
2014-05-20 | CMakeLists: rename HEADS, improved comments | archshift | 1 | -2/+2 | |
Changes for clarity of comments, removed redundant compiler flags. | |||||
2014-05-19 | Indent fixes | archshift | 1 | -31/+31 | |
2014-05-08 | Update FlipFramebuffer | Sethpaien | 1 | -7/+6 | |
Less calculations + fix | |||||
2014-05-01 | Fixed indents | archshift | 2 | -37/+35 | |
2014-05-01 | Reverse debugging changes | archshift | 1 | -2/+0 | |
2014-05-01 | Unintended change reversal | archshift | 1 | -36/+36 | |
2014-05-01 | TGA dumps work, courtesy of @bunnei | archshift | 2 | -36/+38 | |
2014-05-01 | OpenGL 3+ on OSX with GLFW | archshift | 1 | -0/+2 | |
2014-04-29 | IT'S ALIVE! | archshift | 1 | -1/+6 | |
2014-04-28 | Xcode complains that the class name is redundant. | archshift | 1 | -1/+1 | |
2014-04-28 | Rect to BasicRect | archshift | 2 | -3/+3 | |
Somewhere along the line an OSX header had already taken the name Rect. | |||||
2014-04-28 | removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class | bunnei | 2 | -4/+1 | |
2014-04-27 | fixed renderer to use correct framebuffer location | bunnei | 2 | -8/+7 | |
2014-04-22 | fixed GL context acquire (applies to Qt GUI only) | bunnei | 1 | -0/+2 | |
2014-04-18 | renamed hw_lcd module to just lcd | bunnei | 1 | -1/+1 | |
2014-04-17 | fixed framebuffer color order | bunnei | 1 | -1/+1 | |
2014-04-17 | removed hard-coded framebuffer addresses from renderer_opengl.cpp | bunnei | 1 | -2/+4 | |
2014-04-11 | cleaned up some logging messages | bunnei | 1 | -1/+2 | |
2014-04-10 | fixed a bunch of errors in CMakeLists | bunnei | 1 | -3/+3 | |
2014-04-10 | updated CMakeLists | bunnei | 1 | -16/+2 | |
2014-04-09 | fixed project includes to use new directory structure | bunnei | 9 | -38/+39 | |
2014-04-09 | got rid of 'src' folders in each sub-project | bunnei | 7 | -0/+0 | |
2014-04-09 | fixed license header in video_core | bunnei | 7 | -182/+23 | |
2014-04-09 | - removed lots of unused code from gekko | bunnei | 3 | -367/+110 | |
- updated code style/naming conventions | |||||
2014-04-07 | added support for renderering the external framebuffers | bunnei | 2 | -20/+147 | |
2014-04-07 | added external framebuffer GL handles | bunnei | 1 | -2/+11 | |
2014-04-06 | added initial renderer code | bunnei | 7 | -19/+534 | |
2014-04-05 | added video_core project to solution | bunnei | 8 | -0/+567 | |