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 "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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 } | 333 } |
334 | 334 |
335 void FakeWebGraphicsContext3D::setContextLostCallback( | 335 void FakeWebGraphicsContext3D::setContextLostCallback( |
336 WebGraphicsContextLostCallback* callback) { | 336 WebGraphicsContextLostCallback* callback) { |
337 } | 337 } |
338 | 338 |
339 void FakeWebGraphicsContext3D::loseContextCHROMIUM(WGC3Denum current, | 339 void FakeWebGraphicsContext3D::loseContextCHROMIUM(WGC3Denum current, |
340 WGC3Denum other) { | 340 WGC3Denum other) { |
341 } | 341 } |
342 | 342 |
| 343 WebKit::WGC3Duint FakeWebGraphicsContext3D::createImageCHROMIUM( |
| 344 WebKit::WGC3Dsizei width, WebKit::WGC3Dsizei height, |
| 345 WebKit::WGC3Denum internalformat) { |
| 346 return 0; |
| 347 } |
| 348 |
| 349 void* FakeWebGraphicsContext3D::mapImageCHROMIUM(WebKit::WGC3Duint image_id, |
| 350 WebKit::WGC3Denum access) { |
| 351 return 0; |
| 352 } |
| 353 |
343 } // namespace cc | 354 } // namespace cc |
OLD | NEW |