aboutsummaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.cpp
AgeCommit message (Collapse)Author
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot
2015-05-22OpenGL renderertfarley
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner
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.
2015-05-09Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner
2015-05-01HW: Properly initialize and shutdown all modules.bunnei
2015-04-07gpu: Fix a missing format specifierLioncash
2015-04-02Services: Stubs and minor changespurpasmart96
2015-03-17Merge pull request #650 from Subv/scalingbunnei
GPU: Fixed the bit 25 in the display transfer flags.
2015-03-16GPU/DisplayTransfer: Made the scaling bits a single 2bit valueSubv
Rephrased some comments.
2015-03-14GPU: Implemented the flip_data (bit 0) bit in display transfers.Subv
2015-03-11Merge pull request #642 from bunnei/touchpadbunnei
Touchpad support
2015-03-10HID: Complete refactor of pad/touch input to fix threading issues.bunnei
2015-03-10Merge pull request #629 from archshift/lcdfbbunnei
Implement SetLcdForceBlack and add implementation for color filling in the GPU code
2015-03-10GPU: Fixed the bit 25 in the display transfer flags.Subv
It is used to downscale the input image horizontally and vertically, previously we were only downscaling it vertically so this caused a hard-to-debug memory corruption problem.
2015-03-09GPU: Corrected the 24 bit memory fills component orderSubv
2015-03-05Implement SetLcdForceBlack, move register enum to hw.harchshift
2015-03-03GPU: Added RGB565/RGB8 framebuffer support and various cleanups.bunnei
- Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger.
2015-02-26GPU: Implemented bits 3 and 1 from the display transfer flags.Subv
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.
2015-02-22GPU: Fixed RGBA8 as output format in a display transfer.Subv
Verified with hwtests
2015-02-22Merge pull request #471 from archshift/pp3ports3bunnei
GPU: Add support for more framebuffer formats in display transfers.
2015-02-22GPU: Add support for more framebuffer formats in display transfers.Tony Wasserka
2015-02-21GPU: Fixed the RGBA8 input format and RGB8 output formatSubv
in Display Transfers, tested with hwtests.
2015-02-18GPU: Properly implement memory fills.Tony Wasserka
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-11-27Fixed formatting and switch statement warningsvaguilar
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-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.