Yuri Kunde Schlesner
2396b01d5d
Common: Remove section measurement from profiler ( #1731 )
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.
10 years ago
Jannik Vogel
c52ea04cf5
Rasterizer: Allow all blend factors for alpha blend-func
10 years ago
Jannik Vogel
ca9fb9d1d5
Rasterizer: Respect buffer-write allow registers
10 years ago
Yuri Kunde Schlesner
d2ce686d97
Pica: Write depth value even when depth test is disabled
This has been confirmed on hardware. Fixes Etrian Odyssey IV.
10 years ago
Dwayne Slater
141fe87a0f
Add immediate mode vertex submission
10 years ago
Yuri Kunde Schlesner
7b9807c835
PICA: Properly emulate 1-stage delay in the combiner buffer
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 .
10 years ago
Emmanuel Gil Peyrot
b0c7762520
CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.
The LOG_* function itself already appends one.
10 years ago
Martin Lindhe
b36b9d6923
fix some xcode 7.0 warnings
10 years ago
Lioncash
08147474cb
general: Silence some warnings when using clang
10 years ago
Lioncash
2cd98a45cb
video_core: Reorganize headers
10 years ago
Yuri Kunde Schlesner
424b0fa646
Integrate the MicroProfile profiling library
This brings goodies such as a configurable user interface and
multi-threaded timeline view.
11 years ago
Subv
aee8f01e0a
SWRasterizer: Implemented stencil ops 6 and 7.
IncrementWrap and DecrementWrap, verified with hwtests.
10 years ago
Subv
9a3d5a11f3
SWRasterizer: Implemented stencil action 1 (GL_ZERO).
Verified with hwtests.
10 years ago
Subv
cbf5ed0c78
SWRasterizer: Removed a todo. Verified with hwtests.
10 years ago
Subv
97b1a10560
SWRenderer: The stencil depth_pass action is executed even if depth testing is disabled.
The HW renderer already did this.
10 years ago
Subv
be58cead12
Rasterizer: Abstract duplicated stencil code into a lambda.
10 years ago
Subv
7d816d5168
GPU/Rasterizer: Corrected the stencil implementation.
Verified the behavior with hardware tests.
10 years ago
bunnei
2d100ebae3
Shader: Move shader code to its own subdirectory, "shader".
11 years ago
bunnei
f622a78544
GPU: Refactor "VertexShader" namespace to "Shader".
- Also renames "vertex_shader.*" to "shader_interpreter.*"
11 years ago
Yuri Kunde Schlesner
13347997ba
VideoCore: #ifdef out some debugging routines
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.
11 years ago
Subv
009e34f08a
GPU: Added registers for min and mag texture filters and implemented them in the hw renderer.
11 years ago
Lectem
d08e9b29e2
VideoCore: Implement the DOT3_RGB combiner
11 years ago
Tony Wasserka
5e79706db2
Pica: Implement stencil testing.
11 years ago
Lectem
58d1c6398e
Added GL_CLAMP_TO_BORDER support
11 years ago
bunnei
33b9abb91e
Pica: Use zero for the SecondaryFragmentColor source.
- This is a workaround until we support fragment lighting.
11 years ago
bunnei
dcbc653b90
rasterizer: Remove unnecessary 'using' for BlendEquation.
11 years ago
bunnei
e6ace38815
Pica: Implement LogicOp function.
11 years ago
bunnei
3b5ff61201
rasterizer: Implement AddSigned combiner function for alpha channel.
11 years ago
archshift
76690392bf
Move video_core/color.h to common/color.h
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
11 years ago
bunnei
1b42d55a9d
Pica: Create 'State' structure and move state memory there.
11 years ago
tfarley
05dc633a8c
OpenGL renderer
11 years ago
Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
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.
11 years ago
Yuri Kunde Schlesner
def5913d19
GPU: Add more fine grained profiling for vertex shader and rasterization
11 years ago
bunnei
23e8be573e
rasterizer: Implemented combiner output scaling.
11 years ago
bunnei
ff767eeb40
rasterizer: Implemented AddSigned combiner op.
11 years ago
bunnei
547da374b8
rasterizer: Fixed a depth testing bug.
11 years ago
bunnei
a806b420a6
rasterizer: Implement combiner buffer input.
11 years ago
bunnei
44927f0306
rasterizer: Return zero'd vectors on error conditions.
11 years ago
Yuri Kunde Schlesner
17a8cae003
Memory: Add GetPhysicalPointer helper function
11 years ago
Yuri Kunde Schlesner
28a9e4c1d5
Memory: Support more regions in the VAddr-PAddr translation functions
Also adds better documentation and removes the one-off reimplementation
of the function in pica.h.
11 years ago
Rohit Nirmal
f15c142c5e
Silence some -Wsign-compare warnings.
11 years ago
Subv
1248e291f0
GPU: Added the stencil test structure to the Pica Regs struct.
11 years ago
Subv
414b0741c4
GPU: Implemented more depth buffer formats.
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
11 years ago
bunnei
34c31db14a
GPU: Added RGB565/RGB8 framebuffer support and various cleanups.
- Centralizes color format encode/decode functions.
- Fixes endianness issues.
- Implements remaining framebuffer formats in the debugger.
11 years ago
archshift
7f9ee69a2b
Added RGBA5551 compatibility in the rasterizer
This allows Virtual Console games to display properly.
11 years ago
Subv
c564c21668
GPU: Implemented bits 3 and 1 from the display transfer flags.
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.
11 years ago
bunnei
ed255ebaec
Rasterizer: Add support for RGBA4 framebuffer format.
11 years ago
bunnei
733c19ddd3
Rasterize with the correct color component order.
- Fixes a regression with #594 .
11 years ago
Subv
5410367ebf
Rasterizer: Fixed a warning in GetWrappedTexCoord.
Redeclaring the variable inside the switch was causing weird behavior.
11 years ago