Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | video_core; Get rid of global g_toggle_framelimit_enabled variable | Lioncash | 2018-08-11 | 1 | -5/+16 |
| | | | | | | | | | Instead, we make a struct for renderer settings and allow the renderer to update all of these settings, getting rid of the need for global-scoped variables. This also uncovered a few indirect inclusions for certain headers, which this commit also fixes. | ||||
* | renderer_base: Remove unused kFramebuffer enumeration | Lioncash | 2018-08-11 | 1 | -3/+0 |
| | | | | This is entirely unused and can be removed. | ||||
* | renderer_base: Make Rasterizer() return the rasterizer by reference | Lioncash | 2018-08-04 | 1 | -2/+6 |
| | | | | | | | All calling code assumes that the rasterizer will be in a valid state, which is a totally fine assumption. The only way the rasterizer wouldn't be is if initialization is done incorrectly or fails, which is checked against in System::Init(). | ||||
* | video_core: Eliminate the g_renderer global variable | Lioncash | 2018-08-04 | 1 | -2/+6 |
| | | | | | | | | | | | | | | 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: Make global EmuWindow instance part of the base renderer class | Lioncash | 2018-08-02 | 1 | -9/+6 |
| | | | | | | | | | | | 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. | ||||
* | video_core: Move FramebufferInfo to FramebufferConfig in GPU. | bunnei | 2018-03-23 | 1 | -31/+2 |
| | |||||
* | renderer: Create rasterizer and cleanup. | bunnei | 2018-03-23 | 1 | -1/+6 |
| | |||||
* | renderer_opengl: Support framebuffer flip vertical. | bunnei | 2018-02-12 | 1 | -0/+1 |
| | |||||
* | renderer: Render previous frame when no new one is available. | bunnei | 2018-01-15 | 1 | -1/+2 |
| | |||||
* | Remove references to PICA and rasterizers in video_core | James Rowe | 2018-01-13 | 1 | -6/+1 |
| | |||||
* | renderer_opengl: Support rendering Switch framebuffer. | bunnei | 2018-01-11 | 1 | -2/+5 |
| | |||||
* | render_base: Add a struct describing framebuffer metadata. | bunnei | 2018-01-11 | 1 | -0/+26 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -2/+0 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-19 | 1 | -2/+1 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -8/+3 |
| | |||||
* | Merge pull request #1474 from lioncash/renderer | bunnei | 2016-03-09 | 1 | -9/+9 |
|\ | | | | | renderer_base: Minor changes | ||||
| * | renderer_base: In-class initialize variables | Lioncash | 2016-03-09 | 1 | -5/+2 |
| | | |||||
| * | render_base: Clarify/normalize getter functions | Lioncash | 2016-03-09 | 1 | -2/+2 |
| | | |||||
| * | renderer_base: Don't directly expose the rasterizer unique_ptr | Lioncash | 2016-03-09 | 1 | -2/+5 |
| | | | | | | | | | | There's no reason to allow direct access to the unique_ptr instance. Only its contained pointer. | ||||
* | | Improve error report from Init() functions | LittleWhite | 2016-03-08 | 1 | -1/+1 |
|/ | | | | Add error popup when citra initialization failed | ||||
* | VideoCore: Unify interface to OpenGL and SW rasterizers | Yuri Kunde Schlesner | 2015-12-08 | 1 | -2/+6 |
| | | | | | | This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations. | ||||
* | Core: Cleanup hw includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+2 |
| | |||||
* | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+2 |
| | |||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -0/+4 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | License change | purpasmart96 | 2014-12-21 | 1 | -1/+1 |
| | |||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | Remove virtual inheritance from RendererOpenGL | Yuri Kunde Schlesner | 2014-10-12 | 1 | -1/+1 |
| | | | | Also make destructor virtual so that instances are properly destructed. | ||||
* | removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class | bunnei | 2014-04-28 | 1 | -3/+1 |
| | |||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 1 | -2/+1 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 1 | -0/+58 |