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

Side by Side Diff: include/gpu/GrContext.h

Issue 1216433005: style nit cleanups. e.g. remove 'virtual' on override declarations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address code review issues Created 5 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
« no previous file with comments | « include/effects/SkXfermodeImageFilter.h ('k') | src/core/SkColorShader.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 /* 1 /*
2 * Copyright 2010 Google Inc. 2 * Copyright 2010 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 GrContext_DEFINED 8 #ifndef GrContext_DEFINED
9 #define GrContext_DEFINED 9 #define GrContext_DEFINED
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 * rendering quality for the display. Alternatively returns 0 if 167 * rendering quality for the display. Alternatively returns 0 if
168 * MSAA is not supported or recommended to be used by default. 168 * MSAA is not supported or recommended to be used by default.
169 */ 169 */
170 int getRecommendedSampleCount(GrPixelConfig config, SkScalar dpi) const; 170 int getRecommendedSampleCount(GrPixelConfig config, SkScalar dpi) const;
171 171
172 /** 172 /**
173 * Returns a helper object to orchestrate draws. 173 * Returns a helper object to orchestrate draws.
174 * Callers should take a ref if they rely on the GrDrawContext sticking arou nd. 174 * Callers should take a ref if they rely on the GrDrawContext sticking arou nd.
175 * NULL will be returned if the context has been abandoned. 175 * NULL will be returned if the context has been abandoned.
176 * 176 *
177 * @param devProps the device properties (mainly defines text drawing) 177 * @param surfaceProps the surface properties (mainly defines text drawing)
178 * 178 *
179 * @return a draw context 179 * @return a draw context
180 */ 180 */
181 GrDrawContext* drawContext(const SkSurfaceProps* surfaceProps = NULL) { 181 GrDrawContext* drawContext(const SkSurfaceProps* surfaceProps = NULL) {
182 return fDrawingMgr.drawContext(surfaceProps); 182 return fDrawingMgr.drawContext(surfaceProps);
183 } 183 }
184 184
185 /////////////////////////////////////////////////////////////////////////// 185 ///////////////////////////////////////////////////////////////////////////
186 // Misc. 186 // Misc.
187 187
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 /** 454 /**
455 * A callback similar to the above for use by the TextBlobCache 455 * A callback similar to the above for use by the TextBlobCache
456 * TODO move textblob draw calls below context so we can use the call above. 456 * TODO move textblob draw calls below context so we can use the call above.
457 */ 457 */
458 static void TextBlobCacheOverBudgetCB(void* data); 458 static void TextBlobCacheOverBudgetCB(void* data);
459 459
460 typedef SkRefCnt INHERITED; 460 typedef SkRefCnt INHERITED;
461 }; 461 };
462 462
463 #endif 463 #endif
OLDNEW
« no previous file with comments | « include/effects/SkXfermodeImageFilter.h ('k') | src/core/SkColorShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698