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

Side by Side Diff: src/gpu/GrDrawTarget.h

Issue 1083133002: Rename GrStencilBuffer to GrStencilAttachment (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Align data member 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
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | src/gpu/GrDrawTarget.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 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 GrDrawTarget_DEFINED 8 #ifndef GrDrawTarget_DEFINED
9 #define GrDrawTarget_DEFINED 9 #define GrDrawTarget_DEFINED
10 10
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 int startIndex, 781 int startIndex,
782 int vertexCount, 782 int vertexCount,
783 int indexCount) const; 783 int indexCount) const;
784 // called when setting a new vert/idx source to unref prev vb/ib 784 // called when setting a new vert/idx source to unref prev vb/ib
785 void releasePreviousVertexSource(); 785 void releasePreviousVertexSource();
786 void releasePreviousIndexSource(); 786 void releasePreviousIndexSource();
787 787
788 // Check to see if this set of draw commands has been sent out 788 // Check to see if this set of draw commands has been sent out
789 virtual bool isIssued(uint32_t drawID) { return true; } 789 virtual bool isIssued(uint32_t drawID) { return true; }
790 void getPathStencilSettingsForFilltype(GrPathRendering::FillType, 790 void getPathStencilSettingsForFilltype(GrPathRendering::FillType,
791 const GrStencilBuffer*, 791 const GrStencilAttachment*,
792 GrStencilSettings*); 792 GrStencilSettings*);
793 virtual GrClipMaskManager* clipMaskManager() = 0; 793 virtual GrClipMaskManager* clipMaskManager() = 0;
794 virtual bool setupClip(GrPipelineBuilder*, 794 virtual bool setupClip(GrPipelineBuilder*,
795 GrPipelineBuilder::AutoRestoreFragmentProcessors*, 795 GrPipelineBuilder::AutoRestoreFragmentProcessors*,
796 GrPipelineBuilder::AutoRestoreStencil*, 796 GrPipelineBuilder::AutoRestoreStencil*,
797 GrScissorState*, 797 GrScissorState*,
798 const SkRect* devBounds) = 0; 798 const SkRect* devBounds) = 0;
799 799
800 enum { 800 enum {
801 kPreallocGeoSrcStateStackCnt = 4, 801 kPreallocGeoSrcStateStackCnt = 4,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 virtual bool setupClip(GrPipelineBuilder*, 853 virtual bool setupClip(GrPipelineBuilder*,
854 GrPipelineBuilder::AutoRestoreFragmentProcessors*, 854 GrPipelineBuilder::AutoRestoreFragmentProcessors*,
855 GrPipelineBuilder::AutoRestoreStencil*, 855 GrPipelineBuilder::AutoRestoreStencil*,
856 GrScissorState* scissorState, 856 GrScissorState* scissorState,
857 const SkRect* devBounds) override; 857 const SkRect* devBounds) override;
858 858
859 typedef GrDrawTarget INHERITED; 859 typedef GrDrawTarget INHERITED;
860 }; 860 };
861 861
862 #endif 862 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698