yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
yuzu-mainline/src
Lioncash bc16f7f3cc renderer_base: Make creation of the rasterizer, the responsibility of the renderers themselves
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)
2018-08-20 19:28:00 -04:00
..
audio_core Merge pull request #1033 from MerryMage/interp 2018-08-13 12:19:59 -04:00
common common: Namespace hex_util.h/.cpp 2018-08-15 23:24:00 -04:00
core Merge pull request #1117 from ogniK5377/CheckFreeCommunicationPermission 2018-08-20 11:00:26 -04:00
input_common input_common: Use std::move where applicable 2018-08-02 21:51:11 -04:00
tests externals: Update catch to 2.3.0 2018-08-07 19:26:13 -04:00
video_core renderer_base: Make creation of the rasterizer, the responsibility of the renderers themselves 2018-08-20 19:28:00 -04:00
yuzu game_list: Avoid uninitialized variables when retrieving program ID 2018-08-20 04:23:05 -04:00
yuzu_cmd Added check to see if ARB_texture_mirror_clamp_to_edge is supported 2018-08-19 12:00:33 +10:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt audio_core: Add initial code for keeping track of audout state. 2018-07-27 22:33:31 -04:00