summaryrefslogtreecommitdiffstats
path: root/src/video_core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gl_rasterizer/lighting: more accurate CP formulawwylele2017-08-221-2/+2
|
* SwRasterizer/Lighting: implement LUT input CPwwylele2017-08-221-0/+11
|
* SwRasterizer/Lighting: implement bump mappingwwylele2017-08-223-8/+27
|
* Merge pull request #2872 from wwylele/sw-geo-factorYuri Kunde Schlesner2017-08-211-4/+16
|\ | | | | SwRasterizer/Lighting: implement geometric factor
| * SwRasterizer/Lighting: implement geometric factorwwylele2017-08-111-4/+16
| |
* | Merge pull request #2871 from wwylele/sw-spotlightJames Rowe2017-08-201-3/+19
|\ \ | | | | | | SwRasterizer/Lighting: implement spot light
| * | SwRasterizer/Lighting: implement spot lightwwylele2017-08-111-3/+19
| |/
* / gl_shader_gen: don't call SampleTexture when bump map is not usedwwylele2017-08-111-4/+5
|/
* SwRasterizer/Lighting: use make_tuple instead of constructorwwylele2017-08-101-1/+1
| | | | implicit tuple constructor is a c++17 thing, which is not supported by some not-so-old libraries. Play safe for now
* Merge pull request #2822 from wwylele/sw_lighting-2Weiyi Wang2017-08-096-5/+307
|\ | | | | Implement fragment lighting in the sw renderer (take 2)
| * SwRasterizer/Lighting: shorten file namewwylele2017-08-034-4/+4
| |
| * SwRasterizer/Lighting: move to its own filewwylele2017-08-024-240/+271
| |
| * SwRasterizer/Lighting: reduce confusionwwylele2017-08-021-1/+1
| |
| * SwRasterizer/Lighting: move quaternion normalization to the callerwwylele2017-08-021-3/+3
| |
| * SwRasterizer/Lighting: dist atten lut input need to be clampwwylele2017-07-111-1/+1
| |
| * SwRasterizer/Lighting: unify float suffixwwylele2017-07-111-11/+13
| |
| * SwRasterizer/Lighting: get rid of nested returnwwylele2017-07-111-10/+11
| |
| * SwRasterizer/Lighting: refactor GetLutValue into a function.wwylele2017-07-111-83/+27
| | | | | | | | merging similar pattern. Also makes the code more similar to the gl one
| * SwRasterizer: only interpolate quat and view when lighting is enabledwwylele2017-07-111-14/+14
| |
| * SwRasterizer/Lighting: pass lighting state as parameterwwylele2017-07-111-13/+13
| |
| * SwRasterizer/Lighting: Move the clamp highlight calculation to the end of the per-light loop body.Subv2017-07-111-17/+17
| |
| * SwRasterizer/Lighting: Move the lighting enable check outside the ComputeFragmentsColors function.Subv2017-07-111-7/+6
| |
| * SwRasterizer/Lighting: Do not use global registers state in ComputeFragmentsColors.Subv2017-07-111-3/+3
| |
| * SwRasterizer/Lighting: Do not use global state in LookupLightingLut.Subv2017-07-112-13/+22
| |
| * SwRasterizer/Lighting: Fixed a bug where the distance attenuation bias was being set to the dist atten scale.Subv2017-07-111-3/+2
| |
| * SwRasterizer: Fixed a few conversion warnings and moved per-light values into the per-light loop.Subv2017-07-111-5/+6
| |
| * SwRasterizer: Run clang-formatSubv2017-07-111-45/+83
| |
| * SwRasterizer: Flip the vertex quaternions before clipping (if necessary).Subv2017-07-112-20/+15
| |
| * SwRasterizer: Corrected the light LUT lookups.Subv2017-07-111-6/+7
| |
| * SwRasterizer: Corrected the light LUT lookups.Subv2017-07-111-33/+43
| |
| * SwRasterizer: Fixed the lighting lut lookup function.Subv2017-07-111-2/+4
| |
| * SwRasterizer: Calculate fresnel for fragment lighting.Subv2017-07-111-1/+25
| |
| * SwRasterizer: Calculate specular_1 for fragment lighting.Subv2017-07-111-3/+59
| |
| * SwRasterizer: Calculate specular_0 for fragment lighting.Subv2017-07-111-13/+94
| |
| * SwRasterizer: Implement primary fragment color.Subv2017-07-111-4/+113
| |
* | pica: upload shared shader code to both unitwwylele2017-08-072-26/+45
| |
* | pica/shader_interpreter: fix off-by-one in LOOPwwylele2017-07-271-1/+1
| |
* | Merge pull request #2816 from wwylele/proctex-lutlutlutSebastian Valle2017-07-235-70/+80
|\ \ | | | | | | gl_rasterizer: use texture buffer for proctex LUT
| * | gl_rasterizer: use texture buffer for proctex LUTwwylele2017-07-015-70/+80
| |/
* | Merge pull request #2834 from wwylele/depth-enable-fixSebastian Valle2017-07-231-4/+5
|\ \ | | | | | | gl_rasterizer_cache: fix using_depth_fb
| * | gl_rasterizer_cache: depth write is disabled if allow_depth_stencil_write is falsewwylele2017-06-101-4/+5
| | |
* | | telemetry: Log performance, configuration, and system data.bunnei2017-07-182-6/+16
| |/ |/|
* | gl_rasterizer: use texture buffer for fog LUTwwylele2017-06-227-29/+32
| |
* | gl_rasterizer: create the texture before applying the statewwylele2017-06-221-2/+2
| | | | | | | | this is a rebasing error from #2792. It doesn't affect much though, because the later more Apply() call fixes/hides it
* | gl_state: reset 1d textureswwylele2017-06-211-0/+14
| |
* | gl_rasterizer: fix glGetUniformLocation typewwylele2017-06-211-8/+8
| |
* | gl_rasterizer: manage texture ids in one placewwylele2017-06-213-31/+55
| |
* | gl_rasterizer/lighting: fix LUT interpolationwwylele2017-06-217-116/+102
| |
* | Merge pull request #2776 from wwylele/geo-factorYuri Kunde Schlesner2017-06-183-7/+26
|\ \ | | | | | | Fragment lighting: implement geometric factor
| * | gl_rasterizer/lighting: use the formula from the paper for germetic factorwwylele2017-06-181-8/+8
| | |
| * | gl_rasterizer/lighting: implement geometric factorwwylele2017-06-153-1/+20
| | |
* | | Stop using reserved operator names (and/or/xor) with XbyakYuri Kunde Schlesner2017-06-171-13/+13
|/ / | | | | | | Also has the Dynarmic upgrade with the same change
* | Merge pull request #2762 from wwylele/light-cp-tangentYuri Kunde Schlesner2017-06-152-10/+38
|\ \ | | | | | | Fragment lighting: implement lut input 5 (CP) and tangent mapping
| * | gl_rasterizer/lighting: Implement tangent mappingwwylele2017-06-111-7/+12
| | |
| * | gl_rasterizer/lighting: implement lut input 5 (CP)wwylele2017-06-112-3/+26
| | |
* | | Merge pull request #2743 from wwylele/wrap-fixYuri Kunde Schlesner2017-06-144-12/+48
|\ \ \ | | | | | | | | pica/rasterizer: implement/stub texture wrap mode 4-7
| * | | pica/rasterizer: implement/stub texture wrap mode 4-7wwylele2017-06-044-12/+48
| | | |
* | | | Merge pull request #2767 from yuriks/quaternion-flip-commentYuri Kunde Schlesner2017-06-131-8/+11
|\ \ \ \ | |_|/ / |/| | | OpenGL: Update comment on AreQuaternionsOpposite with new information
| * | | OpenGL: Update comment on AreQuaternionsOpposite with new informationYuri Kunde Schlesner2017-06-101-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.
* | | Merge pull request #2727 from wwylele/spot-lightSebastian Valle2017-06-115-28/+128
|\ \ \ | |/ / |/| | Fragment lighting: implement spot light
| * | gl_rasterizer: implement spot lightwwylele2017-05-301-6/+24
| | |
| * | gl_rasterizer: sync spot light statuswwylele2017-05-304-2/+61
| | |
| * | pica: prepare registers for spotlightwwylele2017-05-301-20/+43
| | |
* | | Merge pull request #2721 from wwylele/texture-cubebunnei2017-05-302-3/+77
|\ \ \ | |_|/ |/| | swrasterizer: implemented TextureCube
| * | swrasterizer: implement TextureCubewwylele2017-05-291-2/+51
| | |
| * | pica: add registers for texture cubewwylele2017-05-291-1/+26
| | |
* | | Merge pull request #2734 from yuriks/cmake-imported-libsYuri Kunde Schlesner2017-05-301-4/+3
|\ \ \ | | | | | | | | CMake: Use CMake target properties for all libraries
| * | | CMake: Create INTERFACE targets for microprofile and nihstroYuri Kunde Schlesner2017-05-281-1/+1
| | | |
| * | | CMake: Use IMPORTED target for libpngYuri Kunde Schlesner2017-05-281-3/+2
| | | |
* | | | Merge pull request #2729 from yuriks/quaternion-fixYuri Kunde Schlesner2017-05-281-3/+5
|\ \ \ \ | |/ / / |/| | | OpenGL: Improve accuracy of quaternion interpolation
| * | | OpenGL: Improve accuracy of quaternion interpolationYuri Kunde Schlesner2017-05-271-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.
* | | CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner2017-05-281-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.
* | | Move screen size constants from video_core to coreYuri Kunde Schlesner2017-05-282-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.
* | | OpenGL: Remove unused RendererOpenGL fieldsYuri Kunde Schlesner2017-05-282-11/+2
| |/ |/|
* | gl_shader: refactor texture sampler into its own functionwwylele2017-05-271-40/+39
|/
* Merge pull request #2697 from wwylele/proctexYuri Kunde Schlesner2017-05-2514-11/+1038
|\ | | | | Implemented Procedural Texture (Texture Unit 3)
| * gl_rasterizer: implement procedural texturewwylele2017-05-206-7/+600
| |
| * pica/swrasterizer: implement procedural texturewwylele2017-05-208-4/+438
| |
* | swrasterizer: add missing tc0_w and fragment lighting attribute processingwwylele2017-05-212-5/+8
| |
* | pica: use correct register value for shader bool_uniformswwylele2017-05-171-2/+2
| | | | | | | | variable value is not masked. the masked and combined register value should be used instead
* | Merge pull request #2703 from wwylele/pica-reg-reviseYuri Kunde Schlesner2017-05-164-17/+25
|\ \ | | | | | | pica: correct bit field length for some registers
| * | pica: correct bit field length for some registerswwylele2017-05-164-17/+25
| |/
* | Pica: Write GS registersJannik Vogel2017-05-121-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.
* | Pica: Write shader registers in functionsJannik Vogel2017-05-121-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.
* | Pica: Set program code / swizzle data limit to 4096Jannik Vogel2017-05-115-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]).
* pica: shader_dirty if texture2 coord changedwwylele2017-05-055-7/+12
|
* pica: use correct coordinates for texture 2wwylele2017-05-034-5/+22
|
* Merge pull request #2671 from wwylele/dot3-rgbabunnei2017-04-214-22/+39
|\ | | | | rasterizer: implement combiner operation 7 (Dot3_RGBA)
| * gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardwarewwylele2017-04-201-2/+0
| |
| * rasterizer: implement combiner operation 7 (Dot3_RGBA)wwylele2017-04-194-20/+39
| |
* | OpenGL: Pass Pica regs via parameterYuri Kunde Schlesner2017-04-173-7/+5
| |
* | OpenGL: Move PicaShaderConfig to gl_shader_gen.hYuri Kunde Schlesner2017-04-174-202/+206
| | | | | | | | Also move the implementation of CurrentConfig to the cpp file.
* | OpenGL: Move Attributes enum to a more appropriate fileYuri Kunde Schlesner2017-04-173-12/+11
|/
* Pica/Regs: Correct bit width for blend-equationsJannik Vogel2017-04-081-2/+2
|
* Input: remove unused stuff & clean upwwylele2017-03-011-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
* Doxygen: Amend minor issues (#2593)Mat M2017-02-273-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.
* Core: Re-write frame limiterYuri Kunde Schlesner2017-02-271-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.
* Core: Make PerfStats internally lockedYuri Kunde Schlesner2017-02-271-8/+2
| | | | More ergonomic to use and will be required for upcoming changes.
* Remove built-in (non-Microprofile) profilerYuri Kunde Schlesner2017-02-271-8/+0
|
* Add performance statistics to status barYuri Kunde Schlesner2017-02-271-0/+9
|
* OpenGL: Check if uniform block exists before updating it (#2581)Jannik Vogel2017-02-181-29/+30
|
* video_core: remove #pragma once in cpp file (#2570)Weiyi Wang2017-02-152-4/+0
|
* SWRasterizer: Move more framebuffer functions to fileYuri Kunde Schlesner2017-02-133-100/+105
|
* SWRasterizer: Move texturing functions to their own fileYuri Kunde Schlesner2017-02-134-210/+259
|
* SWRasterizer: Convert large no-capture lambdas to standalone functionsYuri Kunde Schlesner2017-02-131-315/+310
|
* SWRasterizer: Move framebuffer operation functions to their own fileYuri Kunde Schlesner2017-02-134-236/+285
|
* VideoCore: Move software rasterizer files to sub-directoryYuri Kunde Schlesner2017-02-138-12/+12
|
* video_core/shader: Document sanitized MUL operationYuri Kunde Schlesner2017-02-121-0/+8
|
* Merge pull request #2550 from yuriks/pica-refactor2Yuri Kunde Schlesner2017-02-1217-138/+130
|\ | | | | Small VideoCore cleanups
| * VideoCore: Split u64 Pica reg unions into 2 separate u32 unionsYuri Kunde Schlesner2017-02-091-36/+42
| | | | | | | | | | This eliminates UB when aliasing it with the array of u32 regs, and is compatible with non-LE architectures.
| * VideoCore: Force enum sizes to u32 in LightingRegsYuri Kunde Schlesner2017-02-091-4/+4
| | | | | | | | | | All enums that are used with BitField must have their type forced to u32 to ensure correctness.
| * OpenGL: Remove unused duplicate of IsPassThroughTevStageYuri Kunde Schlesner2017-02-091-12/+0
| | | | | | | | | | This copy was left behind when the shader generation code was moved to a separate file.
| * VideoCore: Split regs.h inclusionsYuri Kunde Schlesner2017-02-0913-24/+45
| |
| * Pica/Regs: Use binary search to look up reg namesYuri Kunde Schlesner2017-02-092-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.)
| * VideoCore: Use union to index into Regs structYuri Kunde Schlesner2017-02-092-46/+28
| | | | | | | | Also remove some unused members.
* | video_core: Fix benign out-of-bounds indexing of array (#2553)Yuri Kunde Schlesner2017-02-111-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
* Merge pull request #2482 from yuriks/pica-refactorYuri Kunde Schlesner2017-02-0933-2397/+2604
|\ | | | | Split up monolithic Regs struct
| * VideoCore: Move Regs to its own fileYuri Kunde Schlesner2017-02-0422-658/+679
| |
| * VideoCore: Split shader regs from Regs structYuri Kunde Schlesner2017-02-049-102/+116
| |
| * VideoCore: Split geometry pipeline regs from Regs structYuri Kunde Schlesner2017-02-049-264/+292
| |
| * VideoCore: Split lighting regs from Regs structYuri Kunde Schlesner2017-02-046-312/+341
| |
| * VideoCore: Split framebuffer regs from Regs structYuri Kunde Schlesner2017-02-0410-445/+491
| |
| * VideoCore: Split texturing regs from Regs structYuri Kunde Schlesner2017-02-0415-494/+532
| |
| * VideoCore: Split rasterizer regs from Regs structYuri Kunde Schlesner2017-02-0413-187/+218
| |
* | Use std::array<u8,2> instead of u8[2] to fix MSVC buildLectem2017-02-051-1/+1
|/
* Merge pull request #2476 from yuriks/shader-refactor3Yuri Kunde Schlesner2017-02-0416-161/+160
|\ | | | | Oh No! More shader changes!
| * VideoCore: Make PrimitiveAssembler const-correctYuri Kunde Schlesner2017-01-302-3/+4
| |
| * VideoCore: Extract swrast-specific data from OutputVertexYuri Kunde Schlesner2017-01-305-58/+64
| |
| * VideoCore/Shader: Clean up OutputVertex::FromAttributeBufferYuri Kunde Schlesner2017-01-302-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.
| * VideoCore: Split shader output writing from semantic loadingYuri Kunde Schlesner2017-01-303-24/+24
| |
| * VideoCore: Consistently use shader configuration to load attributesYuri Kunde Schlesner2017-01-306-44/+23
| |
| * VideoCore: Use correct register for immediate mode attribute countYuri Kunde Schlesner2017-01-302-7/+13
| |
| * VideoCore: Rename some types to more accurate namesYuri Kunde Schlesner2017-01-308-18/+18
| |
| * VideoCore: Change misleading register namesYuri Kunde Schlesner2017-01-304-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.
* | Pica/Texture: Move part of ETC1 decoding to new file and cleanupsYuri Kunde Schlesner2017-02-044-110/+159
| |
* | Pica/Texture: Simplify/cleanup texture tile addressingYuri Kunde Schlesner2017-02-044-37/+111
| |
* | VideoCore: Move LookupTexture out of debug_utils.hYuri Kunde Schlesner2017-02-047-301/+340
| |
* | ShaderJIT: add 16 dummy bytes at the bottom of the stackwwylele2017-02-031-2/+5
| |
* | Common/x64: remove legacy emitter and abi (#2504)Weiyi Wang2017-01-311-1/+0
| | | | | | These are not used any more since we moved shader JIT to xbyak.
* | shader_jit_x64_compiler: esi and edi should be persistent (#2500)Merry2017-01-311-0/+2
| |
* | video_core: gl_rasterizer_cache.cpp removed unused type aliasKloen2017-01-301-1/+0
| |
* | video_core: gl_rasterizer.cpp removed unused type aliasKloen2017-01-301-2/+0
|/
* video_core: silence unused-local-typedef boost related warning on GCCKloen2017-01-291-0/+7
|
* VideoCore/Shader: Move entry_point to SetupBatchYuri Kunde Schlesner2017-01-266-26/+27
|
* VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetupYuri Kunde Schlesner2017-01-266-44/+40
|
* Shader: Remove OutputRegisters structYuri Kunde Schlesner2017-01-264-22/+17
|
* Shader: Initialize conditional_code in interpreterYuri Kunde Schlesner2017-01-262-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.
* Shader: Don't read ShaderSetup from global stateYuri Kunde Schlesner2017-01-261-3/+3
|
* shader_jit_x64: Don't read program from global stateYuri Kunde Schlesner2017-01-263-22/+22
|
* VideoCore/Shader: Move ProduceDebugInfo to InterpreterEngineYuri Kunde Schlesner2017-01-264-19/+10
|
* VideoCore/Shader: Split interpreter and JIT into separate ShaderEnginesYuri Kunde Schlesner2017-01-268-97/+153
|
* VideoCore/Shader: Rename shader_jit_x64{ => _compiler}.{cpp,h}Yuri Kunde Schlesner2017-01-264-4/+4
|
* VideoCore/Shader: Split shader uniform state and shader engineYuri Kunde Schlesner2017-01-264-21/+54
| | | | | Currently there's only a single dummy implementation, which will be split in a following commit.
* VideoCore/Shader: Add constness to methodsYuri Kunde Schlesner2017-01-262-4/+4
|
* VideoCore/Shader: Use only entry_point as ShaderSetup paramYuri Kunde Schlesner2017-01-263-11/+13
| | | | | This removes all implicit dependency of ShaderState on global PICA state.
* VideoCore/Shader: Use self instead of g_state.vs in ShaderSetupYuri Kunde Schlesner2017-01-262-11/+8
|
* VideoCore/Shader: Extract input vertex loading code into functionYuri Kunde Schlesner2017-01-263-22/+26
|
* video_core: fix shader.cpp signed / unsigned warningKloen2017-01-231-2/+2
|
* video_core: gl_rasterizer float to int warningKloen2017-01-231-1/+2
|
* video_core: fix gl_rasterizer warning on MSVCKloen2017-01-231-1/+1
|
* config: Add option for specifying screen resolution scale factor.bunnei2017-01-073-5/+10
|
* Fix some warnings (#2399)Jonathan Hao2017-01-041-2/+0
|
* Merge pull request #2367 from JayFoxRox/lighting-lut-quickfixbunnei2016-12-291-10/+9
|\ | | | | Lighting LUT Quickfix
| * Minor cleanup in GLSL codeJannik Vogel2016-12-251-3/+2
| |
| * Offset lighting LUT samples correctlyJannik Vogel2016-12-251-7/+7
| |
* | core: Move emu_window and key_map into coreMerryMage2016-12-232-2/+2
|/ | | | * Removes circular dependences (common should not depend on core)
* Merge pull request #2319 from yuriks/profile-scopesbunnei2016-12-212-0/+15
|\ | | | | VideoCore: Make profiling scope more representative
| * VideoCore: Make profiling scope more representativeYuri Kunde Schlesner2016-12-152-0/+15
| |
* | Use GL_TRUE when setting color_maskAlbin Bernhardsson2016-12-191-4/+4
| |
* | Merge pull request #2318 from yuriks/trace-optbunnei2016-12-193-16/+15
|\ \ | | | | | | VideoCore: Inline IsPicaTracing
| * | VideoCore: Inline IsPicaTracingYuri Kunde Schlesner2016-12-153-16/+15
| |/ | | | | | | Speeds up ALBW main menu slightly (~3%)
* | VideoCore/Shader: Extract DebugData out from UnitStateYuri Kunde Schlesner2016-12-168-103/+99
| |
* | Remove unnecessary castYuri Kunde Schlesner2016-12-161-3/+1
| |
* | VideoCore/Shader: Extract evaluate_condition lambda to function scopeYuri Kunde Schlesner2016-12-161-26/+24
| |
* | VideoCore/Shader: Extract call lambda up a scope and remove unused paramYuri Kunde Schlesner2016-12-161-21/+17
| |
* | VideoCore/Shader: Remove dynamic control flow in (Get)UniformOffsetYuri Kunde Schlesner2016-12-162-18/+11
| |
* | VideoCore/Shader: Move DebugData to a separate fileYuri Kunde Schlesner2016-12-164-172/+189
| |
* | shader_jit_x64: Use LOOPCOUNT_REG as a 64-bit reg when indexingYuri Kunde Schlesner2016-12-151-1/+1
|/
* VideoCore: Eliminate an unnecessary copy in the drawcall loopYuri Kunde Schlesner2016-12-153-5/+3
|
* shader_jit_x64: Use Reg32 for LOOP* registers, eliminating castsYuri Kunde Schlesner2016-12-151-16/+16
|
* VideoCore: Convert x64 shader JIT to use Xbyak for assemblyYuri Kunde Schlesner2016-12-153-223/+228
|
* Add all services to the Service namespaceLioncash2016-12-112-6/+7
| | | | | Previously there was a split where some of the services were in the Service namespace and others were not.
* OpenGL: Drop framebuffer completeness check.Markus Wick2016-12-075-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
* Implement Frame rate limiter (#2223)emmauss2016-12-062-0/+2
| | | | | | * implement frame limiter * fixes
* ASSERT that shader was linked successfullyJannik Vogel2016-12-051-0/+2
|
* Report shader uniform block size in case of mismatchJannik Vogel2016-12-051-1/+3
|
* Print broken shader code to logJannik Vogel2016-12-051-3/+9
|
* OpenGL: Non-zero stride only makes sense for linear buffersYuri Kunde Schlesner2016-12-043-7/+11
|
* OpenGL: Ensure framebuffer binding is restored if completion check failsYuri Kunde Schlesner2016-12-041-10/+7
|
* OpenGL: Fix DisplayTransfer accel when input width != output widthYuri Kunde Schlesner2016-12-041-1/+10
| | | | Fixes #2246, #2261
* Merge pull request #2259 from JayFoxRox/fix-fallbackYuri Kunde Schlesner2016-12-041-1/+1
|\ | | | | shader_jit: Fix non-SSE4.1 path where FLR would not truncate
| * shader_jit: Fix non-SSE4.1 path where FLR would not truncateJannik Vogel2016-12-041-1/+1
| |
* | clang-format: Fix coding styleYuri Kunde Schlesner2016-12-031-1/+1
|/
* shader_jit: Load LOOPCOUNT_REG and LOOPINC 4 bit left-shiftedJannik Vogel2016-12-021-6/+9
|
* ClangFormat: Fixed the clang-format errorsSubv2016-11-302-6/+10
|
* Build: Fixed a few warnings.Subv2016-11-292-7/+7
|
* Merge pull request #2222 from linkmauve/die-frameskip-dieYuri Kunde Schlesner2016-11-281-4/+0
|\ | | | | Remove the broken frame_skip option
| * GPU: Remove the broken frame_skip option.Emmanuel Gil Peyrot2016-11-271-4/+0
| | | | | | | | Fixes #1960.
* | RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1Subv2016-11-272-4/+4
| |
* | Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.Subv2016-11-271-1/+1
|/
* Cache Vertices instead of Output registers (#2165)jphalimi2016-11-241-6/+7
| | | | This patch brings +3% performance improvement on average. It removes ToVertex() as an important hotspot of the emulator.
* Fix format error from #2195wwylele2016-11-221-1/+1
|
* Merge pull request #2195 from Subv/factor_checkbunnei2016-11-201-6/+5
|\ | | | | GPU/CiTrace: Avoid calling GetTextures() when not necessary.
| * GPU/CiTrace: Avoid calling GetTextures() when not necessary.Subv2016-11-201-6/+5
| |
* | Merge pull request #2194 from jroweboy/extremely-minor-clangformat-changeJames Rowe2016-11-191-1/+1
|\ \ | |/ |/| Minor formatting change
| * Minor formatting changeJames Rowe2016-11-191-1/+1
| |
* | Add default hotkey to swap primary screens.James Rowe2016-11-051-3/+2
| | | | | | | | Also minor style changes
* | Support additional screen layouts.James Rowe2016-11-051-6/+12
|/ | | | | Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
* Fix typosRicardo de Almeida Gonzaga2016-10-201-1/+1
|
* Merge pull request #2082 from yuriks/shader-interp-crashbunnei2016-10-072-35/+43
|\ | | | | Fix/mask crash in shader debugger in Mii Maker
| * VideoCore: Shader interpreter cleanupsYuri Kunde Schlesner2016-09-301-32/+42
| |
| * VideoCore: Fix out-of-bounds read in ShaderSetup::ProduceDebugInfoYuri Kunde Schlesner2016-09-301-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.
* | Merge pull request #2103 from wwylele/gpu-reg-cleanupbunnei2016-10-043-6/+12
|\ \ | |/ |/| GPU: DisplayTransfer & MemoryFill cleanup and param check
| * rasterizer: separate TextureCopy from DisplayTransferwwylele2016-09-293-6/+12
| |
* | OpenGL: Take cached viewport sub-rect into account for scissorYuri Kunde Schlesner2016-09-303-29/+25
|/ | | | Fixes #1938
* Remove special rules for Windows.h and library includesYuri Kunde Schlesner2016-09-211-1/+1
|
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-2118-18/+18
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-2135-105/+17
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-1923-125/+119
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-1842-2532/+2943
|
* VideoCore: Fix dangling lambda context in shader interpreterYuri Kunde Schlesner2016-09-161-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.
* Merge pull request #2032 from bunnei/qt-graphicsbunnei2016-09-011-0/+1
|\ | | | | Qt graphics configure & V-Sync option
| * config: Add a setting for graphics V-Sync.bunnei2016-08-301-0/+1
| |
* | OpenGL: Avoid error on unsupported lighting LUTJannik Vogel2016-08-301-0/+1
|/
* OpenGL: Add scaled resolution support to scissorYuri Kunde Schlesner2016-06-284-3/+16
|
* PICA: Scissor fixes and cleanupsYuri Kunde Schlesner2016-06-285-45/+39
|
* PICA: Implement scissor testSubv2016-06-285-3/+105
|
* Remove superfluous std::move in return std::move(local_var)scurest2016-06-251-1/+1
|
* OpenGL: Implement fogJannik Vogel2016-06-075-7/+124
|
* Rasterizer: Implement fogJannik Vogel2016-06-071-21/+52
|
* Pica: Add fog stateJannik Vogel2016-06-073-14/+69
|
* OpenGL: Avoid undefined behaviour for UNIFORM_BLOCK_DATA_SIZEJannik Vogel2016-06-072-6/+8
|
* gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueuemailwl2016-06-011-1/+1
|
* Merge pull request #1812 from JayFoxRox/refactor-shaderbunnei2016-06-014-64/+81
|\ | | | | Retrieve shader result from new OutputRegisters-type
| * Retrieve shader result from new OutputRegisters-typeJannik Vogel2016-05-164-64/+81
| |
* | Merge pull request #1846 from JayFoxRox/missing-dirty-lightingbunnei2016-05-264-43/+140
|\ \ | | | | | | OpenGL: Set shader_dirty on lighting changes
| * | OpenGL: Set shader_dirty on lighting changesJannik Vogel2016-05-231-0/+23
| | |
| * | Pica: Name LightSrc.config registerJannik Vogel2016-05-232-17/+15
| | |
| * | Pica: Name lighting.config0 and .config1 registersJannik Vogel2016-05-232-18/+18
| | |
| * | OpenGL: Use uniforms for dist_atten_bias and dist_atten_scaleJannik Vogel2016-05-233-8/+84
| | |
* | | Merge pull request #1733 from lioncash/vert_loaderbunnei2016-05-243-11/+23
|\ \ \ | |/ / |/| | VertexLoader: Minor changes
| * | vertex_loader: Correct forward declaration of InputVertexLioncash2016-05-091-1/+1
| | | | | | | | | | | | It's actually a struct, not a class.
| * | vertex_loader: Provide an assertion for ensuring the loader has been setupLioncash2016-05-092-0/+7
| | | | | | | | | | | | | | | Also adds an assert to ensure that Setup is not called more than once during a VertexLoader's lifetime.
| * | vertex_loader: Add constructors to facilitate immediate and two-step initializationLioncash2016-05-092-2/+6
| | |
| * | vertex_loader: initialize_num_total_attributes.Lioncash2016-05-091-1/+1
| | | | | | | | | | | | Keeps the public API sane.
| * | vertex_loader: Use std::array instead of raw C arraysLioncash2016-05-091-6/+7
| | |
| * | vertex_loader: Correct header orderingLioncash2016-05-091-1/+1
| | |
* | | Refactor Tev stage dumperJannik Vogel2016-05-212-115/+114
| | |
* | | Extend Tev stage dumperJannik Vogel2016-05-211-14/+38
| | |
* | | Merge pull request #1786 from JayFoxRox/blend-equationbunnei2016-05-174-0/+31
|\ \ \ | |_|/ |/| | OpenGL: Support blend equation
| * | OpenGL: Support blend equationJannik Vogel2016-05-124-0/+31
| | |
* | | Merge pull request #1787 from JayFoxRox/refactor-jitlinkmauve2016-05-166-32/+50
|\ \ \ | | | | | | | | Refactor JIT
| * | | Use new shader-jit signature for interpreterJannik Vogel2016-05-133-8/+8
| | | |
| * | | Refactor access to state in shader-jitJannik Vogel2016-05-134-24/+42
| | | |
* | | | OpenGL: Only update depth uniforms if the depth changedJannik Vogel2016-05-142-9/+22
| | | |
* | | | OpenGL: value-initialize variables which cause uninitialised access otherwiseJannik Vogel2016-05-141-2/+2
|/ / /
* | | Move program_counter and call_stack from UnitState to interpreterJannik Vogel2016-05-123-45/+42
| | |
* | | Move default_attributes into Pica stateJannik Vogel2016-05-124-4/+4
|/ /
* | Merge pull request #1690 from JayFoxRox/tex-type-3bunnei2016-05-127-38/+106
|\ \ | | | | | | Pica: Implement texture type 3 (Projection2D)
| * | OpenGL: Implement texture type 3Jannik Vogel2016-05-114-35/+67
| | |
| * | Rasterizer: Implement texture type 3Jannik Vogel2016-05-111-2/+27
| | |
| * | Pica: Add tc0.w to OutputVertexJannik Vogel2016-05-111-1/+2
| | |
| * | Pica: Add texture type to stateJannik Vogel2016-05-111-0/+10
| | |
* | | Turn ShaderSetup into structJannik Vogel2016-05-114-57/+58
|/ /
* | Merge pull request #1621 from JayFoxRox/w-bufferbunnei2016-05-116-14/+65
|\ \ | | | | | | Implement W-buffer and fix depth-mapping
| * | OpenGL: Implement W-Buffers and fix depth-mappingJannik Vogel2016-05-103-4/+23
| | |
| * | Pica: Implement W-Buffer in SW rasterizerJannik Vogel2016-05-104-11/+43
| | |
* | | gl_rasterizer: Fix compilation for debug buildsLioncash2016-05-101-1/+1
|/ /
* | Merge pull request #1704 from JayFoxRox/pod-configlinkmauve2016-05-103-122/+164
|\ \ | |/ |/| Pica: PicaShaderConfig is TC and cleared before use
| * Pica: Use a union for PicaShaderConfigJannik Vogel2016-05-033-125/+139
| |
| * Pica: Add TevStageConfigRaw to PicaShaderConfig (MSVC workaround)Jannik Vogel2016-05-032-2/+23
| |
| * Pica: Make PicaShaderConfig trivially_copyable and clear it before useJannik Vogel2016-05-031-21/+28
| |
* | fixup simple type conversions where possibleAlexander Laties2016-05-074-7/+8
| |
* | Frontends, VideoCore: Move glad initialisation to the frontendEmmanuel Gil Peyrot2016-05-061-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.
* | Pica: Rename VertexLoaded breakpoint to VertexShaderInvocationJannik Vogel2016-05-042-7/+5
|/
* OpenGL: Don't copy const_color (Reverts #1745)Jannik Vogel2016-05-031-2/+3
|
* Pica: Replace logic in shader.cpp with loopJannik Vogel2016-05-031-34/+4
|
* Merge pull request #1741 from linkmauve/iwyu-video_corebunnei2016-05-0134-79/+212
|\ | | | | Fix video_core includes (and dependencies) using include-what-you-use
| * VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2016-04-3034-79/+212
| |
* | OpenGL: Copy TevStageConfig using a loop. Fixes bug: const_color not copiedJannik Vogel2016-05-011-30/+11
| |
* | OpenGL: border_color was never set. Fixed. (#1740)Jannik Vogel2016-04-301-0/+1
|/
* Remove TGA dumperJannik Vogel2016-04-303-62/+0
|
* Merge pull request #1730 from hrydgard/vertex-loaderbunnei2016-04-296-121/+210
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove late accesses to attribute_config * Refactor: Extract VertexLoader from command_processor.cpp. Preparation for a similar concept to Dolphin or PPSSPP. These can be JIT-ed and cached. * Move "&" to their proper place, add missing includes and make some properly relative. * Don't keep base_address in the loader, it doesn't belong there (with it, the loader can't be cached). * Optimize the vertex loader, nearly doubling its speed. * Debugger fix * Move and rename the MemoryAccesses class to MemoryAccessTracker.
| * Move and rename the MemoryAccesses class to MemoryAccessTracker.Henrik Rydgard2016-04-294-32/+35
| |
| * Debugger fixHenrik Rydgard2016-04-281-2/+2
| |
| * Optimize the vertex loader, nearly doubling its speed.Henrik Rydgard2016-04-282-32/+54
| |
| * Don't keep base_address in the loader, it doesn't belong there (with it, the loader can't be cached).Henrik Rydgard2016-04-283-11/+10
| |
| * Move "&" to their proper place, add missing includes and make some properly relative.Henrik Rydgard2016-04-282-8/+11
| |
| * Refactor: Extract VertexLoader from command_processor.cpp.Henrik Rydgard2016-04-285-125/+185
| | | | | | | | Preparation for a similar concept to Dolphin or PPSSPP. These can be JIT-ed and cached.
| * Remove late accesses to attribute_configHenrik Rydgard2016-04-281-5/+7
| |
* | Common: Remove section measurement from profiler (#1731)Yuri Kunde Schlesner2016-04-294-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.
* | Merge pull request #1710 from hrydgard/optimize-event-breakpointsbunnei2016-04-262-7/+14
|\ \ | | | | | | Replace std::map with std::array for graphics event breakpoints
| * | Replace std::map with std::array for graphics event breakpoints, and allow the compiler to inline. Saves 1%+ in vertex heavy situations.Henrik Rydgard2016-04-242-7/+14
| |/
* | shader: Shader size is long uint, not uint.Sam Spilsbury2016-04-241-1/+1
| |
* | shader: Handle non-CALL opcodes with a breakSam Spilsbury2016-04-241-0/+2
| |
* | shader: Format string must be provided inline and not as a variableSam Spilsbury2016-04-241-1/+1
|/
* pica: Handle default lighting caseSam Spilsbury2016-04-231-1/+6
|
* HWRasterizer: reorder declarations to match defstfarley2016-04-221-9/+9
|
* HWRasterizer: sync specular uniform for new shaderstfarley2016-04-221-0/+2
|
* Merge pull request #1436 from tfarley/hw-tex-forwardingbunnei2016-04-2215-759/+1373
|\ | | | | Hardware Renderer Texture Forwarding
| * HWRasterizer: Texture forwardingtfarley2016-04-2113-759/+1371
| |
| * Config: Add scaled resolution optiontfarley2016-04-212-0/+2
| |
* | Merge pull request #1655 from JayFoxRox/hw-dot3bunnei2016-04-211-0/+3
|\ \ | |/ |/| OpenGL: Implement color combiner Operation::Dot3_RGB
| * OpenGL: Implement color combiner Operation::Dot3_RGBJannik Vogel2016-04-101-0/+3
| |
* | Merge pull request #1625 from JayFoxRox/sw-blend-funcbunnei2016-04-181-57/+42
|\ \ | | | | | | Rasterizer: Allow all blend factors for alpha blend-func
| * | Rasterizer: Allow all blend factors for alpha blend-funcJannik Vogel2016-04-171-57/+42
| | |
* | | debug_utils: use std::make_unique for initializing PicaTraceLioncash2016-04-151-1/+1
| | |
* | | Merge pull request #1665 from lioncash/filebunnei2016-04-141-1/+16
|\ \ \ | | | | | | | | IOFile: Minor API changes
| * | | file_util: Don't expose IOFile internals through the APILioncash2016-04-141-1/+16
| |/ /
* | | shader_jit_x64: Rename RuntimeAssert to Compile_Assert.bunnei2016-04-142-5/+5
| | |
* | | shader_jit_x64.cpp: Rename JitCompiler to JitShader.bunnei2016-04-143-92/+92
| | |
* | | shader_jit_x64: Free memory that's no longer needed after compilation.bunnei2016-04-141-0/+6
| | |
* | | shader_jit_x64: Use a sorted vector instead of a set for keeping track of return addresses.bunnei2016-04-142-5/+8
| | |
* | | shader_jit_x64: Use CALL/RET instead of JMP for subroutines.bunnei2016-04-141-17/+7
| | |
* | | shader_jit_x64: Separate initialization and code generation for readability.bunnei2016-04-141-9/+8
| | |
* | | shader_jit_x64: Get rid of unnecessary last_program_counter variable.bunnei2016-04-142-6/+2
| | |
* | | shader_jit_x64: Execute certain asserts at runtime.bunnei2016-04-142-5/+19
| | | | | | | | | | | | - This is because we compile the full shader code space, and therefore its common to compile malformed instructions.
* | | shader: Remove unused 'state' argument from 'Setup' function.bunnei2016-04-143-5/+4
| | |
* | | shader_jit_x64: Specify shader main offset at runtime.bunnei2016-04-143-10/+6
| | |
* | | shader_jit_x64: Allocate each program independently and persist for emu session.bunnei2016-04-143-38/+28
| | |
* | | shader_jit_x64: Rewrite flow control to support arbitrary CALL and JMP instructions.bunnei2016-04-142-35/+119
| | |
* | | shader_jit_x64: Fix strict memory aliasing issues.bunnei2016-04-141-1/+3
|/ /
* / Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY)Jannik Vogel2016-04-104-71/+0
|/
* OpenGL: Respect buffer-write allow registersJannik Vogel2016-04-081-6/+28
|
* OpenGL: Split buffer-write mask sync into seperate functionsJannik Vogel2016-04-082-8/+39
|
* Rasterizer: Respect buffer-write allow registersJannik Vogel2016-04-082-4/+16
|
* OpenGL: Keep stencil-test and framebuffer.depth_format in syncJannik Vogel2016-04-081-0/+1
|
* Merge pull request #1639 from linkmauve/fix-double-framebuffer-checkbunnei2016-04-081-4/+6
|\ | | | | OpenGL: Fix a double framebuffer completeness checks.
| * OpenGL: Fix a double framebuffer completeness checks.Emmanuel Gil Peyrot2016-04-031-4/+6
| |
* | Merge pull request #1643 from MerryMage/make_uniqueMathew Maidment2016-04-065-11/+7
|\ \ | |/ |/| Common: Remove Common::make_unique, use std::make_unique
| * Common: Remove Common::make_unique, use std::make_uniqueMerryMage2016-04-055-11/+7
| |
* | OpenGL: Check for framebuffer completenessJannik Vogel2016-04-031-0/+3
| |
* | Avoid warnings by casting to size_t for ARRAY_SIZE() comparisonsJannik Vogel2016-04-011-6/+6
| |
* | Pica: Improve accuracy of immediate-mode supportYuri Kunde Schlesner2016-03-245-29/+56
| | | | | | | | This partially fixes Etrian Odyssey IV.
* | OpenGL: Don't attempt to draw empty triangle batchesYuri Kunde Schlesner2016-03-241-0/+3
| | | | | | | | | | Our code did not handle this well, causing random crashes in some situations.
* | Merge pull request #1508 from JayFoxRox/vs-output-mapbunnei2016-03-222-7/+19
|\ \ | |/ |/| Respect vs output map
| * Respect vs output mapJannik Vogel2016-03-142-7/+19
| |
* | Merge pull request #1538 from lioncash/dotbunnei2016-03-201-5/+3
|\ \ | | | | | | shader_interpreter: use std::inner_product for the dot product
| * | shader_interpreter: use std::inner_product for the dot productLioncash2016-03-171-5/+3
| | | | | | | | | | | | Same thing, less code.
* | | Merge pull request #1535 from JayFoxRox/fix-alignbunnei2016-03-181-6/+6
|\ \ \ | | | | | | | | PICA: Alignment happens locally in vertex
| * | | PICA: Alignment happens locally in vertexJannik Vogel2016-03-171-6/+6
| | | |
* | | | video_core: Don't cast away constLioncash2016-03-173-18/+19
| |/ / |/| |
* | | core/video_core: Make NumIds functions constexprLioncash2016-03-171-1/+1
| | |
* | | core/video_core: Don't cast away const in subscript operatorsLioncash2016-03-171-3/+3
|/ / | | | | | | Not to say these subscript operators aren't totally ugly as is.
* | Merge pull request #1519 from JayFoxRox/vp-offset-fixbunnei2016-03-161-2/+2
|\ \ | | | | | | PICA: Fix viewport offset
| * | PICA: Fix viewport offsetJannik Vogel2016-03-141-2/+2
| |/
* | Merge pull request #1503 from bunnei/clear-jit-cachebunnei2016-03-163-7/+27
|\ \ | | | | | | Clear JIT cache
| * | shader_jit_x64: Clear cache after code space fills up.bunnei2016-03-123-2/+19
| | |
| * | shader_jit_x64: Make assert outputs more useful & cleanup formatting.bunnei2016-03-121-4/+7
| | |
| * | shader: Update log message to use proper log class.bunnei2016-03-121-1/+1
| | |
* | | PICA: Fix MAD/MADI encodingJannik Vogel2016-03-152-29/+33
| |/ |/|
* | PICA: Align vertex attributesJannik Vogel2016-03-131-1/+5
|/
* Merge pull request #1475 from lioncash/alignYuri Kunde Schlesner2016-03-101-4/+4
|\ | | | | Common: Get rid of alignment macros
| * Common: Get rid of alignment macrosLioncash2016-03-091-4/+4
| | | | | | | | | | The gl rasterizer already uses alignas, so we may as well move everything over.
* | Merge pull request #1474 from lioncash/rendererbunnei2016-03-093-15/+15
|\ \ | | | | | | renderer_base: Minor changes
| * | renderer_base: In-class initialize variablesLioncash2016-03-091-5/+2
| | |
| * | render_base: Clarify/normalize getter functionsLioncash2016-03-091-2/+2
| | |
| * | renderer_base: Don't directly expose the rasterizer unique_ptrLioncash2016-03-093-8/+11
| |/ | | | | | | | | There's no reason to allow direct access to the unique_ptr instance. Only its contained pointer.
* | Merge pull request #1344 from LittleWhite-tb/error-outputbunnei2016-03-095-8/+18
|\ \ | |/ |/| Output errors in GUI
| * Improve error report from Init() functionsLittleWhite2016-03-085-8/+18
| | | | | | | | Add error popup when citra initialization failed
* | Pica: Write depth value even when depth test is disabledYuri Kunde Schlesner2016-03-062-10/+12
|/ | | | This has been confirmed on hardware. Fixes Etrian Odyssey IV.
* Add immediate mode vertex submissionDwayne Slater2016-03-0317-60/+172
|
* Merge pull request #1424 from MerryMage/lut_initbunnei2016-02-261-0/+4
|\ | | | | renderer_opengl: Initalise fragment shader LUT textures
| * renderer_opengl: Initalise fragment shader LUT texturesMerryMage2016-02-261-0/+4
| |
* | Merge pull request #1395 from ds84182/padding-attributesbunnei2016-02-251-7/+17
|\ \ | |/ |/| Add support for padding vertex attributes
| * Fix out of bounds array access when loading a component >= 12Dwayne Slater2016-02-211-1/+4
| |
| * Add support for padding vertex attributesDwayne Slater2016-02-211-6/+13
| |
* | BitField: Make trivially copyable and remove assignment operatorMerryMage2016-02-122-6/+6
| |
* | pica: Cleanup lighting register definitions and documentation.bunnei2016-02-052-48/+51
| |
* | gl_rasterizer: Use alignas(16) instead of explicit padding.bunnei2016-02-051-13/+6
| |
* | renderer_opengl: Use GLvec3/GLvec4 aliases for commonly used types.bunnei2016-02-054-14/+18
| |
* | gl_rasterizer: Fix issue with interpolation of opposite quaternions.bunnei2016-02-052-4/+32
| |
* | pica_types: Fix typo in docstring.bunnei2016-02-051-1/+1
| |
* | pica_types: Replace float24/20/16 with a template class.bunnei2016-02-055-116/+82
| |
* | command_processor: Add an assertion to ensure LUTs are not written past their boundaries.bunnei2016-02-051-0/+3
| |
* | gl_rasterizer: Remove unnecessary casts.bunnei2016-02-051-6/+6
| |
* | gl_rasterizer: Fix PicaShaderConfig on GCC.bunnei2016-02-051-29/+27
| |
* | gl_rasterizer: Initial implementation of bump mapping.bunnei2016-02-053-5/+42
| |
* | gl_shader_gen: Fix bug in LUT range (should within range [0, 255] not [0, 256]).bunnei2016-02-051-3/+3
| |
* | gl_shader_gen: Implement lighting red, green, and blue reflection.bunnei2016-02-053-21/+77
| |
* | gl_shader_gen: View should be normalized.bunnei2016-02-051-2/+2
| |
* | gl_shader_gen: Implement fragment lighting fresnel effect.bunnei2016-02-053-9/+38
| |
* | gl_shader_gen: Implement fragment lighting specular 1 component.bunnei2016-02-053-11/+41
| |
* | gl_shader_gen: Add support for D0 LUT scaling.bunnei2016-02-053-3/+71
| |
* | gl_shader_gen: Refactor lighting config to match Pica register naming.bunnei2016-02-053-42/+50
| | | | | | | | - Also implement D0 LUT enable.
* | pica: Cleanup and add some comments to lighting registers.bunnei2016-02-052-19/+19
| |
* | gl_rasterizer: Minor naming refactor on Pica register naming.bunnei2016-02-052-20/+23
| |
* | gl_shader_gen: Reorganize and cleanup lighting code.bunnei2016-02-051-100/+107
| | | | | | | | - No functional difference.
* | gl_shader_gen: Fix directional lights.bunnei2016-02-051-1/+1
| |
* | gl_shader_gen: Fix bug with lighting where clamp highlights was only applied to last light.bunnei2016-02-051-6/+6
| |
* | gl_shader_gen: View vector needs to be normalized when computing half angle vector.bunnei2016-02-051-3/+4
| |
* | renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.bunnei2016-02-055-27/+64
| | | | | | | | | | - Gets us LUT interpolation for free. - Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs.
* | renderer_opengl: Initial implementation of basic specular lighting.bunnei2016-02-054-13/+165
| |
* | renderer_opengl: Implement HW fragment lighting distance attenuation.bunnei2016-02-052-17/+38
| |
* | renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.bunnei2016-02-054-16/+67
| |
* | renderer_opengl: Implement diffuse component of HW fragment lighting.bunnei2016-02-056-15/+270
| |
* | pica: Implement decoding of basic fragment lighting components.bunnei2016-02-055-15/+120
| | | | | | | | | | | | | | - Diffuse - Distance attenuation - float16/float20 types - Vertex Shader 'view' output
* | pica: Implement fragment lighting LUTs.bunnei2016-02-052-0/+34
| |
* | pica: Add decodings for distance attenuation and LUT registers.bunnei2016-02-051-1/+104
| |
* | pica: Add pica_types module and move float24 definition.bunnei2016-02-053-112/+127
|/
* hwrasterizer: Use proper cached fb addr/sizetfarley2016-02-032-42/+34
|
* OpenGL: Downgrade GL_DEBUG_SEVERITY_NOTIFICATION to Debug logging levelYuri Kunde Schlesner2016-02-031-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.
* Merge pull request #1367 from yuriks/jit-jmpbunnei2016-01-272-6/+6
|\ | | | | Shader JIT: Fix off-by-one error when compiling JMPs
| * Shader JIT: Fix off-by-one error when compiling JMPsYuri Kunde Schlesner2016-01-242-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.
* | Merge pull request #1369 from yuriks/jmpu-invertedbunnei2016-01-262-2/+5
|\ \ | | | | | | Shader: Implement "invert condition" feature of IFU instruction
| * | Shader: Implement "invert condition" feature of IFU instructionYuri Kunde Schlesner2016-01-252-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.
* / Debugger: Use 3dbrew names for GPU registersYuri Kunde Schlesner2016-01-251-57/+465
|/ | | | | This list was imported from the 3dbrew wiki page and is pretty much complete.
* Merge pull request #1334 from tfarley/hw-depth-modifiersbunnei2016-01-213-2/+24
|\ | | | | hwrasterizer: Use depth offset
| * hwrasterizer: Use depth offsettfarley2016-01-213-2/+24
| |
* | command_processor: Get rid of variable shadowingLioncash2016-01-171-2/+1
|/
* Merge pull request #1196 from linkmauve/khr_debugbunnei2016-01-131-0/+57
|\ | | | | Add optional GL_KHR_debug support
| * OpenGL: Log GL_KHR_debug messages we receiveEmmanuel Gil Peyrot2015-10-241-0/+57
| | | | | | | | | | This allows the driver to communicate errors, warnings and improvement suggestions about our usage of the API.
* | video_core: Make the renderer global a unique_ptrLioncash2015-12-302-6/+10
| |
* | swrasterizer: Add missing override specifierLioncash2015-12-301-1/+1
| |
* | VideoCore: Sync state after changing rasterizersYuri Kunde Schlesner2015-12-211-0/+1
| | | | | | | | | | This fixes various bugs that appear in the HW rasterizer after switching between it and the SW one during emulation.
* | Merge pull request #1267 from yuriks/flipped-framebufferYuri Kunde Schlesner2015-12-104-12/+17
|\ \ | | | | | | OpenGL: Flip framebuffers during transfer rather than when rendering
| * | OpenGL: Flip framebuffers during transfer rather than when renderingYuri Kunde Schlesner2015-12-052-12/+11
| | |
| * | OpenGL: Add support for glFrontFace in the state trackerYuri Kunde Schlesner2015-12-052-0/+6
| | |
* | | Merge pull request #1269 from Subv/triangle_fanbunnei2015-12-081-5/+4
|\ \ \ | | | | | | | | GPU/PrimitiveAssembler: Fixed drawing triangle fans.
| * | | GPU/PrimitiveAssembler: Fixed drawing triangle fans.Subv2015-12-061-5/+4
| |/ / | | | | | | | | | It was skipping the second vertex assignment and using uninitialized garbage when assembling the corresponding triangle.
* | | VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner2015-12-0813-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.
* | | VideoCore: Rename HWRasterizer methods to be less confusingYuri Kunde Schlesner2015-12-074-12/+12
| | |
* | | OpenGL: Rename cache functions to better match what they actually doYuri Kunde Schlesner2015-12-073-12/+11
|/ /
* | PICA: Properly emulate 1-stage delay in the combiner bufferYuri Kunde Schlesner2015-12-012-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.
* | renderer_opengl: Fix uniform issues introduced with kemenaran/avoid-explicit-uniform-location.bunnei2015-11-262-6/+8
| |
* | Use regular uniform locationPierre de La Morinerie2015-11-253-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).
* | FragShader: Use an UBO instead of several individual uniformsSubv2015-11-196-13/+67
| |
* | GPU/Loaders: Log an error when a loader tries to load from a component beyond the available ones (12).Subv2015-11-101-0/+2
| | | | | | | | Related to #1170
* | gl_shader_gen: Use explicit locations for vertex shader attributes.bunnei2015-10-222-15/+9
| |
* | gl_shader_gen: Optimize code for AppendAlphaTestCondition.bunnei2015-10-221-16/+11
| | | | | | | | - Also add a comment to AppendColorCombiner.
* | gl_rasterizer: Define enum types for each vertex texcoord attribute.bunnei2015-10-223-12/+14
| |
* | gl_shader_gen: Various cleanups to shader generation.bunnei2015-10-223-48/+52
| |
* | gl_rasterizer: Use MMH3 hash for shader cache hey.bunnei2015-10-224-83/+63
| | | | | | | | - Includes a check to confirm no hash collisions.
* | gl_shader_gen: Require explicit uniform locations.bunnei2015-10-223-56/+34
| | | | | | | | - Fixes uniform issue on AMD.
* | gl_shader_gen: Rename 'o' to 'attr' in vertex/fragment shaders.bunnei2015-10-221-11/+11
| |
* | gl_shader_gen: AppendAlphaModifier default should be 0.0, not vec4(0.0).bunnei2015-10-221-1/+1
| |
* | gl_shader_gen: Fix bug where TEV stage outputs should be clamped.bunnei2015-10-221-3/+3
| |
* | gl_rasterizer: Add documentation to ShaderCacheKey.bunnei2015-10-221-0/+16
| |
* | gl_shader_gen: Add additional function documentation.bunnei2015-10-222-0/+18
| |
* | gl_shader_util: Cleanup header file + add docstring.bunnei2015-10-221-1/+7
| |
* | gl_shader_gen: Various cleanups + moved TEV stage generation to its own function.bunnei2015-10-221-161/+170
| |
* | renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.bunnei2015-10-2210-788/+509
| |
* | gl_rasterizer: Move logic for creating ShaderCacheKey to a static function.bunnei2015-10-223-22/+50
| |
* | gl_shader_util: Use vec3 constants for AppendColorCombiner.bunnei2015-10-221-6/+6
| |
* | gl_rasterizer: Fix typo in uploading TEV const color uniforms.bunnei2015-10-221-5/+5
| |
* | gl_shader_util: Fix precision bug with alpha testing.bunnei2015-10-222-9/+9
| | | | | | | | - Alpha testing is not done with float32 precision, this makes the HW renderer match the SW renderer.
* | Initial implementation of fragment shader generation with caching.Subv2015-10-227-261/+568
| |
* | CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.Emmanuel Gil Peyrot2015-10-092-7/+7
|/ | | | The LOG_* function itself already appends one.
* Silence -Wsign-compare warnings.Rohit Nirmal2015-10-071-3/+3
|
* fix some xcode 7.0 warningsMartin Lindhe2015-09-293-2/+4
|
* general: Silence some warnings when using clangLioncash2015-09-163-7/+7
|
* video_core: Reorganize headersLioncash2015-09-1119-62/+56
|
* video_core: Remove unnecessary includes from headersLioncash2015-09-115-13/+3
|
* Merge pull request #1133 from lioncash/emplace-backbunnei2015-09-101-3/+3
|\ | | | | gl_rasterizer: Replace push_back calls with emplace_back in AddTriangle
| * gl_rasterizer: Replace push_back calls with emplace_back in AddTriangleLioncash2015-09-101-3/+3
| |
* | Merge pull request #1136 from lioncash/protobunnei2015-09-101-3/+0
|\ \ | | | | | | renderer_opengl: Remove unimplemented function declaration
| * | renderer_opengl: Remove unimplemented function declarationLioncash2015-09-101-3/+0
| |/
* / video_core: Remove unused variablesLioncash2015-09-103-4/+0
|/
* Shader JIT: Use SCALE constant from emitteraroulin2015-09-071-4/+4
|
* Shader: Fix size_t to int casts of register offsetsaroulin2015-09-072-15/+21
|
* OpenGL: Use Sampler Objects to decouple sampler config from texturesYuri Kunde Schlesner2015-09-034-21/+76
| | | | Fixes #978
* OpenGL: Remove ugly and endian-unsafe color pointer castsYuri Kunde Schlesner2015-09-034-9/+13
|
* OpenGL: Add support for Sampler Objects to state trackerYuri Kunde Schlesner2015-09-033-4/+42
|
* Merge pull request #1087 from yuriks/opengl-gladYuri Kunde Schlesner2015-09-0311-2812/+12
|\ | | | | Replace the previous OpenGL loader with a glad-generated 3.3 one
| * Replace the previous OpenGL loader with a glad-generated 3.3 oneYuri Kunde Schlesner2015-08-3011-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.
* | Merge pull request #1088 from aroulin/x64-emitter-abi-callbunnei2015-09-022-28/+18
|\ \ | | | | | | x64: Proper stack alignment in shader JIT function calls
| * | x64: Proper stack alignment in shader JIT function callsaroulin2015-09-012-28/+18
| | | | | | | | | | | | | | | Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files
* | | video_core: Fix format specifiers warningsaroulin2015-09-022-2/+3
|/ /
* | Merge pull request #1092 from Subv/vertex_offsetTony Wasserka2015-08-312-1/+7
|\ \ | | | | | | Pica: Add the vertex_offset register to the Pica registers map.
| * | Pica: Added the primitive_restart register (0x25f) to the registers map.Subv2015-08-312-1/+5
| | |
| * | Pica: Add the vertex_offset register to the Pica registers map.Subv2015-08-312-0/+2
| | |
* | | Shader JIT: Fix SGE/SGEI NaN behavioraroulin2015-08-311-3/+3
|/ / | | | | | | | | SGE was incorrectly emulated w.r.t. NaN behavior as the CMPSS SSE instruction was used with NLT
* | Merge pull request #1059 from Subv/vertex_offsetbunnei2015-08-302-2/+8
|\ \ | |/ |/| GPU: Implemented register 0x22A PICA_REG_DRAW_VERTEX_OFFSET
| * GPU: Implemented register 0x22A.Subv2015-08-302-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.
* | Merge pull request #1049 from Subv/stencilbunnei2015-08-306-28/+111
|\ \ | | | | | | Rasterizer: Corrected the stencil implementation.
| * | HWRenderer: Added a workaround for the Intel Windows driver bug that causes glTexSubImage2D to not change the stencil buffer.Subv2015-08-241-2/+9
| | | | | | | | | | | | Reported here https://communities.intel.com/message/324464
| * | HWRasterizer: Implemented stencil ops 6 and 7.Subv2015-08-211-1/+3
| | |
| * | SWRasterizer: Implemented stencil ops 6 and 7.Subv2015-08-212-6/+14
| | | | | | | | | | | | IncrementWrap and DecrementWrap, verified with hwtests.
| * | HWRasterizer: Implemented stencil op 1 (GL_ZERO)Subv2015-08-211-1/+1
| | |
| * | SWRasterizer: Implemented stencil action 1 (GL_ZERO).Subv2015-08-212-1/+4
| | | | | | | | | | | | Verified with hwtests.
| * | SWRasterizer: Removed a todo. Verified with hwtests.Subv2015-08-211-1/+0
| | |
| * | SWRenderer: The stencil depth_pass action is executed even if depth testing is disabled.Subv2015-08-211-7/+5
| | | | | | | | | | | | The HW renderer already did this.
| * | Rasterizer: Abstract duplicated stencil code into a lambda.Subv2015-08-211-6/+9
| | |
| * | GLRasterizer: Implemented stencil testing in the hw renderer.Subv2015-08-204-2/+44
| | |
| * | GPU/Rasterizer: Corrected the stencil implementation.Subv2015-08-202-18/+39
| |/ | | | | | | Verified the behavior with hardware tests.
* | Merge pull request #1065 from yuriks/shader-fpYuri Kunde Schlesner2015-08-284-57/+100
|\ \ | | | | | | Shader FP compliance fixes
| * | fixup! Shaders: Fix multiplications between 0.0 and infYuri Kunde Schlesner2015-08-241-4/+4
| | |
| * | Shader JIT: Tiny micro-optimization in DPHYuri Kunde Schlesner2015-08-241-4/+4
| | |
| * | Shaders: Fix multiplications between 0.0 and infYuri Kunde Schlesner2015-08-243-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)
| * | Shaders: Explicitly conform to PICA semantics in MAX/MINYuri Kunde Schlesner2015-08-242-2/+10
| | |
| * | Shader JIT: Add name to second scratch register (XMM4)Yuri Kunde Schlesner2015-08-241-3/+5
| | |
| * | Shader JIT: Fix CMP NaN behavior to match hardwareYuri Kunde Schlesner2015-08-241-8/+23
| | |
* | | gl_rasterizer_cache: Detect and ignore unnecessary texture flushes.bunnei2015-08-283-8/+18
| | |
* | | Shader JIT: Fix float to integer rounding in MOVAaroulin2015-08-271-2/+2
| | | | | | | | | | | | MOVA converts new address register values from floats to integers using truncation
* | | Shader JIT: ifdef out reference to ifdef'd out shader_maparchshift2015-08-271-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.
* | | Integrate the MicroProfile profiling libraryYuri Kunde Schlesner2015-08-255-0/+25
| | | | | | | | | | | | | | | This brings goodies such as a configurable user interface and multi-threaded timeline view.
* | | Merge pull request #1063 from Subv/hw_renderer_debug_fbbunnei2015-08-241-2/+6
|\ \ \ | | | | | | | | HWRenderer: Only reload the framebuffer from gpu memory if the hw renderer is in use during a breakpoint
| * | | HWRenderer: Only reload the framebuffer from gpu memory if the hw renderer is in use during a breakpoint.Subv2015-08-231-2/+6
| | |/ | |/|
* | | shader_jit: Replace two MDisp usages with MatRLioncash2015-08-241-2/+2
| |/ |/|
* | Merge pull request #1062 from aroulin/shader-rcp-rsqbunnei2015-08-232-10/+10
|\ \ | | | | | | Shader: RCP and RSQ computes only the 1st component
| * | Shader: Use std::sqrt for float instead of sqrtaroulin2015-08-231-1/+1
| | |
| * | Shader: RCP and RSQ computes only the 1st componentaroulin2015-08-232-10/+10
| | |
* | | Shader: implement DPH/DPHI in JITaroulin2015-08-222-2/+36
| | |
* | | Shader: implement DPH/DPHI in interpreteraroulin2015-08-221-1/+8
|/ / | | | | | | | | Tests revealed that the component with w=1 is SRC1 and not SRC2, it is now fixed on 3dbrew.
* | Shader: implement SGE, SGEI and SLT in JITaroulin2015-08-192-15/+36
| |
* | Shader: implement SGE, SGEI in interpreteraroulin2015-08-191-0/+14
| |
* | Merge pull request #1047 from aroulin/shader-ex2-lg2bunnei2015-08-192-0/+33
|\ \ | | | | | | Shader: Save caller-saved registers in JIT before a CALL
| * | Shader: Save caller-saved registers in JIT before a CALLaroulin2015-08-192-0/+33
| | |
* | | Merge pull request #1037 from aroulin/shader-ex2-lg2bunnei2015-08-193-2/+58
|\| | | |/ |/| Shader: Implement EX2 and LG2 in interpreter/JIT
| * Shader: implement EX2 and LG2 in JITaroulin2015-08-172-2/+22
| |
| * Shader: implement EX2 and LG2 in interpreteraroulin2015-08-161-0/+36
| |
* | Merge pull request #1034 from yuriks/rg8-texturesbunnei2015-08-172-1/+8
|\ \ | | | | | | videocore: Added RG8 texture support
| * | videocore: Added RG8 texture supportPatrick Martin2015-08-162-1/+8
| | |
* | | Fix Linux GCC 4.9 build (complaining about undeclared memset)LittleWhite2015-08-161-1/+2
| |/ |/|
* | Build fix for Debug configurations.Tony Wasserka2015-08-161-1/+1
| |
* | Merge pull request #997 from Lectem/cmdlist_full_debugTony Wasserka2015-08-163-31/+29
|\ \ | | | | | | citra-qt: Improve pica command list widget (add mask, fix some issues)
| * | citra-qt/debug_utils: Use lock_guard everywhereLectem2015-07-261-6/+5
| | | | | | | | | | | | | | | unique_lock were being used as lock_guards. Also replaced manual lock/unlock by lock_guard for harmonization.
| * | citra-qt/command list: Add mask columnLectem2015-07-263-25/+24
| | |
* | | Introduce a shader tracer to allow inspection of input/output values for each processed instruction.Tony Wasserka2015-08-168-41/+326
| | |
* | | Pica/DebugUtils: Include uniform information into shader dumps.Tony Wasserka2015-08-162-11/+51
| | |
* | | citra-qt: Improve shader debugger.Tony Wasserka2015-08-164-13/+28
| |/ |/| | | | | Now supports dumping the current shader and recognizes a larger number of output semantics.
* | Shader: Use a POD struct for registers.bunnei2015-08-165-40/+43
| |
* | Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.bunnei2015-08-162-7/+6
| |
* | Common: Cleanup CPU capability detection code.bunnei2015-08-161-5/+5
| |
* | Common: Move cpu_detect to x64 directory.bunnei2015-08-161-2/+1
| |
* | x64: Refactor to remove fake interfaces and general cleanups.bunnei2015-08-166-150/+26
| |
* | JIT: Support negative address offsets.bunnei2015-08-161-26/+25
| |
* | Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.bunnei2015-08-1610-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.
* | Common: Added MurmurHash3 hash function for general-purpose use.bunnei2015-08-151-1/+1
| |
* | Shader: Define a common interface for running vertex shader programs.bunnei2015-08-157-186/+289
| |
* | Shader: Move shader code to its own subdirectory, "shader".bunnei2015-08-159-12/+12
| |
* | GPU: Refactor "VertexShader" namespace to "Shader".bunnei2015-08-1513-50/+48
| | | | | | | | - Also renames "vertex_shader.*" to "shader_interpreter.*"
* | Merge pull request #893 from linkmauve/remove-uint._t-int._tbunnei2015-08-111-1/+2
|\ \ | | | | | | Replace standard uint*_t and int*_t with CommonTypes’ u* and s* types
| * | ARM Core, Video Core, CitraQt, Citrace: Use CommonTypes types instead of the standard u?int*_t types.Emmanuel Gil Peyrot2015-08-111-1/+2
| | |
* | | OpenGL: Fix state tracking in situations with reused object handlesYuri Kunde Schlesner2015-08-064-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.
* | | OpenGL: Remove redundant texture.enable_2d field from OpenGLStateYuri Kunde Schlesner2015-08-064-26/+3
|/ / | | | | | | | | All uses of this field where it's false can just set the texture id to 0 instead.
* | Videocore: Implement simple vertex cachingYuri Kunde Schlesner2015-08-051-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.
* | Merge pull request #1006 from yuriks/fb-commit-profilebunnei2015-07-301-0/+7
|\ \ | | | | | | OpenGL: Add a profiler category measuring framebuffer readback
| * | OpenGL: Add a profiler category measuring framebuffer readbackYuri Kunde Schlesner2015-07-281-0/+7
| | |
* | | Merge pull request #963 from yuriks/gpu-fixesbunnei2015-07-292-42/+44
|\ \ \ | |/ / |/| | Misc. GPU vertex loading fixes
| * | VideoCore: Fix values of unset components in input attribute arraysYuri Kunde Schlesner2015-07-231-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.
| * | VideoCore: Saturate vertex colors before interpolatingYuri Kunde Schlesner2015-07-231-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.
* | | Merge pull request #991 from yuriks/globjectsbunnei2015-07-263-143/+79
|\ \ \ | | | | | | | | OpenGL: Make OpenGL object resource wrappers fully inline
| * | | OpenGL: Make OpenGL object resource wrappers fully inlineYuri Kunde Schlesner2015-07-263-143/+79
| | | | | | | | | | | | | | | | | | | | The functions are so simple that having them separate only bloats the code and hinders optimization.
* | | | Merge pull request #992 from yuriks/hot-path-debugbunnei2015-07-265-13/+18
|\ \ \ \ | | | | | | | | | | VideoCore: #ifdef out some debugging routines
| * | | | VideoCore: #ifdef out some debugging routinesYuri Kunde Schlesner2015-07-265-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.
* | | | Merge pull request #987 from yuriks/regnamesTony Wasserka2015-07-262-65/+72
|\ \ \ \ | |_|_|/ |/| | | Videocore: Don't reinitialize register name map on every query.
| * | | Videocore: Don't reinitialize register name map on every queryYuri Kunde Schlesner2015-07-262-65/+72
| |/ / | | | | | | | | | This greatly speeds up the command list debug widget.
* | | Videocore: Simplify variables in vertex shader interpreterYuri Kunde Schlesner2015-07-261-24/+21
| | | | | | | | | | | | Simplifies the code and gives a tiny speed-up.
* | | Videocore: Replace std::stack in shader interpreter with static_vectorYuri Kunde Schlesner2015-07-261-6/+6
|/ / | | | | | | Shaves off 1/3rd of the vertex shader time in Fire Emblem
* | Address error that remained in last mergeYuri Kunde Schlesner2015-07-251-1/+1
| |
* | Merge pull request #892 from zawata/another-warning-fixesYuri Kunde Schlesner2015-07-253-18/+18
|\ \ | | | | | | Yet More Warning Fixes
| * | Vertex Shader : Undo castingzawata2015-07-191-1/+1
| | |
| * | Video_Core : Type fixeszawata2015-07-192-2/+2
| | |
| * | Video_Core: Finally fix pesky warningzawata2015-07-191-1/+1
| | |
| * | Video_Core : Change Tabs to Spaceszawata2015-07-191-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)
| * | Video_Core : Fix Conversion Warningszawata2015-07-193-18/+3
| | |
* | | Merge pull request #980 from Subv/more_breakpointsTony Wasserka2015-07-242-4/+7
|\ \ \ | |_|/ |/| | Qt/GPU Breakpoints: Added three more breakpoint types.
| * | Qt/GPU Breakpoints: Added three more breakpoint types:Subv2015-07-232-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
* | | Merge pull request #977 from yuriks/glenable-tex2dbunnei2015-07-231-8/+5
|\ \ \ | | | | | | | | GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
| * | | GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsYuri Kunde Schlesner2015-07-221-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.
* | | | Rasterizer/GL: Set the border color when binding a texture.Subv2015-07-231-2/+9
| |/ / |/| |
* | | Merge pull request #968 from Subv/texture_filteringbunnei2015-07-224-3/+37
|\ \ \ | |/ / |/| | GPU: Added registers for min and mag texture filters
| * | GPU: Added registers for min and mag texture filters and implemented them in the hw renderer.Subv2015-07-214-3/+37
| | |
* | | Merge pull request #929 from neobrain/geoshader_definitionsTony Wasserka2015-07-215-149/+162
|\ \ \ | |/ / |/| | Pica/Shader: Add geometry shader definitions.
| * | Pica/Shader: Add geometry shader definitions.Tony Wasserka2015-07-155-149/+162
| | |
* | | Merge pull request #944 from Subv/spambunnei2015-07-201-3/+7
|\ \ \ | | | | | | | | GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.
| * | | GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.Subv2015-07-191-3/+7
| | | |
* | | | Pica: Correct switched S/T texture wrapping registersYuri Kunde Schlesner2015-07-201-2/+2
| | | | | | | | | | | | | | | | This was found and hwtested by Lectem
* | | | Pica: Fix DP3 instruction, which wasn't assigning to the w componentYuri Kunde Schlesner2015-07-201-1/+1
|/ / /
* | / Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.Subv2015-07-191-0/+1
| |/ |/| | | | | Also added its name to the texture viewer widget
* | Merge pull request #931 from neobrain/move_default_attr_handlerTony Wasserka2015-07-151-40/+40
|\ \ | | | | | | Pica/CommandProcessor: Move default attribute setup to the proper position.
| * | Pica/CommandProcessor: Move default attribute setup to the proper position.Tony Wasserka2015-07-151-40/+40
| |/
* / Pica/Clipper: Output proper number of triangles in debugging logs.Tony Wasserka2015-07-151-1/+1
|/
* VideoCore: Implement the DOT3_RGB combinerLectem2015-07-142-1/+13
|
* Pica: Implement stencil testing.Tony Wasserka2015-07-132-12/+173
|
* Clean up command_processor.cpp.Tony Wasserka2015-07-131-22/+27
|
* Add CiTrace recording support.Tony Wasserka2015-07-133-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).
* Merge pull request #907 from Lectem/clamp_to_borderTony Wasserka2015-07-123-13/+28
|\ | | | | Add GL_CLAMP_TO_BORDER support.
| * Added GL_CLAMP_TO_BORDER supportLectem2015-07-093-13/+28
| |
* | Core: Cleanup hw includes.Emmanuel Gil Peyrot2015-06-285-4/+13
| |
* | Core, VideoCore: Replace or fix exit() calls.Emmanuel Gil Peyrot2015-06-281-6/+9
| |
* | CitraQt: Cleanup includes.Emmanuel Gil Peyrot2015-06-283-5/+10
| |
* | Common: Cleanup emu_window includes.Emmanuel Gil Peyrot2015-06-283-10/+8
| |
* | Common: Cleanup key_map includes.Emmanuel Gil Peyrot2015-06-282-3/+9
|/
* VideoCore: Fix floating point warningzawata2015-06-271-1/+1
|
* VideoCore: Log the GL driver’s vendor and renderer.Emmanuel Gil Peyrot2015-06-161-0/+2
|
* video_core: add extra braces around initializerYuri Kunde Schlesner2015-06-141-3/+3
| | | | Trivial change and fixes several warnings in the clang build.
* Renderer formatting editstfarley2015-06-092-26/+29
|
* Render-to-texture flush, interval math fixtfarley2015-06-091-1/+13
|
* Liberal texture unbind (clout menu)tfarley2015-06-092-4/+40
|
* Depth format fix (crush3d intro/black screens)tfarley2015-06-091-46/+46
|
* Implemented glColorMasktfarley2015-06-093-0/+24
|
* Merge pull request #811 from archshift/commonifyarchshift2015-05-319-865/+9
|\ | | | | Commonify video_core utility headers
| * Move video_core/color.h to common/color.harchshift2015-05-305-218/+4
| |
| * Move video_core/math.h to common/vector_math.harchshift2015-05-307-648/+6
| | | | | | | | The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
* | Pica: Use zero for the SecondaryFragmentColor source.bunnei2015-05-313-11/+21
| | | | | | | | - This is a workaround until we support fragment lighting.
* | rasterizer: Remove unnecessary 'using' for BlendEquation.bunnei2015-05-311-2/+1
| |
* | Pica: Implement LogicOp function.bunnei2015-05-317-8/+135
| |
* | rasterizer: Implement AddSigned combiner function for alpha channel.bunnei2015-05-311-0/+7
| |
* | vertex_shader: Use address offset on src2 in inverted mode.bunnei2015-05-311-3/+3
| |
* | Pica: Implement command buffer execution registers.bunnei2015-05-312-44/+76
| |
* | vertex_shader: Implement SLT/SLTI instructions.bunnei2015-05-311-4/+10
| |
* | vertex_shader: Implement MIN instruction.bunnei2015-05-311-0/+9
|/
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-2911-25/+25
|
* gl_state: Remove unnecessary const specifier on ApplyLioncash2015-05-232-2/+2
|
* video_core/utils: Remove unused variables in GetMortonOffsetLioncash2015-05-231-3/+0
|
* Pica: Create 'State' structure and move state memory there.bunnei2015-05-2312-428/+451
|
* gl_state: Fix a condition typo in ApplyLioncash2015-05-231-1/+1
|
* OpenGL renderertfarley2015-05-2321-44/+2196
|
* Merge pull request #772 from lioncash/warnbunnei2015-05-181-1/+1
|\ | | | | core/video_core: Fix a few warnings when compiling on MSVC.
| * pica: Add the ULL specifier in IsDefaultAttributeLioncash2015-05-141-1/+1
| | | | | | | | This is necessary otherwise there are warnings about a 32-bit result being casted to a 64-bit value.
* | GPU/DefaultAttributes: Clear up a comment in command_processorSubv2015-05-171-2/+2
| |
* | GPU/DefaultAttributes: Let the attribute data from the loaders overwrite the default attributes, if set.Subv2015-05-171-21/+23
| | | | | | | | closes #735
* | Memmap: Re-organize memory function in two filesYuri Kunde Schlesner2015-05-154-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.
* GPU: Add more fine grained profiling for vertex shader and rasterizationYuri Kunde Schlesner2015-05-122-0/+10
|
* Implement I4 texture formatarchshift2015-05-112-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.
* rasterizer: Implemented combiner output scaling.bunnei2015-05-102-2/+16
|
* rasterizer: Implemented AddSigned combiner op.bunnei2015-05-101-0/+10
|
* rasterizer: Fixed a depth testing bug.bunnei2015-05-102-6/+19
|
* rasterizer: Implement combiner buffer input.bunnei2015-05-102-4/+53
|
* rasterizer: Return zero'd vectors on error conditions.bunnei2015-05-101-3/+3
|
* vertex_shader: Implement FLR instruction.bunnei2015-05-101-0/+9
|
* vertex_shader: Implement MADI instruction.bunnei2015-05-101-4/+7
| | | | nihstro: Update submodule to latest upstream/master to support MADI instruction decoding.
* Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner2015-05-093-11/+11
|
* Memory: Support more regions in the VAddr-PAddr translation functionsYuri Kunde Schlesner2015-05-093-18/+7
| | | | | Also adds better documentation and removes the one-off reimplementation of the function in pica.h.
* Memory: Re-organize and rename memory area address constantsYuri Kunde Schlesner2015-05-091-1/+1
|
* Merge pull request #721 from yuriks/more-cleanupsYuri Kunde Schlesner2015-05-076-3/+8
|\ | | | | More cleanups
| * Common: Remove common.hYuri Kunde Schlesner2015-05-076-3/+8
| |
* | Merge pull request #695 from Subv/crash_fbunnei2015-05-074-68/+137
|\ \ | |/ |/| GPU: Implemented default vertex shader attributes.
| * GPU: Implemented default vertex shader attributes.Subv2015-05-074-68/+137
| | | | | | | | Fixes some games crashing.
* | VideoCore: Remove a superfluous auto variable declaration in debug_utils.Emmanuel Gil Peyrot2015-04-291-1/+1
| |
* | Silence some -Wsign-compare warnings.Rohit Nirmal2015-04-101-2/+2
|/
* Changed occurences of colour to color for consistencyGareth Higgins2015-04-052-4/+4
|
* Allow the user to set the background clear color during emulationarchshift2015-04-041-1/+2
| | | | The background color can be seen at the sides of the bottom screen or when the window is wider than normal.
* Merge pull request #652 from neobrain/shader_output_fixbunnei2015-03-161-20/+24
|\ | | | | Pica/VertexShader: Fix a bug caused due to incorrect assumptions of consecutive output register tables.
| * Pica/VertexShader: Fix a bug caused due to incorrect assumptions of consecutive output register tables.Tony Wasserka2015-03-121-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.
* | VideoCore: Add static_cast around expressions where the compiler doesn’t deduce the right type.Emmanuel Gil Peyrot2015-03-162-4/+4
|/
* Merge pull request #629 from archshift/lcdfbbunnei2015-03-102-11/+48
|\ | | | | Implement SetLcdForceBlack and add implementation for color filling in the GPU code
| * Added LCD registers, and implementation for color filling in OGL code.archshift2015-03-092-11/+48
| |
* | Merge pull request #643 from Subv/dem_feelsbunnei2015-03-103-13/+134
|\ \ | | | | | | GPU: Implemented more depth buffer formats.
| * | GPU: Added the stencil test structure to the Pica Regs struct.Subv2015-03-103-50/+65
| | |
| * | GPU: Implemented more depth buffer formats.Subv2015-03-103-9/+115
| | | | | | | | | | | | This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
* | | Pica/PrimitiveAssembly: Fix triangle strips and fans being generated with incorrect winding order.Tony Wasserka2015-03-091-6/+3
| | |
* | | Update nihstro submodule to the initial release version.archshift2015-03-081-37/+38
| | | | | | | | | | | | Includes more opcodes to implement in the future.
* | | Merge pull request #636 from bunnei/refactor-screen-winbunnei2015-03-083-43/+9
|\ \ \ | |/ / |/| | Set framebuffer layout from EmuWindow.
| * | Set framebuffer layout from EmuWindow.bunnei2015-03-073-43/+9
| |/
* | GPU/Textures: Fixed ETC texture decoding.Subv2015-03-071-1/+1
| |
* | Merge pull request #538 from yuriks/perf-statTony Wasserka2015-03-072-0/+18
|\ \ | |/ |/| Add profiling infrastructure and widget
| * Add profiling infrastructure and widgetYuri Kunde Schlesner2015-03-022-0/+18
| |
* | GPU: Added RGB565/RGB8 framebuffer support and various cleanups.bunnei2015-03-045-85/+155
|/ | | | | | - Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger.
* Added RGBA5551 compatibility in the rasterizerarchshift2015-02-283-2/+41
| | | | This allows Virtual Console games to display properly.
* GPU: Implemented bits 3 and 1 from the display transfer flags.Subv2015-02-273-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.
* Video core: Fix A4 texture decodingYuri Kunde Schlesner2015-02-261-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.
* Video core: Fix pixelation/blockiness in textures.Yuri Kunde Schlesner2015-02-261-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.
* Rasterizer: Add support for RGBA4 framebuffer format.bunnei2015-02-251-0/+21
|
* Rasterize with the correct color component order.bunnei2015-02-221-11/+24
| | | | - Fixes a regression with #594.
* Merge pull request #593 from Subv/search_problemTony Wasserka2015-02-221-1/+4
|\ | | | | Pica/VertexShader: Fixed LOOP with more than one iteration.
| * Pica/VertexShader: Fixed LOOP with more than one iteration.Subv2015-02-211-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.
* | Merge pull request #588 from archshift/somebranchbunnei2015-02-201-11/+0
|\ \ | |/ |/| Sweeping cleanup of Common
| * Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.harchshift2015-02-201-11/+0
| |
* | Rasterizer: Fixed a warning in GetWrappedTexCoord.Subv2015-02-191-4/+4
|/ | | | Redeclaring the variable inside the switch was causing weird behavior.
* Merge pull request #580 from lioncash/emplacebunnei2015-02-182-4/+4
|\ | | | | core/video_core: Use in-place construction where possible
| * core/video_core: Use in-place construction where possibleLioncash2015-02-172-4/+4
| |
* | Pica/Rasterizer: Replace exit() calls with UNIMPLEMENTED().Tony Wasserka2015-02-181-5/+5
| |
* | Pica/Rasterizer: Make some local lambdas static.Tony Wasserka2015-02-181-8/+8
| |
* | Pica/BlendUnit: Implement separate color/alpha blend equations.Tony Wasserka2015-02-182-65/+59
| |
* | Pica/TextureEnvironment: Add a note.Tony Wasserka2015-02-181-0/+4
| |
* | Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor.Tony Wasserka2015-02-182-0/+4
| | | | | | | | Not really sure where the difference is, but some applications seem to use this 1:1 the same way...
* | Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic.Tony Wasserka2015-02-182-0/+28
| |
* | Pica/OutputMerger: Fix flipped framebuffers.Tony Wasserka2015-02-181-0/+10
| |
* | Pica/TextureUnit: Implement mirrored repeating texture wrapping.Tony Wasserka2015-02-182-3/+12
| |
* | Pica: Fix a bug in the register definitions, relating to texture wrapping.Tony Wasserka2015-02-182-2/+2
| |
* | Pica/OutputMerger: Implement color format checking.Tony Wasserka2015-02-182-4/+13
| |
* | Pica/Rasterizer: Rasterize actual pixel centers instead of pixel corners.Tony Wasserka2015-02-181-2/+3
| |
* | Pica/Rasterizer: Fix garbage pixels at triangle borders.Tony Wasserka2015-02-181-1/+3
| |
* | Pica/Rasterizer: Clean up and fix backface culling.Tony Wasserka2015-02-181-11/+27
| |
* | Pica: Cleanup clipping code and change screenspace z to range from -1..0.Tony Wasserka2015-02-182-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).
* | Pica/VertexShader: Implement the LOOP instruction.Tony Wasserka2015-02-181-14/+36
| |
* | Pica/CommandProcessor: Properly implement shader load destination offset registers.Tony Wasserka2015-02-182-20/+10
| |
* | Pica/CommandProcessor: Work around initialized vertex attributes some more.Tony Wasserka2015-02-181-2/+8
| |
* | VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument was Vec2<T> instead.Emmanuel Gil Peyrot2015-02-161-1/+1
| |
* | video_core: Implement the remaining framebuffer formats in the OpenGL renderer.Emmanuel Gil Peyrot2015-02-152-12/+67
|/
* Merge pull request #529 from Subv/masterbunnei2015-02-142-3/+3
|\ | | | | Build: Fixed some warnings
| * Build: Fixed some warningsSubv2015-02-122-3/+3
| |
* | Fix Min and Max blend equationsDarius Goad2015-02-111-6/+8
|/
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-118-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.
* Add more blend equations from 3dbrewDarius Goad2015-02-102-2/+49
|
* Rasterizer: Implement the other color and alpha modifiers.bunnei2015-02-052-58/+69
|
* VideoCore: Added same-component swizzlers to math utility functions.bunnei2015-02-051-16/+35
|
* Pica: Implement blend factors.bunnei2015-01-312-10/+67
|
* Pica: Implement color/alpha channel enable.bunnei2015-01-282-1/+12
|
* Rasterizer: Implemented alpha testing.bunnei2015-01-272-7/+52
|
* GPU: Implement the remaining depth testing functions.bunnei2015-01-262-3/+28
|
* GSP: Update framebuffer info on all interruptsYuri Kunde Schlesner2015-01-141-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.
* Merge pull request #473 from archshift/pp3portsbunnei2015-01-142-14/+142
|\ | | | | Pica/Rasterizer: Add ETC1 texture decompression support.
| * Pica/Rasterizer: Add ETC1 texture decompression support.Tony Wasserka2015-01-132-14/+142
| |
* | Merge pull request #478 from archshift/pp3ports4bunnei2015-01-131-0/+69
|\ \ | | | | | | Pica/VertexShader: Implement the MAD instruction.
| * | Pica/VertexShader: Implement the MAD instruction.Tony Wasserka2015-01-131-0/+69
| |/
* / Pica/VertexShader: Implement JMPC/JMPU/CALLC/CALLU.Tony Wasserka2015-01-131-23/+52
|/
* GSP: Toggle active framebuffer each framebunnei2015-01-081-1/+4
|
* Pica/Rasterizer: Remove some redundant casts.Tony Wasserka2014-12-311-3/+3
|
* Pica/Rasterizer: Make orient2d a free function and rename it to SignedArea.Tony Wasserka2014-12-311-31/+38
|
* Pica: Cleanup color conversion.Tony Wasserka2014-12-312-18/+46
|
* VideoCore: Remove some unused functions.Tony Wasserka2014-12-311-26/+0
|
* Pica/Rasterizer: Fix a bug related to multitexturing and texture wrapping.Tony Wasserka2014-12-311-2/+2
|
* Pica/Rasterizer: Clean up long code lines.Tony Wasserka2014-12-311-4/+8
|
* Pica/VertexShader: Coding style fixes.Tony Wasserka2014-12-311-16/+8
|
* Pica/CommandProcessor: Cleanups.Tony Wasserka2014-12-311-3/+4
|
* Pica/CommandProcessor: Workaround games not setting the input position's w component.Tony Wasserka2014-12-311-0/+14
|
* Pica/Rasterizer: Implement backface culling.Tony Wasserka2014-12-312-10/+36
|
* Pica/Rasterizer: Textures seem to be laid out flipped vertically.Tony Wasserka2014-12-311-1/+1
| | | | Not sure if this is a correct fix. Probably should instead change the decoding logic itself.
* Pica/DebugUtils: Fix a bug in RGBA4 texture decoding.Tony Wasserka2014-12-311-2/+2
|
* Pica/Rasterizer: Implement alpha blending.Tony Wasserka2014-12-311-0/+84
|
* Pica/Rasterizer: Implement depth testing.Tony Wasserka2014-12-312-6/+34
|
* Pica/Rasterizer: Further enhance Tev support.Tony Wasserka2014-12-311-4/+19
|
* Pica: Add output merger definitions.Tony Wasserka2014-12-311-1/+56
|
* Pica: Fix A4, IA4 and IA8 texture formats.Tony Wasserka2014-12-311-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.
* Pica/CommandProcessor: Add support for integer uniforms.Tony Wasserka2014-12-314-1/+30
|
* Rasterizer: Pre-divide vertex attributes by WYuri Kunde Schlesner2014-12-293-8/+32
| | | | | Execute the division-by-W for perspective-correct interpolation of values in the clipper, moving them out of the rasterization inner loop.
* GPU: Bitwise texture swizzlingYuri Kunde Schlesner2014-12-291-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.
* Rasterizer: Common sub-expression eliminationYuri Kunde Schlesner2014-12-291-14/+17
| | | | | Move the computation of some values out of loops so that they're not constantly recalculated even when they don't change.
* Clipper: Compact buffers on each clipping passYuri Kunde Schlesner2014-12-291-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.
* Clipper: Avoid dynamic allocationsYuri Kunde Schlesner2014-12-291-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.
* Vertex Shader: Zero OutputVertex to avoid denormalsYuri Kunde Schlesner2014-12-291-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.
* GPU: Implement frameskip and remove forced framebuffer swap hack.bunnei2014-12-291-0/+5
|
* Merge pull request #327 from Apology11/masterbunnei2014-12-271-4/+4
|\ | | | | Fix visual studio ambiguous symbol error
| * Fix visual studio ambiguous symbol errorApology112014-12-211-4/+4
| |
* | Merge pull request #322 from chinhodado/masterbunnei2014-12-222-7/+7
|\ \ | | | | | | More warning cleanups
| * | More warning cleanupsChin2014-12-212-7/+7
| |/
* | Merge pull request #291 from purpasmart96/licensebunnei2014-12-2123-23/+23
|\ \ | |/ |/| License change
| * License changepurpasmart962014-12-2123-23/+23
| |
* | Pica/VertexShader: Promote a log message to critical status.Tony Wasserka2014-12-201-1/+1
| |
* | Pica/VertexShader: Small optimization.Tony Wasserka2014-12-201-7/+7
| |
* | Pica/VertexShader: Be robust against invalid inputs.Tony Wasserka2014-12-201-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.
* | Pica/VertexShader: Clarify a comment.Tony Wasserka2014-12-201-1/+3
| |
* | Pica/DebugUtils: Further cleanups to LookupTexture.Tony Wasserka2014-12-201-7/+7
| |
* | Pica/DebugUtils: Fix two warnings.Tony Wasserka2014-12-201-2/+2
| |
* | Pica/DebugUtils: Better document LookupTexture.Tony Wasserka2014-12-202-7/+16
| |
* | Pica/Rasterizer: Get rid of C-style casts.Tony Wasserka2014-12-201-4/+4
| |
* | Pica/DebugUtils: Make a number of variables static.Tony Wasserka2014-12-201-13/+13
| | | | | | | | Makes for cleaner and faster code.
* | Pica/VertexShader: Cleanup flow control logic and implement CMP/IFU instructions.Tony Wasserka2014-12-201-50/+56
| |
* | Pica/VertexShader: Run instruction handlers according to the effective opcode.Tony Wasserka2014-12-201-1/+1
| | | | | | | | This allows for proper emulation of the different CMP/LRP/MAD instructions.
* | Pica/VertexShader: Implement MAX instructions.Tony Wasserka2014-12-201-0/+9
| |
* | Pica: Add support for boolean uniforms.Tony Wasserka2014-12-204-2/+21
| |
* | Pica/VertexShader: Add support for MOVA, CMP and IFC.Tony Wasserka2014-12-202-7/+138
| |
* | Pica/VertexShader: Move code around a bit.Tony Wasserka2014-12-201-42/+58
| |
* | Pica/VertexShader: Some cleanups using std::array.Tony Wasserka2014-12-202-5/+19
| |
* | Pica/VertexShader: Support negating src2.Tony Wasserka2014-12-202-3/+9
| |
* | Pica/DebugUtils: Replace duplicated SHBIN structures in favor of nihstro's ones.Tony Wasserka2014-12-201-61/+8
| |
* | Pica/VertexShader: Remove (now) duplicated shader bytecode definitions in favor of nihstro's ones.Tony Wasserka2014-12-202-222/+30
| |
* | Pica/DebugUtils: Add an event triggered after loading a vertex.Tony Wasserka2014-12-202-0/+4
| |
* | Pica/PrimitiveAssembly: Implement triangle strips.Tony Wasserka2014-12-202-8/+16
| |
* | Pica/CommandProcessor: Add a safety check for invalid (?) GPU configurations.Tony Wasserka2014-12-201-0/+7
| |
* | Pica/CommandProcessor: Fix vertex decoding if multiple memory areas are accessed for different attributes.Tony Wasserka2014-12-201-7/+8
| |
* | Add support for a ridiculous number of texture formats.Tony Wasserka2014-12-202-7/+80
| |
* | Pica: Unify ugly address translation hacks.Tony Wasserka2014-12-205-16/+25
| |
* | Pica: Further improve Tev emulation.Tony Wasserka2014-12-203-12/+51
| |
* | Pica: Merge texture lookup logic for DebugUtils and Rasterizer.Tony Wasserka2014-12-203-55/+41
| | | | | | | | This effectively adds support for a lot texture formats in the rasterizer.
* | Pica: Implement texture wrapping.Tony Wasserka2014-12-202-2/+31
| |
* | Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats.Tony Wasserka2014-12-202-3/+48
| |
* | Pica: Initial support for multitexturing.Tony Wasserka2014-12-203-24/+83
| |
* | Clean up some warningsChin2014-12-201-2/+2
| |
* | Properly erase/remove an observerchinhodado2014-12-191-1/+1
|/
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-1310-38/+50
|
* Merge pull request #267 from bunnei/apt-shared-fontbunnei2014-12-131-2/+2
|\ | | | | APT shared font loading
| * MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP.bunnei2014-12-121-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).
* | Merge pull request #261 from neobrain/boostTony Wasserka2014-12-121-6/+10
|\ \ | |/ |/| Add Boost as a submodule and add some minor cleanups using Boost.Range
| * Integrate Boost into build system and perform a trivial cleanup in vertex_shader.cpp.Tony Wasserka2014-12-071-6/+10
| |
* | GSP: Trigger GPU interrupts at more accurate locations.bunnei2014-12-102-1/+15
| |
* | GPU: Fixed bug in command list size decoding.bunnei2014-12-101-1/+2
| |
* | Pica: Re-enable command names on MSVC.Tony Wasserka2014-12-091-5/+0
| | | | | | | | The affected code is no longer limited by compiler support on that platform.
* | More coding style fixes.Tony Wasserka2014-12-091-6/+12
| |
* | Some code cleanup.Tony Wasserka2014-12-091-3/+1
| |
* | citra_qt: Add enhanced texture debugging widgets.Tony Wasserka2014-12-093-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.
* | citra-qt: Add texture viewer to Pica command list.Tony Wasserka2014-12-092-21/+45
| | | | | | | | The texture viewer is enabled when selecting a write command to one of the texture config registers.
* | Pica/DebugUtils: Add breakpoint functionality.Tony Wasserka2014-12-093-0/+189
| |
* | Build fix for something which shouldn't have compiled successfully to begin with.Tony Wasserka2014-12-091-1/+1
|/
* Change NULLs to nullptrs.Rohit Nirmal2014-12-032-7/+7
|
* Merge pull request #236 from rohit-n/sign-comparebunnei2014-12-033-6/+6
|\ | | | | Silence a few -Wsign-compare warnings.
| * Silence a few -Wsign-compare warnings.Rohit Nirmal2014-12-013-6/+6
| |
* | Fixed viewport error caused by roundingvaguilar2014-11-301-2/+2
|/
* Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot2014-11-194-14/+14
|
* Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-192-3/+3
|
* OpenGL Renderer: Cleanup viewport extent calculation.Tony Wasserka2014-11-182-44/+29
|
* Fixup EmuWindow interface and implementations thereof.Tony Wasserka2014-11-181-3/+3
|
* Viewport scaling and display density independenceKevin Hartman2014-11-182-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.
* Merge pull request #195 from lioncash/controlTony Wasserka2014-11-161-1/+1
|\ | | | | vertex_shader: Fix control reaches end of function warning
| * vertex_shader: Fix control reaches end of function warningLioncash2014-11-161-1/+1
| |
* | Fix two format strings.Lioncash2014-11-141-2/+2
|/
* Merge pull request #162 from SeannyM/warning-fixesbunnei2014-10-302-3/+3
|\ | | | | Fix some warnings
| * Fix some warningsSean2014-10-302-3/+3
| |
* | Renamed souce files of services to match port namesGareth Poole2014-10-291-1/+1
|/
* Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-261-4/+4
| | | | This was automated using `clang-modernize`.
* Only check OpenGL shader log if size is >1.Yuri Kunde Schlesner2014-10-211-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.
* Rework OpenGL renderer.Yuri Kunde Schlesner2014-10-124-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.
* OpenGL renderer: Shuffle initialization code around and rename functions.Yuri Kunde Schlesner2014-10-122-25/+18
|
* Remove virtual inheritance from RendererOpenGLYuri Kunde Schlesner2014-10-122-3/+3
| | | | Also make destructor virtual so that instances are properly destructed.
* Fix warnings in video_coreLioncash2014-10-087-23/+23
|
* Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot2014-09-171-1/+1
|
* Merge pull request #110 from lioncash/warningsbunnei2014-09-151-1/+1
|\ | | | | Core: Fix warnings in gpu.cpp
| * Core: Fix warnings in gpu.cppLioncash2014-09-141-1/+1
| |
* | Merge pull request #97 from archshift/cleanupbunnei2014-09-144-44/+29
|\ \ | |/ |/| Small, general code cleanup
| * renderer_opengl.cpp: improved alignment for readabilityarchshift2014-09-071-16/+16
| |
| * Dead code removal: video_core.cpp, load_symbol_map.cpparchshift2014-09-071-7/+0
| |
| * utils: cleaned up DumpTGA, removing redundanciesarchshift2014-09-072-21/+13
| |
* | Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman2014-09-121-0/+1
| |
* | Moved common_types::Rect from common to Common namespacearchshift2014-09-092-3/+3
|/
* Remove hand-crafted Visual Studio solution.Yuri Kunde Schlesner2014-09-012-217/+0
|
* CMake cleanupYuri Kunde Schlesner2014-09-011-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.
* Replace GLEW with a glLoadGen loader.Yuri Kunde Schlesner2014-09-0110-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.
* Downgrade GLSL version to 1.50 (compatible with GL 3.2)Yuri Kunde Schlesner2014-08-283-10/+15
|
* VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.bunnei2014-08-264-8/+15
|
* Rewrite of OpenGL renderer, including OS X supportKevin Hartman2014-08-268-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.
* Pica/Rasterizer: Clarify a TODO.Tony Wasserka2014-08-251-1/+3
|
* Pica/VertexShader: Fix a bug in the call stack handling.Tony Wasserka2014-08-251-2/+3
|
* Math: Warning fixes.Tony Wasserka2014-08-251-14/+23
|
* Pica: Consolidate the primitive assembly code in PrimitiveAssembly and GeometryDumper.Tony Wasserka2014-08-255-46/+74
|
* Pica/Rasterizer: Add texturing support.Tony Wasserka2014-08-253-18/+69
|
* Pica/DebugUtils: Add convenient tev setup printer.Tony Wasserka2014-08-253-0/+101
|
* Pica/Rasterizer: Add initial implementation of texture combiners.Tony Wasserka2014-08-252-2/+225
|
* Pica: Add support for dumping textures.Tony Wasserka2014-08-253-1/+177
|
* Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly.Tony Wasserka2014-08-253-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>).
* Pica/VertexShader: Fix a bug in the bitfield definitions and add the "negate" field for swizzlers.Tony Wasserka2014-08-252-14/+92
|
* Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.Tony Wasserka2014-08-254-63/+78
|
* Pica/CommandProcessor: Implement parameter masking.Tony Wasserka2014-08-252-6/+25
|
* Pica: Add debug utilities for dumping shaders.Tony Wasserka2014-08-254-1/+227
|
* Pica: Add debug utility functions for dumping geometry data.Tony Wasserka2014-08-256-4/+123
|
* Fix the threading for GL Context in Qt5.Sacha2014-08-241-1/+0
| | | | Connect the emu_thread start/finish to a moveContext slot.
* Merge pull request #42 from archshift/glexpbunnei2014-08-131-3/+2
|\ | | | | Use glewExperimental to fix crashes with citra-glfw
| * Use glewExperimental on Linux in order to fix GLFW-modearchshift2014-08-121-3/+2
| |
* | float24: Remove private default constructorarchshift2014-08-131-2/+0
|/ | | | Fixes building with clang.
* Pica: Add basic rasterizer.Tony Wasserka2014-08-127-2/+260
|
* Pica: Add triangle clipper.Tony Wasserka2014-08-127-8/+230
|
* Pica: Add primitive assembly stage.Tony Wasserka2014-08-127-2/+95
|
* Pica: Add vertex shader implementation.Tony Wasserka2014-08-127-10/+722
|
* Pica: Implement vertex loading.Tony Wasserka2014-08-122-8/+102
|
* Pica: Add register definition for vertex loading and rendering.Tony Wasserka2014-08-121-33/+128
|
* Pica: Add command processor.Tony Wasserka2014-08-127-5/+107
|
* Pica: Add float24 structure.Tony Wasserka2014-08-121-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.
* Video core: Add utility class for vector operations.Tony Wasserka2014-08-124-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.
* Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones.Tony Wasserka2014-08-122-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.
* Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka2014-08-122-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.
* GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.bunnei2014-08-061-6/+6
| | | | - Various other cleanups.
* Use uniform formatting when printing hexadecimal numbers.Tony Wasserka2014-07-231-1/+1
|
* GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32.Tony Wasserka2014-07-231-3/+2
| | | | Anonymous structs are not standard C++, hence don't use them.
* RegisterSet: Simplify code by using structs for register definition instead of unions.Tony Wasserka2014-07-231-9/+9
|
* GPU: Make use of RegisterSet.Tony Wasserka2014-07-231-26/+28
|
* Renderer: Fix component order in bottom framebuffer.Tony Wasserka2014-07-232-5/+4
|
* Renderer: Respect the active_fb GPU register.Tony Wasserka2014-07-231-2/+9
|
* Renderer: Add a few TODOs.Tony Wasserka2014-07-231-3/+10
|
* GPU debugger: Don't keep track of debugging data if no debugger views are active.Tony Wasserka2014-07-221-0/+6
|
* GPU debugger: Const correctness and build fix.Tony Wasserka2014-06-121-3/+3
|
* Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift2014-06-121-0/+3
|
* Pica: Use some template magic to define register structures efficiently.Tony Wasserka2014-06-121-25/+102
|
* Further refine GPU command list debugging.Tony Wasserka2014-06-122-0/+17
|
* Refine command list debugging functionality and its qt interface.Tony Wasserka2014-06-122-8/+17
|
* citra-qt: Add command list view.Tony Wasserka2014-06-121-2/+2
|
* GPU debugger: Add functionality to inspect command lists.Tony Wasserka2014-06-121-1/+53
|
* video core: added PICA definitions file.Tony Wasserka2014-06-123-0/+37
|
* Rename LCD to GPU.Tony Wasserka2014-06-121-3/+3
|
* Add initial graphics debugger interface.Tony Wasserka2014-06-123-3/+102
|
* common_types: Changed BasicRect back to Rect, in the common namespacearchshift2014-05-202-3/+3
| | | | Only Rect is in the namespace for now; the rest of common should be added in the future
* Improved clarity and whitespacearchshift2014-05-202-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.
* CMakeLists: rename HEADS, improved commentsarchshift2014-05-201-2/+2
| | | | Changes for clarity of comments, removed redundant compiler flags.
* Indent fixesarchshift2014-05-191-31/+31
|
* Merge remote-tracking branch 'upstream/master' into issue-7-fixarchshift2014-05-171-7/+6
|\
| * Update FlipFramebufferSethpaien2014-05-081-7/+6
| | | | | | Less calculations + fix
* | Fixed indentsarchshift2014-05-012-37/+35
| |
* | Reverse debugging changesarchshift2014-05-011-2/+0
| |
* | TGA dumps work, courtesy of @bunneiarchshift2014-05-012-36/+38
| |
* | OpenGL 3+ on OSX with GLFWarchshift2014-05-011-0/+2
| |
* | IT'S ALIVE!archshift2014-04-291-1/+6
| |
* | Xcode complains that the class name is redundant.archshift2014-04-281-1/+1
| |
* | Rect to BasicRectarchshift2014-04-282-3/+3
|/ | | | Somewhere along the line an OSX header had already taken the name Rect.
* removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei2014-04-282-4/+1
|
* fixed renderer to use correct framebuffer locationbunnei2014-04-272-8/+7
|
* fixed GL context acquire (applies to Qt GUI only)bunnei2014-04-221-0/+2
|
* renamed hw_lcd module to just lcdbunnei2014-04-181-1/+1
|
* fixed framebuffer color orderbunnei2014-04-171-1/+1
|
* removed hard-coded framebuffer addresses from renderer_opengl.cppbunnei2014-04-171-2/+4
|
* cleaned up some logging messagesbunnei2014-04-111-1/+2
|
* fixed a bunch of errors in CMakeListsbunnei2014-04-101-3/+3
|
* updated CMakeListsbunnei2014-04-101-16/+2
|
* fixed project includes to use new directory structurebunnei2014-04-099-38/+39
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-097-0/+0
|
* fixed license header in video_corebunnei2014-04-097-182/+23
|
* - removed lots of unused code from gekkobunnei2014-04-093-367/+110
| | | | - updated code style/naming conventions
* added support for renderering the external framebuffersbunnei2014-04-072-20/+147
|
* added external framebuffer GL handlesbunnei2014-04-071-2/+11
|
* added initial renderer codebunnei2014-04-067-19/+534
|
* added video_core project to solutionbunnei2014-04-058-0/+567