| Index: cc/test/test_web_graphics_context_3d.h
|
| diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
|
| index 56c17c097a2c1111bd4876fdcbed5ce81684c84b..894f5893a770ac275ab9b080429fa3da877fd4b4 100644
|
| --- a/cc/test/test_web_graphics_context_3d.h
|
| +++ b/cc/test/test_web_graphics_context_3d.h
|
| @@ -73,6 +73,23 @@ class TestWebGraphicsContext3D {
|
| GLenum format,
|
| GLenum type,
|
| const void* pixels) {}
|
| + virtual void asyncCompressedTexImage2DCHROMIUM(GLenum target,
|
| + GLint level,
|
| + GLint internalformat,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLint border,
|
| + GLsizei imagesize,
|
| + const void* pixels) {}
|
| + virtual void asyncCompressedTexSubImage2DCHROMIUM(GLenum target,
|
| + GLint level,
|
| + GLint xoffset,
|
| + GLint yoffset,
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum format,
|
| + GLsizei imagesize,
|
| + const void* pixels) {}
|
| virtual void waitAsyncTexImage2DCHROMIUM(GLenum target) {}
|
| virtual void releaseTexImage2DCHROMIUM(GLenum target, GLint image_id) {}
|
| virtual void framebufferRenderbuffer(GLenum target,
|
| @@ -315,6 +332,12 @@ class TestWebGraphicsContext3D {
|
| void set_support_compressed_texture_etc1(bool support) {
|
| test_capabilities_.gpu.texture_format_etc1 = support;
|
| }
|
| + void set_support_compressed_texture_atc(bool support) {
|
| + test_capabilities_.gpu.texture_format_atc = support;
|
| + }
|
| + void set_support_compressed_texture_dxt(bool support) {
|
| + test_capabilities_.gpu.texture_format_dxt = support;
|
| + }
|
| void set_support_texture_format_bgra8888(bool support) {
|
| test_capabilities_.gpu.texture_format_bgra8888 = support;
|
| }
|
|
|