Ion
|
#include "third_party/GL/gl/include/GL/glcorearb.h"
#include "third_party/GL/gl/include/GL/glext.h"
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | _GL_GL_H_ |
Copyright 2016 Google Inc. More... | |
#define | GL_GLEXT_PROTOTYPES |
Include OpenGL headers based on platform. More... | |
#define | __glu_h__ |
Prevent GLU from being included since it tries to redefine classes as structs. More... | |
#define | __gl_h_ |
#define | GL_ALIASED_POINT_SIZE_RANGE 0x846D |
These constants are not always defined in OpenGL header files. More... | |
#define | GL_ALPHA_BITS 0x0D55 |
#define | GL_BLUE_BITS 0x0D54 |
#define | GL_BUFFER_OBJECT 0x9151 |
#define | GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 |
#define | GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 |
#define | GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 |
#define | GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 |
#define | GL_CONDITION_SATISFIED 0x911C |
#define | GL_CURRENT_QUERY_EXT 0x8865 |
#define | GL_DEPTH_BITS 0x0D56 |
#define | GL_ETC1_RGB8_OES 0x8D64 |
#define | GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 |
#define | GL_GENERATE_MIPMAP_HINT 0x8192 |
#define | GL_GPU_DISJOINT_EXT 0x8FBB |
#define | GL_GREEN_BITS 0x0D53 |
#define | GL_LUMINANCE 0x1909 |
#define | GL_LUMINANCE_ALPHA 0x190A |
#define | GL_POINT_SPRITE 0x8861 |
#define | GL_PROGRAM_OBJECT 0x8B40 |
#define | GL_PROGRAM_PIPELINE_OBJECT 0x8A4F |
#define | GL_QUERY_COUNTER_BITS_EXT 0x8864 |
#define | GL_QUERY_OBJECT 0x9153 |
#define | GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 |
#define | GL_QUERY_RESULT_EXT 0x8866 |
#define | GL_RED_BITS 0x0D52 |
#define | GL_SAMPLER_EXTERNAL_OES 0x8D66 |
#define | GL_SHADER_OBJECT 0x8B48 |
#define | GL_STENCIL_BITS 0x0D57 |
#define | GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 |
#define | GL_TEXTURE_BUFFER_FORMAT 0x8C2E |
#define | GL_TEXTURE_EXTERNAL_OES 0x8D65 |
#define | GL_TIMESTAMP_EXT 0x8E28 |
#define | GL_VERTEX_ARRAY_OBJECT 0x9154 |
Typedefs | |
typedef double | GLdouble |
Define GLdouble, GLuint64, and GLsync which aren't in OpenGL ES 2.0 spec. More... | |
typedef int64_t | GLint64 |
typedef uint64_t | GLuint64 |
typedef struct __GLsync * | GLsync |
#define __gl_h_ |
Definition at line 109 of file glheaders.h.
#define __glu_h__ |
Prevent GLU from being included since it tries to redefine classes as structs.
Definition at line 108 of file glheaders.h.
#define _GL_GL_H_ |
Copyright 2016 Google Inc.
All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.The GL header files in the opengl/ subdirectory may not be compatible with the system headers on the local host. Therefore, this file must be #included before anything that could bring in the system headers. We define a header guard that makes subsequent inclusions of those headers harmless.
Definition at line 28 of file glheaders.h.
#define GL_ALIASED_POINT_SIZE_RANGE 0x846D |
These constants are not always defined in OpenGL header files.
Definition at line 138 of file glheaders.h.
#define GL_ALPHA_BITS 0x0D55 |
Definition at line 141 of file glheaders.h.
Referenced by ion::analytics::GpuPerformanceTester::AccumulateMeasurements().
#define GL_BLUE_BITS 0x0D54 |
Definition at line 159 of file glheaders.h.
Referenced by ion::analytics::GpuPerformanceTester::AccumulateMeasurements().
#define GL_BUFFER_OBJECT 0x9151 |
Definition at line 165 of file glheaders.h.
#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 |
Definition at line 189 of file glheaders.h.
Referenced by ion::gfx::Image::GetPixelFormat().
#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 |
Definition at line 192 of file glheaders.h.
Referenced by ion::gfx::Image::GetPixelFormat().
#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 |
Definition at line 195 of file glheaders.h.
Referenced by ion::gfx::Image::GetPixelFormat().
#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 |
Definition at line 198 of file glheaders.h.
Referenced by ion::gfx::Image::GetPixelFormat().
#define GL_CONDITION_SATISFIED 0x911C |
Definition at line 228 of file glheaders.h.
#define GL_CURRENT_QUERY_EXT 0x8865 |
Definition at line 246 of file glheaders.h.
#define GL_DEPTH_BITS 0x0D56 |
Definition at line 321 of file glheaders.h.
Referenced by ion::analytics::GpuPerformanceTester::AccumulateMeasurements().
#define GL_ETC1_RGB8_OES 0x8D64 |
Definition at line 345 of file glheaders.h.
Referenced by ion::gfx::Image::GetPixelFormat().
#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 |
Definition at line 381 of file glheaders.h.
#define GL_GENERATE_MIPMAP_HINT 0x8192 |
Definition at line 402 of file glheaders.h.
#define GL_GLEXT_PROTOTYPES |
Include OpenGL headers based on platform.
Definition at line 101 of file glheaders.h.
#define GL_GPU_DISJOINT_EXT 0x8FBB |
Definition at line 405 of file glheaders.h.
Referenced by ion::gfxprofile::GpuProfiler::PollGlTimerQueries().
#define GL_GREEN_BITS 0x0D53 |
Definition at line 411 of file glheaders.h.
Referenced by ion::analytics::GpuPerformanceTester::AccumulateMeasurements().
#define GL_LUMINANCE 0x1909 |
Definition at line 465 of file glheaders.h.
Referenced by ion::gfx::Image::GetPixelFormat().
#define GL_LUMINANCE_ALPHA 0x190A |
Definition at line 468 of file glheaders.h.
Referenced by ion::gfx::Image::GetPixelFormat().
#define GL_POINT_SPRITE 0x8861 |
Definition at line 618 of file glheaders.h.
#define GL_PROGRAM_OBJECT 0x8B40 |
Definition at line 624 of file glheaders.h.
#define GL_PROGRAM_PIPELINE_OBJECT 0x8A4F |
Definition at line 630 of file glheaders.h.
#define GL_QUERY_COUNTER_BITS_EXT 0x8864 |
Definition at line 639 of file glheaders.h.
Referenced by ion::gfxprofile::GpuProfiler::IsGpuProfilingSupported().
#define GL_QUERY_OBJECT 0x9153 |
Definition at line 642 of file glheaders.h.
#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 |
Definition at line 645 of file glheaders.h.
Referenced by ion::gfxprofile::GpuProfiler::PollGlTimerQueries().
#define GL_QUERY_RESULT_EXT 0x8866 |
Definition at line 648 of file glheaders.h.
Referenced by ion::gfxprofile::GpuProfiler::PollGlTimerQueries().
#define GL_RED_BITS 0x0D52 |
Definition at line 705 of file glheaders.h.
Referenced by ion::analytics::GpuPerformanceTester::AccumulateMeasurements().
#define GL_SAMPLER_EXTERNAL_OES 0x8D66 |
Definition at line 912 of file glheaders.h.
#define GL_SHADER_OBJECT 0x8B48 |
Definition at line 924 of file glheaders.h.
#define GL_STENCIL_BITS 0x0D57 |
Definition at line 942 of file glheaders.h.
Referenced by ion::analytics::GpuPerformanceTester::AccumulateMeasurements().
#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 |
Definition at line 1008 of file glheaders.h.
#define GL_TEXTURE_BUFFER_FORMAT 0x8C2E |
Definition at line 1017 of file glheaders.h.
#define GL_TEXTURE_EXTERNAL_OES 0x8D65 |
Definition at line 1029 of file glheaders.h.
#define GL_TIMESTAMP_EXT 0x8E28 |
Definition at line 1074 of file glheaders.h.
Referenced by ion::gfxprofile::GpuProfiler::EnterGlScope(), ion::gfxprofile::GpuProfiler::IsGpuProfilingSupported(), ion::gfxprofile::GpuProfiler::LeaveGlScope(), and ion::gfxprofile::GpuProfiler::PollGlTimerQueries().
#define GL_VERTEX_ARRAY_OBJECT 0x9154 |
Definition at line 1170 of file glheaders.h.
typedef double GLdouble |
Define GLdouble, GLuint64, and GLsync which aren't in OpenGL ES 2.0 spec.
... but ARE defined in newer Android NDK platforms, notably the ones required for 64-bit Android (API 20). It was added between API 18 and 20; we know 18 needs it and "L" needs it gone.
Definition at line 129 of file glheaders.h.
typedef int64_t GLint64 |
Definition at line 130 of file glheaders.h.
typedef struct __GLsync* GLsync |
Definition at line 132 of file glheaders.h.
typedef uint64_t GLuint64 |
Definition at line 131 of file glheaders.h.