summaryrefslogtreecommitdiffstats
path: root/src/core/hw (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #648 from Subv/fill_bitTony Wasserka2015-03-091-1/+1
|\ | | | | GPU: Use the correct position for the finished bit in memory fills
| * GPU: Use the correct position for the finished bit in memory fillsSubv2015-03-091-1/+1
| |
* | GPU: Corrected the 24 bit memory fills component orderSubv2015-03-092-5/+5
|/
* GPU: Added RGB565/RGB8 framebuffer support and various cleanups.bunnei2015-03-041-50/+25
| | | | | | - Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger.
* Added RGBA5551 compatibility in the rasterizerarchshift2015-02-281-1/+1
| | | | This allows Virtual Console games to display properly.
* GPU: Implemented bits 3 and 1 from the display transfer flags.Subv2015-02-272-23/+64
| | | | | 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.
* GPU: Fixed RGBA8 as output format in a display transfer.Subv2015-02-221-8/+7
| | | | Verified with hwtests
* Merge pull request #471 from archshift/pp3ports3bunnei2015-02-221-0/+37
|\ | | | | GPU: Add support for more framebuffer formats in display transfers.
| * GPU: Add support for more framebuffer formats in display transfers.Tony Wasserka2015-02-221-0/+37
| |
* | Merge pull request #594 from Subv/display_transferbunnei2015-02-221-8/+6
|\ \ | | | | | | GPU: Fixed the RGBA8 input format and RGB8 output format
| * | GPU: Fixed the RGBA8 input format and RGB8 output formatSubv2015-02-221-8/+6
| | | | | | | | | | | | in Display Transfers, tested with hwtests.
* | | Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.harchshift2015-02-201-11/+0
|/ /
* | GPU: Properly implement memory fills.Tony Wasserka2015-02-182-16/+57
| |
* | video_core: Implement the remaining framebuffer formats in the OpenGL renderer.Emmanuel Gil Peyrot2015-02-151-0/+19
| |
* | Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-111-1/+1
| | | | | | | | | | | | | | 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.
* | 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-143-51/+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-312-1/+8
| | | | | 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-292-27/+37
|
* GPU: Further improve synchronization.bunnei2014-12-261-22/+20
|
* License changepurpasmart962014-12-214-4/+4
|
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-132-12/+12
|
* GPU: Fixed bug in command list size decoding.bunnei2014-12-102-3/+2
|
* Remove unused NDMA moduleYuri Kunde Schlesner2014-12-093-86/+0
|
* Fixed formatting and switch statement warningsvaguilar2014-11-273-5/+5
|
* Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-191-3/+3
|
* Merge pull request #162 from SeannyM/warning-fixesbunnei2014-10-303-6/+6
|\ | | | | Fix some warnings
| * Fix some warningsSean2014-10-303-6/+6
| |
* | 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-282-3/+16
|
* Rename GPU::Regs::FramebufferFormat to PixelFormatYuri Kunde Schlesner2014-10-122-14/+10
| | | | | | 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-082-3/+3
|
* Core: Fix warnings in gpu.cppLioncash2014-09-141-6/+6
|
* core: Prune redundant includesarchshift2014-09-093-4/+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
|
* GPU: Fix a compiler warning about redundant semicolons.Tony Wasserka2014-08-251-2/+2
|
* 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-122-150/+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-122-132/+212
| | | | | 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
|
* Fix a few warnings.Tony Wasserka2014-07-232-4/+4
| | | | Templates shouldn't be marked as inline if they aren't defined in the header.
* GPU: Clarify display transfer code.Tony Wasserka2014-07-231-12/+15
| | | | Also makes the illogical component order more obvious.
* GPU: Add documentation.Tony Wasserka2014-07-231-2/+14
|
* RegisterSet: Simplify code by using structs for register definition instead of unions.Tony Wasserka2014-07-232-133/+123
|
* GPU: Make use of RegisterSet.Tony Wasserka2014-07-232-306/+172
|
* GPU: Make framebuffer code format-aware.Tony Wasserka2014-07-231-6/+47
|
* GPU: Interface cleanup.Tony Wasserka2014-07-232-13/+20
|
* GPU: Initialize GPU registers to some sensible default state.Tony Wasserka2014-07-231-1/+16
|
* GPU: Emulate memory fills.Tony Wasserka2014-07-232-2/+80
|
* GPU: Add proper framebuffer register handling.Tony Wasserka2014-07-232-11/+105
|
* GPU: Properly implement display transfers.Tony Wasserka2014-07-231-1/+19
|
* GPU: Add display transfer configuration.Tony Wasserka2014-07-232-0/+92
|
* GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY.Tony Wasserka2014-07-231-0/+8
|
* Use a more compatible choice of initial framebuffer addresses.Tony Wasserka2014-07-221-10/+22
|
* Merge branch 'threading' of https://github.com/bunnei/citrabunnei2014-06-142-2/+3
|\ | | | | | | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
| * Core: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cyclesbunnei2014-06-131-1/+2
| |
| * lcd: moved kFrameTicks to lcd.h for use in other modulesbunnei2014-05-292-2/+2
| |
* | GPU: Cleanup register definitions.Tony Wasserka2014-06-122-28/+28
| |
* | Rename LCD to GPU.Tony Wasserka2014-06-124-20/+20
| |
* | Pica: Add command list registers.Tony Wasserka2014-06-122-5/+52
|/
* lcd: added thread wait after (faked) vblank interrupt (would have) occurredbunnei2014-05-231-0/+4
|
* added code to LCD modules keep track of framebuffer location in FCRAM or VRAMbunnei2014-04-272-15/+153
|
* - changed HW IO map to use virtual addressesbunnei2014-04-262-39/+51
| | | | - added hooks to catch LCD IO read/writes
* added (fake) physical addresses for where to put framebuffer in VRAMbunnei2014-04-261-0/+10
|
* renamed hw_lcd module to just lcdbunnei2014-04-183-2/+2
|
* added NDMA hardware interfacebunnei2014-04-183-2/+133
|
* fixed hw write declarations to not be constbunnei2014-04-131-4/+4
|
* updated logging messagebunnei2014-04-111-2/+2
|
* cleaned up some logging messagesbunnei2014-04-111-4/+4
|
* fixed project includes to use new directory structurebunnei2014-04-094-9/+14
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-094-0/+164