bunnei
1b42d55a9d
Pica: Create 'State' structure and move state memory there.
11 years ago
tfarley
05dc633a8c
OpenGL renderer
11 years ago
archshift
40310e2132
Implement I4 texture format
@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.
11 years ago
Emmanuel Gil Peyrot
36b48082d5
VideoCore: Remove a superfluous auto variable declaration in debug_utils.
11 years ago
Gareth Higgins
8060c519a6
Changed occurences of colour to color for consistency
11 years ago
Emmanuel Gil Peyrot
92fd2a1ee3
VideoCore: Add static_cast around expressions where the compiler doesn’t deduce the right type.
11 years ago
Subv
4b8d4d0ed5
GPU/Textures: Fixed ETC texture decoding.
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
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
Yuri Kunde Schlesner
ea3c99f3a2
Video core: Fix A4 texture decoding
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.
11 years ago
Yuri Kunde Schlesner
3c50da6fc0
Video core: Fix pixelation/blockiness in textures.
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.
11 years ago
Lioncash
5d2366e1e9
core/video_core: Use in-place construction where possible
11 years ago
archshift
ef24e72b26
Asserts: break/crash program, fit to style guide; log.h->assert.h
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.
11 years ago
Tony Wasserka
f2b74b4fb3
Pica/Rasterizer: Add ETC1 texture decompression support.
11 years ago
Tony Wasserka
47543d62cf
Pica: Cleanup color conversion.
11 years ago
Tony Wasserka
3da52ead9b
Pica/DebugUtils: Fix a bug in RGBA4 texture decoding.
11 years ago
Tony Wasserka
632655e292
Pica: Fix A4, IA4 and IA8 texture formats.
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.
11 years ago
Yuri Kunde Schlesner
fe186d3a59
GPU: Bitwise texture swizzling
Replace the loop-based texture address swizzling code by a bit-twiddling
implementation, providing a very small speed up. Also simplify
addressing code.
11 years ago
Tony Wasserka
871418e62b
Pica/DebugUtils: Further cleanups to LookupTexture.
11 years ago
Tony Wasserka
88e9efe4b8
Pica/DebugUtils: Fix two warnings.
11 years ago
Tony Wasserka
6e275778c9
Pica/DebugUtils: Better document LookupTexture.
11 years ago
Tony Wasserka
d81370682f
Pica/DebugUtils: Make a number of variables static.
Makes for cleaner and faster code.
11 years ago
Tony Wasserka
cc5746abfe
Pica/DebugUtils: Replace duplicated SHBIN structures in favor of nihstro's ones.
11 years ago
Tony Wasserka
79c29243ed
Pica/DebugUtils: Add an event triggered after loading a vertex.
11 years ago
Tony Wasserka
1c972ef3b9
Add support for a ridiculous number of texture formats.
11 years ago
Tony Wasserka
40f123b7c0
Pica: Unify ugly address translation hacks.
11 years ago
Tony Wasserka
7e210e0229
Pica: Further improve Tev emulation.
11 years ago
Tony Wasserka
3df88d59b0
Pica: Merge texture lookup logic for DebugUtils and Rasterizer.
This effectively adds support for a lot texture formats in the rasterizer.
11 years ago
Tony Wasserka
c81f1a9ebc
Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats.
11 years ago
Yuri Kunde Schlesner
0600e2d8b5
Convert old logging calls to new logging macros
11 years ago
Tony Wasserka
0cd27a511e
Some code cleanup.
11 years ago
Tony Wasserka
2793619dce
citra_qt: Add enhanced texture debugging widgets.
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.
12 years ago
Tony Wasserka
fd194d95b0
citra-qt: Add texture viewer to Pica command list.
The texture viewer is enabled when selecting a write command to one of the texture config registers.
12 years ago
Tony Wasserka
2c71ec7052
Pica/DebugUtils: Add breakpoint functionality.
11 years ago
Rohit Nirmal
f9b53c3e94
Silence a few -Wsign-compare warnings.
11 years ago
Emmanuel Gil Peyrot
739bb58c3a
Remove tabs in all files except in skyeye imports and in generated GL code
11 years ago
Lioncash
eb5054e6eb
Fix warnings in video_core
11 years ago
Emmanuel Gil Peyrot
6b7b36a874
Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.
11 years ago
Tony Wasserka
2f1c129f64
Pica: Consolidate the primitive assembly code in PrimitiveAssembly and GeometryDumper.
12 years ago
Tony Wasserka
9679d231df
Pica/Rasterizer: Add texturing support.
12 years ago
Tony Wasserka
34fa0b6d9c
Pica/DebugUtils: Add convenient tev setup printer.
12 years ago
Tony Wasserka
c4691b784b
Pica: Add support for dumping textures.
12 years ago
Tony Wasserka
26ade98411
Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.
12 years ago
Tony Wasserka
f37e39deb9
Pica: Add debug utilities for dumping shaders.
12 years ago
Tony Wasserka
6ea003c7b5
Pica: Add debug utility functions for dumping geometry data.
12 years ago