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

Side by Side Diff: tools/PictureRenderer.h

Issue 194973003: Alter bench_pictures to "respect" the logPerIter flag (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 9 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 | « tools/PictureBenchmark.cpp ('k') | tools/PictureRenderer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef PictureRenderer_DEFINED 8 #ifndef PictureRenderer_DEFINED
9 #define PictureRenderer_DEFINED 9 #define PictureRenderer_DEFINED
10 10
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 virtual void end(); 140 virtual void end();
141 141
142 /** 142 /**
143 * If this PictureRenderer is actually a TiledPictureRender, return a pointe r to this as a 143 * If this PictureRenderer is actually a TiledPictureRender, return a pointe r to this as a
144 * TiledPictureRender so its methods can be called. 144 * TiledPictureRender so its methods can be called.
145 */ 145 */
146 virtual TiledPictureRenderer* getTiledRenderer() { return NULL; } 146 virtual TiledPictureRenderer* getTiledRenderer() { return NULL; }
147 147
148 /** 148 /**
149 * Resets the GPU's state. Does nothing if the backing is raster. For a GPU renderer, calls 149 * Resets the GPU's state. Does nothing if the backing is raster. For a GPU renderer, calls
150 * flush, and calls finish if callFinish is true. 150 * flush, swapBuffers and, if callFinish is true, finish.
151 * @param callFinish Whether to call finish. 151 * @param callFinish Whether to call finish.
152 */ 152 */
153 void resetState(bool callFinish); 153 void resetState(bool callFinish);
154 154
155 /** 155 /**
156 * Remove all decoded textures from the CPU caches and all uploaded textures 156 * Remove all decoded textures from the CPU caches and all uploaded textures
157 * from the GPU. 157 * from the GPU.
158 */ 158 */
159 void purgeTextures(); 159 void purgeTextures();
160 160
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 622
623 typedef PictureRenderer INHERITED; 623 typedef PictureRenderer INHERITED;
624 }; 624 };
625 625
626 extern PictureRenderer* CreateGatherPixelRefsRenderer(); 626 extern PictureRenderer* CreateGatherPixelRefsRenderer();
627 extern PictureRenderer* CreatePictureCloneRenderer(); 627 extern PictureRenderer* CreatePictureCloneRenderer();
628 628
629 } 629 }
630 630
631 #endif // PictureRenderer_DEFINED 631 #endif // PictureRenderer_DEFINED
OLDNEW
« no previous file with comments | « tools/PictureBenchmark.cpp ('k') | tools/PictureRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698