|
|
@ -22,6 +22,7 @@
|
|
|
|
#include "core/settings.h"
|
|
|
|
#include "core/settings.h"
|
|
|
|
#include "video_core/engines/maxwell_3d.h"
|
|
|
|
#include "video_core/engines/maxwell_3d.h"
|
|
|
|
#include "video_core/renderer_opengl/gl_rasterizer.h"
|
|
|
|
#include "video_core/renderer_opengl/gl_rasterizer.h"
|
|
|
|
|
|
|
|
#include "video_core/renderer_opengl/gl_shader_cache.h"
|
|
|
|
#include "video_core/renderer_opengl/gl_shader_gen.h"
|
|
|
|
#include "video_core/renderer_opengl/gl_shader_gen.h"
|
|
|
|
#include "video_core/renderer_opengl/maxwell_to_gl.h"
|
|
|
|
#include "video_core/renderer_opengl/maxwell_to_gl.h"
|
|
|
|
#include "video_core/renderer_opengl/renderer_opengl.h"
|
|
|
|
#include "video_core/renderer_opengl/renderer_opengl.h"
|
|
|
@ -477,6 +478,10 @@ void RasterizerOpenGL::UpdatePagesCachedCount(VAddr addr, u64 size, int delta) {
|
|
|
|
cached_pages.add({pages_interval, delta});
|
|
|
|
cached_pages.add({pages_interval, delta});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void RasterizerOpenGL::LoadDiskResources() {
|
|
|
|
|
|
|
|
shader_cache.LoadDiskCache();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
std::pair<bool, bool> RasterizerOpenGL::ConfigureFramebuffers(
|
|
|
|
std::pair<bool, bool> RasterizerOpenGL::ConfigureFramebuffers(
|
|
|
|
OpenGLState& current_state, bool using_color_fb, bool using_depth_fb, bool preserve_contents,
|
|
|
|
OpenGLState& current_state, bool using_color_fb, bool using_depth_fb, bool preserve_contents,
|
|
|
|
std::optional<std::size_t> single_color_target) {
|
|
|
|
std::optional<std::size_t> single_color_target) {
|
|
|
|