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

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

Issue 19579008: Revert "Revert 210138 "Perform glReadPixels with PBOs in the gpu, if PBO..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: previous upload reverts the revert, here are the changes Created 7 years, 5 months 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/gl_renderer.cc ('k') | cc/test/test_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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 5 #ifndef CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 virtual void setContextLostCallback( 108 virtual void setContextLostCallback(
109 WebGraphicsContextLostCallback* callback); 109 WebGraphicsContextLostCallback* callback);
110 110
111 virtual void loseContextCHROMIUM(WebKit::WGC3Denum current, 111 virtual void loseContextCHROMIUM(WebKit::WGC3Denum current,
112 WebKit::WGC3Denum other); 112 WebKit::WGC3Denum other);
113 113
114 // Takes ownership of the |callback|. 114 // Takes ownership of the |callback|.
115 virtual void signalSyncPoint(unsigned sync_point, 115 virtual void signalSyncPoint(unsigned sync_point,
116 WebGraphicsSyncPointCallback* callback); 116 WebGraphicsSyncPointCallback* callback);
117 virtual void signalQuery(WebKit::WebGLId query,
118 WebGraphicsSyncPointCallback* callback);
117 119
118 virtual void setSwapBuffersCompleteCallbackCHROMIUM( 120 virtual void setSwapBuffersCompleteCallbackCHROMIUM(
119 WebGraphicsSwapBuffersCompleteCallbackCHROMIUM* callback); 121 WebGraphicsSwapBuffersCompleteCallbackCHROMIUM* callback);
120 122
121 virtual void setMemoryAllocationChangedCallbackCHROMIUM( 123 virtual void setMemoryAllocationChangedCallbackCHROMIUM(
122 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback); 124 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback);
123 125
124 virtual void prepareTexture(); 126 virtual void prepareTexture();
125 virtual void finish(); 127 virtual void finish();
126 virtual void flush(); 128 virtual void flush();
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 285
284 scoped_refptr<Namespace> namespace_; 286 scoped_refptr<Namespace> namespace_;
285 static Namespace* shared_namespace_; 287 static Namespace* shared_namespace_;
286 288
287 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; 289 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_;
288 }; 290 };
289 291
290 } // namespace cc 292 } // namespace cc
291 293
292 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 294 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/test/test_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698