yuzu-android/src/video_core
Lioncash 6030c5ce41 video_core: Eliminate the g_renderer global variable
We move the initialization of the renderer to the core class, while
keeping the creation of it and any other specifics in video_core. This
way we can ensure that the renderer is initialized and doesn't give
unfettered access to the renderer. This also makes dependencies on types
more explicit.

For example, the GPU class doesn't need to depend on the
existence of a renderer, it only needs to care about whether or not it
has a rasterizer, but since it was accessing the global variable, it was
also making the renderer a part of its dependency chain. By adjusting
the interface, we can get rid of this dependency.
2018-08-04 02:36:57 -04:00
..
debug_utils Fix crash at exit 2018-06-25 18:01:08 +03:00
engines video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00
renderer_opengl video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00
textures Implement RGB32F PixelFormat (#886) (used by Go Vacation) 2018-08-02 14:56:38 -04:00
CMakeLists.txt gl_rasterizer: Implement texture format ASTC_2D_4X4. 2018-06-18 01:56:59 -04:00
command_processor.cpp Update clang format 2018-07-02 21:45:47 -04:00
command_processor.h GPU: Process command mode 5 (IncreaseOnce) differently from other commands. 2018-03-16 20:32:44 -05:00
gpu.cpp video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00
gpu.h video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00
macro_interpreter.cpp MacroInterpreter: Avoid left shifting negative values. 2018-07-30 20:38:24 -05:00
macro_interpreter.h MacroInterpreter: Avoid left shifting negative values. 2018-07-30 20:38:24 -05:00
memory_manager.cpp video_core/memory_manager: Replace a loop with std::array's fill() function in PageSlot() 2018-07-24 11:56:30 -04:00
memory_manager.h GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl. 2018-05-20 14:25:56 -05:00
rasterizer_interface.h GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to. 2018-07-03 16:56:44 -05:00
renderer_base.cpp video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00
renderer_base.h video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00
utils.h renderer_opengl: Fix Morton copy byteswap, etc. 2018-04-14 16:01:39 -04:00
video_core.cpp video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00
video_core.h video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00