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

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

Issue 1096513002: Pass dashing information to path rasterizers. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix 100-col issue Created 5 years, 8 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
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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 void getTestTarget(GrTestTarget*); 669 void getTestTarget(GrTestTarget*);
670 670
671 void addGpuTraceMarker(const GrGpuTraceMarker* marker); 671 void addGpuTraceMarker(const GrGpuTraceMarker* marker);
672 void removeGpuTraceMarker(const GrGpuTraceMarker* marker); 672 void removeGpuTraceMarker(const GrGpuTraceMarker* marker);
673 673
674 GrPathRenderer* getPathRenderer( 674 GrPathRenderer* getPathRenderer(
675 const GrDrawTarget* target, 675 const GrDrawTarget* target,
676 const GrPipelineBuilder*, 676 const GrPipelineBuilder*,
677 const SkMatrix& viewMatrix, 677 const SkMatrix& viewMatrix,
678 const SkPath& path, 678 const SkPath& path,
679 const SkStrokeRec& stroke, 679 const GrStrokeInfo& stroke,
680 bool allowSW, 680 bool allowSW,
681 GrPathRendererChain::DrawType drawType = GrPathRendererChain ::kColor_DrawType, 681 GrPathRendererChain::DrawType drawType = GrPathRendererChain ::kColor_DrawType,
682 GrPathRendererChain::StencilSupport* stencilSupport = NULL); 682 GrPathRendererChain::StencilSupport* stencilSupport = NULL);
683 683
684 /** 684 /**
685 * This returns a copy of the the GrContext::Options that was passed to the 685 * This returns a copy of the the GrContext::Options that was passed to the
686 * constructor of this class. 686 * constructor of this class.
687 */ 687 */
688 const Options& getOptions() const { return fOptions; } 688 const Options& getOptions() const { return fOptions; }
689 689
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 */ 793 */
794 static void TextBlobCacheOverBudgetCB(void* data); 794 static void TextBlobCacheOverBudgetCB(void* data);
795 795
796 // TODO see note on createTextContext 796 // TODO see note on createTextContext
797 friend class SkGpuDevice; 797 friend class SkGpuDevice;
798 798
799 typedef SkRefCnt INHERITED; 799 typedef SkRefCnt INHERITED;
800 }; 800 };
801 801
802 #endif 802 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698