[core] remove unused leftover files
This commit is contained in:
@@ -270,6 +270,7 @@ set(MBGL_CORE_FILES
|
||||
src/mbgl/style/observer.hpp
|
||||
src/mbgl/style/paint_property.hpp
|
||||
src/mbgl/style/paint_property_binder.hpp
|
||||
src/mbgl/style/paint_property_statistics.hpp
|
||||
src/mbgl/style/parser.cpp
|
||||
src/mbgl/style/parser.hpp
|
||||
src/mbgl/style/possibly_evaluated_property_value.hpp
|
||||
@@ -431,6 +432,7 @@ set(MBGL_CORE_FILES
|
||||
src/mbgl/tile/vector_tile.hpp
|
||||
|
||||
# util
|
||||
include/mbgl/util/any.hpp
|
||||
include/mbgl/util/async_request.hpp
|
||||
include/mbgl/util/async_task.hpp
|
||||
include/mbgl/util/char_array_buffer.hpp
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
#define MBGL_HAS_BINARY_PROGRAMS 0
|
||||
#else
|
||||
#define MBGL_HAS_BINARY_PROGRAMS 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
#include <mbgl/gl/program_binary.hpp>
|
||||
|
||||
#if MBGL_HAS_BINARY_PROGRAMS
|
||||
|
||||
namespace mbgl {
|
||||
namespace gl {
|
||||
|
||||
ExtensionFunction<
|
||||
void(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary)>
|
||||
GetProgramBinary({
|
||||
{ "GL_OES_get_program_binary", "glGetProgramBinaryOES" },
|
||||
{ "GL_ARB_get_program_binary", "glGetProgramBinary" },
|
||||
});
|
||||
|
||||
ExtensionFunction<void(GLuint program, GLenum binaryFormat, const GLvoid* binary, GLint length)>
|
||||
ProgramBinary({
|
||||
{ "GL_OES_get_program_binary", "glProgramBinaryOES" },
|
||||
{ "GL_ARB_get_program_binary", "glProgramBinary" },
|
||||
});
|
||||
|
||||
} // namespace gl
|
||||
} // namespace mbgl
|
||||
|
||||
#endif
|
||||
@@ -1,27 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <mbgl/gl/features.hpp>
|
||||
#include <mbgl/gl/extension.hpp>
|
||||
#include <mbgl/gl/gl.hpp>
|
||||
|
||||
#if MBGL_HAS_BINARY_PROGRAMS
|
||||
|
||||
#define GL_PROGRAM_BINARY_LENGTH 0x8741
|
||||
#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
|
||||
#define GL_PROGRAM_BINARY_FORMATS 0x87FF
|
||||
|
||||
namespace mbgl {
|
||||
namespace gl {
|
||||
|
||||
extern ExtensionFunction<void(
|
||||
GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary)>
|
||||
GetProgramBinary;
|
||||
|
||||
extern ExtensionFunction<void(
|
||||
GLuint program, GLenum binaryFormat, const GLvoid* binary, GLint length)>
|
||||
ProgramBinary;
|
||||
|
||||
} // namespace gl
|
||||
} // namespace mbgl
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user