Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Unified Diff: ui/gfx/compositor/test_web_graphics_context_3d.h

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/compositor/test/test_utils.cc ('k') | ui/gfx/compositor/test_web_graphics_context_3d.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/test_web_graphics_context_3d.h
diff --git a/ui/gfx/compositor/test_web_graphics_context_3d.h b/ui/gfx/compositor/test_web_graphics_context_3d.h
deleted file mode 100644
index 7090e2f509a11fd63dbde9cc99981565dce6d5c7..0000000000000000000000000000000000000000
--- a/ui/gfx/compositor/test_web_graphics_context_3d.h
+++ /dev/null
@@ -1,457 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
-#define UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
-#pragma once
-
-#include "base/logging.h"
-#include "base/memory/ref_counted.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
-#include "ui/gfx/gl/gl_bindings.h"
-
-namespace gfx {
-class GLContext;
-class GLSurface;
-}
-
-namespace ui {
-
-// WebGraphicsContext3D that does nothing. Suitable for testing.
-class TestWebGraphicsContext3D : public WebKit::WebGraphicsContext3D {
- public:
- TestWebGraphicsContext3D();
- virtual ~TestWebGraphicsContext3D();
-
- void Initialize();
- virtual bool makeContextCurrent();
- virtual int width();
- virtual int height();
- virtual void reshape(int width, int height) {}
- virtual bool isGLES2Compliant();
- virtual bool readBackFramebuffer(unsigned char* pixels,
- size_t bufferSize,
- WebKit::WebGLId framebuffer,
- int width,
- int height);
- virtual WebKit::WebGLId getPlatformTextureId();
- virtual void prepareTexture() {}
- virtual void postSubBufferCHROMIUM(int x, int y, int width, int height) {}
- virtual void synthesizeGLError(WebKit::WGC3Denum value) {}
- virtual bool isContextLost();
- virtual void* mapBufferSubDataCHROMIUM(WebKit::WGC3Denum target,
- WebKit::WGC3Dintptr offset,
- WebKit::WGC3Dsizeiptr size,
- WebKit::WGC3Denum access);
- virtual void unmapBufferSubDataCHROMIUM(const void* data) {}
- virtual void* mapTexSubImage2DCHROMIUM(WebKit::WGC3Denum target,
- WebKit::WGC3Dint level,
- WebKit::WGC3Dint xoffset,
- WebKit::WGC3Dint yoffset,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height,
- WebKit::WGC3Denum format,
- WebKit::WGC3Denum type,
- WebKit::WGC3Denum access);
- virtual void unmapTexSubImage2DCHROMIUM(const void* data) {}
- virtual void setVisibilityCHROMIUM(bool visible) {}
- virtual void discardFramebufferEXT(WebKit::WGC3Denum target,
- WebKit::WGC3Dsizei numAttachments,
- const WebKit::WGC3Denum* attachments) {}
- virtual void ensureFramebufferCHROMIUM() {}
- virtual void setMemoryAllocationChangedCallbackCHROMIUM(
- WebGraphicsMemoryAllocationChangedCallbackCHROMIUM*) { }
- virtual WebKit::WebString getRequestableExtensionsCHROMIUM();
- virtual void requestExtensionCHROMIUM(const char*) {}
- virtual void blitFramebufferCHROMIUM(WebKit::WGC3Dint src_x0,
- WebKit::WGC3Dint src_y0,
- WebKit::WGC3Dint src_x1,
- WebKit::WGC3Dint src_y1,
- WebKit::WGC3Dint dst_x0,
- WebKit::WGC3Dint dst_y0,
- WebKit::WGC3Dint dst_x1,
- WebKit::WGC3Dint dst_y1,
- WebKit::WGC3Dbitfield mask,
- WebKit::WGC3Denum filter) {}
- virtual void renderbufferStorageMultisampleCHROMIUM(
- WebKit::WGC3Denum target,
- WebKit::WGC3Dsizei samples,
- WebKit::WGC3Denum internalformat,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height) {}
- virtual void activeTexture(WebKit::WGC3Denum texture) {}
- virtual void attachShader(WebKit::WebGLId program, WebKit::WebGLId shader) {}
- virtual void bindAttribLocation(WebKit::WebGLId program,
- WebKit::WGC3Duint index,
- const WebKit::WGC3Dchar* name) {}
- virtual void bindBuffer(WebKit::WGC3Denum target, WebKit::WebGLId buffer) {}
- virtual void bindFramebuffer(WebKit::WGC3Denum target,
- WebKit::WebGLId framebuffer) {}
- virtual void bindRenderbuffer(WebKit::WGC3Denum target,
- WebKit::WebGLId renderbuffer) {}
- virtual void bindTexture(WebKit::WGC3Denum target, WebKit::WebGLId texture) {}
- virtual void blendColor(WebKit::WGC3Dclampf red,
- WebKit::WGC3Dclampf green,
- WebKit::WGC3Dclampf blue,
- WebKit::WGC3Dclampf alpha) {}
- virtual void blendEquation(WebKit::WGC3Denum mode) {}
- virtual void blendEquationSeparate(WebKit::WGC3Denum modeRGB,
- WebKit::WGC3Denum modeAlpha) {}
- virtual void blendFunc(WebKit::WGC3Denum sfactor,
- WebKit::WGC3Denum dfactor) {}
- virtual void blendFuncSeparate(WebKit::WGC3Denum src_rgb,
- WebKit::WGC3Denum dst_rgb,
- WebKit::WGC3Denum src_alpha,
- WebKit::WGC3Denum dst_alpha) {}
- virtual void bufferData(WebKit::WGC3Denum target,
- WebKit::WGC3Dsizeiptr size,
- const void* data,
- WebKit::WGC3Denum usage) {}
- virtual void bufferSubData(WebKit::WGC3Denum target,
- WebKit::WGC3Dintptr offset,
- WebKit::WGC3Dsizeiptr size,
- const void* data) {}
- virtual WebKit::WGC3Denum checkFramebufferStatus(WebKit::WGC3Denum target);
- virtual void clear(WebKit::WGC3Dbitfield mask) {}
- virtual void clearColor(WebKit::WGC3Dclampf red,
- WebKit::WGC3Dclampf green,
- WebKit::WGC3Dclampf blue,
- WebKit::WGC3Dclampf alpha) {}
- virtual void clearDepth(WebKit::WGC3Dclampf depth) {}
- virtual void clearStencil(WebKit::WGC3Dint s) {}
- virtual void colorMask(WebKit::WGC3Dboolean red,
- WebKit::WGC3Dboolean green,
- WebKit::WGC3Dboolean blue,
- WebKit::WGC3Dboolean alpha) {}
- virtual void compileShader(WebKit::WebGLId shader) {}
- virtual void compressedTexImage2D(WebKit::WGC3Denum target,
- WebKit::WGC3Dint level,
- WebKit::WGC3Denum internalformat,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height,
- WebKit::WGC3Dint border,
- WebKit::WGC3Dsizei imageSize,
- const void* data) {}
- virtual void compressedTexSubImage2D(WebKit::WGC3Denum target,
- WebKit::WGC3Dint level,
- WebKit::WGC3Dint xoffset,
- WebKit::WGC3Dint yoffset,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height,
- WebKit::WGC3Denum format,
- WebKit::WGC3Dsizei imageSize,
- const void* data) {}
- virtual void copyTexImage2D(WebKit::WGC3Denum target,
- WebKit::WGC3Dint level,
- WebKit::WGC3Denum internal_format,
- WebKit::WGC3Dint x,
- WebKit::WGC3Dint y,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height,
- WebKit::WGC3Dint border) {}
- virtual void copyTexSubImage2D(WebKit::WGC3Denum target,
- WebKit::WGC3Dint level,
- WebKit::WGC3Dint xoffset,
- WebKit::WGC3Dint yoffset,
- WebKit::WGC3Dint x,
- WebKit::WGC3Dint y,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height) {}
- virtual void cullFace(WebKit::WGC3Denum mode) {}
- virtual void depthFunc(WebKit::WGC3Denum func) {}
- virtual void depthMask(WebKit::WGC3Dboolean flag) {}
- virtual void depthRange(WebKit::WGC3Dclampf z_near,
- WebKit::WGC3Dclampf z_far) {}
- virtual void detachShader(WebKit::WebGLId program, WebKit::WebGLId shader) {}
- virtual void disable(WebKit::WGC3Denum cap) {}
- virtual void disableVertexAttribArray(WebKit::WGC3Duint index) {}
- virtual void drawArrays(WebKit::WGC3Denum mode, WebKit::WGC3Dint first,
- WebKit::WGC3Dsizei count) {}
- virtual void drawElements(WebKit::WGC3Denum mode,
- WebKit::WGC3Dsizei count,
- WebKit::WGC3Denum type,
- WebKit::WGC3Dintptr offset) {}
- virtual void enable(WebKit::WGC3Denum cap) {}
- virtual void enableVertexAttribArray(WebKit::WGC3Duint index) {}
- virtual void finish() {}
- virtual void flush() {}
- virtual void framebufferRenderbuffer(WebKit::WGC3Denum target,
- WebKit::WGC3Denum attachment,
- WebKit::WGC3Denum renderbuffertarget,
- WebKit::WebGLId renderbuffer) {}
- virtual void framebufferTexture2D(WebKit::WGC3Denum target,
- WebKit::WGC3Denum attachment,
- WebKit::WGC3Denum textarget,
- WebKit::WebGLId texture,
- WebKit::WGC3Dint level) {}
- virtual void frontFace(WebKit::WGC3Denum mode) {}
- virtual void generateMipmap(WebKit::WGC3Denum target) {}
- virtual bool getActiveAttrib(WebKit::WebGLId program,
- WebKit::WGC3Duint index,
- ActiveInfo& info);
- virtual bool getActiveUniform(WebKit::WebGLId program,
- WebKit::WGC3Duint index,
- ActiveInfo& info);
- virtual void getAttachedShaders(WebKit::WebGLId program,
- WebKit::WGC3Dsizei maxCount,
- WebKit::WGC3Dsizei* count,
- WebKit::WebGLId* shaders) {}
- virtual WebKit::WGC3Dint getAttribLocation(WebKit::WebGLId program,
- const WebKit::WGC3Dchar* name);
- virtual void getBooleanv(WebKit::WGC3Denum pname,
- WebKit::WGC3Dboolean* value) {}
- virtual void getBufferParameteriv(WebKit::WGC3Denum target,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dint* value) {}
- virtual Attributes getContextAttributes();
- virtual WebKit::WGC3Denum getError();
- virtual void getFloatv(WebKit::WGC3Denum pname, WebKit::WGC3Dfloat* value) {}
- virtual void getFramebufferAttachmentParameteriv(WebKit::WGC3Denum target,
- WebKit::WGC3Denum attachment,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dint* value) {}
- virtual void getIntegerv(WebKit::WGC3Denum pname, WebKit::WGC3Dint* value);
- virtual void getProgramiv(WebKit::WebGLId program,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dint* value);
- virtual WebKit::WebString getProgramInfoLog(WebKit::WebGLId program);
- virtual void getRenderbufferParameteriv(WebKit::WGC3Denum target,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dint* value) {}
- virtual void getShaderiv(WebKit::WebGLId shader,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dint* value);
- virtual WebKit::WebString getShaderInfoLog(WebKit::WebGLId shader);
- virtual void getShaderPrecisionFormat(WebKit::WGC3Denum shaderType,
- WebKit::WGC3Denum precisionType,
- WebKit::WGC3Dint* range,
- WebKit::WGC3Dint* precision) {}
- virtual WebKit::WebString getShaderSource(WebKit::WebGLId shader);
- virtual WebKit::WebString getString(WebKit::WGC3Denum name);
- virtual void getTexParameterfv(WebKit::WGC3Denum target,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dfloat* value) {}
- virtual void getTexParameteriv(WebKit::WGC3Denum target,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dint* value) {}
- virtual void getUniformfv(WebKit::WebGLId program,
- WebKit::WGC3Dint location,
- WebKit::WGC3Dfloat* value) {}
- virtual void getUniformiv(WebKit::WebGLId program,
- WebKit::WGC3Dint location,
- WebKit::WGC3Dint* value) {}
- virtual WebKit::WGC3Dint getUniformLocation(WebKit::WebGLId program,
- const WebKit::WGC3Dchar* name);
- virtual void getVertexAttribfv(WebKit::WGC3Duint index,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dfloat* value) {}
- virtual void getVertexAttribiv(WebKit::WGC3Duint index,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dint* value) {}
- virtual WebKit::WGC3Dsizeiptr getVertexAttribOffset(WebKit::WGC3Duint index,
- WebKit::WGC3Denum pname);
- virtual void hint(WebKit::WGC3Denum target, WebKit::WGC3Denum mode) {}
- virtual WebKit::WGC3Dboolean isBuffer(WebKit::WebGLId buffer);
- virtual WebKit::WGC3Dboolean isEnabled(WebKit::WGC3Denum cap);
- virtual WebKit::WGC3Dboolean isFramebuffer(WebKit::WebGLId framebuffer);
- virtual WebKit::WGC3Dboolean isProgram(WebKit::WebGLId program);
- virtual WebKit::WGC3Dboolean isRenderbuffer(WebKit::WebGLId renderbuffer);
- virtual WebKit::WGC3Dboolean isShader(WebKit::WebGLId shader);
- virtual WebKit::WGC3Dboolean isTexture(WebKit::WebGLId texture);
- virtual void lineWidth(WebKit::WGC3Dfloat) {}
- virtual void linkProgram(WebKit::WebGLId program) {}
- virtual void pixelStorei(WebKit::WGC3Denum pname, WebKit::WGC3Dint param) {}
- virtual void polygonOffset(WebKit::WGC3Dfloat factor,
- WebKit::WGC3Dfloat units) {}
- virtual void readPixels(WebKit::WGC3Dint x,
- WebKit::WGC3Dint y,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height,
- WebKit::WGC3Denum format,
- WebKit::WGC3Denum type,
- void* pixels) {}
- virtual void releaseShaderCompiler() {}
- virtual void renderbufferStorage(WebKit::WGC3Denum target,
- WebKit::WGC3Denum internalformat,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height) {}
- virtual void sampleCoverage(WebKit::WGC3Dclampf value,
- WebKit::WGC3Dboolean invert) {}
- virtual void scissor(WebKit::WGC3Dint x,
- WebKit::WGC3Dint y,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height) {}
- virtual void shaderSource(WebKit::WebGLId shader,
- const WebKit::WGC3Dchar* string) {}
- virtual void stencilFunc(WebKit::WGC3Denum func,
- WebKit::WGC3Dint ref,
- WebKit::WGC3Duint mask) {}
- virtual void stencilFuncSeparate(WebKit::WGC3Denum face,
- WebKit::WGC3Denum func,
- WebKit::WGC3Dint ref,
- WebKit::WGC3Duint mask) {}
- virtual void stencilMask(WebKit::WGC3Duint mask) {}
- virtual void stencilMaskSeparate(WebKit::WGC3Denum face,
- WebKit::WGC3Duint mask) {}
- virtual void stencilOp(WebKit::WGC3Denum fail,
- WebKit::WGC3Denum zfail,
- WebKit::WGC3Denum zpass) {}
- virtual void stencilOpSeparate(WebKit::WGC3Denum face,
- WebKit::WGC3Denum fail,
- WebKit::WGC3Denum zfail,
- WebKit::WGC3Denum zpass) {}
- virtual void texImage2D(WebKit::WGC3Denum target,
- WebKit::WGC3Dint level,
- WebKit::WGC3Denum internal_format,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height,
- WebKit::WGC3Dint border,
- WebKit::WGC3Denum format,
- WebKit::WGC3Denum type,
- const void* pixels) {}
- virtual void texParameterf(WebKit::WGC3Denum target,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dfloat param) {}
- virtual void texParameteri(WebKit::WGC3Denum target,
- WebKit::WGC3Denum pname,
- WebKit::WGC3Dint param) {}
- virtual void texSubImage2D(WebKit::WGC3Denum target,
- WebKit::WGC3Dint level,
- WebKit::WGC3Dint xoffset,
- WebKit::WGC3Dint yoffset,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height,
- WebKit::WGC3Denum format,
- WebKit::WGC3Denum type,
- const void* pixels) {}
- virtual void uniform1f(WebKit::WGC3Dint location, WebKit::WGC3Dfloat x) {}
- virtual void uniform1fv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- const WebKit::WGC3Dfloat* v) {}
- virtual void uniform1i(WebKit::WGC3Dint location, WebKit::WGC3Dint x) {}
- virtual void uniform1iv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- const WebKit::WGC3Dint* v) {}
- virtual void uniform2f(WebKit::WGC3Dint location,
- WebKit::WGC3Dfloat x,
- WebKit::WGC3Dfloat y) {}
- virtual void uniform2fv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- const WebKit::WGC3Dfloat* v) {}
- virtual void uniform2i(WebKit::WGC3Dint location,
- WebKit::WGC3Dint x,
- WebKit::WGC3Dint y) {}
- virtual void uniform2iv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- const WebKit::WGC3Dint* v) {}
- virtual void uniform3f(WebKit::WGC3Dint location,
- WebKit::WGC3Dfloat x,
- WebKit::WGC3Dfloat y,
- WebKit::WGC3Dfloat z) {}
- virtual void uniform3fv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- const WebKit::WGC3Dfloat* v) {}
- virtual void uniform3i(WebKit::WGC3Dint location,
- WebKit::WGC3Dint x,
- WebKit::WGC3Dint y,
- WebKit::WGC3Dint z) {}
- virtual void uniform3iv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- const WebKit::WGC3Dint* v) {}
- virtual void uniform4f(WebKit::WGC3Dint location,
- WebKit::WGC3Dfloat x,
- WebKit::WGC3Dfloat y,
- WebKit::WGC3Dfloat z,
- WebKit::WGC3Dfloat w) {}
- virtual void uniform4fv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- const WebKit::WGC3Dfloat* v) {}
- virtual void uniform4i(WebKit::WGC3Dint location,
- WebKit::WGC3Dint x,
- WebKit::WGC3Dint y,
- WebKit::WGC3Dint z,
- WebKit::WGC3Dint w) {}
- virtual void uniform4iv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- const WebKit::WGC3Dint* v) {}
- virtual void uniformMatrix2fv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- WebKit::WGC3Dboolean transpose,
- const WebKit::WGC3Dfloat* value) {}
- virtual void uniformMatrix3fv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- WebKit::WGC3Dboolean transpose,
- const WebKit::WGC3Dfloat* value) {}
- virtual void uniformMatrix4fv(WebKit::WGC3Dint location,
- WebKit::WGC3Dsizei count,
- WebKit::WGC3Dboolean transpose,
- const WebKit::WGC3Dfloat* value) {}
- virtual void useProgram(WebKit::WebGLId program) {}
- virtual void validateProgram(WebKit::WebGLId program) {}
- virtual void vertexAttrib1f(WebKit::WGC3Duint index, WebKit::WGC3Dfloat x) {}
- virtual void vertexAttrib1fv(WebKit::WGC3Duint index,
- const WebKit::WGC3Dfloat* values) {}
- virtual void vertexAttrib2f(WebKit::WGC3Duint index,
- WebKit::WGC3Dfloat x,
- WebKit::WGC3Dfloat y) {}
- virtual void vertexAttrib2fv(WebKit::WGC3Duint index,
- const WebKit::WGC3Dfloat* values) {}
- virtual void vertexAttrib3f(WebKit::WGC3Duint index,
- WebKit::WGC3Dfloat x,
- WebKit::WGC3Dfloat y,
- WebKit::WGC3Dfloat z) {}
- virtual void vertexAttrib3fv(WebKit::WGC3Duint index,
- const WebKit::WGC3Dfloat* values) {}
- virtual void vertexAttrib4f(WebKit::WGC3Duint index,
- WebKit::WGC3Dfloat x,
- WebKit::WGC3Dfloat y,
- WebKit::WGC3Dfloat z,
- WebKit::WGC3Dfloat w) {}
- virtual void vertexAttrib4fv(WebKit::WGC3Duint index,
- const WebKit::WGC3Dfloat* values) {}
- virtual void vertexAttribPointer(WebKit::WGC3Duint index,
- WebKit::WGC3Dint size,
- WebKit::WGC3Denum type,
- WebKit::WGC3Dboolean normalized,
- WebKit::WGC3Dsizei stride,
- WebKit::WGC3Dintptr offset) {}
- virtual void viewport(WebKit::WGC3Dint x,
- WebKit::WGC3Dint y,
- WebKit::WGC3Dsizei width,
- WebKit::WGC3Dsizei height) {}
- virtual WebKit::WebGLId createBuffer();
- virtual WebKit::WebGLId createFramebuffer();
- virtual WebKit::WebGLId createProgram();
- virtual WebKit::WebGLId createRenderbuffer();
- virtual WebKit::WebGLId createShader(WebKit::WGC3Denum value);
- virtual WebKit::WebGLId createTexture();
- virtual void deleteBuffer(WebKit::WebGLId) {}
- virtual void deleteFramebuffer(WebKit::WebGLId) {}
- virtual void deleteProgram(WebKit::WebGLId) {}
- virtual void deleteRenderbuffer(WebKit::WebGLId) {}
- virtual void deleteShader(WebKit::WebGLId) {}
- virtual void deleteTexture(WebKit::WebGLId) {}
- virtual WebKit::WebGLId createQueryEXT();
- virtual void deleteQueryEXT(WebKit::WebGLId) {};
- virtual WebKit::WGC3Dboolean isQueryEXT(WebKit::WebGLId query);
- virtual void beginQueryEXT(WebKit::WGC3Denum, WebKit::WebGLId) {}
- virtual void endQueryEXT(WebKit::WGC3Denum) {}
- virtual void getQueryivEXT(WebKit::WGC3Denum,
- WebKit::WGC3Denum,
- WebKit::WGC3Dint*) {}
- virtual void getQueryObjectuivEXT(WebKit::WebGLId,
- WebKit::WGC3Denum,
- WebKit::WGC3Duint*) {}
-
- private:
- scoped_refptr<gfx::GLContext> gl_context_;
- scoped_refptr<gfx::GLSurface> gl_surface_;
-
- DISALLOW_COPY_AND_ASSIGN(TestWebGraphicsContext3D);
-};
-
-} // namespace ui
-
-#endif // UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
« no previous file with comments | « ui/gfx/compositor/test/test_utils.cc ('k') | ui/gfx/compositor/test_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698