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

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

Issue 1161273005: Update XPF invariant info to not account for conflation (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_reenablebea
Patch Set: Created 5 years, 6 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 GrDrawTarget_DEFINED 8 #ifndef GrDrawTarget_DEFINED
9 #define GrDrawTarget_DEFINED 9 #define GrDrawTarget_DEFINED
10 10
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 struct PipelineInfo { 233 struct PipelineInfo {
234 PipelineInfo(GrPipelineBuilder* pipelineBuilder, GrScissorState* scissor , 234 PipelineInfo(GrPipelineBuilder* pipelineBuilder, GrScissorState* scissor ,
235 const GrPrimitiveProcessor* primProc, 235 const GrPrimitiveProcessor* primProc,
236 const SkRect* devBounds, GrDrawTarget* target); 236 const SkRect* devBounds, GrDrawTarget* target);
237 237
238 PipelineInfo(GrPipelineBuilder* pipelineBuilder, GrScissorState* scissor , 238 PipelineInfo(GrPipelineBuilder* pipelineBuilder, GrScissorState* scissor ,
239 const GrBatch* batch, const SkRect* devBounds, 239 const GrBatch* batch, const SkRect* devBounds,
240 GrDrawTarget* target); 240 GrDrawTarget* target);
241 241
242 bool willBlendWithDst(const GrPrimitiveProcessor* primProc) const { 242 bool willColorBlendWithDst(const GrPrimitiveProcessor* primProc) const {
243 return fPipelineBuilder->willBlendWithDst(primProc); 243 return fPipelineBuilder->willColorBlendWithDst(primProc);
244 } 244 }
245 private: 245 private:
246 friend class GrDrawTarget; 246 friend class GrDrawTarget;
247 247
248 bool mustSkipDraw() const { return (NULL == fPipelineBuilder); } 248 bool mustSkipDraw() const { return (NULL == fPipelineBuilder); }
249 249
250 GrPipelineBuilder* fPipelineBuilder; 250 GrPipelineBuilder* fPipelineBuilder;
251 GrScissorState* fScissor; 251 GrScissorState* fScissor;
252 GrProcOptInfo fColorPOI; 252 GrProcOptInfo fColorPOI;
253 GrProcOptInfo fCoveragePOI; 253 GrProcOptInfo fCoveragePOI;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 virtual bool setupClip(GrPipelineBuilder*, 352 virtual bool setupClip(GrPipelineBuilder*,
353 GrPipelineBuilder::AutoRestoreFragmentProcessors*, 353 GrPipelineBuilder::AutoRestoreFragmentProcessors*,
354 GrPipelineBuilder::AutoRestoreStencil*, 354 GrPipelineBuilder::AutoRestoreStencil*,
355 GrScissorState* scissorState, 355 GrScissorState* scissorState,
356 const SkRect* devBounds) override; 356 const SkRect* devBounds) override;
357 357
358 typedef GrDrawTarget INHERITED; 358 typedef GrDrawTarget INHERITED;
359 }; 359 };
360 360
361 #endif 361 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698