| Index: ui/gl/gl_bindings_autogen_gl4.cc
|
| diff --git a/ui/gl/gl_bindings_autogen_gl4.cc b/ui/gl/gl_bindings_autogen_gl4.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e6b823374cba7f1d2c56833ac4d894a4b15456bf
|
| --- /dev/null
|
| +++ b/ui/gl/gl_bindings_autogen_gl4.cc
|
| @@ -0,0 +1,3428 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +//
|
| +// This file is auto-generated from
|
| +// ui/gl/generate_bindings.py
|
| +// It's formatted by clang-format using chromium coding style:
|
| +// clang-format -i -style=chromium filename
|
| +// DO NOT EDIT!
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/trace_event/trace_event.h"
|
| +#include "ui/gl/gl_bindings.h"
|
| +#include "ui/gl/gl_context.h"
|
| +#include "ui/gl/gl_enums.h"
|
| +#include "ui/gl/gl_gl_api_implementation.h"
|
| +#include "ui/gl/gl_implementation.h"
|
| +#include "ui/gl/gl_version_info.h"
|
| +
|
| +namespace gl {
|
| +
|
| +void NoContextGLApi::glActiveTextureFn(GLenum texture) {
|
| + NOTREACHED() << "Trying to call glActiveTexture() without current GL context";
|
| + LOG(ERROR) << "Trying to call glActiveTexture() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glApplyFramebufferAttachmentCMAAINTELFn(void) {
|
| + NOTREACHED() << "Trying to call glApplyFramebufferAttachmentCMAAINTEL() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glApplyFramebufferAttachmentCMAAINTEL() "
|
| + "without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glAttachShaderFn(GLuint program, GLuint shader) {
|
| + NOTREACHED() << "Trying to call glAttachShader() without current GL context";
|
| + LOG(ERROR) << "Trying to call glAttachShader() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBeginQueryFn(GLenum target, GLuint id) {
|
| + NOTREACHED() << "Trying to call glBeginQuery() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBeginQuery() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBeginTransformFeedbackFn(GLenum primitiveMode) {
|
| + NOTREACHED()
|
| + << "Trying to call glBeginTransformFeedback() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBeginTransformFeedback() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindAttribLocationFn(GLuint program,
|
| + GLuint index,
|
| + const char* name) {
|
| + NOTREACHED()
|
| + << "Trying to call glBindAttribLocation() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBindAttribLocation() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindBufferFn(GLenum target, GLuint buffer) {
|
| + NOTREACHED() << "Trying to call glBindBuffer() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBindBuffer() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindBufferBaseFn(GLenum target,
|
| + GLuint index,
|
| + GLuint buffer) {
|
| + NOTREACHED()
|
| + << "Trying to call glBindBufferBase() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBindBufferBase() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindBufferRangeFn(GLenum target,
|
| + GLuint index,
|
| + GLuint buffer,
|
| + GLintptr offset,
|
| + GLsizeiptr size) {
|
| + NOTREACHED()
|
| + << "Trying to call glBindBufferRange() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBindBufferRange() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindFragDataLocationFn(GLuint program,
|
| + GLuint colorNumber,
|
| + const char* name) {
|
| + NOTREACHED()
|
| + << "Trying to call glBindFragDataLocation() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBindFragDataLocation() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindFragDataLocationIndexedFn(GLuint program,
|
| + GLuint colorNumber,
|
| + GLuint index,
|
| + const char* name) {
|
| + NOTREACHED() << "Trying to call glBindFragDataLocationIndexed() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glBindFragDataLocationIndexed() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindFramebufferEXTFn(GLenum target, GLuint framebuffer) {
|
| + NOTREACHED()
|
| + << "Trying to call glBindFramebufferEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBindFramebufferEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindImageTextureEXTFn(GLuint index,
|
| + GLuint texture,
|
| + GLint level,
|
| + GLboolean layered,
|
| + GLint layer,
|
| + GLenum access,
|
| + GLint format) {
|
| + NOTREACHED()
|
| + << "Trying to call glBindImageTextureEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBindImageTextureEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindRenderbufferEXTFn(GLenum target,
|
| + GLuint renderbuffer) {
|
| + NOTREACHED()
|
| + << "Trying to call glBindRenderbufferEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBindRenderbufferEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindSamplerFn(GLuint unit, GLuint sampler) {
|
| + NOTREACHED() << "Trying to call glBindSampler() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBindSampler() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindTextureFn(GLenum target, GLuint texture) {
|
| + NOTREACHED() << "Trying to call glBindTexture() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBindTexture() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindTransformFeedbackFn(GLenum target, GLuint id) {
|
| + NOTREACHED()
|
| + << "Trying to call glBindTransformFeedback() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBindTransformFeedback() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindUniformLocationCHROMIUMFn(GLuint program,
|
| + GLint location,
|
| + const char* name) {
|
| + NOTREACHED() << "Trying to call glBindUniformLocationCHROMIUM() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glBindUniformLocationCHROMIUM() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBindVertexArrayOESFn(GLuint array) {
|
| + NOTREACHED()
|
| + << "Trying to call glBindVertexArrayOES() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBindVertexArrayOES() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBlendBarrierKHRFn(void) {
|
| + NOTREACHED()
|
| + << "Trying to call glBlendBarrierKHR() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBlendBarrierKHR() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBlendColorFn(GLclampf red,
|
| + GLclampf green,
|
| + GLclampf blue,
|
| + GLclampf alpha) {
|
| + NOTREACHED() << "Trying to call glBlendColor() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBlendColor() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBlendEquationFn(GLenum mode) {
|
| + NOTREACHED() << "Trying to call glBlendEquation() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBlendEquation() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBlendEquationSeparateFn(GLenum modeRGB,
|
| + GLenum modeAlpha) {
|
| + NOTREACHED()
|
| + << "Trying to call glBlendEquationSeparate() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBlendEquationSeparate() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBlendFuncFn(GLenum sfactor, GLenum dfactor) {
|
| + NOTREACHED() << "Trying to call glBlendFunc() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBlendFunc() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBlendFuncSeparateFn(GLenum srcRGB,
|
| + GLenum dstRGB,
|
| + GLenum srcAlpha,
|
| + GLenum dstAlpha) {
|
| + NOTREACHED()
|
| + << "Trying to call glBlendFuncSeparate() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBlendFuncSeparate() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBlitFramebufferFn(GLint srcX0,
|
| + GLint srcY0,
|
| + GLint srcX1,
|
| + GLint srcY1,
|
| + GLint dstX0,
|
| + GLint dstY0,
|
| + GLint dstX1,
|
| + GLint dstY1,
|
| + GLbitfield mask,
|
| + GLenum filter) {
|
| + NOTREACHED()
|
| + << "Trying to call glBlitFramebuffer() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBlitFramebuffer() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBlitFramebufferANGLEFn(GLint srcX0,
|
| + GLint srcY0,
|
| + GLint srcX1,
|
| + GLint srcY1,
|
| + GLint dstX0,
|
| + GLint dstY0,
|
| + GLint dstX1,
|
| + GLint dstY1,
|
| + GLbitfield mask,
|
| + GLenum filter) {
|
| + NOTREACHED()
|
| + << "Trying to call glBlitFramebufferANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBlitFramebufferANGLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBlitFramebufferEXTFn(GLint srcX0,
|
| + GLint srcY0,
|
| + GLint srcX1,
|
| + GLint srcY1,
|
| + GLint dstX0,
|
| + GLint dstY0,
|
| + GLint dstX1,
|
| + GLint dstY1,
|
| + GLbitfield mask,
|
| + GLenum filter) {
|
| + NOTREACHED()
|
| + << "Trying to call glBlitFramebufferEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glBlitFramebufferEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBufferDataFn(GLenum target,
|
| + GLsizeiptr size,
|
| + const void* data,
|
| + GLenum usage) {
|
| + NOTREACHED() << "Trying to call glBufferData() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBufferData() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glBufferSubDataFn(GLenum target,
|
| + GLintptr offset,
|
| + GLsizeiptr size,
|
| + const void* data) {
|
| + NOTREACHED() << "Trying to call glBufferSubData() without current GL context";
|
| + LOG(ERROR) << "Trying to call glBufferSubData() without current GL context";
|
| +}
|
| +
|
| +GLenum NoContextGLApi::glCheckFramebufferStatusEXTFn(GLenum target) {
|
| + NOTREACHED() << "Trying to call glCheckFramebufferStatusEXT() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glCheckFramebufferStatusEXT() without current "
|
| + "GL context";
|
| + return static_cast<GLenum>(0);
|
| +}
|
| +
|
| +void NoContextGLApi::glClearFn(GLbitfield mask) {
|
| + NOTREACHED() << "Trying to call glClear() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClear() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glClearBufferfiFn(GLenum buffer,
|
| + GLint drawbuffer,
|
| + const GLfloat depth,
|
| + GLint stencil) {
|
| + NOTREACHED() << "Trying to call glClearBufferfi() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClearBufferfi() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glClearBufferfvFn(GLenum buffer,
|
| + GLint drawbuffer,
|
| + const GLfloat* value) {
|
| + NOTREACHED() << "Trying to call glClearBufferfv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClearBufferfv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glClearBufferivFn(GLenum buffer,
|
| + GLint drawbuffer,
|
| + const GLint* value) {
|
| + NOTREACHED() << "Trying to call glClearBufferiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClearBufferiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glClearBufferuivFn(GLenum buffer,
|
| + GLint drawbuffer,
|
| + const GLuint* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glClearBufferuiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClearBufferuiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glClearColorFn(GLclampf red,
|
| + GLclampf green,
|
| + GLclampf blue,
|
| + GLclampf alpha) {
|
| + NOTREACHED() << "Trying to call glClearColor() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClearColor() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glClearDepthFn(GLclampd depth) {
|
| + NOTREACHED() << "Trying to call glClearDepth() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClearDepth() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glClearDepthfFn(GLclampf depth) {
|
| + NOTREACHED() << "Trying to call glClearDepthf() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClearDepthf() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glClearStencilFn(GLint s) {
|
| + NOTREACHED() << "Trying to call glClearStencil() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClearStencil() without current GL context";
|
| +}
|
| +
|
| +GLenum NoContextGLApi::glClientWaitSyncFn(GLsync sync,
|
| + GLbitfield flags,
|
| + GLuint64 timeout) {
|
| + NOTREACHED()
|
| + << "Trying to call glClientWaitSync() without current GL context";
|
| + LOG(ERROR) << "Trying to call glClientWaitSync() without current GL context";
|
| + return static_cast<GLenum>(0);
|
| +}
|
| +
|
| +void NoContextGLApi::glColorMaskFn(GLboolean red,
|
| + GLboolean green,
|
| + GLboolean blue,
|
| + GLboolean alpha) {
|
| + NOTREACHED() << "Trying to call glColorMask() without current GL context";
|
| + LOG(ERROR) << "Trying to call glColorMask() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCompileShaderFn(GLuint shader) {
|
| + NOTREACHED() << "Trying to call glCompileShader() without current GL context";
|
| + LOG(ERROR) << "Trying to call glCompileShader() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCompressedCopyTextureCHROMIUMFn(GLuint sourceId,
|
| + GLuint destId) {
|
| + NOTREACHED() << "Trying to call glCompressedCopyTextureCHROMIUM() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glCompressedCopyTextureCHROMIUM() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCompressedTexImage2DFn(GLenum target,
|
| + GLint level,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLint border,
|
| + GLsizei imageSize,
|
| + const void* data) {
|
| + NOTREACHED()
|
| + << "Trying to call glCompressedTexImage2D() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glCompressedTexImage2D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCompressedTexImage3DFn(GLenum target,
|
| + GLint level,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei depth,
|
| + GLint border,
|
| + GLsizei imageSize,
|
| + const void* data) {
|
| + NOTREACHED()
|
| + << "Trying to call glCompressedTexImage3D() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glCompressedTexImage3D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCompressedTexSubImage2DFn(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum format,
|
| + GLsizei imageSize,
|
| + const void* data) {
|
| + NOTREACHED() << "Trying to call glCompressedTexSubImage2D() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glCompressedTexSubImage2D() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCompressedTexSubImage3DFn(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLint zoffset,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei depth,
|
| + GLenum format,
|
| + GLsizei imageSize,
|
| + const void* data) {
|
| + NOTREACHED() << "Trying to call glCompressedTexSubImage3D() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glCompressedTexSubImage3D() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCopyBufferSubDataFn(GLenum readTarget,
|
| + GLenum writeTarget,
|
| + GLintptr readOffset,
|
| + GLintptr writeOffset,
|
| + GLsizeiptr size) {
|
| + NOTREACHED()
|
| + << "Trying to call glCopyBufferSubData() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glCopyBufferSubData() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCopySubTextureCHROMIUMFn(
|
| + GLuint sourceId,
|
| + GLuint destId,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLboolean unpackFlipY,
|
| + GLboolean unpackPremultiplyAlpha,
|
| + GLboolean unpackUnmultiplyAlpha) {
|
| + NOTREACHED()
|
| + << "Trying to call glCopySubTextureCHROMIUM() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glCopySubTextureCHROMIUM() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCopyTexImage2DFn(GLenum target,
|
| + GLint level,
|
| + GLenum internalformat,
|
| + GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLint border) {
|
| + NOTREACHED()
|
| + << "Trying to call glCopyTexImage2D() without current GL context";
|
| + LOG(ERROR) << "Trying to call glCopyTexImage2D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCopyTexSubImage2DFn(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED()
|
| + << "Trying to call glCopyTexSubImage2D() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glCopyTexSubImage2D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCopyTexSubImage3DFn(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLint zoffset,
|
| + GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED()
|
| + << "Trying to call glCopyTexSubImage3D() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glCopyTexSubImage3D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCopyTextureCHROMIUMFn(GLuint sourceId,
|
| + GLuint destId,
|
| + GLint internalFormat,
|
| + GLenum destType,
|
| + GLboolean unpackFlipY,
|
| + GLboolean unpackPremultiplyAlpha,
|
| + GLboolean unpackUnmultiplyAlpha) {
|
| + NOTREACHED()
|
| + << "Trying to call glCopyTextureCHROMIUM() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glCopyTextureCHROMIUM() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCoverageModulationNVFn(GLenum components) {
|
| + NOTREACHED()
|
| + << "Trying to call glCoverageModulationNV() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glCoverageModulationNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCoverFillPathInstancedNVFn(
|
| + GLsizei numPaths,
|
| + GLenum pathNameType,
|
| + const void* paths,
|
| + GLuint pathBase,
|
| + GLenum coverMode,
|
| + GLenum transformType,
|
| + const GLfloat* transformValues) {
|
| + NOTREACHED() << "Trying to call glCoverFillPathInstancedNV() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glCoverFillPathInstancedNV() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCoverFillPathNVFn(GLuint path, GLenum coverMode) {
|
| + NOTREACHED()
|
| + << "Trying to call glCoverFillPathNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glCoverFillPathNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCoverStrokePathInstancedNVFn(
|
| + GLsizei numPaths,
|
| + GLenum pathNameType,
|
| + const void* paths,
|
| + GLuint pathBase,
|
| + GLenum coverMode,
|
| + GLenum transformType,
|
| + const GLfloat* transformValues) {
|
| + NOTREACHED() << "Trying to call glCoverStrokePathInstancedNV() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glCoverStrokePathInstancedNV() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) {
|
| + NOTREACHED()
|
| + << "Trying to call glCoverStrokePathNV() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glCoverStrokePathNV() without current GL context";
|
| +}
|
| +
|
| +GLuint NoContextGLApi::glCreateProgramFn(void) {
|
| + NOTREACHED() << "Trying to call glCreateProgram() without current GL context";
|
| + LOG(ERROR) << "Trying to call glCreateProgram() without current GL context";
|
| + return 0U;
|
| +}
|
| +
|
| +GLuint NoContextGLApi::glCreateShaderFn(GLenum type) {
|
| + NOTREACHED() << "Trying to call glCreateShader() without current GL context";
|
| + LOG(ERROR) << "Trying to call glCreateShader() without current GL context";
|
| + return 0U;
|
| +}
|
| +
|
| +void NoContextGLApi::glCullFaceFn(GLenum mode) {
|
| + NOTREACHED() << "Trying to call glCullFace() without current GL context";
|
| + LOG(ERROR) << "Trying to call glCullFace() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDebugMessageCallbackFn(GLDEBUGPROC callback,
|
| + const void* userParam) {
|
| + NOTREACHED()
|
| + << "Trying to call glDebugMessageCallback() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDebugMessageCallback() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDebugMessageControlFn(GLenum source,
|
| + GLenum type,
|
| + GLenum severity,
|
| + GLsizei count,
|
| + const GLuint* ids,
|
| + GLboolean enabled) {
|
| + NOTREACHED()
|
| + << "Trying to call glDebugMessageControl() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDebugMessageControl() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDebugMessageInsertFn(GLenum source,
|
| + GLenum type,
|
| + GLuint id,
|
| + GLenum severity,
|
| + GLsizei length,
|
| + const char* buf) {
|
| + NOTREACHED()
|
| + << "Trying to call glDebugMessageInsert() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDebugMessageInsert() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteBuffersARBFn(GLsizei n, const GLuint* buffers) {
|
| + NOTREACHED()
|
| + << "Trying to call glDeleteBuffersARB() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDeleteBuffersARB() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteFencesAPPLEFn(GLsizei n, const GLuint* fences) {
|
| + NOTREACHED()
|
| + << "Trying to call glDeleteFencesAPPLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDeleteFencesAPPLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteFencesNVFn(GLsizei n, const GLuint* fences) {
|
| + NOTREACHED()
|
| + << "Trying to call glDeleteFencesNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDeleteFencesNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteFramebuffersEXTFn(GLsizei n,
|
| + const GLuint* framebuffers) {
|
| + NOTREACHED()
|
| + << "Trying to call glDeleteFramebuffersEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDeleteFramebuffersEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeletePathsNVFn(GLuint path, GLsizei range) {
|
| + NOTREACHED() << "Trying to call glDeletePathsNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDeletePathsNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteProgramFn(GLuint program) {
|
| + NOTREACHED() << "Trying to call glDeleteProgram() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDeleteProgram() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteQueriesFn(GLsizei n, const GLuint* ids) {
|
| + NOTREACHED() << "Trying to call glDeleteQueries() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDeleteQueries() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteRenderbuffersEXTFn(GLsizei n,
|
| + const GLuint* renderbuffers) {
|
| + NOTREACHED()
|
| + << "Trying to call glDeleteRenderbuffersEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDeleteRenderbuffersEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteSamplersFn(GLsizei n, const GLuint* samplers) {
|
| + NOTREACHED()
|
| + << "Trying to call glDeleteSamplers() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDeleteSamplers() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteShaderFn(GLuint shader) {
|
| + NOTREACHED() << "Trying to call glDeleteShader() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDeleteShader() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteSyncFn(GLsync sync) {
|
| + NOTREACHED() << "Trying to call glDeleteSync() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDeleteSync() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteTexturesFn(GLsizei n, const GLuint* textures) {
|
| + NOTREACHED()
|
| + << "Trying to call glDeleteTextures() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDeleteTextures() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteTransformFeedbacksFn(GLsizei n,
|
| + const GLuint* ids) {
|
| + NOTREACHED() << "Trying to call glDeleteTransformFeedbacks() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glDeleteTransformFeedbacks() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDeleteVertexArraysOESFn(GLsizei n,
|
| + const GLuint* arrays) {
|
| + NOTREACHED()
|
| + << "Trying to call glDeleteVertexArraysOES() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDeleteVertexArraysOES() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDepthFuncFn(GLenum func) {
|
| + NOTREACHED() << "Trying to call glDepthFunc() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDepthFunc() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDepthMaskFn(GLboolean flag) {
|
| + NOTREACHED() << "Trying to call glDepthMask() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDepthMask() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDepthRangeFn(GLclampd zNear, GLclampd zFar) {
|
| + NOTREACHED() << "Trying to call glDepthRange() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDepthRange() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDepthRangefFn(GLclampf zNear, GLclampf zFar) {
|
| + NOTREACHED() << "Trying to call glDepthRangef() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDepthRangef() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDetachShaderFn(GLuint program, GLuint shader) {
|
| + NOTREACHED() << "Trying to call glDetachShader() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDetachShader() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDisableFn(GLenum cap) {
|
| + NOTREACHED() << "Trying to call glDisable() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDisable() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDisableVertexAttribArrayFn(GLuint index) {
|
| + NOTREACHED() << "Trying to call glDisableVertexAttribArray() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glDisableVertexAttribArray() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDiscardFramebufferEXTFn(GLenum target,
|
| + GLsizei numAttachments,
|
| + const GLenum* attachments) {
|
| + NOTREACHED()
|
| + << "Trying to call glDiscardFramebufferEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDiscardFramebufferEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDrawArraysFn(GLenum mode, GLint first, GLsizei count) {
|
| + NOTREACHED() << "Trying to call glDrawArrays() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDrawArrays() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDrawArraysInstancedANGLEFn(GLenum mode,
|
| + GLint first,
|
| + GLsizei count,
|
| + GLsizei primcount) {
|
| + NOTREACHED() << "Trying to call glDrawArraysInstancedANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glDrawArraysInstancedANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDrawBufferFn(GLenum mode) {
|
| + NOTREACHED() << "Trying to call glDrawBuffer() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDrawBuffer() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDrawBuffersARBFn(GLsizei n, const GLenum* bufs) {
|
| + NOTREACHED()
|
| + << "Trying to call glDrawBuffersARB() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDrawBuffersARB() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDrawElementsFn(GLenum mode,
|
| + GLsizei count,
|
| + GLenum type,
|
| + const void* indices) {
|
| + NOTREACHED() << "Trying to call glDrawElements() without current GL context";
|
| + LOG(ERROR) << "Trying to call glDrawElements() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDrawElementsInstancedANGLEFn(GLenum mode,
|
| + GLsizei count,
|
| + GLenum type,
|
| + const void* indices,
|
| + GLsizei primcount) {
|
| + NOTREACHED() << "Trying to call glDrawElementsInstancedANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glDrawElementsInstancedANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glDrawRangeElementsFn(GLenum mode,
|
| + GLuint start,
|
| + GLuint end,
|
| + GLsizei count,
|
| + GLenum type,
|
| + const void* indices) {
|
| + NOTREACHED()
|
| + << "Trying to call glDrawRangeElements() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glDrawRangeElements() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glEGLImageTargetRenderbufferStorageOESFn(
|
| + GLenum target,
|
| + GLeglImageOES image) {
|
| + NOTREACHED() << "Trying to call glEGLImageTargetRenderbufferStorageOES() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glEGLImageTargetRenderbufferStorageOES() "
|
| + "without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glEGLImageTargetTexture2DOESFn(GLenum target,
|
| + GLeglImageOES image) {
|
| + NOTREACHED() << "Trying to call glEGLImageTargetTexture2DOES() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glEGLImageTargetTexture2DOES() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glEnableFn(GLenum cap) {
|
| + NOTREACHED() << "Trying to call glEnable() without current GL context";
|
| + LOG(ERROR) << "Trying to call glEnable() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glEnableVertexAttribArrayFn(GLuint index) {
|
| + NOTREACHED() << "Trying to call glEnableVertexAttribArray() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glEnableVertexAttribArray() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glEndQueryFn(GLenum target) {
|
| + NOTREACHED() << "Trying to call glEndQuery() without current GL context";
|
| + LOG(ERROR) << "Trying to call glEndQuery() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glEndTransformFeedbackFn(void) {
|
| + NOTREACHED()
|
| + << "Trying to call glEndTransformFeedback() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glEndTransformFeedback() without current GL context";
|
| +}
|
| +
|
| +GLsync NoContextGLApi::glFenceSyncFn(GLenum condition, GLbitfield flags) {
|
| + NOTREACHED() << "Trying to call glFenceSync() without current GL context";
|
| + LOG(ERROR) << "Trying to call glFenceSync() without current GL context";
|
| + return NULL;
|
| +}
|
| +
|
| +void NoContextGLApi::glFinishFn(void) {
|
| + NOTREACHED() << "Trying to call glFinish() without current GL context";
|
| + LOG(ERROR) << "Trying to call glFinish() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFinishFenceAPPLEFn(GLuint fence) {
|
| + NOTREACHED()
|
| + << "Trying to call glFinishFenceAPPLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glFinishFenceAPPLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFinishFenceNVFn(GLuint fence) {
|
| + NOTREACHED() << "Trying to call glFinishFenceNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glFinishFenceNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFlushFn(void) {
|
| + NOTREACHED() << "Trying to call glFlush() without current GL context";
|
| + LOG(ERROR) << "Trying to call glFlush() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFlushMappedBufferRangeFn(GLenum target,
|
| + GLintptr offset,
|
| + GLsizeiptr length) {
|
| + NOTREACHED()
|
| + << "Trying to call glFlushMappedBufferRange() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glFlushMappedBufferRange() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFramebufferRenderbufferEXTFn(GLenum target,
|
| + GLenum attachment,
|
| + GLenum renderbuffertarget,
|
| + GLuint renderbuffer) {
|
| + NOTREACHED() << "Trying to call glFramebufferRenderbufferEXT() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glFramebufferRenderbufferEXT() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFramebufferTexture2DEXTFn(GLenum target,
|
| + GLenum attachment,
|
| + GLenum textarget,
|
| + GLuint texture,
|
| + GLint level) {
|
| + NOTREACHED() << "Trying to call glFramebufferTexture2DEXT() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glFramebufferTexture2DEXT() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFramebufferTexture2DMultisampleEXTFn(GLenum target,
|
| + GLenum attachment,
|
| + GLenum textarget,
|
| + GLuint texture,
|
| + GLint level,
|
| + GLsizei samples) {
|
| + NOTREACHED() << "Trying to call glFramebufferTexture2DMultisampleEXT() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glFramebufferTexture2DMultisampleEXT() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFramebufferTexture2DMultisampleIMGFn(GLenum target,
|
| + GLenum attachment,
|
| + GLenum textarget,
|
| + GLuint texture,
|
| + GLint level,
|
| + GLsizei samples) {
|
| + NOTREACHED() << "Trying to call glFramebufferTexture2DMultisampleIMG() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glFramebufferTexture2DMultisampleIMG() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFramebufferTextureLayerFn(GLenum target,
|
| + GLenum attachment,
|
| + GLuint texture,
|
| + GLint level,
|
| + GLint layer) {
|
| + NOTREACHED() << "Trying to call glFramebufferTextureLayer() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glFramebufferTextureLayer() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glFrontFaceFn(GLenum mode) {
|
| + NOTREACHED() << "Trying to call glFrontFace() without current GL context";
|
| + LOG(ERROR) << "Trying to call glFrontFace() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenBuffersARBFn(GLsizei n, GLuint* buffers) {
|
| + NOTREACHED() << "Trying to call glGenBuffersARB() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGenBuffersARB() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenerateMipmapEXTFn(GLenum target) {
|
| + NOTREACHED()
|
| + << "Trying to call glGenerateMipmapEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGenerateMipmapEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenFencesAPPLEFn(GLsizei n, GLuint* fences) {
|
| + NOTREACHED()
|
| + << "Trying to call glGenFencesAPPLE() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGenFencesAPPLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenFencesNVFn(GLsizei n, GLuint* fences) {
|
| + NOTREACHED() << "Trying to call glGenFencesNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGenFencesNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) {
|
| + NOTREACHED()
|
| + << "Trying to call glGenFramebuffersEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGenFramebuffersEXT() without current GL context";
|
| +}
|
| +
|
| +GLuint NoContextGLApi::glGenPathsNVFn(GLsizei range) {
|
| + NOTREACHED() << "Trying to call glGenPathsNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGenPathsNV() without current GL context";
|
| + return 0U;
|
| +}
|
| +
|
| +void NoContextGLApi::glGenQueriesFn(GLsizei n, GLuint* ids) {
|
| + NOTREACHED() << "Trying to call glGenQueries() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGenQueries() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) {
|
| + NOTREACHED()
|
| + << "Trying to call glGenRenderbuffersEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGenRenderbuffersEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenSamplersFn(GLsizei n, GLuint* samplers) {
|
| + NOTREACHED() << "Trying to call glGenSamplers() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGenSamplers() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenTexturesFn(GLsizei n, GLuint* textures) {
|
| + NOTREACHED() << "Trying to call glGenTextures() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGenTextures() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenTransformFeedbacksFn(GLsizei n, GLuint* ids) {
|
| + NOTREACHED()
|
| + << "Trying to call glGenTransformFeedbacks() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGenTransformFeedbacks() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGenVertexArraysOESFn(GLsizei n, GLuint* arrays) {
|
| + NOTREACHED()
|
| + << "Trying to call glGenVertexArraysOES() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGenVertexArraysOES() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetActiveAttribFn(GLuint program,
|
| + GLuint index,
|
| + GLsizei bufsize,
|
| + GLsizei* length,
|
| + GLint* size,
|
| + GLenum* type,
|
| + char* name) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetActiveAttrib() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetActiveAttrib() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetActiveUniformFn(GLuint program,
|
| + GLuint index,
|
| + GLsizei bufsize,
|
| + GLsizei* length,
|
| + GLint* size,
|
| + GLenum* type,
|
| + char* name) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetActiveUniform() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetActiveUniform() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetActiveUniformBlockivFn(GLuint program,
|
| + GLuint uniformBlockIndex,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetActiveUniformBlockiv() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetActiveUniformBlockiv() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetActiveUniformBlockivRobustANGLEFn(
|
| + GLuint program,
|
| + GLuint uniformBlockIndex,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetActiveUniformBlockivRobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetActiveUniformBlockivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetActiveUniformBlockNameFn(GLuint program,
|
| + GLuint uniformBlockIndex,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + char* uniformBlockName) {
|
| + NOTREACHED() << "Trying to call glGetActiveUniformBlockName() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetActiveUniformBlockName() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetActiveUniformsivFn(GLuint program,
|
| + GLsizei uniformCount,
|
| + const GLuint* uniformIndices,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetActiveUniformsiv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetActiveUniformsiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetAttachedShadersFn(GLuint program,
|
| + GLsizei maxcount,
|
| + GLsizei* count,
|
| + GLuint* shaders) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetAttachedShaders() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetAttachedShaders() without current GL context";
|
| +}
|
| +
|
| +GLint NoContextGLApi::glGetAttribLocationFn(GLuint program, const char* name) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetAttribLocation() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetAttribLocation() without current GL context";
|
| + return 0;
|
| +}
|
| +
|
| +void NoContextGLApi::glGetBooleani_vRobustANGLEFn(GLenum target,
|
| + GLuint index,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLboolean* data) {
|
| + NOTREACHED() << "Trying to call glGetBooleani_vRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetBooleani_vRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetBooleanvFn(GLenum pname, GLboolean* params) {
|
| + NOTREACHED() << "Trying to call glGetBooleanv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetBooleanv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetBooleanvRobustANGLEFn(GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLboolean* data) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetBooleanvRobustANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetBooleanvRobustANGLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetBufferParameteri64vRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint64* params) {
|
| + NOTREACHED() << "Trying to call glGetBufferParameteri64vRobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetBufferParameteri64vRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetBufferParameterivFn(GLenum target,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetBufferParameteriv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetBufferParameteriv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetBufferParameterivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetBufferParameterivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetBufferParameterivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetBufferPointervRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + void** params) {
|
| + NOTREACHED() << "Trying to call glGetBufferPointervRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetBufferPointervRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetDebugMessageLogFn(GLuint count,
|
| + GLsizei bufSize,
|
| + GLenum* sources,
|
| + GLenum* types,
|
| + GLuint* ids,
|
| + GLenum* severities,
|
| + GLsizei* lengths,
|
| + char* messageLog) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetDebugMessageLog() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetDebugMessageLog() without current GL context";
|
| +}
|
| +
|
| +GLenum NoContextGLApi::glGetErrorFn(void) {
|
| + NOTREACHED() << "Trying to call glGetError() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetError() without current GL context";
|
| + return static_cast<GLenum>(0);
|
| +}
|
| +
|
| +void NoContextGLApi::glGetFenceivNVFn(GLuint fence,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetFenceivNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetFenceivNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetFloatvFn(GLenum pname, GLfloat* params) {
|
| + NOTREACHED() << "Trying to call glGetFloatv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetFloatv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetFloatvRobustANGLEFn(GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLfloat* data) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetFloatvRobustANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetFloatvRobustANGLE() without current GL context";
|
| +}
|
| +
|
| +GLint NoContextGLApi::glGetFragDataIndexFn(GLuint program, const char* name) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetFragDataIndex() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetFragDataIndex() without current GL context";
|
| + return 0;
|
| +}
|
| +
|
| +GLint NoContextGLApi::glGetFragDataLocationFn(GLuint program,
|
| + const char* name) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetFragDataLocation() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetFragDataLocation() without current GL context";
|
| + return 0;
|
| +}
|
| +
|
| +void NoContextGLApi::glGetFramebufferAttachmentParameterivEXTFn(
|
| + GLenum target,
|
| + GLenum attachment,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetFramebufferAttachmentParameterivEXT() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetFramebufferAttachmentParameterivEXT() "
|
| + "without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetFramebufferAttachmentParameterivRobustANGLEFn(
|
| + GLenum target,
|
| + GLenum attachment,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call "
|
| + "glGetFramebufferAttachmentParameterivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call "
|
| + "glGetFramebufferAttachmentParameterivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetFramebufferParameterivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetFramebufferParameterivRobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetFramebufferParameterivRobustANGLE() "
|
| + "without current GL context";
|
| +}
|
| +
|
| +GLenum NoContextGLApi::glGetGraphicsResetStatusARBFn(void) {
|
| + NOTREACHED() << "Trying to call glGetGraphicsResetStatusARB() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetGraphicsResetStatusARB() without current "
|
| + "GL context";
|
| + return static_cast<GLenum>(0);
|
| +}
|
| +
|
| +void NoContextGLApi::glGetInteger64i_vFn(GLenum target,
|
| + GLuint index,
|
| + GLint64* data) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetInteger64i_v() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetInteger64i_v() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetInteger64i_vRobustANGLEFn(GLenum target,
|
| + GLuint index,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint64* data) {
|
| + NOTREACHED() << "Trying to call glGetInteger64i_vRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetInteger64i_vRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetInteger64vFn(GLenum pname, GLint64* params) {
|
| + NOTREACHED() << "Trying to call glGetInteger64v() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetInteger64v() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetInteger64vRobustANGLEFn(GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint64* data) {
|
| + NOTREACHED() << "Trying to call glGetInteger64vRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetInteger64vRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetIntegeri_vFn(GLenum target,
|
| + GLuint index,
|
| + GLint* data) {
|
| + NOTREACHED() << "Trying to call glGetIntegeri_v() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetIntegeri_v() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetIntegeri_vRobustANGLEFn(GLenum target,
|
| + GLuint index,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* data) {
|
| + NOTREACHED() << "Trying to call glGetIntegeri_vRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetIntegeri_vRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetIntegervFn(GLenum pname, GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetIntegerv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetIntegerv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetIntegervRobustANGLEFn(GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* data) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetIntegervRobustANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetIntegervRobustANGLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetInternalformativFn(GLenum target,
|
| + GLenum internalformat,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetInternalformativ() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetInternalformativ() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetInternalformativRobustANGLEFn(GLenum target,
|
| + GLenum internalformat,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetInternalformativRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetInternalformativRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetMultisamplefvRobustANGLEFn(GLenum pname,
|
| + GLuint index,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLfloat* val) {
|
| + NOTREACHED() << "Trying to call glGetMultisamplefvRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetMultisamplefvRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetnUniformfvRobustANGLEFn(GLuint program,
|
| + GLint location,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLfloat* params) {
|
| + NOTREACHED() << "Trying to call glGetnUniformfvRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetnUniformfvRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetnUniformivRobustANGLEFn(GLuint program,
|
| + GLint location,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetnUniformivRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetnUniformivRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetnUniformuivRobustANGLEFn(GLuint program,
|
| + GLint location,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLuint* params) {
|
| + NOTREACHED() << "Trying to call glGetnUniformuivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetnUniformuivRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetObjectLabelFn(GLenum identifier,
|
| + GLuint name,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + char* label) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetObjectLabel() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetObjectLabel() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetObjectPtrLabelFn(void* ptr,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + char* label) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetObjectPtrLabel() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetObjectPtrLabel() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetPointervFn(GLenum pname, void** params) {
|
| + NOTREACHED() << "Trying to call glGetPointerv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetPointerv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetPointervRobustANGLERobustANGLEFn(GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + void** params) {
|
| + NOTREACHED() << "Trying to call glGetPointervRobustANGLERobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetPointervRobustANGLERobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetProgramBinaryFn(GLuint program,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLenum* binaryFormat,
|
| + GLvoid* binary) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetProgramBinary() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetProgramBinary() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetProgramInfoLogFn(GLuint program,
|
| + GLsizei bufsize,
|
| + GLsizei* length,
|
| + char* infolog) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetProgramInfoLog() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetProgramInfoLog() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetProgramInterfaceivFn(GLuint program,
|
| + GLenum programInterface,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetProgramInterfaceiv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetProgramInterfaceiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetProgramInterfaceivRobustANGLEFn(
|
| + GLuint program,
|
| + GLenum programInterface,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetProgramInterfaceivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetProgramInterfaceivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetProgramivFn(GLuint program,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetProgramiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetProgramiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetProgramivRobustANGLEFn(GLuint program,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetProgramivRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetProgramivRobustANGLE() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetProgramResourceivFn(GLuint program,
|
| + GLenum programInterface,
|
| + GLuint index,
|
| + GLsizei propCount,
|
| + const GLenum* props,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetProgramResourceiv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetProgramResourceiv() without current GL context";
|
| +}
|
| +
|
| +GLint NoContextGLApi::glGetProgramResourceLocationFn(GLuint program,
|
| + GLenum programInterface,
|
| + const char* name) {
|
| + NOTREACHED() << "Trying to call glGetProgramResourceLocation() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetProgramResourceLocation() without current "
|
| + "GL context";
|
| + return 0;
|
| +}
|
| +
|
| +void NoContextGLApi::glGetProgramResourceNameFn(GLuint program,
|
| + GLenum programInterface,
|
| + GLuint index,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLchar* name) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetProgramResourceName() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetProgramResourceName() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryivFn(GLenum target,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetQueryiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetQueryiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetQueryivRobustANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetQueryivRobustANGLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryObjecti64vFn(GLuint id,
|
| + GLenum pname,
|
| + GLint64* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetQueryObjecti64v() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetQueryObjecti64v() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryObjecti64vRobustANGLEFn(GLuint id,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint64* params) {
|
| + NOTREACHED() << "Trying to call glGetQueryObjecti64vRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetQueryObjecti64vRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryObjectivFn(GLuint id,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetQueryObjectiv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetQueryObjectiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryObjectivRobustANGLEFn(GLuint id,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetQueryObjectivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetQueryObjectivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryObjectui64vFn(GLuint id,
|
| + GLenum pname,
|
| + GLuint64* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetQueryObjectui64v() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetQueryObjectui64v() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryObjectui64vRobustANGLEFn(GLuint id,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLuint64* params) {
|
| + NOTREACHED() << "Trying to call glGetQueryObjectui64vRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetQueryObjectui64vRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryObjectuivFn(GLuint id,
|
| + GLenum pname,
|
| + GLuint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetQueryObjectuiv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetQueryObjectuiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetQueryObjectuivRobustANGLEFn(GLuint id,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLuint* params) {
|
| + NOTREACHED() << "Trying to call glGetQueryObjectuivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetQueryObjectuivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetRenderbufferParameterivEXTFn(GLenum target,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetRenderbufferParameterivEXT() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetRenderbufferParameterivEXT() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetRenderbufferParameterivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetRenderbufferParameterivRobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetRenderbufferParameterivRobustANGLE() "
|
| + "without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetSamplerParameterfvFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLfloat* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetSamplerParameterfv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetSamplerParameterfv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetSamplerParameterfvRobustANGLEFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLfloat* params) {
|
| + NOTREACHED() << "Trying to call glGetSamplerParameterfvRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetSamplerParameterfvRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetSamplerParameterIivRobustANGLEFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetSamplerParameterIivRobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetSamplerParameterIivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetSamplerParameterIuivRobustANGLEFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLuint* params) {
|
| + NOTREACHED() << "Trying to call glGetSamplerParameterIuivRobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetSamplerParameterIuivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetSamplerParameterivFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetSamplerParameteriv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetSamplerParameteriv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetSamplerParameterivRobustANGLEFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetSamplerParameterivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetSamplerParameterivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetShaderInfoLogFn(GLuint shader,
|
| + GLsizei bufsize,
|
| + GLsizei* length,
|
| + char* infolog) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetShaderInfoLog() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetShaderInfoLog() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetShaderivFn(GLuint shader,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetShaderiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetShaderiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetShaderivRobustANGLEFn(GLuint shader,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetShaderivRobustANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetShaderivRobustANGLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetShaderPrecisionFormatFn(GLenum shadertype,
|
| + GLenum precisiontype,
|
| + GLint* range,
|
| + GLint* precision) {
|
| + NOTREACHED() << "Trying to call glGetShaderPrecisionFormat() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetShaderPrecisionFormat() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetShaderSourceFn(GLuint shader,
|
| + GLsizei bufsize,
|
| + GLsizei* length,
|
| + char* source) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetShaderSource() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetShaderSource() without current GL context";
|
| +}
|
| +
|
| +const GLubyte* NoContextGLApi::glGetStringFn(GLenum name) {
|
| + NOTREACHED() << "Trying to call glGetString() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetString() without current GL context";
|
| + return NULL;
|
| +}
|
| +
|
| +const GLubyte* NoContextGLApi::glGetStringiFn(GLenum name, GLuint index) {
|
| + NOTREACHED() << "Trying to call glGetStringi() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetStringi() without current GL context";
|
| + return NULL;
|
| +}
|
| +
|
| +void NoContextGLApi::glGetSyncivFn(GLsync sync,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* values) {
|
| + NOTREACHED() << "Trying to call glGetSynciv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetSynciv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexLevelParameterfvFn(GLenum target,
|
| + GLint level,
|
| + GLenum pname,
|
| + GLfloat* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetTexLevelParameterfv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetTexLevelParameterfv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexLevelParameterfvRobustANGLEFn(GLenum target,
|
| + GLint level,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLfloat* params) {
|
| + NOTREACHED() << "Trying to call glGetTexLevelParameterfvRobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetTexLevelParameterfvRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexLevelParameterivFn(GLenum target,
|
| + GLint level,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetTexLevelParameteriv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetTexLevelParameteriv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexLevelParameterivRobustANGLEFn(GLenum target,
|
| + GLint level,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetTexLevelParameterivRobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetTexLevelParameterivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexParameterfvFn(GLenum target,
|
| + GLenum pname,
|
| + GLfloat* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetTexParameterfv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetTexParameterfv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexParameterfvRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLfloat* params) {
|
| + NOTREACHED() << "Trying to call glGetTexParameterfvRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetTexParameterfvRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexParameterIivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetTexParameterIivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetTexParameterIivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexParameterIuivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLuint* params) {
|
| + NOTREACHED() << "Trying to call glGetTexParameterIuivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetTexParameterIuivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexParameterivFn(GLenum target,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetTexParameteriv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetTexParameteriv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTexParameterivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetTexParameterivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetTexParameterivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTransformFeedbackVaryingFn(GLuint program,
|
| + GLuint index,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLsizei* size,
|
| + GLenum* type,
|
| + char* name) {
|
| + NOTREACHED() << "Trying to call glGetTransformFeedbackVarying() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetTransformFeedbackVarying() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetTranslatedShaderSourceANGLEFn(GLuint shader,
|
| + GLsizei bufsize,
|
| + GLsizei* length,
|
| + char* source) {
|
| + NOTREACHED() << "Trying to call glGetTranslatedShaderSourceANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetTranslatedShaderSourceANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +GLuint NoContextGLApi::glGetUniformBlockIndexFn(GLuint program,
|
| + const char* uniformBlockName) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetUniformBlockIndex() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetUniformBlockIndex() without current GL context";
|
| + return 0U;
|
| +}
|
| +
|
| +void NoContextGLApi::glGetUniformfvFn(GLuint program,
|
| + GLint location,
|
| + GLfloat* params) {
|
| + NOTREACHED() << "Trying to call glGetUniformfv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetUniformfv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetUniformfvRobustANGLEFn(GLuint program,
|
| + GLint location,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLfloat* params) {
|
| + NOTREACHED() << "Trying to call glGetUniformfvRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetUniformfvRobustANGLE() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetUniformIndicesFn(GLuint program,
|
| + GLsizei uniformCount,
|
| + const char* const* uniformNames,
|
| + GLuint* uniformIndices) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetUniformIndices() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetUniformIndices() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetUniformivFn(GLuint program,
|
| + GLint location,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetUniformiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetUniformiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetUniformivRobustANGLEFn(GLuint program,
|
| + GLint location,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetUniformivRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetUniformivRobustANGLE() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +GLint NoContextGLApi::glGetUniformLocationFn(GLuint program, const char* name) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetUniformLocation() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetUniformLocation() without current GL context";
|
| + return 0;
|
| +}
|
| +
|
| +void NoContextGLApi::glGetUniformuivFn(GLuint program,
|
| + GLint location,
|
| + GLuint* params) {
|
| + NOTREACHED() << "Trying to call glGetUniformuiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetUniformuiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetUniformuivRobustANGLEFn(GLuint program,
|
| + GLint location,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLuint* params) {
|
| + NOTREACHED() << "Trying to call glGetUniformuivRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetUniformuivRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetVertexAttribfvFn(GLuint index,
|
| + GLenum pname,
|
| + GLfloat* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetVertexAttribfv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetVertexAttribfv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetVertexAttribfvRobustANGLEFn(GLuint index,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLfloat* params) {
|
| + NOTREACHED() << "Trying to call glGetVertexAttribfvRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetVertexAttribfvRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetVertexAttribIivRobustANGLEFn(GLuint index,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetVertexAttribIivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetVertexAttribIivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetVertexAttribIuivRobustANGLEFn(GLuint index,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLuint* params) {
|
| + NOTREACHED() << "Trying to call glGetVertexAttribIuivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetVertexAttribIuivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetVertexAttribivFn(GLuint index,
|
| + GLenum pname,
|
| + GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glGetVertexAttribiv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glGetVertexAttribiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetVertexAttribivRobustANGLEFn(GLuint index,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + GLint* params) {
|
| + NOTREACHED() << "Trying to call glGetVertexAttribivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glGetVertexAttribivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetVertexAttribPointervFn(GLuint index,
|
| + GLenum pname,
|
| + void** pointer) {
|
| + NOTREACHED() << "Trying to call glGetVertexAttribPointerv() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glGetVertexAttribPointerv() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glGetVertexAttribPointervRobustANGLEFn(GLuint index,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + void** pointer) {
|
| + NOTREACHED() << "Trying to call glGetVertexAttribPointervRobustANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glGetVertexAttribPointervRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glHintFn(GLenum target, GLenum mode) {
|
| + NOTREACHED() << "Trying to call glHint() without current GL context";
|
| + LOG(ERROR) << "Trying to call glHint() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glInsertEventMarkerEXTFn(GLsizei length,
|
| + const char* marker) {
|
| + NOTREACHED()
|
| + << "Trying to call glInsertEventMarkerEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glInsertEventMarkerEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glInvalidateFramebufferFn(GLenum target,
|
| + GLsizei numAttachments,
|
| + const GLenum* attachments) {
|
| + NOTREACHED()
|
| + << "Trying to call glInvalidateFramebuffer() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glInvalidateFramebuffer() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glInvalidateSubFramebufferFn(GLenum target,
|
| + GLsizei numAttachments,
|
| + const GLenum* attachments,
|
| + GLint x,
|
| + GLint y,
|
| + GLint width,
|
| + GLint height) {
|
| + NOTREACHED() << "Trying to call glInvalidateSubFramebuffer() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glInvalidateSubFramebuffer() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsBufferFn(GLuint buffer) {
|
| + NOTREACHED() << "Trying to call glIsBuffer() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsBuffer() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsEnabledFn(GLenum cap) {
|
| + NOTREACHED() << "Trying to call glIsEnabled() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsEnabled() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsFenceAPPLEFn(GLuint fence) {
|
| + NOTREACHED() << "Trying to call glIsFenceAPPLE() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsFenceAPPLE() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsFenceNVFn(GLuint fence) {
|
| + NOTREACHED() << "Trying to call glIsFenceNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsFenceNV() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsFramebufferEXTFn(GLuint framebuffer) {
|
| + NOTREACHED()
|
| + << "Trying to call glIsFramebufferEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glIsFramebufferEXT() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsPathNVFn(GLuint path) {
|
| + NOTREACHED() << "Trying to call glIsPathNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsPathNV() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsProgramFn(GLuint program) {
|
| + NOTREACHED() << "Trying to call glIsProgram() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsProgram() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsQueryFn(GLuint query) {
|
| + NOTREACHED() << "Trying to call glIsQuery() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsQuery() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsRenderbufferEXTFn(GLuint renderbuffer) {
|
| + NOTREACHED()
|
| + << "Trying to call glIsRenderbufferEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glIsRenderbufferEXT() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsSamplerFn(GLuint sampler) {
|
| + NOTREACHED() << "Trying to call glIsSampler() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsSampler() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsShaderFn(GLuint shader) {
|
| + NOTREACHED() << "Trying to call glIsShader() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsShader() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsSyncFn(GLsync sync) {
|
| + NOTREACHED() << "Trying to call glIsSync() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsSync() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsTextureFn(GLuint texture) {
|
| + NOTREACHED() << "Trying to call glIsTexture() without current GL context";
|
| + LOG(ERROR) << "Trying to call glIsTexture() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsTransformFeedbackFn(GLuint id) {
|
| + NOTREACHED()
|
| + << "Trying to call glIsTransformFeedback() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glIsTransformFeedback() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glIsVertexArrayOESFn(GLuint array) {
|
| + NOTREACHED()
|
| + << "Trying to call glIsVertexArrayOES() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glIsVertexArrayOES() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +void NoContextGLApi::glLineWidthFn(GLfloat width) {
|
| + NOTREACHED() << "Trying to call glLineWidth() without current GL context";
|
| + LOG(ERROR) << "Trying to call glLineWidth() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glLinkProgramFn(GLuint program) {
|
| + NOTREACHED() << "Trying to call glLinkProgram() without current GL context";
|
| + LOG(ERROR) << "Trying to call glLinkProgram() without current GL context";
|
| +}
|
| +
|
| +void* NoContextGLApi::glMapBufferFn(GLenum target, GLenum access) {
|
| + NOTREACHED() << "Trying to call glMapBuffer() without current GL context";
|
| + LOG(ERROR) << "Trying to call glMapBuffer() without current GL context";
|
| + return NULL;
|
| +}
|
| +
|
| +void* NoContextGLApi::glMapBufferRangeFn(GLenum target,
|
| + GLintptr offset,
|
| + GLsizeiptr length,
|
| + GLbitfield access) {
|
| + NOTREACHED()
|
| + << "Trying to call glMapBufferRange() without current GL context";
|
| + LOG(ERROR) << "Trying to call glMapBufferRange() without current GL context";
|
| + return NULL;
|
| +}
|
| +
|
| +void NoContextGLApi::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) {
|
| + NOTREACHED()
|
| + << "Trying to call glMatrixLoadfEXT() without current GL context";
|
| + LOG(ERROR) << "Trying to call glMatrixLoadfEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glMatrixLoadIdentityEXTFn(GLenum matrixMode) {
|
| + NOTREACHED()
|
| + << "Trying to call glMatrixLoadIdentityEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glMatrixLoadIdentityEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glMemoryBarrierEXTFn(GLbitfield barriers) {
|
| + NOTREACHED()
|
| + << "Trying to call glMemoryBarrierEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glMemoryBarrierEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glObjectLabelFn(GLenum identifier,
|
| + GLuint name,
|
| + GLsizei length,
|
| + const char* label) {
|
| + NOTREACHED() << "Trying to call glObjectLabel() without current GL context";
|
| + LOG(ERROR) << "Trying to call glObjectLabel() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glObjectPtrLabelFn(void* ptr,
|
| + GLsizei length,
|
| + const char* label) {
|
| + NOTREACHED()
|
| + << "Trying to call glObjectPtrLabel() without current GL context";
|
| + LOG(ERROR) << "Trying to call glObjectPtrLabel() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPathCommandsNVFn(GLuint path,
|
| + GLsizei numCommands,
|
| + const GLubyte* commands,
|
| + GLsizei numCoords,
|
| + GLenum coordType,
|
| + const GLvoid* coords) {
|
| + NOTREACHED()
|
| + << "Trying to call glPathCommandsNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glPathCommandsNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPathParameterfNVFn(GLuint path,
|
| + GLenum pname,
|
| + GLfloat value) {
|
| + NOTREACHED()
|
| + << "Trying to call glPathParameterfNV() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glPathParameterfNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPathParameteriNVFn(GLuint path,
|
| + GLenum pname,
|
| + GLint value) {
|
| + NOTREACHED()
|
| + << "Trying to call glPathParameteriNV() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glPathParameteriNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPathStencilFuncNVFn(GLenum func,
|
| + GLint ref,
|
| + GLuint mask) {
|
| + NOTREACHED()
|
| + << "Trying to call glPathStencilFuncNV() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glPathStencilFuncNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPauseTransformFeedbackFn(void) {
|
| + NOTREACHED()
|
| + << "Trying to call glPauseTransformFeedback() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glPauseTransformFeedback() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPixelStoreiFn(GLenum pname, GLint param) {
|
| + NOTREACHED() << "Trying to call glPixelStorei() without current GL context";
|
| + LOG(ERROR) << "Trying to call glPixelStorei() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPointParameteriFn(GLenum pname, GLint param) {
|
| + NOTREACHED()
|
| + << "Trying to call glPointParameteri() without current GL context";
|
| + LOG(ERROR) << "Trying to call glPointParameteri() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPolygonOffsetFn(GLfloat factor, GLfloat units) {
|
| + NOTREACHED() << "Trying to call glPolygonOffset() without current GL context";
|
| + LOG(ERROR) << "Trying to call glPolygonOffset() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPopDebugGroupFn() {
|
| + NOTREACHED() << "Trying to call glPopDebugGroup() without current GL context";
|
| + LOG(ERROR) << "Trying to call glPopDebugGroup() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPopGroupMarkerEXTFn(void) {
|
| + NOTREACHED()
|
| + << "Trying to call glPopGroupMarkerEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glPopGroupMarkerEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPrimitiveRestartIndexFn(GLuint index) {
|
| + NOTREACHED()
|
| + << "Trying to call glPrimitiveRestartIndex() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glPrimitiveRestartIndex() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glProgramBinaryFn(GLuint program,
|
| + GLenum binaryFormat,
|
| + const GLvoid* binary,
|
| + GLsizei length) {
|
| + NOTREACHED() << "Trying to call glProgramBinary() without current GL context";
|
| + LOG(ERROR) << "Trying to call glProgramBinary() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glProgramParameteriFn(GLuint program,
|
| + GLenum pname,
|
| + GLint value) {
|
| + NOTREACHED()
|
| + << "Trying to call glProgramParameteri() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glProgramParameteri() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glProgramPathFragmentInputGenNVFn(GLuint program,
|
| + GLint location,
|
| + GLenum genMode,
|
| + GLint components,
|
| + const GLfloat* coeffs) {
|
| + NOTREACHED() << "Trying to call glProgramPathFragmentInputGenNV() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glProgramPathFragmentInputGenNV() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPushDebugGroupFn(GLenum source,
|
| + GLuint id,
|
| + GLsizei length,
|
| + const char* message) {
|
| + NOTREACHED()
|
| + << "Trying to call glPushDebugGroup() without current GL context";
|
| + LOG(ERROR) << "Trying to call glPushDebugGroup() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glPushGroupMarkerEXTFn(GLsizei length,
|
| + const char* marker) {
|
| + NOTREACHED()
|
| + << "Trying to call glPushGroupMarkerEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glPushGroupMarkerEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glQueryCounterFn(GLuint id, GLenum target) {
|
| + NOTREACHED() << "Trying to call glQueryCounter() without current GL context";
|
| + LOG(ERROR) << "Trying to call glQueryCounter() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glReadBufferFn(GLenum src) {
|
| + NOTREACHED() << "Trying to call glReadBuffer() without current GL context";
|
| + LOG(ERROR) << "Trying to call glReadBuffer() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glReadnPixelsRobustANGLEFn(GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum format,
|
| + GLenum type,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + void* data) {
|
| + NOTREACHED()
|
| + << "Trying to call glReadnPixelsRobustANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glReadnPixelsRobustANGLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glReadPixelsFn(GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum format,
|
| + GLenum type,
|
| + void* pixels) {
|
| + NOTREACHED() << "Trying to call glReadPixels() without current GL context";
|
| + LOG(ERROR) << "Trying to call glReadPixels() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glReadPixelsRobustANGLEFn(GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum format,
|
| + GLenum type,
|
| + GLsizei bufSize,
|
| + GLsizei* length,
|
| + void* pixels) {
|
| + NOTREACHED()
|
| + << "Trying to call glReadPixelsRobustANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glReadPixelsRobustANGLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glReleaseShaderCompilerFn(void) {
|
| + NOTREACHED()
|
| + << "Trying to call glReleaseShaderCompiler() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glReleaseShaderCompiler() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glRenderbufferStorageEXTFn(GLenum target,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED()
|
| + << "Trying to call glRenderbufferStorageEXT() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glRenderbufferStorageEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glRenderbufferStorageMultisampleFn(GLenum target,
|
| + GLsizei samples,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED() << "Trying to call glRenderbufferStorageMultisample() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glRenderbufferStorageMultisample() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glRenderbufferStorageMultisampleANGLEFn(
|
| + GLenum target,
|
| + GLsizei samples,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED() << "Trying to call glRenderbufferStorageMultisampleANGLE() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glRenderbufferStorageMultisampleANGLE() "
|
| + "without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glRenderbufferStorageMultisampleEXTFn(
|
| + GLenum target,
|
| + GLsizei samples,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED() << "Trying to call glRenderbufferStorageMultisampleEXT() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glRenderbufferStorageMultisampleEXT() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glRenderbufferStorageMultisampleIMGFn(
|
| + GLenum target,
|
| + GLsizei samples,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED() << "Trying to call glRenderbufferStorageMultisampleIMG() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glRenderbufferStorageMultisampleIMG() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glResumeTransformFeedbackFn(void) {
|
| + NOTREACHED() << "Trying to call glResumeTransformFeedback() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glResumeTransformFeedback() without current GL "
|
| + "context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSampleCoverageFn(GLclampf value, GLboolean invert) {
|
| + NOTREACHED()
|
| + << "Trying to call glSampleCoverage() without current GL context";
|
| + LOG(ERROR) << "Trying to call glSampleCoverage() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSamplerParameterfFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLfloat param) {
|
| + NOTREACHED()
|
| + << "Trying to call glSamplerParameterf() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glSamplerParameterf() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSamplerParameterfvFn(GLuint sampler,
|
| + GLenum pname,
|
| + const GLfloat* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glSamplerParameterfv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glSamplerParameterfv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSamplerParameterfvRobustANGLEFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + const GLfloat* param) {
|
| + NOTREACHED() << "Trying to call glSamplerParameterfvRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glSamplerParameterfvRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSamplerParameteriFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLint param) {
|
| + NOTREACHED()
|
| + << "Trying to call glSamplerParameteri() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glSamplerParameteri() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSamplerParameterIivRobustANGLEFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + const GLint* param) {
|
| + NOTREACHED() << "Trying to call glSamplerParameterIivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glSamplerParameterIivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSamplerParameterIuivRobustANGLEFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + const GLuint* param) {
|
| + NOTREACHED() << "Trying to call glSamplerParameterIuivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glSamplerParameterIuivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSamplerParameterivFn(GLuint sampler,
|
| + GLenum pname,
|
| + const GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glSamplerParameteriv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glSamplerParameteriv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSamplerParameterivRobustANGLEFn(GLuint sampler,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + const GLint* param) {
|
| + NOTREACHED() << "Trying to call glSamplerParameterivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glSamplerParameterivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glScissorFn(GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED() << "Trying to call glScissor() without current GL context";
|
| + LOG(ERROR) << "Trying to call glScissor() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSetFenceAPPLEFn(GLuint fence) {
|
| + NOTREACHED() << "Trying to call glSetFenceAPPLE() without current GL context";
|
| + LOG(ERROR) << "Trying to call glSetFenceAPPLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glSetFenceNVFn(GLuint fence, GLenum condition) {
|
| + NOTREACHED() << "Trying to call glSetFenceNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glSetFenceNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glShaderBinaryFn(GLsizei n,
|
| + const GLuint* shaders,
|
| + GLenum binaryformat,
|
| + const void* binary,
|
| + GLsizei length) {
|
| + NOTREACHED() << "Trying to call glShaderBinary() without current GL context";
|
| + LOG(ERROR) << "Trying to call glShaderBinary() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glShaderSourceFn(GLuint shader,
|
| + GLsizei count,
|
| + const char* const* str,
|
| + const GLint* length) {
|
| + NOTREACHED() << "Trying to call glShaderSource() without current GL context";
|
| + LOG(ERROR) << "Trying to call glShaderSource() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilFillPathInstancedNVFn(
|
| + GLsizei numPaths,
|
| + GLenum pathNameType,
|
| + const void* paths,
|
| + GLuint pathBase,
|
| + GLenum fillMode,
|
| + GLuint mask,
|
| + GLenum transformType,
|
| + const GLfloat* transformValues) {
|
| + NOTREACHED() << "Trying to call glStencilFillPathInstancedNV() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glStencilFillPathInstancedNV() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilFillPathNVFn(GLuint path,
|
| + GLenum fillMode,
|
| + GLuint mask) {
|
| + NOTREACHED()
|
| + << "Trying to call glStencilFillPathNV() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glStencilFillPathNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) {
|
| + NOTREACHED() << "Trying to call glStencilFunc() without current GL context";
|
| + LOG(ERROR) << "Trying to call glStencilFunc() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilFuncSeparateFn(GLenum face,
|
| + GLenum func,
|
| + GLint ref,
|
| + GLuint mask) {
|
| + NOTREACHED()
|
| + << "Trying to call glStencilFuncSeparate() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glStencilFuncSeparate() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilMaskFn(GLuint mask) {
|
| + NOTREACHED() << "Trying to call glStencilMask() without current GL context";
|
| + LOG(ERROR) << "Trying to call glStencilMask() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilMaskSeparateFn(GLenum face, GLuint mask) {
|
| + NOTREACHED()
|
| + << "Trying to call glStencilMaskSeparate() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glStencilMaskSeparate() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilOpFn(GLenum fail, GLenum zfail, GLenum zpass) {
|
| + NOTREACHED() << "Trying to call glStencilOp() without current GL context";
|
| + LOG(ERROR) << "Trying to call glStencilOp() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilOpSeparateFn(GLenum face,
|
| + GLenum fail,
|
| + GLenum zfail,
|
| + GLenum zpass) {
|
| + NOTREACHED()
|
| + << "Trying to call glStencilOpSeparate() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glStencilOpSeparate() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilStrokePathInstancedNVFn(
|
| + GLsizei numPaths,
|
| + GLenum pathNameType,
|
| + const void* paths,
|
| + GLuint pathBase,
|
| + GLint ref,
|
| + GLuint mask,
|
| + GLenum transformType,
|
| + const GLfloat* transformValues) {
|
| + NOTREACHED() << "Trying to call glStencilStrokePathInstancedNV() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glStencilStrokePathInstancedNV() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilStrokePathNVFn(GLuint path,
|
| + GLint reference,
|
| + GLuint mask) {
|
| + NOTREACHED()
|
| + << "Trying to call glStencilStrokePathNV() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glStencilStrokePathNV() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilThenCoverFillPathInstancedNVFn(
|
| + GLsizei numPaths,
|
| + GLenum pathNameType,
|
| + const void* paths,
|
| + GLuint pathBase,
|
| + GLenum fillMode,
|
| + GLuint mask,
|
| + GLenum coverMode,
|
| + GLenum transformType,
|
| + const GLfloat* transformValues) {
|
| + NOTREACHED() << "Trying to call glStencilThenCoverFillPathInstancedNV() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glStencilThenCoverFillPathInstancedNV() "
|
| + "without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilThenCoverFillPathNVFn(GLuint path,
|
| + GLenum fillMode,
|
| + GLuint mask,
|
| + GLenum coverMode) {
|
| + NOTREACHED() << "Trying to call glStencilThenCoverFillPathNV() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glStencilThenCoverFillPathNV() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilThenCoverStrokePathInstancedNVFn(
|
| + GLsizei numPaths,
|
| + GLenum pathNameType,
|
| + const void* paths,
|
| + GLuint pathBase,
|
| + GLint ref,
|
| + GLuint mask,
|
| + GLenum coverMode,
|
| + GLenum transformType,
|
| + const GLfloat* transformValues) {
|
| + NOTREACHED() << "Trying to call glStencilThenCoverStrokePathInstancedNV() "
|
| + "without current GL context";
|
| + LOG(ERROR) << "Trying to call glStencilThenCoverStrokePathInstancedNV() "
|
| + "without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glStencilThenCoverStrokePathNVFn(GLuint path,
|
| + GLint reference,
|
| + GLuint mask,
|
| + GLenum coverMode) {
|
| + NOTREACHED() << "Trying to call glStencilThenCoverStrokePathNV() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glStencilThenCoverStrokePathNV() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glTestFenceAPPLEFn(GLuint fence) {
|
| + NOTREACHED()
|
| + << "Trying to call glTestFenceAPPLE() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTestFenceAPPLE() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glTestFenceNVFn(GLuint fence) {
|
| + NOTREACHED() << "Trying to call glTestFenceNV() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTestFenceNV() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +void NoContextGLApi::glTexImage2DFn(GLenum target,
|
| + GLint level,
|
| + GLint internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLint border,
|
| + GLenum format,
|
| + GLenum type,
|
| + const void* pixels) {
|
| + NOTREACHED() << "Trying to call glTexImage2D() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexImage2D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexImage2DRobustANGLEFn(GLenum target,
|
| + GLint level,
|
| + GLint internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLint border,
|
| + GLenum format,
|
| + GLenum type,
|
| + GLsizei bufSize,
|
| + const void* pixels) {
|
| + NOTREACHED()
|
| + << "Trying to call glTexImage2DRobustANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glTexImage2DRobustANGLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexImage3DFn(GLenum target,
|
| + GLint level,
|
| + GLint internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei depth,
|
| + GLint border,
|
| + GLenum format,
|
| + GLenum type,
|
| + const void* pixels) {
|
| + NOTREACHED() << "Trying to call glTexImage3D() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexImage3D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexImage3DRobustANGLEFn(GLenum target,
|
| + GLint level,
|
| + GLint internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei depth,
|
| + GLint border,
|
| + GLenum format,
|
| + GLenum type,
|
| + GLsizei bufSize,
|
| + const void* pixels) {
|
| + NOTREACHED()
|
| + << "Trying to call glTexImage3DRobustANGLE() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glTexImage3DRobustANGLE() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexParameterfFn(GLenum target,
|
| + GLenum pname,
|
| + GLfloat param) {
|
| + NOTREACHED() << "Trying to call glTexParameterf() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexParameterf() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexParameterfvFn(GLenum target,
|
| + GLenum pname,
|
| + const GLfloat* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glTexParameterfv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexParameterfv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexParameterfvRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + const GLfloat* params) {
|
| + NOTREACHED() << "Trying to call glTexParameterfvRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glTexParameterfvRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexParameteriFn(GLenum target,
|
| + GLenum pname,
|
| + GLint param) {
|
| + NOTREACHED() << "Trying to call glTexParameteri() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexParameteri() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexParameterIivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + const GLint* params) {
|
| + NOTREACHED() << "Trying to call glTexParameterIivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glTexParameterIivRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexParameterIuivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + const GLuint* params) {
|
| + NOTREACHED() << "Trying to call glTexParameterIuivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glTexParameterIuivRobustANGLE() without "
|
| + "current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexParameterivFn(GLenum target,
|
| + GLenum pname,
|
| + const GLint* params) {
|
| + NOTREACHED()
|
| + << "Trying to call glTexParameteriv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexParameteriv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexParameterivRobustANGLEFn(GLenum target,
|
| + GLenum pname,
|
| + GLsizei bufSize,
|
| + const GLint* params) {
|
| + NOTREACHED() << "Trying to call glTexParameterivRobustANGLE() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glTexParameterivRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexStorage2DEXTFn(GLenum target,
|
| + GLsizei levels,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED()
|
| + << "Trying to call glTexStorage2DEXT() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexStorage2DEXT() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexStorage3DFn(GLenum target,
|
| + GLsizei levels,
|
| + GLenum internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei depth) {
|
| + NOTREACHED() << "Trying to call glTexStorage3D() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexStorage3D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexSubImage2DFn(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum format,
|
| + GLenum type,
|
| + const void* pixels) {
|
| + NOTREACHED() << "Trying to call glTexSubImage2D() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexSubImage2D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexSubImage2DRobustANGLEFn(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum format,
|
| + GLenum type,
|
| + GLsizei bufSize,
|
| + const void* pixels) {
|
| + NOTREACHED() << "Trying to call glTexSubImage2DRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glTexSubImage2DRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexSubImage3DFn(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLint zoffset,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei depth,
|
| + GLenum format,
|
| + GLenum type,
|
| + const void* pixels) {
|
| + NOTREACHED() << "Trying to call glTexSubImage3D() without current GL context";
|
| + LOG(ERROR) << "Trying to call glTexSubImage3D() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTexSubImage3DRobustANGLEFn(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLint zoffset,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLsizei depth,
|
| + GLenum format,
|
| + GLenum type,
|
| + GLsizei bufSize,
|
| + const void* pixels) {
|
| + NOTREACHED() << "Trying to call glTexSubImage3DRobustANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glTexSubImage3DRobustANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glTransformFeedbackVaryingsFn(GLuint program,
|
| + GLsizei count,
|
| + const char* const* varyings,
|
| + GLenum bufferMode) {
|
| + NOTREACHED() << "Trying to call glTransformFeedbackVaryings() without "
|
| + "current GL context";
|
| + LOG(ERROR) << "Trying to call glTransformFeedbackVaryings() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform1fFn(GLint location, GLfloat x) {
|
| + NOTREACHED() << "Trying to call glUniform1f() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform1f() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform1fvFn(GLint location,
|
| + GLsizei count,
|
| + const GLfloat* v) {
|
| + NOTREACHED() << "Trying to call glUniform1fv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform1fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform1iFn(GLint location, GLint x) {
|
| + NOTREACHED() << "Trying to call glUniform1i() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform1i() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform1ivFn(GLint location,
|
| + GLsizei count,
|
| + const GLint* v) {
|
| + NOTREACHED() << "Trying to call glUniform1iv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform1iv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform1uiFn(GLint location, GLuint v0) {
|
| + NOTREACHED() << "Trying to call glUniform1ui() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform1ui() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform1uivFn(GLint location,
|
| + GLsizei count,
|
| + const GLuint* v) {
|
| + NOTREACHED() << "Trying to call glUniform1uiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform1uiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform2fFn(GLint location, GLfloat x, GLfloat y) {
|
| + NOTREACHED() << "Trying to call glUniform2f() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform2f() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform2fvFn(GLint location,
|
| + GLsizei count,
|
| + const GLfloat* v) {
|
| + NOTREACHED() << "Trying to call glUniform2fv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform2fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform2iFn(GLint location, GLint x, GLint y) {
|
| + NOTREACHED() << "Trying to call glUniform2i() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform2i() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform2ivFn(GLint location,
|
| + GLsizei count,
|
| + const GLint* v) {
|
| + NOTREACHED() << "Trying to call glUniform2iv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform2iv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform2uiFn(GLint location, GLuint v0, GLuint v1) {
|
| + NOTREACHED() << "Trying to call glUniform2ui() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform2ui() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform2uivFn(GLint location,
|
| + GLsizei count,
|
| + const GLuint* v) {
|
| + NOTREACHED() << "Trying to call glUniform2uiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform2uiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform3fFn(GLint location,
|
| + GLfloat x,
|
| + GLfloat y,
|
| + GLfloat z) {
|
| + NOTREACHED() << "Trying to call glUniform3f() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform3f() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform3fvFn(GLint location,
|
| + GLsizei count,
|
| + const GLfloat* v) {
|
| + NOTREACHED() << "Trying to call glUniform3fv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform3fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform3iFn(GLint location, GLint x, GLint y, GLint z) {
|
| + NOTREACHED() << "Trying to call glUniform3i() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform3i() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform3ivFn(GLint location,
|
| + GLsizei count,
|
| + const GLint* v) {
|
| + NOTREACHED() << "Trying to call glUniform3iv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform3iv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform3uiFn(GLint location,
|
| + GLuint v0,
|
| + GLuint v1,
|
| + GLuint v2) {
|
| + NOTREACHED() << "Trying to call glUniform3ui() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform3ui() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform3uivFn(GLint location,
|
| + GLsizei count,
|
| + const GLuint* v) {
|
| + NOTREACHED() << "Trying to call glUniform3uiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform3uiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform4fFn(GLint location,
|
| + GLfloat x,
|
| + GLfloat y,
|
| + GLfloat z,
|
| + GLfloat w) {
|
| + NOTREACHED() << "Trying to call glUniform4f() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform4f() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform4fvFn(GLint location,
|
| + GLsizei count,
|
| + const GLfloat* v) {
|
| + NOTREACHED() << "Trying to call glUniform4fv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform4fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform4iFn(GLint location,
|
| + GLint x,
|
| + GLint y,
|
| + GLint z,
|
| + GLint w) {
|
| + NOTREACHED() << "Trying to call glUniform4i() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform4i() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform4ivFn(GLint location,
|
| + GLsizei count,
|
| + const GLint* v) {
|
| + NOTREACHED() << "Trying to call glUniform4iv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform4iv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform4uiFn(GLint location,
|
| + GLuint v0,
|
| + GLuint v1,
|
| + GLuint v2,
|
| + GLuint v3) {
|
| + NOTREACHED() << "Trying to call glUniform4ui() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform4ui() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniform4uivFn(GLint location,
|
| + GLsizei count,
|
| + const GLuint* v) {
|
| + NOTREACHED() << "Trying to call glUniform4uiv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUniform4uiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformBlockBindingFn(GLuint program,
|
| + GLuint uniformBlockIndex,
|
| + GLuint uniformBlockBinding) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformBlockBinding() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformBlockBinding() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformMatrix2fvFn(GLint location,
|
| + GLsizei count,
|
| + GLboolean transpose,
|
| + const GLfloat* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformMatrix2fv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformMatrix2fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformMatrix2x3fvFn(GLint location,
|
| + GLsizei count,
|
| + GLboolean transpose,
|
| + const GLfloat* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformMatrix2x3fv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformMatrix2x3fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformMatrix2x4fvFn(GLint location,
|
| + GLsizei count,
|
| + GLboolean transpose,
|
| + const GLfloat* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformMatrix2x4fv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformMatrix2x4fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformMatrix3fvFn(GLint location,
|
| + GLsizei count,
|
| + GLboolean transpose,
|
| + const GLfloat* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformMatrix3fv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformMatrix3fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformMatrix3x2fvFn(GLint location,
|
| + GLsizei count,
|
| + GLboolean transpose,
|
| + const GLfloat* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformMatrix3x2fv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformMatrix3x2fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformMatrix3x4fvFn(GLint location,
|
| + GLsizei count,
|
| + GLboolean transpose,
|
| + const GLfloat* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformMatrix3x4fv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformMatrix3x4fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformMatrix4fvFn(GLint location,
|
| + GLsizei count,
|
| + GLboolean transpose,
|
| + const GLfloat* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformMatrix4fv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformMatrix4fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformMatrix4x2fvFn(GLint location,
|
| + GLsizei count,
|
| + GLboolean transpose,
|
| + const GLfloat* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformMatrix4x2fv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformMatrix4x2fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glUniformMatrix4x3fvFn(GLint location,
|
| + GLsizei count,
|
| + GLboolean transpose,
|
| + const GLfloat* value) {
|
| + NOTREACHED()
|
| + << "Trying to call glUniformMatrix4x3fv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glUniformMatrix4x3fv() without current GL context";
|
| +}
|
| +
|
| +GLboolean NoContextGLApi::glUnmapBufferFn(GLenum target) {
|
| + NOTREACHED() << "Trying to call glUnmapBuffer() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUnmapBuffer() without current GL context";
|
| + return GL_FALSE;
|
| +}
|
| +
|
| +void NoContextGLApi::glUseProgramFn(GLuint program) {
|
| + NOTREACHED() << "Trying to call glUseProgram() without current GL context";
|
| + LOG(ERROR) << "Trying to call glUseProgram() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glValidateProgramFn(GLuint program) {
|
| + NOTREACHED()
|
| + << "Trying to call glValidateProgram() without current GL context";
|
| + LOG(ERROR) << "Trying to call glValidateProgram() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttrib1fFn(GLuint indx, GLfloat x) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttrib1f() without current GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttrib1f() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttrib1fvFn(GLuint indx, const GLfloat* values) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttrib1fv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttrib1fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttrib2fFn(GLuint indx, GLfloat x, GLfloat y) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttrib2f() without current GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttrib2f() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttrib2fvFn(GLuint indx, const GLfloat* values) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttrib2fv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttrib2fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttrib3fFn(GLuint indx,
|
| + GLfloat x,
|
| + GLfloat y,
|
| + GLfloat z) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttrib3f() without current GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttrib3f() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttrib3fvFn(GLuint indx, const GLfloat* values) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttrib3fv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttrib3fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttrib4fFn(GLuint indx,
|
| + GLfloat x,
|
| + GLfloat y,
|
| + GLfloat z,
|
| + GLfloat w) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttrib4f() without current GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttrib4f() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttrib4fvFn(GLuint indx, const GLfloat* values) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttrib4fv() without current GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttrib4fv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttribDivisorANGLEFn(GLuint index,
|
| + GLuint divisor) {
|
| + NOTREACHED() << "Trying to call glVertexAttribDivisorANGLE() without current "
|
| + "GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttribDivisorANGLE() without current "
|
| + "GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttribI4iFn(GLuint indx,
|
| + GLint x,
|
| + GLint y,
|
| + GLint z,
|
| + GLint w) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttribI4i() without current GL context";
|
| + LOG(ERROR) << "Trying to call glVertexAttribI4i() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttribI4ivFn(GLuint indx, const GLint* values) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttribI4iv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glVertexAttribI4iv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttribI4uiFn(GLuint indx,
|
| + GLuint x,
|
| + GLuint y,
|
| + GLuint z,
|
| + GLuint w) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttribI4ui() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glVertexAttribI4ui() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttribI4uivFn(GLuint indx, const GLuint* values) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttribI4uiv() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glVertexAttribI4uiv() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttribIPointerFn(GLuint indx,
|
| + GLint size,
|
| + GLenum type,
|
| + GLsizei stride,
|
| + const void* ptr) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttribIPointer() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glVertexAttribIPointer() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glVertexAttribPointerFn(GLuint indx,
|
| + GLint size,
|
| + GLenum type,
|
| + GLboolean normalized,
|
| + GLsizei stride,
|
| + const void* ptr) {
|
| + NOTREACHED()
|
| + << "Trying to call glVertexAttribPointer() without current GL context";
|
| + LOG(ERROR)
|
| + << "Trying to call glVertexAttribPointer() without current GL context";
|
| +}
|
| +
|
| +void NoContextGLApi::glViewportFn(GLint x,
|
| + GLint y,
|
| + GLsizei width,
|
| + GLsizei height) {
|
| + NOTREACHED() << "Trying to call glViewport() without current GL context";
|
| + LOG(ERROR) << "Trying to call glViewport() without current GL context";
|
| +}
|
| +
|
| +GLenum NoContextGLApi::glWaitSyncFn(GLsync sync,
|
| + GLbitfield flags,
|
| + GLuint64 timeout) {
|
| + NOTREACHED() << "Trying to call glWaitSync() without current GL context";
|
| + LOG(ERROR) << "Trying to call glWaitSync() without current GL context";
|
| + return static_cast<GLenum>(0);
|
| +}
|
| +
|
| +} // namespace gl
|
|
|