summaryrefslogtreecommitdiffstats
path: root/src/core/hw/gpu.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: Fix some warnings on OSXLioncash2015-02-031-2/+0
|
* GPU: Fix buffer overrun in Display TransfersYuri Kunde Schlesner2015-01-141-9/+12
| | | | | | | | | | | | 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.
* GPU: Do periodic VBlank updates using CoreTimingYuri Kunde Schlesner2015-01-141-47/+44
|
* GPU: Correct wrong default framebuffer address for sub-screen.Yuri Kunde Schlesner2015-01-141-2/+2
| | | | | It appears this is a mistake, since the sub-screen has no right framebuffer.
* GPU: Fire GPU interrupts at the correct places.Yuri Kunde Schlesner2015-01-141-15/+18
| | | | | | | | | | | | 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.
* Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner2015-01-091-0/+2
|
* DSP: Signal (faked) interrupt on every frame.bunnei2015-01-051-1/+7
| | | | - Hack to work around games checking that the DSP event has been signaled by a real DSP interrupt.
* GPU: Pseudo-implement horizontal scaling.Tony Wasserka2014-12-311-1/+5
| | | | | 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.
* GPU: Implement frameskip and remove forced framebuffer swap hack.bunnei2014-12-291-27/+36
|
* GPU: Further improve synchronization.bunnei2014-12-261-22/+20
|
* License changepurpasmart962014-12-211-1/+1
|
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-131-8/+8
|
* GPU: Fixed bug in command list size decoding.bunnei2014-12-101-2/+1
|
* Fixed formatting and switch statement warningsvaguilar2014-11-271-3/+3
|
* Merge pull request #162 from SeannyM/warning-fixesbunnei2014-10-301-2/+2
|\ | | | | Fix some warnings
| * Fix some warningsSean2014-10-301-2/+2
| |
* | Renamed souce files of services to match port namesGareth Poole2014-10-291-1/+1
|/
* Added `gpu_refresh_rate` config setting for the new interpreter speed hack.archshift2014-10-281-10/+1
|
* Use configuration files to enable or disable the new dyncom interpreter.archshift2014-10-281-0/+16
|
* Rename GPU::Regs::FramebufferFormat to PixelFormatYuri Kunde Schlesner2014-10-121-5/+5
| | | | | | 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'.)
* Fix warnings in video_coreLioncash2014-10-081-2/+2
|
* Core: Fix warnings in gpu.cppLioncash2014-09-141-6/+6
|
* core: Prune redundant includesarchshift2014-09-091-2/+0
|
* GPU: Improve frame synchronization, increases compatibility with both homebrew and retail applications.bunnei2014-08-311-13/+31
|
* VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.bunnei2014-08-261-9/+8
|
* Pica: Add command processor.Tony Wasserka2014-08-121-3/+5
|
* Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones.Tony Wasserka2014-08-121-84/+18
| | | | | 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.
* Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka2014-08-121-24/+23
| | | | | 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.
* GPU: Updated g_last_ticks variable to be more descriptive (represents CPU tick count of last vertical line).bunnei2014-08-071-5/+5
|
* GPU: Updated horizontal sync line counter to use framebuffer height.bunnei2014-08-071-2/+3
|
* GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.bunnei2014-08-061-2/+2
| | | | - Various other cleanups.
* GSP: Implements preliminary command synchronization via GPU interrupts.bunnei2014-08-061-3/+19
| | | | Core: Added a comment to explain the logic for the RunLoop iterations.
* Use uniform formatting when printing hexadecimal numbers.Tony Wasserka2014-07-231-3/+3
|
* GPU: Clarify display transfer code.Tony Wasserka2014-07-231-12/+15
| | | | Also makes the illogical component order more obvious.
* RegisterSet: Simplify code by using structs for register definition instead of unions.Tony Wasserka2014-07-231-51/+51
|
* GPU: Make use of RegisterSet.Tony Wasserka2014-07-231-241/+101
|
* GPU: Make framebuffer code format-aware.Tony Wasserka2014-07-231-6/+47
|
* GPU: Interface cleanup.Tony Wasserka2014-07-231-12/+17
|
* GPU: Initialize GPU registers to some sensible default state.Tony Wasserka2014-07-231-1/+16
|
* GPU: Emulate memory fills.Tony Wasserka2014-07-231-2/+54
|
* GPU: Add proper framebuffer register handling.Tony Wasserka2014-07-231-1/+52
|
* GPU: Properly implement display transfers.Tony Wasserka2014-07-231-1/+19
|
* GPU: Add display transfer configuration.Tony Wasserka2014-07-231-0/+52
|
* Merge branch 'threading' of https://github.com/bunnei/citrabunnei2014-06-141-2/+0
| | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
* GPU: Cleanup register definitions.Tony Wasserka2014-06-121-13/+13
|
* Rename LCD to GPU.Tony Wasserka2014-06-121-0/+194