1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle
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
..
kernel Merge pull request #914 from lioncash/codeset 2018-08-04 02:17:25 -04:00
service video_core: Eliminate the g_renderer global variable 2018-08-04 02:36:57 -04:00
ipc.h add IPC CommandType & Some HID FunctionInfo (#487) 2018-05-30 14:09:21 -04:00
ipc_helpers.h kernel: Move object class to its own source files 2018-08-01 23:34:42 -04:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h Add & correct some error modules 2018-05-23 14:22:42 +02:00
romfs.cpp
romfs.h