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

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

Issue 142543007: Revert of r13384 (Stateful PathRenderer implementation) (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 10 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 | « 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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 * called to check the cache for a SB that matches an RT's criteria. 847 * called to check the cache for a SB that matches an RT's criteria.
848 */ 848 */
849 void addStencilBuffer(GrStencilBuffer* sb); 849 void addStencilBuffer(GrStencilBuffer* sb);
850 GrStencilBuffer* findStencilBuffer(int width, int height, int sampleCnt); 850 GrStencilBuffer* findStencilBuffer(int width, int height, int sampleCnt);
851 851
852 GrPathRenderer* getPathRenderer( 852 GrPathRenderer* getPathRenderer(
853 const SkPath& path, 853 const SkPath& path,
854 const SkStrokeRec& stroke, 854 const SkStrokeRec& stroke,
855 const GrDrawTarget* target, 855 const GrDrawTarget* target,
856 bool allowSW, 856 bool allowSW,
857 GrPathRendererChain::DrawType drawType, 857 GrPathRendererChain::DrawType drawType = GrPathRendererChain ::kColor_DrawType,
858 SkPath::FillType fillType,
859 GrPathRendererChain::StencilSupport* stencilSupport = NULL); 858 GrPathRendererChain::StencilSupport* stencilSupport = NULL);
860 859
861 860
862 #if GR_CACHE_STATS 861 #if GR_CACHE_STATS
863 void printCacheStats() const; 862 void printCacheStats() const;
864 #endif 863 #endif
865 864
866 private: 865 private:
867 // Used to indicate whether a draw should be performed immediately or queued in fDrawBuffer. 866 // Used to indicate whether a draw should be performed immediately or queued in fDrawBuffer.
868 enum BufferedDraw { 867 enum BufferedDraw {
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 } 1044 }
1046 1045
1047 GrTexture* texture() { return fTexture; } 1046 GrTexture* texture() { return fTexture; }
1048 1047
1049 private: 1048 private:
1050 GrContext* fContext; 1049 GrContext* fContext;
1051 GrTexture* fTexture; 1050 GrTexture* fTexture;
1052 }; 1051 };
1053 1052
1054 #endif 1053 #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