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

Side by Side Diff: cc/test/fake_web_graphics_context_3d.cc

Issue 51653008: Remove WGC3D::isContextLost references from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android build Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/test/fake_web_graphics_context_3d.h ('k') | cc/test/test_context_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « cc/test/fake_web_graphics_context_3d.h ('k') | cc/test/test_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698