aboutsummaryrefslogtreecommitdiff
path: root/src/core/hw
AgeCommit message (Collapse)Author
2015-02-15video_core: Implement the remaining framebuffer formats in the OpenGL renderer.Emmanuel Gil Peyrot
2015-02-10Asserts: break/crash program, fit to style guide; log.h->assert.harchshift
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.
2015-02-03core: Fix some warnings on OSXLioncash
2015-01-14GPU: Fix buffer overrun in Display TransfersYuri Kunde Schlesner
Display transfers with the horizontal downscaling flag were calculating the wrong output size, causing them to write double the amount of data intended. It is likely that this was perceived as correct due to a separate bug in calculating source indices which caused the image to be padded unless the previous bug was present. This fixes both issues, correcting flickering issues in 3dscraft, blargSnes and more (caused by the transfer overwriting the back buffer which followed) as well as potentially fixing other crashes.
2015-01-14GPU: Do periodic VBlank updates using CoreTimingYuri Kunde Schlesner
2015-01-14GPU: Correct wrong default framebuffer address for sub-screen.Yuri Kunde Schlesner
It appears this is a mistake, since the sub-screen has no right framebuffer.
2015-01-14GPU: Fire GPU interrupts at the correct places.Yuri Kunde Schlesner
PDC0 and PDC1 are both VBlank interrupts. PDC0 was being treated as a HBlank interrupt and fired many more times than it should. They now both fire together at 60 Hz. This puzzlingly *improves* apparent framerate on many applications. A few other interrupts were being fired inside the GSP command processing instead of on the actual GPU register writes, so they were moved there, which should cover direct writes tho those registers not going through the GX command queue.
2015-01-09Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner
2015-01-05DSP: Signal (faked) interrupt on every frame.bunnei
- Hack to work around games checking that the DSP event has been signaled by a real DSP interrupt.
2014-12-31GPU: Pseudo-implement horizontal scaling.Tony Wasserka
It's not really known how this actually works. Some testing has shown that this probably performs no filtering, and common usage in games suggests it's not actually resizing the image at all. However, this patch does seem to fix some homebrew showing quasi-duplicated images while still keeping other applications in a working state.
2014-12-28GPU: Implement frameskip and remove forced framebuffer swap hack.bunnei
2014-12-25GPU: Further improve synchronization.bunnei
2014-12-20License changepurpasmart96
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-09GPU: Fixed bug in command list size decoding.bunnei
2014-12-09Remove unused NDMA moduleYuri Kunde Schlesner
2014-11-27Fixed formatting and switch statement warningsvaguilar
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Emmanuel Gil Peyrot
or generated
2014-10-29Merge pull request #162 from SeannyM/warning-fixesbunnei
Fix some warnings
2014-10-29Fix some warningsSean
2014-10-29Renamed souce files of services to match port namesGareth Poole
2014-10-27Added `gpu_refresh_rate` config setting for the new interpreter speed hack.archshift
2014-10-27Use configuration files to enable or disable the new dyncom interpreter.archshift
2014-10-12Rename GPU::Regs::FramebufferFormat to PixelFormatYuri Kunde Schlesner
This name better represents what the enum does, and is less overloaded in the context. (The whole register the enum is part of is also called 'format'.)
2014-10-07Fix warnings in video_coreLioncash
2014-09-13Core: Fix warnings in gpu.cppLioncash
2014-09-08core: Prune redundant includesarchshift
2014-08-30GPU: Improve frame synchronization, increases compatibility with both ↵bunnei
homebrew and retail applications.
2014-08-26VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.bunnei
2014-08-25GPU: Fix a compiler warning about redundant semicolons.Tony Wasserka
2014-08-12Pica: Add command processor.Tony Wasserka
2014-08-12Pica/GPU: Change hardware registers to use physical addresses rather than ↵Tony Wasserka
virtual ones. 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.
2014-08-12Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka
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.
2014-08-06GPU: Updated g_last_ticks variable to be more descriptive (represents CPU ↵bunnei
tick count of last vertical line).
2014-08-06GPU: Updated horizontal sync line counter to use framebuffer height.bunnei
2014-08-05GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.bunnei
- Various other cleanups.
2014-08-05GSP: Implements preliminary command synchronization via GPU interrupts.bunnei
Core: Added a comment to explain the logic for the RunLoop iterations.
2014-07-23Use uniform formatting when printing hexadecimal numbers.Tony Wasserka
2014-07-23Fix a few warnings.Tony Wasserka
Templates shouldn't be marked as inline if they aren't defined in the header.
2014-07-23GPU: Clarify display transfer code.Tony Wasserka
Also makes the illogical component order more obvious.
2014-07-23GPU: Add documentation.Tony Wasserka
2014-07-23RegisterSet: Simplify code by using structs for register definition instead ↵Tony Wasserka
of unions.
2014-07-23GPU: Make use of RegisterSet.Tony Wasserka
2014-07-23GPU: Make framebuffer code format-aware.Tony Wasserka
2014-07-23GPU: Interface cleanup.Tony Wasserka
2014-07-23GPU: Initialize GPU registers to some sensible default state.Tony Wasserka
2014-07-23GPU: Emulate memory fills.Tony Wasserka
2014-07-23GPU: Add proper framebuffer register handling.Tony Wasserka
2014-07-23GPU: Properly implement display transfers.Tony Wasserka
2014-07-23GPU: Add display transfer configuration.Tony Wasserka