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/test/fake_web_graphics_context_3d.h" | 5 #include "cc/test/fake_web_graphics_context_3d.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "third_party/khronos/GLES2/gl2.h" | 8 #include "third_party/khronos/GLES2/gl2.h" |
9 | 9 |
10 using WebKit::WGC3Dboolean; | 10 using WebKit::WGC3Dboolean; |
(...skipping 20 matching lines...) Expand all Loading... |
31 } | 31 } |
32 | 32 |
33 WebGLId FakeWebGraphicsContext3D::getPlatformTextureId() { | 33 WebGLId FakeWebGraphicsContext3D::getPlatformTextureId() { |
34 return 0; | 34 return 0; |
35 } | 35 } |
36 | 36 |
37 bool FakeWebGraphicsContext3D::isContextLost() { | 37 bool FakeWebGraphicsContext3D::isContextLost() { |
38 return false; | 38 return false; |
39 } | 39 } |
40 | 40 |
41 WGC3Denum FakeWebGraphicsContext3D::getGraphicsResetStatusARB() { | |
42 return GL_NO_ERROR; | |
43 } | |
44 | |
45 void* FakeWebGraphicsContext3D::mapBufferSubDataCHROMIUM( | 41 void* FakeWebGraphicsContext3D::mapBufferSubDataCHROMIUM( |
46 WGC3Denum target, | 42 WGC3Denum target, |
47 WebKit::WGC3Dintptr offset, | 43 WebKit::WGC3Dintptr offset, |
48 WebKit::WGC3Dsizeiptr size, | 44 WebKit::WGC3Dsizeiptr size, |
49 WGC3Denum access) { | 45 WGC3Denum access) { |
50 return 0; | 46 return 0; |
51 } | 47 } |
52 | 48 |
53 void* FakeWebGraphicsContext3D::mapTexSubImage2DCHROMIUM( | 49 void* FakeWebGraphicsContext3D::mapTexSubImage2DCHROMIUM( |
54 WGC3Denum target, | 50 WGC3Denum target, |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 WebKit::WGC3Denum internalformat) { | 360 WebKit::WGC3Denum internalformat) { |
365 return 0; | 361 return 0; |
366 } | 362 } |
367 | 363 |
368 void* FakeWebGraphicsContext3D::mapImageCHROMIUM(WebKit::WGC3Duint image_id, | 364 void* FakeWebGraphicsContext3D::mapImageCHROMIUM(WebKit::WGC3Duint image_id, |
369 WebKit::WGC3Denum access) { | 365 WebKit::WGC3Denum access) { |
370 return 0; | 366 return 0; |
371 } | 367 } |
372 | 368 |
373 } // namespace cc | 369 } // namespace cc |
OLD | NEW |