diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-22 00:21:57 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-30 18:21:01 +0200 |
commit | df509486c48dd1da9e9e69d9e94a065e0fffbd20 (patch) | |
tree | 32f2961fbd05787eee715fccb83934264335ef9e /src/video_core/renderer_opengl/gl_primitive_assembler.h | |
parent | rasterizer_opengl: Remove OpenGL core profile (diff) | |
download | yuzu-df509486c48dd1da9e9e69d9e94a065e0fffbd20.tar yuzu-df509486c48dd1da9e9e69d9e94a065e0fffbd20.tar.gz yuzu-df509486c48dd1da9e9e69d9e94a065e0fffbd20.tar.bz2 yuzu-df509486c48dd1da9e9e69d9e94a065e0fffbd20.tar.lz yuzu-df509486c48dd1da9e9e69d9e94a065e0fffbd20.tar.xz yuzu-df509486c48dd1da9e9e69d9e94a065e0fffbd20.tar.zst yuzu-df509486c48dd1da9e9e69d9e94a065e0fffbd20.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_primitive_assembler.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/video_core/renderer_opengl/gl_primitive_assembler.h b/src/video_core/renderer_opengl/gl_primitive_assembler.h deleted file mode 100644 index 4e87ce4d6..000000000 --- a/src/video_core/renderer_opengl/gl_primitive_assembler.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2018 yuzu Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include <glad/glad.h> - -#include "common/common_types.h" - -namespace OpenGL { - -class OGLBufferCache; - -class PrimitiveAssembler { -public: - explicit PrimitiveAssembler(OGLBufferCache& buffer_cache); - ~PrimitiveAssembler(); - - /// Calculates the size required by MakeQuadArray and MakeQuadIndexed. - std::size_t CalculateQuadSize(u32 count) const; - - GLintptr MakeQuadArray(u32 first, u32 count); - - GLintptr MakeQuadIndexed(GPUVAddr gpu_addr, std::size_t index_size, u32 count); - -private: - OGLBufferCache& buffer_cache; -}; - -} // namespace OpenGL
\ No newline at end of file |