Lioncash
e864aa25d5
common/color: Migrate code over to the Common namespace
No external code makes use of this header, so we can freely change the
namespace.
5 years ago
Lioncash
df72480395
common: Make use of [[nodiscard]] where applicable
Now that clang-format makes [[nodiscard]] attributes format sensibly, we
can apply them to several functions within the common library to allow
the compiler to complain about any misuses of the functions.
5 years ago
Lioncash
1b855efd5e
common/vector_math: Move Vec[x] types into the Common namespace
These types are within the common library, so they should be using the
Common namespace.
7 years ago
Lioncash
5a9c00ea04
common/color: Remove unnecessary const qualifiers on return types
These are just superfluous and not necessesary
8 years ago
Lioncash
76197a4be9
common/color: Get rid of undefined behavior
Gets rid of type punning via reinterpret_cast within functions. Instead,
we use memcpy to transfer the contents across types.
8 years ago
James Rowe
096be16636
Format: Run the new clang format on everything
8 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
Lioncash
60fe45813b
color: Make trivial helpers constexpr
10 years ago
Patrick Martin
5b65d95310
videocore: Added RG8 texture support
11 years ago
Tony Wasserka
5e79706db2
Pica: Implement stencil testing.
11 years ago
archshift
76690392bf
Move video_core/color.h to common/color.h
11 years ago
archshift
5df2d1b5f7
Move video_core/math.h to common/vector_math.h
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
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
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
Tony Wasserka
47543d62cf
Pica: Cleanup color conversion.
11 years ago