Commit Graph

38 Commits (924292f2cc7f7f766fdaa8d7d35bfe752b3f4bd1)

Author SHA1 Message Date
Lectem 77f4fc473f fix #2560 and other comments 8 years ago
Lectem fb70c9683c move push out of class body and add u8 u16 bool specializations 8 years ago
Weiyi Wang a1393dc70c Merge pull request #2027 from Lectem/ipcrefactor
IPC helper
8 years ago
Subv 5ddc2e09b1 Y2R: Use the proper error code when GetStandardCoefficient receives an invalid value. 8 years ago
Lectem 8baae9d982 IPC helpers example 8 years ago
Lioncash 963aedd8cc Add all services to the Service namespace
Previously there was a split where some of the services were in the
Service namespace and others were not.
8 years ago
Yuri Kunde Schlesner 84fbbe2629 Use negative priorities to avoid special-casing the self-include 9 years ago
Emmanuel Gil Peyrot ebdae19fd2 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner 396a8d91a4 Manually tweak source formatting and then re-run clang-format 9 years ago
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything. 9 years ago
bunnei 12f72a6597 y2r_u: Cleanup some formatting. 9 years ago
bunnei 61992170ac Merge pull request #1447 from JamePeng/update-y2r-service
Update the code of service y2r!
9 years ago
tfarley 22f3a7e94c HWRasterizer: Texture forwarding 9 years ago
JamePeng 854912ca5d Update the code of service y2r! 9 years ago
Lioncash 856a1d0386 svc: Move ResetType enum to the kernel event header 9 years ago
Lioncash 12e92f17de svc: Make ResetType an enum class 9 years ago
Lioncash bf76afc68d renderer_base: Don't directly expose the rasterizer unique_ptr
There's no reason to allow direct access to the unique_ptr instance. Only
its contained pointer.
9 years ago
Lioncash 0937bed8d8 services: Get rid of unnecessary includes 9 years ago
Lioncash 744f4af3ab services: Update some function tables 9 years ago
Yuri Kunde Schlesner 195fedccf0 VideoCore: Unify interface to OpenGL and SW rasterizers
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.
10 years ago
Yuri Kunde Schlesner 03835d04f4 VideoCore: Rename HWRasterizer methods to be less confusing 10 years ago
Yuri Kunde Schlesner e2c7954be5 Memory: Move address type conversion routines to memory.cpp/h
These helpers aren't really part of the kernel, and mem_map.cpp/h is
going to be moved there next.
10 years ago
Yuri Kunde Schlesner dc39d06950 Ensure all kernel objects are released during shutdown
This commit fixes several kernel object leaks. The most severe of them
was threads not being removed from the private handle table used for
CoreTiming events. This resulted in Threads never being released, which
in turn held references to Process, causing CodeSets to never be freed
when loading other applications.
10 years ago
Emmanuel Gil Peyrot 45c4781544 CitraQt: Cleanup includes. 10 years ago
Yuri Kunde Schlesner 81488d7a6a Add helpers to create IPC command buffer headers and descriptors 10 years ago
Yuri Kunde Schlesner 3e6663da43 Y2R: Rework conversion process, enabling support for all formats 10 years ago
Yuri Kunde Schlesner 29d2b70ea4 Y2R: Re-organize how params are stored. Support SetConversionParams 10 years ago
Lioncash ebca3a4902 y2r_u: Remove unused variable in StartConversion 10 years ago
tfarley 62668688e1 Flush for y2r (moflex) 10 years ago
Yuri Kunde Schlesner 9108482888 Service::Y2R: Support for grayscale decoding of specific formats
Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R.
Currently only the Y (luma) channel is used, so the results don't
contain color. This will be added in a later PR at some point.

This is enough to get all currently know Moflex videos to decode. (Some
don't display on-screen due to seemingly unrelated reasons.)

Thanks to @archshift for doing the initial implementation which I
cleaned up and then fixed the 8x8 block mode.
10 years ago
bunnei 25f14e76f1 y2r_u: Stub StartConversion to prevent moflex games from hanging. 10 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 10 years ago
bunnei e0cb85691a Services: Initialize all state variables at bootup. 10 years ago
Subv ef66feaeba Services: Implemented Y2R_U::GetTransferEndEvent
Aero Porter was throwing an "Invalid Handle" fatal error without this.
10 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.
10 years ago
Yuri Kunde Schlesner a79d21c83e Service: Clean-up Interface 10 years ago
archshift 3b555e2512 Stubbed y2r:u IsBusyConversion
There is no documentation available on this function, but we set the result to false as a stub.
This allows Super Little Acorns to move all the way in game with pp3c.
10 years ago
archshift 48130b1eaa Stub the y2r:u service 10 years ago