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

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

Issue 1422023003: Cosmetic portion of reverted "Fix ClipMaskManager's SW-fallback logic" CL (Closed) Base URL: https://skia.googlesource.com/skia.git@mdb-simplify-cmm-2
Patch Set: git pull Created 5 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
« no previous file with comments | « no previous file | include/gpu/GrPathRendererChain.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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 GrTextBlobCache* getTextBlobCache() { return fTextBlobCache; } 327 GrTextBlobCache* getTextBlobCache() { return fTextBlobCache; }
328 bool abandoned() const; 328 bool abandoned() const;
329 GrResourceProvider* resourceProvider() { return fResourceProvider; } 329 GrResourceProvider* resourceProvider() { return fResourceProvider; }
330 const GrResourceProvider* resourceProvider() const { return fResourceProvide r; } 330 const GrResourceProvider* resourceProvider() const { return fResourceProvide r; }
331 GrResourceCache* getResourceCache() { return fResourceCache; } 331 GrResourceCache* getResourceCache() { return fResourceCache; }
332 332
333 // Called by tests that draw directly to the context via GrDrawTarget 333 // Called by tests that draw directly to the context via GrDrawTarget
334 void getTestTarget(GrTestTarget*); 334 void getTestTarget(GrTestTarget*);
335 335
336 GrPathRenderer* getPathRenderer( 336 GrPathRenderer* getPathRenderer(
337 const GrPipelineBuilder*, 337 const GrPipelineBuilder&,
338 const SkMatrix& viewMatrix, 338 const SkMatrix& viewMatrix,
339 const SkPath& path, 339 const SkPath& path,
340 const GrStrokeInfo& stroke, 340 const GrStrokeInfo& stroke,
341 bool allowSW, 341 bool allowSW,
342 GrPathRendererChain::DrawType drawType = GrPathRendererChain ::kColor_DrawType, 342 GrPathRendererChain::DrawType drawType = GrPathRendererChain ::kColor_DrawType,
343 GrPathRendererChain::StencilSupport* stencilSupport = NULL); 343 GrPathRendererChain::StencilSupport* stencilSupport = NULL);
344 344
345 /** Prints cache stats to the string if GR_CACHE_STATS == 1. */ 345 /** Prints cache stats to the string if GR_CACHE_STATS == 1. */
346 void dumpCacheStats(SkString*) const; 346 void dumpCacheStats(SkString*) const;
347 void printCacheStats() const; 347 void printCacheStats() const;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 /** 440 /**
441 * A callback similar to the above for use by the TextBlobCache 441 * A callback similar to the above for use by the TextBlobCache
442 * TODO move textblob draw calls below context so we can use the call above. 442 * TODO move textblob draw calls below context so we can use the call above.
443 */ 443 */
444 static void TextBlobCacheOverBudgetCB(void* data); 444 static void TextBlobCacheOverBudgetCB(void* data);
445 445
446 typedef SkRefCnt INHERITED; 446 typedef SkRefCnt INHERITED;
447 }; 447 };
448 448
449 #endif 449 #endif
OLDNEW
« no previous file with comments | « no previous file | include/gpu/GrPathRendererChain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698