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

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

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/output/shader.cc ('k') | cc/test/fake_web_graphics_context_3d.cc » ('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 #ifndef CC_TEST_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 5 #ifndef CC_TEST_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
6 #define CC_TEST_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 6 #define CC_TEST_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" 10 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
(...skipping 13 matching lines...) Expand all
24 24
25 virtual WebKit::WebGLId getPlatformTextureId(); 25 virtual WebKit::WebGLId getPlatformTextureId();
26 26
27 virtual void prepareTexture() {} 27 virtual void prepareTexture() {}
28 28
29 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height) {} 29 virtual void postSubBufferCHROMIUM(int x, int y, int width, int height) {}
30 30
31 virtual void synthesizeGLError(WebKit::WGC3Denum) {} 31 virtual void synthesizeGLError(WebKit::WGC3Denum) {}
32 32
33 virtual bool isContextLost(); 33 virtual bool isContextLost();
34 virtual WebKit::WGC3Denum getGraphicsResetStatusARB();
35 34
36 virtual void* mapBufferSubDataCHROMIUM( 35 virtual void* mapBufferSubDataCHROMIUM(
37 WebKit::WGC3Denum target, 36 WebKit::WGC3Denum target,
38 WebKit::WGC3Dintptr offset, 37 WebKit::WGC3Dintptr offset,
39 WebKit::WGC3Dsizeiptr size, 38 WebKit::WGC3Dsizeiptr size,
40 WebKit::WGC3Denum access); 39 WebKit::WGC3Denum access);
41 40
42 virtual void unmapBufferSubDataCHROMIUM(const void*) {} 41 virtual void unmapBufferSubDataCHROMIUM(const void*) {}
43 virtual void* mapTexSubImage2DCHROMIUM( 42 virtual void* mapTexSubImage2DCHROMIUM(
44 WebKit::WGC3Denum target, 43 WebKit::WGC3Denum target,
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 WebKit::WGC3Denum access); 604 WebKit::WGC3Denum access);
606 virtual void unmapImageCHROMIUM(WebKit::WGC3Duint image_id) {} 605 virtual void unmapImageCHROMIUM(WebKit::WGC3Duint image_id) {}
607 606
608 private: 607 private:
609 DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D); 608 DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D);
610 }; 609 };
611 610
612 } // namespace cc 611 } // namespace cc
613 612
614 #endif // CC_TEST_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 613 #endif // CC_TEST_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « cc/output/shader.cc ('k') | cc/test/fake_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698