2013-12-30 13:22:50 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2013-12-30 13:22:50 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2014-10-21 06:01:38 +00:00
|
|
|
#include "Common/CommonTypes.h"
|
|
|
|
|
2014-02-17 10:18:15 +00:00
|
|
|
#include "VideoBackends/OGL/GLExtensions/ARB_blend_func_extended.h"
|
|
|
|
#include "VideoBackends/OGL/GLExtensions/ARB_buffer_storage.h"
|
2015-05-18 22:54:00 +00:00
|
|
|
#include "VideoBackends/OGL/GLExtensions/ARB_clip_control.h"
|
2015-06-13 13:51:58 +00:00
|
|
|
#include "VideoBackends/OGL/GLExtensions/ARB_copy_image.h"
|
2014-02-17 10:18:15 +00:00
|
|
|
#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"
|
2014-04-30 16:34:39 +00:00
|
|
|
#include "VideoBackends/OGL/GLExtensions/ARB_texture_multisample.h"
|
2014-02-17 10:18:15 +00:00
|
|
|
#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"
|
2014-02-19 11:14:09 +00:00
|
|
|
#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"
|
2014-02-17 10:18:15 +00:00
|
|
|
#include "VideoBackends/OGL/GLExtensions/KHR_debug.h"
|
2015-02-21 22:57:41 +00:00
|
|
|
#include "VideoBackends/OGL/GLExtensions/NV_occlusion_query_samples.h"
|
2014-02-19 11:14:09 +00:00
|
|
|
#include "VideoBackends/OGL/GLExtensions/NV_primitive_restart.h"
|
2013-12-30 13:22:50 +00:00
|
|
|
|
|
|
|
namespace GLExtensions
|
|
|
|
{
|
|
|
|
// Initializes the interface
|
|
|
|
bool Init();
|
|
|
|
|
|
|
|
// Function for checking if the hardware supports an extension
|
|
|
|
// example: if (GLExtensions::Supports("GL_ARB_multi_map"))
|
2014-03-12 19:33:41 +00:00
|
|
|
bool Supports(const std::string& name);
|
2014-03-29 10:05:44 +00:00
|
|
|
|
2013-12-30 13:22:50 +00:00
|
|
|
// Returns OpenGL version in format 430
|
|
|
|
u32 Version();
|
|
|
|
}
|