Yuri Kunde Schlesner
fec7f6b035
Rename GPU::Regs::FramebufferFormat to PixelFormat
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'.)
11 years ago
Lioncash
eb5054e6eb
Fix warnings in video_core
11 years ago
Lioncash
6cc7c73b80
Core: Fix warnings in gpu.cpp
11 years ago
archshift
6e606c515f
core: Prune redundant includes
11 years ago
bunnei
aabfcfe6ad
GPU: Improve frame synchronization, increases compatibility with both homebrew and retail applications.
11 years ago
bunnei
20d169e4a1
VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.
11 years ago
Tony Wasserka
76a586de49
Pica: Add command processor.
12 years ago
Tony Wasserka
7b6a7d7dfb
Pica/GPU: Change hardware registers to use physical addresses rather than 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.
12 years ago
Tony Wasserka
9c781a6c76
Remove the fancy RegisterSet class introduced in 4c2bff61e.
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.
12 years ago
bunnei
0805ecbaca
GPU: Updated g_last_ticks variable to be more descriptive (represents CPU tick count of last vertical line).
12 years ago
bunnei
7ada2625fe
GPU: Updated horizontal sync line counter to use framebuffer height.
12 years ago
bunnei
4e9f305ed2
GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.
- Various other cleanups.
12 years ago
bunnei
ec14ffe1cd
GSP: Implements preliminary command synchronization via GPU interrupts.
Core: Added a comment to explain the logic for the RunLoop iterations.
12 years ago
Tony Wasserka
9fd2537e93
Use uniform formatting when printing hexadecimal numbers.
12 years ago
Tony Wasserka
2eb61dafc0
GPU: Clarify display transfer code.
Also makes the illogical component order more obvious.
12 years ago
Tony Wasserka
246cb75584
RegisterSet: Simplify code by using structs for register definition instead of unions.
12 years ago
Tony Wasserka
75775e9ef4
GPU: Make use of RegisterSet.
12 years ago
Tony Wasserka
357d893b26
GPU: Make framebuffer code format-aware.
12 years ago
Tony Wasserka
9d618d0b70
GPU: Interface cleanup.
12 years ago
Tony Wasserka
46950ee4de
GPU: Initialize GPU registers to some sensible default state.
12 years ago
Tony Wasserka
baf0aa04f5
GPU: Emulate memory fills.
12 years ago
Tony Wasserka
0b4055c152
GPU: Add proper framebuffer register handling.
12 years ago
Tony Wasserka
bbc6f314eb
GPU: Properly implement display transfers.
12 years ago
Tony Wasserka
16bbc4f81b
GPU: Add display transfer configuration.
12 years ago
Tony Wasserka
d4530765ce
GPU: Cleanup register definitions.
12 years ago
Tony Wasserka
1dfa392824
Rename LCD to GPU.
12 years ago
Tony Wasserka
b1c8bad9a6
Pica: Add command list registers.
12 years ago
bunnei
46aef01d04
lcd: moved kFrameTicks to lcd.h for use in other modules
12 years ago
bunnei
7bb66421a0
lcd: added thread wait after (faked) vblank interrupt (would have) occurred
12 years ago
bunnei
f0525a1eb4
added code to LCD modules keep track of framebuffer location in FCRAM or VRAM
12 years ago
bunnei
f78794961e
- changed HW IO map to use virtual addresses
- added hooks to catch LCD IO read/writes
12 years ago
bunnei
70c2cce963
renamed hw_lcd module to just lcd
12 years ago
bunnei
01bedbf956
updated logging message
12 years ago
bunnei
de0a034a84
fixed project includes to use new directory structure
12 years ago
bunnei
63e46abdb8
got rid of 'src' folders in each sub-project
12 years ago
bunnei
c0796cf762
fixed all license file headers in core
12 years ago
bunnei
6f7fd741db
removed log message from hw_lcd
12 years ago
bunnei
f0d49253e4
calling SwapBuffers from hw_lcd.cpp
12 years ago
bunnei
ed15feebf1
changed hw_lcd to use ARM core correct tick counter instead of [what was actually] just an instruction count. this seems to fix timing issues with the 3DS_Homebrew_Pong3Dv2 demo.
12 years ago
bunnei
9c2355ba4f
added a module for interfacing to hardware LCD
12 years ago
bunnei
31abc42d3d
added initial support for hw.cpp module
12 years ago
bunnei
670ac5643a
added hw module to interface h/w register reads/writes
12 years ago