| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/debug/fake_web_graphics_context_3d.h" | 5 #include "cc/debug/fake_web_graphics_context_3d.h" |
| 6 | 6 |
| 7 #include "third_party/khronos/GLES2/gl2.h" | 7 #include "third_party/khronos/GLES2/gl2.h" |
| 8 | 8 |
| 9 using WebKit::WGC3Dboolean; | 9 using WebKit::WGC3Dboolean; |
| 10 using WebKit::WGC3Denum; | 10 using WebKit::WGC3Denum; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 void FakeWebGraphicsContext3D::reshape(int width, int height) { | 35 void FakeWebGraphicsContext3D::reshape(int width, int height) { |
| 36 } | 36 } |
| 37 | 37 |
| 38 bool FakeWebGraphicsContext3D::isGLES2Compliant() { | 38 bool FakeWebGraphicsContext3D::isGLES2Compliant() { |
| 39 return false; | 39 return false; |
| 40 } | 40 } |
| 41 | 41 |
| 42 bool FakeWebGraphicsContext3D::readBackFramebuffer( | 42 bool FakeWebGraphicsContext3D::readBackFramebuffer( |
| 43 unsigned char* pixels, | 43 unsigned char* pixels, |
| 44 size_t bufferSize, | 44 size_t buffer_size, |
| 45 WebGLId framebuffer, | 45 WebGLId framebuffer, |
| 46 int width, | 46 int width, |
| 47 int height) { | 47 int height) { |
| 48 return false; | 48 return false; |
| 49 } | 49 } |
| 50 | 50 |
| 51 WebGLId FakeWebGraphicsContext3D::getPlatformTextureId() { | 51 WebGLId FakeWebGraphicsContext3D::getPlatformTextureId() { |
| 52 return 0; | 52 return 0; |
| 53 } | 53 } |
| 54 | 54 |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 | 290 |
| 291 void FakeWebGraphicsContext3D::setContextLostCallback( | 291 void FakeWebGraphicsContext3D::setContextLostCallback( |
| 292 WebGraphicsContextLostCallback* callback) { | 292 WebGraphicsContextLostCallback* callback) { |
| 293 } | 293 } |
| 294 | 294 |
| 295 void FakeWebGraphicsContext3D::loseContextCHROMIUM(WGC3Denum current, | 295 void FakeWebGraphicsContext3D::loseContextCHROMIUM(WGC3Denum current, |
| 296 WGC3Denum other) { | 296 WGC3Denum other) { |
| 297 } | 297 } |
| 298 | 298 |
| 299 } // namespace cc | 299 } // namespace cc |
| OLD | NEW |