#include <msp/gl/extensions/msp_primitive_restart.h>
#include "batch.h"
-#include "buffer.h"
#include "error.h"
-#include "mesh.h"
-#include "vertexarray.h"
using namespace std;
#include <stdexcept>
#include <string>
-#include <vector>
namespace Msp {
namespace GL {
#include <stdexcept>
-#include <msp/core/raii.h>
-#include <msp/gl/extensions/arb_direct_state_access.h>
#include "buffer.h"
#include "bufferable.h"
#include <msp/strings/format.h>
#include "clipplane.h"
-#include "gl.h"
-#include "matrix.h"
#include "programdata.h"
namespace Msp {
namespace Msp {
namespace GL {
-class Matrix;
class ProgramData;
class ClipPlane
-#ifndef COMMANDS_H_
-#define COMMANDS_H_
+#ifndef MSP_GL_COMMANDS_H_
+#define MSP_GL_COMMANDS_H_
#include "framebuffer.h"
+#include <msp/gl/extensions/arb_uniform_buffer_object.h>
+#include <msp/gl/extensions/arb_vertex_shader.h>
+#include <msp/gl/extensions/ext_framebuffer_multisample.h>
+#include <msp/gl/extensions/msp_clipping.h>
+#include <msp/gl/extensions/nv_fbo_color_attachments.h>
#include "deviceinfo.h"
#include "gl.h"
namespace Msp {
namespace GL {
-class Texture;
class Texture2D;
class Texture2DMultisample;
class Texture3D;
-#include <algorithm>
#include <cmath>
+#include <stdexcept>
#include <msp/geometry/affinetransformation.h>
-#include "error.h"
#include "matrix.h"
using namespace std;
#ifndef MSP_GL_MATRIX_H_
#define MSP_GL_MATRIX_H_
-#include <vector>
#include <msp/geometry/angle.h>
#include <msp/linal/squarematrix.h>
#include "vector.h"
-#include <msp/gl/extensions/arb_vertex_array_object.h>
-#include <msp/gl/extensions/arb_vertex_buffer_object.h>
-#include <msp/gl/extensions/arb_vertex_shader.h>
-#include <msp/gl/extensions/khr_debug.h>
#include "buffer.h"
#include "error.h"
#include "mesh.h"
#include "renderer.h"
#include "resourcemanager.h"
-#include "vertexsetup.h"
using namespace std;
#ifndef MSP_GL_MESH_H_
#define MSP_GL_MESH_H_
+#include <string>
+#include <vector>
#include <msp/datafile/objectloader.h>
#include "batch.h"
#include "cullface.h"
#ifndef MSP_GL_MODULE_H_
#define MSP_GL_MODULE_H_
+#include <map>
#include <string>
+#include <vector>
#include <msp/io/base.h>
#include "datatype.h"
#include "glsl/compiler.h"
namespace GL {
class Blend;
-class BufferBackedUniformBlock;
-class DefaultUniformBlock;
class DepthTest;
class Framebuffer;
class Program;
#include <msp/gl/extensions/ext_texture_srgb.h>
#include <msp/gl/extensions/oes_required_internalformat.h>
#include <msp/gl/extensions/oes_texture_stencil8.h>
-#include <msp/io/print.h>
#include <msp/strings/format.h>
#include "pixelformat.h"
#include <cstring>
-#include <set>
#include <msp/core/algorithm.h>
-#include <msp/core/maputils.h>
-#include <msp/core/raii.h>
#include <msp/gl/extensions/arb_es2_compatibility.h>
#include <msp/gl/extensions/arb_fragment_shader.h>
#include <msp/gl/extensions/arb_gl_spirv.h>
#include <msp/gl/extensions/khr_debug.h>
#include <msp/gl/extensions/nv_non_square_matrices.h>
#include <msp/io/print.h>
-#include "buffer.h"
#include "error.h"
#include "program.h"
-#include "resources.h"
#include "glsl/compiler.h"
using namespace std;
#ifndef MSP_GL_PROGRAM_H_
#define MSP_GL_PROGRAM_H_
+#include <map>
#include <string>
#include <vector>
#include <msp/datafile/objectloader.h>
#include "module.h"
#include "reflectdata.h"
-#include "vertexformat.h"
namespace Msp {
namespace GL {
#include <msp/strings/format.h>
#include "error.h"
#include "sampler.h"
-#include "texture.h"
using namespace std;
#include <msp/io/memory.h>
#include "error.h"
#include "resourcemanager.h"
-#include "resources.h"
#include "texture.h"
using namespace std;
#ifndef MSP_GL_TEXTURE1D_H_
#define MSP_GL_TEXTURE1D_H_
+#include <string>
#include "texture.h"
namespace Msp {
#include <msp/graphics/imageloader.h>
#include "buffer.h"
#include "error.h"
-#include "resources.h"
#include "texture2d.h"
using namespace std;
#define MSP_GL_TEXTURE2D_H_
#include <string>
-#include <msp/graphics/image.h>
#include <msp/linal/vector.h>
#include "texture.h"
-#include <msp/datafile/collection.h>
#include <msp/gl/extensions/ext_texture_array.h>
#include "error.h"
#include "texture2darray.h"
#include <msp/gl/extensions/arb_texture_storage.h>
#include <msp/gl/extensions/ext_texture3d.h>
#include <msp/gl/extensions/ext_texture_array.h>
-#include <msp/graphics/image.h>
#include "error.h"
#include "texture3d.h"
#include <algorithm>
#include <msp/gl/extensions/arb_shader_objects.h>
#include <msp/gl/extensions/arb_uniform_buffer_object.h>
-#include "buffer.h"
-#include "color.h"
#include "deviceinfo.h"
-#include "error.h"
-#include "matrix.h"
#include "uniformblock.h"
-#include "vector.h"
using namespace std;
#ifndef MSP_GL_UNIFORMBLOCK_H_
#define MSP_GL_UNIFORMBLOCK_H_
-#include <map>
#include <vector>
#include <msp/core/noncopyable.h>
#include "bufferable.h"
#include "reflectdata.h"
-#include "vector.h"
namespace Msp {
namespace GL {
-class BufferRange;
-class Matrix;
-class Uniform;
-struct Color;
-
/**
Stores uniforms with a specific layout. Both named and default uniform blocks
are supported.
-#include <msp/gl/extensions/arb_multitexture.h>
-#include <msp/gl/extensions/arb_vertex_shader.h>
-#include "buffer.h"
#include "error.h"
-#include "gl.h"
-#include "mesh.h"
#include "vertexarray.h"
using namespace std;
#ifndef MSP_GL_VERTEXARRAY_H_
#define MSP_GL_VERTEXARRAY_H_
-#include <climits>
#include <vector>
-#include <msp/core/refptr.h>
#include <msp/datafile/loader.h>
#include "bufferable.h"
-#include "datatype.h"
-#include "primitivetype.h"
#include "vertexarraybuilder.h"
#include "vertexformat.h"
namespace Msp {
namespace GL {
-class Buffer;
-
/**
Stores vertex data.
-#include <algorithm>
-#include <msp/io/print.h>
#include <msp/strings/format.h>
-#include <msp/strings/lexicalcast.h>
-#include <msp/strings/utils.h>
#include "error.h"
#include "vertexformat.h"
-#include <msp/core/raii.h>
#include <msp/gl/extensions/arb_direct_state_access.h>
#include <msp/gl/extensions/arb_instanced_arrays.h>
#include <msp/gl/extensions/arb_vertex_array_object.h>
#include "buffer.h"
#include "deviceinfo.h"
#include "error.h"
-#include "gl.h"
#include "vertexarray.h"
#include "vertexsetup.h"