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

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

Issue 956083002: Revert of Pass clip to context (Closed) Base URL: https://skia.googlesource.com/skia.git@pass_down_rendertarget
Patch Set: Created 5 years, 9 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/GrDistanceFieldTextContext.cpp ('k') | src/gpu/GrPipelineBuilder.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 2015 Google Inc. 2 * Copyright 2015 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 GrPipelineBuilder_DEFINED 8 #ifndef GrPipelineBuilder_DEFINED
9 #define GrPipelineBuilder_DEFINED 9 #define GrPipelineBuilder_DEFINED
10 10
(...skipping 27 matching lines...) Expand all
38 } 38 }
39 39
40 virtual ~GrPipelineBuilder(); 40 virtual ~GrPipelineBuilder();
41 41
42 /** 42 /**
43 * Initializes the GrPipelineBuilder based on a GrPaint, view matrix and ren der target. Note 43 * Initializes the GrPipelineBuilder based on a GrPaint, view matrix and ren der target. Note
44 * that GrPipelineBuilder encompasses more than GrPaint. Aspects of GrPipeli neBuilder that have 44 * that GrPipelineBuilder encompasses more than GrPaint. Aspects of GrPipeli neBuilder that have
45 * no GrPaint equivalents are set to default values with the exception of ve rtex attribute state 45 * no GrPaint equivalents are set to default values with the exception of ve rtex attribute state
46 * which is unmodified by this function and clipping which will be enabled. 46 * which is unmodified by this function and clipping which will be enabled.
47 */ 47 */
48 void setFromPaint(const GrPaint&, GrRenderTarget*, const GrClip&); 48 void setFromPaint(const GrPaint&, GrRenderTarget*, const GrClip*);
49 49
50 /// @} 50 /// @}
51 51
52 /** 52 /**
53 * This function returns true if the render target destination pixel values will be read for 53 * This function returns true if the render target destination pixel values will be read for
54 * blending during draw. 54 * blending during draw.
55 */ 55 */
56 bool willBlendWithDst(const GrPrimitiveProcessor*) const; 56 bool willBlendWithDst(const GrPrimitiveProcessor*) const;
57 57
58 /////////////////////////////////////////////////////////////////////////// 58 ///////////////////////////////////////////////////////////////////////////
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 mutable GrProcOptInfo fCoverageProcInfo; 442 mutable GrProcOptInfo fCoverageProcInfo;
443 mutable bool fColorProcInfoValid; 443 mutable bool fColorProcInfoValid;
444 mutable bool fCoverageProcInfoValid; 444 mutable bool fCoverageProcInfoValid;
445 mutable GrColor fColorCache; 445 mutable GrColor fColorCache;
446 mutable GrColor fCoverageCache; 446 mutable GrColor fCoverageCache;
447 447
448 friend class GrPipeline; 448 friend class GrPipeline;
449 }; 449 };
450 450
451 #endif 451 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDistanceFieldTextContext.cpp ('k') | src/gpu/GrPipelineBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698