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

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

Issue 1275003004: Remove GrPipelineOptimizations member from GrPipeline (Closed) Base URL: https://skia.googlesource.com/skia.git@opt
Patch Set: rebase Created 5 years, 4 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/GrDrawTarget.cpp ('k') | src/gpu/GrImmediateDrawTarget.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 GrImmediateDrawTarget_DEFINED 8 #ifndef GrImmediateDrawTarget_DEFINED
9 #define GrImmediateDrawTarget_DEFINED 9 #define GrImmediateDrawTarget_DEFINED
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 GrColor color, 67 GrColor color,
68 GrRenderTarget* renderTarget) override; 68 GrRenderTarget* renderTarget) override;
69 void onCopySurface(GrSurface* dst, 69 void onCopySurface(GrSurface* dst,
70 GrSurface* src, 70 GrSurface* src,
71 const SkIRect& srcRect, 71 const SkIRect& srcRect,
72 const SkIPoint& dstPoint) override; 72 const SkIPoint& dstPoint) override;
73 73
74 bool isIssued(uint32_t drawID) override { return drawID != fDrawID; } 74 bool isIssued(uint32_t drawID) override { return drawID != fDrawID; }
75 75
76 bool SK_WARN_UNUSED_RESULT setupPipelineAndShouldDraw(void* pipelineAddr, 76 bool SK_WARN_UNUSED_RESULT setupPipelineAndShouldDraw(void* pipelineAddr,
77 const GrDrawTarget::Pi pelineInfo&); 77 const GrDrawTarget::Pi pelineInfo&,
78 GrPipelineOptimization s* opts);
78 79
79 void recordXferBarrierIfNecessary(const GrPipeline*); 80 void recordXferBarrierIfNecessary(const GrPipeline*);
80 81
81 GrBatchTarget fBatchTarget; 82 GrBatchTarget fBatchTarget;
82 uint32_t fDrawID; 83 uint32_t fDrawID;
83 84
84 typedef GrClipTarget INHERITED; 85 typedef GrClipTarget INHERITED;
85 }; 86 };
86 87
87 #endif 88 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrImmediateDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698