mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Convert all includes to relative paths.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLCLEARDEPTHFPROC glClearDepthf;
|
||||
extern PFNGLDEPTHRANGEFPROC glDepthRangef;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glBindFragDataLocationIndexed;
|
||||
extern PFNGLGETFRAGDATAINDEXPROC glGetFragDataIndex;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLBUFFERSTORAGEPROC glBufferStorage;
|
||||
extern PFNGLNAMEDBUFFERSTORAGEEXTPROC glNamedBufferStorageEXT;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLDEBUGMESSAGECALLBACKARBPROC glDebugMessageCallbackARB;
|
||||
extern PFNGLDEBUGMESSAGECONTROLARBPROC glDebugMessageControlARB;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex;
|
||||
extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer;
|
||||
extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLGETPROGRAMBINARYPROC glGetProgramBinary;
|
||||
extern PFNGLPROGRAMBINARYPROC glProgramBinary;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange;
|
||||
extern PFNGLMAPBUFFERRANGEPROC glMapBufferRange;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLMINSAMPLESHADINGARBPROC glMinSampleShadingARB;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLBINDSAMPLERPROC glBindSampler;
|
||||
extern PFNGLDELETESAMPLERSPROC glDeleteSamplers;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLCLIENTWAITSYNCPROC glClientWaitSync;
|
||||
extern PFNGLDELETESYNCPROC glDeleteSync;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLBINDBUFFERBASEPROC glBindBufferBase;
|
||||
extern PFNGLBINDBUFFERRANGEPROC glBindBufferRange;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLBINDVERTEXARRAYPROC glBindVertexArray;
|
||||
extern PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLDEPTHRANGEARRAYVPROC glDepthRangeArrayv;
|
||||
extern PFNGLDEPTHRANGEINDEXEDPROC glDepthRangeIndexed;
|
||||
|
@ -2,14 +2,15 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "GLExtensions.h"
|
||||
#include "Log.h"
|
||||
#include <sstream>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "Common/Log.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/GLExtensions.h"
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
#include <unordered_map>
|
||||
#include <sstream>
|
||||
|
||||
// gl_1_1
|
||||
PFNGLCLEARINDEXPROC glClearIndex;
|
||||
|
@ -4,34 +4,34 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "GLInterface/GLInterface.h"
|
||||
#include "DolphinWX/GLInterface/GLInterface.h"
|
||||
|
||||
#include "gl_1_1.h"
|
||||
#include "gl_1_2.h"
|
||||
#include "gl_1_3.h"
|
||||
#include "gl_1_4.h"
|
||||
#include "gl_1_5.h"
|
||||
#include "gl_2_0.h"
|
||||
#include "gl_3_0.h"
|
||||
#include "gl_3_1.h"
|
||||
#include "gl_3_2.h"
|
||||
#include "ARB_uniform_buffer_object.h"
|
||||
#include "ARB_sampler_objects.h"
|
||||
#include "ARB_map_buffer_range.h"
|
||||
#include "ARB_vertex_array_object.h"
|
||||
#include "ARB_framebuffer_object.h"
|
||||
#include "ARB_get_program_binary.h"
|
||||
#include "ARB_sync.h"
|
||||
#include "ARB_ES2_compatibility.h"
|
||||
#include "NV_primitive_restart.h"
|
||||
#include "ARB_blend_func_extended.h"
|
||||
#include "ARB_viewport_array.h"
|
||||
#include "ARB_draw_elements_base_vertex.h"
|
||||
#include "NV_framebuffer_multisample_coverage.h"
|
||||
#include "ARB_sample_shading.h"
|
||||
#include "ARB_debug_output.h"
|
||||
#include "KHR_debug.h"
|
||||
#include "ARB_buffer_storage.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_1_1.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_1_2.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_1_3.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_1_4.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_1_5.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_2_0.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_3_0.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_3_1.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_3_2.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_blend_func_extended.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_buffer_storage.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_debug_output.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_draw_elements_base_vertex.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_ES2_compatibility.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_framebuffer_object.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_get_program_binary.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_map_buffer_range.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_sample_shading.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_sampler_objects.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_sync.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_uniform_buffer_object.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_vertex_array_object.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/ARB_viewport_array.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/KHR_debug.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/NV_primitive_restart.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/NV_framebuffer_multisample_coverage.h"
|
||||
|
||||
namespace GLExtensions
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
#ifndef GL_VERSION_4_3
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
|
||||
#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
#define GL_PRIMITIVE_RESTART_NV 0x8558
|
||||
#define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
typedef void (GLAPIENTRY * PFNGLCLEARINDEXPROC) ( GLfloat c );
|
||||
typedef void (GLAPIENTRY * PFNGLCLEARCOLORPROC) ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D;
|
||||
extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLACTIVETEXTUREARBPROC glActiveTexture;
|
||||
extern PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTexture;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
// These two are provided by ARB_imaging as well
|
||||
extern PFNGLBLENDCOLORPROC glBlendColor;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLBEGINQUERYPROC glBeginQuery;
|
||||
extern PFNGLBINDBUFFERPROC glBindBuffer;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLATTACHSHADERPROC glAttachShader;
|
||||
extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLBEGINCONDITIONALRENDERPROC glBeginConditionalRender;
|
||||
extern PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced;
|
||||
extern PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "gl_common.h"
|
||||
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||
|
||||
extern PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture;
|
||||
extern PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v;
|
||||
|
Reference in New Issue
Block a user