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

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

Issue 1407063011: Revert of Fix mixed samples stencil clip (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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/GrClipMaskManager.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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 } 271 }
272 static int NumDependencies(const GrDrawTarget* dt) { 272 static int NumDependencies(const GrDrawTarget* dt) {
273 return dt->fDependencies.count(); 273 return dt->fDependencies.count();
274 } 274 }
275 static GrDrawTarget* Dependency(GrDrawTarget* dt, int index) { 275 static GrDrawTarget* Dependency(GrDrawTarget* dt, int index) {
276 return dt->fDependencies[index]; 276 return dt->fDependencies[index];
277 } 277 }
278 }; 278 };
279 279
280 void recordBatch(GrBatch*); 280 void recordBatch(GrBatch*);
281 bool installPipelineInDrawBatch(const GrPipelineBuilder*, const GrAppliedCli p*, GrDrawBatch*); 281 bool installPipelineInDrawBatch(const GrPipelineBuilder* pipelineBuilder,
282 const GrScissorState* scissor,
283 GrDrawBatch* batch);
282 284
283 // Makes a copy of the dst if it is necessary for the draw. Returns false if a copy is required 285 // Makes a copy of the dst if it is necessary for the draw. Returns false if a copy is required
284 // but couldn't be made. Otherwise, returns true. This method needs to be p rotected because it 286 // but couldn't be made. Otherwise, returns true. This method needs to be p rotected because it
285 // needs to be accessed by GLPrograms to setup a correct drawstate 287 // needs to be accessed by GLPrograms to setup a correct drawstate
286 bool setupDstReadIfNecessary(const GrPipelineBuilder&, 288 bool setupDstReadIfNecessary(const GrPipelineBuilder&,
287 const GrProcOptInfo& colorPOI, 289 const GrProcOptInfo& colorPOI,
288 const GrProcOptInfo& coveragePOI, 290 const GrProcOptInfo& coveragePOI,
289 GrXferProcessor::DstTexture*, 291 GrXferProcessor::DstTexture*,
290 const SkRect& batchBounds); 292 const SkRect& batchBounds);
291 293
(...skipping 29 matching lines...) Expand all
321 Options fOptions; 323 Options fOptions;
322 324
323 // 'this' drawTarget relies on the output of the drawTargets in 'fDependenci es' 325 // 'this' drawTarget relies on the output of the drawTargets in 'fDependenci es'
324 SkTDArray<GrDrawTarget*> fDependencies; 326 SkTDArray<GrDrawTarget*> fDependencies;
325 GrRenderTarget* fRenderTarget; 327 GrRenderTarget* fRenderTarget;
326 328
327 typedef SkRefCnt INHERITED; 329 typedef SkRefCnt INHERITED;
328 }; 330 };
329 331
330 #endif 332 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrClipMaskManager.cpp ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698