Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gl_shader_disk_cache: Pass core system as argument and guard against games without title ids | ReinUsesLisp | 2019-02-07 | 1 | -1/+7 |
| | |||||
* | frontend: Refactor ScopeAcquireWindowContext out of renderer_opengl. | bunnei | 2019-01-24 | 1 | -10/+0 |
| | |||||
* | renderer_opengl: Correct forward declaration of FramebufferLayout | Lioncash | 2018-12-26 | 1 | -1/+1 |
| | | | | | This is actually a struct, not a class, which can lead to compilation warnings. | ||||
* | yuzu, video_core: Screenshot functionality | zhupengfei | 2018-12-18 | 1 | -1/+8 |
| | | | | Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout. | ||||
* | global: Use std::optional instead of boost::optional (#1578) | Frederic L | 2018-10-30 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | * 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 | ||||
* | renderer_opengl: Namespace OpenGL code | Lioncash | 2018-08-22 | 1 | -0/+4 |
| | | | | | | | Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future. | ||||
* | rasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signature | Lioncash | 2018-08-21 | 1 | -1/+1 |
| | | | | | | This is an OpenGL renderer-specific data type. Given that, this type shouldn't be used within the base interface for the rasterizer. Instead, we can pass this information to the rasterizer via reference. | ||||
* | renderer_base: Make creation of the rasterizer, the responsibility of the renderers themselves | Lioncash | 2018-08-21 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | Given we use a base-class type within the renderer for the rasterizer (RasterizerInterface), we want to allow renderers to perform more complex initialization if they need to do such a thing. This makes it important to reserve type information. Given the OpenGL renderer is quite simple settings-wise, this is just a simple shuffling of the initialization code. For something like Vulkan however this might involve doing something like: // Initialize and call rasterizer-specific function that requires // the full type of the instance created. auto raster = std::make_unique<VulkanRasterizer>(some, params); raster->CallSomeVulkanRasterizerSpecificFunction(); // Assign to base class variable rasterizer = std::move(raster) | ||||
* | core: Namespace EmuWindow | Lioncash | 2018-08-12 | 1 | -3/+5 |
| | | | | Gets the class out of the global namespace. | ||||
* | video_core: Eliminate the g_renderer global variable | Lioncash | 2018-08-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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 | -10/+5 |
| | | | | | | | | | | | 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. | ||||
* | vi: Partially implement buffer crop parameters. | bunnei | 2018-07-18 | 1 | -0/+1 |
| | |||||
* | OpenGL: Use MakeCurrent/DoneCurrent for multithreaded rendering. | bunnei | 2018-07-14 | 1 | -0/+7 |
| | |||||
* | gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers. | bunnei | 2018-06-27 | 1 | -1/+1 |
| | |||||
* | renderer_opengl: Use OGLProgram instead of OGLShader. | bunnei | 2018-04-14 | 1 | -1/+1 |
| | |||||
* | renderer_opengl.h: Update from citra to yuzu | N00byKing | 2018-04-04 | 1 | -2/+2 |
| | |||||
* | renderer_opengl: Use better naming for DrawScreens and DrawSingleScreen. | bunnei | 2018-03-27 | 1 | -2/+2 |
| | |||||
* | renderer_opengl: Add framebuffer_transform_flags member variable. | bunnei | 2018-03-23 | 1 | -2/+2 |
| | |||||
* | video_core: Move FramebufferInfo to FramebufferConfig in GPU. | bunnei | 2018-03-23 | 1 | -4/+5 |
| | |||||
* | renderer_opengl: Support framebuffer flip vertical. | bunnei | 2018-02-12 | 1 | -0/+3 |
| | |||||
* | clang-format | MerryMage | 2018-01-16 | 1 | -1/+2 |
| | |||||
* | renderer_gl: Clear screen to black before rendering framebuffer. | bunnei | 2018-01-15 | 1 | -2/+2 |
| | |||||
* | renderer: Render previous frame when no new one is available. | bunnei | 2018-01-15 | 1 | -5/+3 |
| | |||||
* | Remove references to PICA and rasterizers in video_core | James Rowe | 2018-01-13 | 1 | -1/+0 |
| | |||||
* | renderer_opengl: Support rendering Switch framebuffer. | bunnei | 2018-01-11 | 1 | -7/+10 |
| | |||||
* | renderer_opengl: Update DrawScreens for Switch. | bunnei | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | OpenGL: Remove unused RendererOpenGL fields | Yuri Kunde Schlesner | 2017-05-28 | 1 | -3/+0 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -4/+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/+5 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -8/+7 |
| | |||||
* | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -0/+3 |
| | |||||
* | HWRasterizer: Texture forwarding | tfarley | 2016-04-21 | 1 | -18/+26 |
| | |||||
* | Improve error report from Init() functions | LittleWhite | 2016-03-08 | 1 | -1/+1 |
| | | | | Add error popup when citra initialization failed | ||||
* | fix some xcode 7.0 warnings | Martin Lindhe | 2015-09-29 | 1 | -1/+0 |
| | |||||
* | video_core: Remove unnecessary includes from headers | Lioncash | 2015-09-11 | 1 | -3/+0 |
| | |||||
* | renderer_opengl: Remove unimplemented function declaration | Lioncash | 2015-09-10 | 1 | -3/+0 |
| | |||||
* | Replace the previous OpenGL loader with a glad-generated 3.3 one | Yuri Kunde Schlesner | 2015-08-30 | 1 | -1/+1 |
| | | | | | | The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES. | ||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -6/+10 |
| | |||||
* | Added LCD registers, and implementation for color filling in OGL code. | archshift | 2015-03-09 | 1 | -1/+4 |
| | |||||
* | video_core: Implement the remaining framebuffer formats in the OpenGL renderer. | Emmanuel Gil Peyrot | 2015-02-15 | 1 | -0/+5 |
| | |||||
* | License change | purpasmart96 | 2014-12-21 | 1 | -1/+1 |
| | |||||
* | OpenGL Renderer: Cleanup viewport extent calculation. | Tony Wasserka | 2014-11-18 | 1 | -17/+7 |
| | |||||
* | Viewport scaling and display density independence | Kevin Hartman | 2014-11-18 | 1 | -0/+15 |
| | | | | | The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly. | ||||
* | Add `override` keyword through the code. | Yuri Kunde Schlesner | 2014-10-26 | 1 | -4/+4 |
| | | | | This was automated using `clang-modernize`. | ||||
* | Rework OpenGL renderer. | Yuri Kunde Schlesner | 2014-10-12 | 1 | -46/+22 |
| | | | | | | | | | 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. | ||||
* | OpenGL renderer: Shuffle initialization code around and rename functions. | Yuri Kunde Schlesner | 2014-10-12 | 1 | -8/+2 |
| | |||||
* | Remove virtual inheritance from RendererOpenGL | Yuri Kunde Schlesner | 2014-10-12 | 1 | -2/+2 |
| | | | | Also make destructor virtual so that instances are properly destructed. | ||||
* | Moved common_types::Rect from common to Common namespace | archshift | 2014-09-09 | 1 | -1/+1 |
| | |||||
* | Replace GLEW with a glLoadGen loader. | Yuri Kunde Schlesner | 2014-09-01 | 1 | -1/+1 |
| | | | | | | | | | This should fix the GL loading errors that occur in some drivers due to the use of deprecated functions by GLEW. Side benefits are more accurate auto-completion (deprecated function and symbols don't exist) and faster pointer loading (less entrypoints to load). In addition it removes an external library depency, simplifying the build system a bit and eliminating one set of binary libraries for Windows. | ||||
* | Downgrade GLSL version to 1.50 (compatible with GL 3.2) | Yuri Kunde Schlesner | 2014-08-28 | 1 | -0/+3 |
| | |||||
* | VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size. | bunnei | 2014-08-26 | 1 | -0/+1 |
| | |||||
* | Rewrite of OpenGL renderer, including OS X support | Kevin Hartman | 2014-08-26 | 1 | -27/+36 |
| | | | | | | Screen contents are now displayed using textured quads. This can be updated to expose an FBO once an OpenGL backend for when Pica rendering is being worked on. That FBO's texture can then be applied to the quads. Previously, FBO blitting was used in order to display screen contents, which did not work on OS X. The new textured quad approach is less of a compatibility risk. | ||||
* | Renderer: Fix component order in bottom framebuffer. | Tony Wasserka | 2014-07-23 | 1 | -4/+3 |
| | |||||
* | common_types: Changed BasicRect back to Rect, in the common namespace | archshift | 2014-05-20 | 1 | -1/+1 |
| | | | | Only Rect is in the namespace for now; the rest of common should be added in the future | ||||
* | Xcode complains that the class name is redundant. | archshift | 2014-04-28 | 1 | -1/+1 |
| | |||||
* | Rect to BasicRect | archshift | 2014-04-28 | 1 | -1/+1 |
| | | | | Somewhere along the line an OSX header had already taken the name Rect. | ||||
* | removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class | bunnei | 2014-04-28 | 1 | -1/+0 |
| | |||||
* | fixed renderer to use correct framebuffer location | bunnei | 2014-04-27 | 1 | -2/+2 |
| | |||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 1 | -3/+3 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 1 | -0/+91 |