summaryrefslogtreecommitdiffstats
path: root/src/video_core/video_core.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core: Eliminate the g_renderer global variableLioncash2018-08-041-11/+9
| | | | | | | | | | | | | | 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.
* video_core: Remove unimplemented Start() function prototypeLioncash2018-08-031-3/+0
| | | | Given this has no definition, we can just remove it entirely.
* video_core: Make global EmuWindow instance part of the base renderer classLioncash2018-08-021-2/+1
| | | | | | | | | | | Makes the global a member of the RendererBase class. We also change this to be a reference. Passing any form of null pointer to these functions is incorrect entirely, especially given the code itself assumes that the pointer would always be in a valid state. This also makes it easier to follow the lifecycle of instances being used, as we explicitly interact the renderer with the rasterizer, rather than it just operating on a global pointer.
* renderer: Create rasterizer and cleanup.bunnei2018-03-231-0/+2
|
* Format: Run the new clang format on everythingJames Rowe2018-01-211-1/+1
|
* Remove gpu debugger and get yuzu qt to compileJames Rowe2018-01-131-2/+0
|
* Move screen size constants from video_core to coreYuri Kunde Schlesner2017-05-281-15/+0
| | | | | video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core.
* config: Add option for specifying screen resolution scale factor.bunnei2017-01-071-1/+0
|
* Implement Frame rate limiter (#2223)emmauss2016-12-061-0/+1
| | | | | | * implement frame limiter * fixes
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-7/+8
|
* Config: Add scaled resolution optiontfarley2016-04-211-0/+1
|
* Improve error report from Init() functionsLittleWhite2016-03-081-1/+1
| | | | Add error popup when citra initialization failed
* video_core: Make the renderer global a unique_ptrLioncash2015-12-301-2/+3
|
* Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.bunnei2015-08-161-1/+2
| | | | | - Config: Add an option for selecting to use shader JIT or interpreter. - Qt: Add a menu option for enabling/disabling the shader JIT.
* Common: Cleanup emu_window includes.Emmanuel Gil Peyrot2015-06-281-4/+3
|
* OpenGL renderertfarley2015-05-231-0/+5
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-1/+0
|
* Set framebuffer layout from EmuWindow.bunnei2015-03-071-1/+0
|
* License changepurpasmart962014-12-211-1/+1
|
* Rework OpenGL renderer.Yuri Kunde Schlesner2014-10-121-0/+4
| | | | | | | | | The OpenGL renderer has been revised, with the following changes: - Initialization and rendering have been refactored to reduce the number of redundant objects used. - Framebuffer rotation is now done directly, using texture mapping. - Vertex coordinates are now given in pixels, and the projection matrix isn't hardcoded anymore.
* Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman2014-09-121-0/+1
|
* fixed project includes to use new directory structurebunnei2014-04-091-2/+3
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-091-0/+39