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
4e9f305ed2
GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.
- Various other cleanups.
12 years ago
Tony Wasserka
9fd2537e93
Use uniform formatting when printing hexadecimal numbers.
12 years ago
Tony Wasserka
9b0d0c81a0
GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32.
Anonymous structs are not standard C++, hence don't use them.
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
c6fdeb7b23
Renderer: Fix component order in bottom framebuffer.
12 years ago
Tony Wasserka
cb6f97b2eb
Renderer: Respect the active_fb GPU register.
12 years ago
Tony Wasserka
9b96407e8e
Renderer: Add a few TODOs.
12 years ago
Tony Wasserka
a4d89edd9b
GPU debugger: Don't keep track of debugging data if no debugger views are active.
12 years ago
Tony Wasserka
c34ba38001
GPU debugger: Const correctness and build fix.
12 years ago
archshift
ee4717aaae
Preprocessor: #if's out OSX-specific GL changes on other platforms
12 years ago
Tony Wasserka
4c2bff61e5
Pica: Use some template magic to define register structures efficiently.
12 years ago
Tony Wasserka
f82410e633
Further refine GPU command list debugging.
12 years ago
Tony Wasserka
b0051b2203
Refine command list debugging functionality and its qt interface.
12 years ago
Tony Wasserka
6893732348
citra-qt: Add command list view.
12 years ago
Tony Wasserka
5d62f5d92a
GPU debugger: Add functionality to inspect command lists.
12 years ago
Tony Wasserka
50b2b73be4
video core: added PICA definitions file.
12 years ago
Tony Wasserka
1dfa392824
Rename LCD to GPU.
12 years ago
Tony Wasserka
31666632ca
Add initial graphics debugger interface.
12 years ago
archshift
5a8ed196e6
common_types: Changed BasicRect back to Rect, in the common namespace
Only Rect is in the namespace for now; the rest of common should be added in the future
12 years ago
archshift
034e3aabc8
Improved clarity and whitespace
Changed QGL version to 3,2 in order to be less restrictive, yet it should still change up to 4,1 on OSX on Qt5.
12 years ago
archshift
403e4bf837
CMakeLists: rename HEADS, improved comments
Changes for clarity of comments, removed redundant compiler flags.
12 years ago
archshift
71b8789803
Indent fixes
12 years ago
Sethpaien
e1fcb2fdfb
Update FlipFramebuffer
Less calculations + fix
12 years ago
archshift
704075f04a
Fixed indents
12 years ago
archshift
948cfe6d37
Reverse debugging changes
12 years ago
archshift
541c9dffb7
Unintended change reversal
12 years ago
archshift
fb47258af7
TGA dumps work, courtesy of @bunnei
12 years ago
archshift
c1b770cc0d
OpenGL 3+ on OSX with GLFW
12 years ago
archshift
5a9c2ce5ea
IT'S ALIVE!
12 years ago
archshift
48deb45624
Xcode complains that the class name is redundant.
12 years ago
archshift
ff48c8bed3
Rect to BasicRect
Somewhere along the line an OSX header had already taken the name Rect.
12 years ago
bunnei
a48c6b947d
removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class
12 years ago
bunnei
1142ccba03
fixed renderer to use correct framebuffer location
12 years ago
bunnei
7a080551ac
fixed GL context acquire (applies to Qt GUI only)
12 years ago
bunnei
70c2cce963
renamed hw_lcd module to just lcd
12 years ago
bunnei
9d5a561c1b
fixed framebuffer color order
12 years ago
bunnei
d4411acfd0
removed hard-coded framebuffer addresses from renderer_opengl.cpp
12 years ago
bunnei
5d95bb9843
cleaned up some logging messages
12 years ago
bunnei
9527fc74ad
fixed a bunch of errors in CMakeLists
12 years ago
bunnei
6b83509a7e
updated CMakeLists
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
ef7cfa0207
fixed license header in video_core
12 years ago
bunnei
8c60294243
- removed lots of unused code from gekko
- updated code style/naming conventions
12 years ago
bunnei
8cf851f68a
added support for renderering the external framebuffers
12 years ago
bunnei
506e6049d3
added external framebuffer GL handles
12 years ago
bunnei
080f847550
added initial renderer code
12 years ago