Lioncash
c289629f97
yuzu/debugger/graphics_surface: Display error messages for file I/O errors
7 years ago
Lioncash
64e191b2b8
yuzu/debugger/graphics_surface: Tidy up SaveSurface
- Use QStringLiteral where applicable.
- Use const where applicable
- Remove unnecessary precondition check (we already assert the pixbuf
being non null)
7 years ago
Lioncash
5e69f8fc32
yuzu/debugger/graphics_surface: Clean up connection overload deduction
We can utilize qOverload with the signal connections to make the
function deducing a little less ugly.
7 years ago
Lioncash
af6c9a2993
yuzu/debugger/graphics_surface: Fill in missing surface format listings
Fills in the missing surface types that were marked as unknown. The
order corresponds with the TextureFormat enum within
video_core/texture.h.
We also don't need to all of these strings as translatable (only the
first string, as it's an English word).
7 years ago
bunnei
6f872bd580
gpu: Move GPUVAddr definition to common_types.
7 years ago
bunnei
d3f26c1546
video_core: Refactor to use MemoryManager interface for all memory access.
# Conflicts:
# src/video_core/engines/kepler_memory.cpp
# src/video_core/engines/maxwell_3d.cpp
# src/video_core/morton.cpp
# src/video_core/morton.h
# src/video_core/renderer_opengl/gl_global_cache.cpp
# src/video_core/renderer_opengl/gl_global_cache.h
# src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
7 years ago
Lioncash
39eccc0286
common/vector_math: Move Vec[x] types into the Common namespace
These types are within the common library, so they should be using the
Common namespace.
7 years ago
David Marcec
1dfb0a513a
Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
7 years ago
FernandoS27
82d04c5e99
Fix ASTC Decompressor to support depth parameter
7 years ago
FernandoS27
fe596b4c6e
Fix ASTC formats
7 years ago
Frederic L
c76f4b6aec
global: Use std::optional instead of boost::optional ( #1578 )
* get rid of boost::optional
* Remove optional references
* Use std::reference_wrapper for optional references
* Fix clang format
* Fix clang format part 2
* Adressed feedback
* Fix clang format and MacOS build
7 years ago
FernandoS27
1a70753709
Propagate depth and depth_block on modules using decoders
7 years ago
fearlessTobi
1190ea6ddb
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
Lioncash
b4a81f9bca
gpu: Make memory_manager private
Makes the class interface consistent and provides accessors for
obtaining a reference to the memory manager instance.
Given we also return references, this makes our more flimsy uses of
const apparent, given const doesn't propagate through pointers in the
way one would typically expect. This makes our mutable state more
apparent in some places.
7 years ago
Lioncash
e5eb0a7737
debug_utils: Remove unused includes
Quite a bit of these aren't necessary directly within the debug_utils
header and can be removed or included where actually necessary.
7 years ago
bunnei
1a9b133715
textures: Refactor out for Texture/Depth FormatFromPixelFormat.
7 years ago
Lioncash
5de7c31baa
qt: Default destructors where applicable
Makes code consistent with our style of defaulting special member
functions where applicable.
7 years ago
Lioncash
f90c667a44
yuzu: Use Qt 5 signal/slots where applicable
Makes the signal/slot connections type-safe instead of string-based.
8 years ago
Lioncash
d923d8f50c
gpu: Rename Get3DEngine() to Maxwell3D()
This makes it match its const qualified equivalent.
8 years ago
bunnei
b6bed8fd74
memory_manager: Make GpuToCpuAddress return an optional.
8 years ago
bunnei
ebef12f037
memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses.
8 years ago
Subv
fa6edc4412
GPU: Implement the RGB10_A2 RenderTarget format, it will use the same format as the A2BGR10 texture format.
8 years ago
bunnei
9415aeb48f
graphics_surface: Remove superfluous cast.
8 years ago
bunnei
74c4739713
graphics_surface: Fix merge conflicts.
8 years ago
Subv
18a9536efa
GPU: Make the debug_context variable a member of the frontend instead of a global.
8 years ago
Subv
0892143af9
Frontend: Updated the surface view debug widget to work with Maxwell surfaces.
8 years ago
Subv
19bf501723
Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.
8 years ago
James Rowe
bd5740a721
Remove gpu debugger and get yuzu qt to compile
8 years ago
James Rowe
5dbd091a80
Massive removal of unused modules
8 years ago
Huw Pascoe
da1c8d1522
Fixed type conversion ambiguity
8 years ago
Yuri Kunde Schlesner
ddf23d4a2e
VideoCore: Split regs.h inclusions
9 years ago
Yuri Kunde Schlesner
a0b1957425
VideoCore: Move Regs to its own file
9 years ago
Yuri Kunde Schlesner
6f9218c8ec
VideoCore: Split framebuffer regs from Regs struct
9 years ago
Yuri Kunde Schlesner
1242f42a09
VideoCore: Split texturing regs from Regs struct
9 years ago
Yuri Kunde Schlesner
114222b11e
Pica/Texture: Simplify/cleanup texture tile addressing
9 years ago
Yuri Kunde Schlesner
d1270b647c
VideoCore: Move LookupTexture out of debug_utils.h
9 years ago
Lioncash
0ecbd152b1
citra-qt: Move graphics debugging code into its own folder
Keeps all graphics debugging stuff from cluttering up the root debugger
folder
9 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
Jannik Vogel
3261520e19
citra_qt: Replace 'Pica Framebuffer Debugger' with 'Pica Surface Viewer'
10 years ago