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

Unified Diff: src/gpu/GrDrawTarget.h

Issue 1132093004: Move DstCoordTexture to GrXP, rename and remove the word "copy" from dstcopytexture names. (Closed) Base URL: https://skia.googlesource.com/skia.git@copy
Patch Set: minor Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 0157354f88ec02891ca476f08f64f2b534d030a0..dc859a7a5d896d70cdea679e9549a12e9f562635 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -18,6 +18,7 @@
#include "GrPipelineBuilder.h"
#include "GrTraceMarker.h"
#include "GrVertexBuffer.h"
+#include "GrXferProcessor.h"
#include "SkClipStack.h"
#include "SkMatrix.h"
@@ -237,7 +238,7 @@ protected:
bool setupDstReadIfNecessary(const GrPipelineBuilder&,
const GrProcOptInfo& colorPOI,
const GrProcOptInfo& coveragePOI,
- GrDeviceCoordTexture* dstCopy,
+ GrXferProcessor::DstTexture*,
const SkRect* drawBounds);
struct PipelineInfo {
@@ -257,11 +258,11 @@ protected:
bool mustSkipDraw() const { return (NULL == fPipelineBuilder); }
- GrPipelineBuilder* fPipelineBuilder;
- GrScissorState* fScissor;
- GrProcOptInfo fColorPOI;
- GrProcOptInfo fCoveragePOI;
- GrDeviceCoordTexture fDstCopy;
+ GrPipelineBuilder* fPipelineBuilder;
+ GrScissorState* fScissor;
+ GrProcOptInfo fColorPOI;
+ GrProcOptInfo fCoveragePOI;
+ GrXferProcessor::DstTexture fDstTexture;
};
void setupPipeline(const PipelineInfo& pipelineInfo, GrPipeline* pipeline);

Powered by Google App Engine
This is Rietveld 408576698