1
0
Fork 0
forked from suyu/suyu

video_core/fence_manager: Remove unnecessary includes

Avoids pulling in unnecessary things that can cause rebuilds when they
aren't required.
This commit is contained in:
Lioncash 2020-08-23 21:44:48 -04:00
parent ab350b8975
commit f3bb52c0a9
3 changed files with 4 additions and 9 deletions

View file

@ -5,15 +5,10 @@
#pragma once #pragma once
#include <algorithm> #include <algorithm>
#include <array>
#include <memory>
#include <queue> #include <queue>
#include "common/assert.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "core/core.h" #include "core/core.h"
#include "core/memory.h"
#include "core/settings.h"
#include "video_core/gpu.h" #include "video_core/gpu.h"
#include "video_core/memory_manager.h" #include "video_core/memory_manager.h"
#include "video_core/rasterizer_interface.h" #include "video_core/rasterizer_interface.h"

View file

@ -4,16 +4,17 @@
#include "common/assert.h" #include "common/assert.h"
#include <glad/glad.h>
#include "video_core/renderer_opengl/gl_buffer_cache.h" #include "video_core/renderer_opengl/gl_buffer_cache.h"
#include "video_core/renderer_opengl/gl_fence_manager.h" #include "video_core/renderer_opengl/gl_fence_manager.h"
namespace OpenGL { namespace OpenGL {
GLInnerFence::GLInnerFence(u32 payload, bool is_stubbed) GLInnerFence::GLInnerFence(u32 payload, bool is_stubbed) : FenceBase(payload, is_stubbed) {}
: VideoCommon::FenceBase(payload, is_stubbed), sync_object{} {}
GLInnerFence::GLInnerFence(GPUVAddr address, u32 payload, bool is_stubbed) GLInnerFence::GLInnerFence(GPUVAddr address, u32 payload, bool is_stubbed)
: VideoCommon::FenceBase(address, payload, is_stubbed), sync_object{} {} : FenceBase(address, payload, is_stubbed) {}
GLInnerFence::~GLInnerFence() = default; GLInnerFence::~GLInnerFence() = default;

View file

@ -5,7 +5,6 @@
#pragma once #pragma once
#include <memory> #include <memory>
#include <glad/glad.h>
#include "common/common_types.h" #include "common/common_types.h"
#include "video_core/fence_manager.h" #include "video_core/fence_manager.h"