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

Unified Diff: src/gpu/GrInOrderDrawBuffer.h

Issue 735363003: dstCopy on optdrawstate (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrInOrderDrawBuffer.h
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h
index ed5cdd42e6501934be73d79a325cc1ba5e0ace85..ab7dd77a6d646955fdae7d36e12179c27442f312 100644
--- a/src/gpu/GrInOrderDrawBuffer.h
+++ b/src/gpu/GrInOrderDrawBuffer.h
@@ -143,7 +143,6 @@ private:
virtual void execute(GrInOrderDrawBuffer*, const GrOptDrawState*);
- GrDeviceCoordTexture fDstCopy;
GrStencilSettings fStencilSettings;
private:
@@ -161,7 +160,6 @@ private:
size_t fCount;
int fTransformsLocation;
PathTransformType fTransformsType;
- GrDeviceCoordTexture fDstCopy;
GrStencilSettings fStencilSettings;
private:
@@ -222,7 +220,6 @@ private:
SkAutoTUnref<const GrOptDrawState> fState;
GrGpu::DrawType fDrawType;
- GrDeviceCoordTexture fDstCopy;
};
typedef void* TCmdAlign; // This wouldn't be enough align if a command used long double.
@@ -231,7 +228,8 @@ private:
// overrides from GrDrawTarget
void onDraw(const GrDrawState&,
const DrawInfo&,
- const ScissorState&) SK_OVERRIDE;
+ const ScissorState&,
+ const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
void onDrawRect(GrDrawState*,
const SkRect& rect,
const SkRect* localRect,
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698