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

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

Issue 147733004: Revert "SkBitmap now really stores SkImageInfo -- config is just a ruse" (Closed) Base URL: https://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 | « src/core/SkBitmap.cpp ('k') | src/gpu/GrClipMaskManager.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 2012 Google Inc. 2 * Copyright 2012 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 GrClipMaskManager_DEFINED 8 #ifndef GrClipMaskManager_DEFINED
9 #define GrClipMaskManager_DEFINED 9 #define GrClipMaskManager_DEFINED
10 10
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Draws a filled clip path into the target alpha mask 134 // Draws a filled clip path into the target alpha mask
135 bool drawFilledPath(GrTexture* target, GrPathRenderer* pathRenderer, bool is AA); 135 bool drawFilledPath(GrTexture* target, GrPathRenderer* pathRenderer, bool is AA);
136 136
137 // Draws a clip element into the target alpha mask. The caller should have a lready setup the 137 // Draws a clip element into the target alpha mask. The caller should have a lready setup the
138 // desired blend operation. 138 // desired blend operation.
139 bool drawElement(GrTexture* target, const SkClipStack::Element* element); 139 bool drawElement(GrTexture* target, const SkClipStack::Element* element);
140 140
141 // Determines whether it is possible to draw the element to both the stencil buffer and the 141 // Determines whether it is possible to draw the element to both the stencil buffer and the
142 // alpha mask simultaneously. If so and the element is a path a compatible p ath renderer is 142 // alpha mask simultaneously. If so and the element is a path a compatible p ath renderer is
143 // also returned. 143 // also returned.
144 bool canStencilAndDrawElement(GrTexture* target, const SkClipStack::Element* , 144 bool canStencilAndDrawElement(GrTexture* target, const SkClipStack::Element* ,
145 GrPathRenderer::AutoClearPath* pr); 145 GrPathRenderer::AutoClearPath* pr);
146 146
147 void mergeMask(GrTexture* dstMask, 147 void mergeMask(GrTexture* dstMask,
148 GrTexture* srcMask, 148 GrTexture* srcMask,
149 SkRegion::Op op, 149 SkRegion::Op op,
150 const SkIRect& dstBound, 150 const SkIRect& dstBound,
151 const SkIRect& srcBound); 151 const SkIRect& srcBound);
152 152
153 void getTemp(int width, int height, GrAutoScratchTexture* temp); 153 void getTemp(int width, int height, GrAutoScratchTexture* temp);
154 154
(...skipping 12 matching lines...) Expand all
167 * clipping. 167 * clipping.
168 */ 168 */
169 void adjustStencilParams(GrStencilSettings* settings, 169 void adjustStencilParams(GrStencilSettings* settings,
170 StencilClipMode mode, 170 StencilClipMode mode,
171 int stencilBitCnt); 171 int stencilBitCnt);
172 172
173 typedef SkNoncopyable INHERITED; 173 typedef SkNoncopyable INHERITED;
174 }; 174 };
175 175
176 #endif // GrClipMaskManager_DEFINED 176 #endif // GrClipMaskManager_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkBitmap.cpp ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698