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

Unified Diff: src/gpu/GrInOrderDrawBuffer.h

Issue 608883003: GrResourceCache2 manages scratch texture. (Closed) Base URL: https://skia.googlesource.com/skia.git@surfimpl
Patch Set: remove todo Created 6 years, 2 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
« no previous file with comments | « src/gpu/GrGpuResourceRef.cpp ('k') | src/gpu/GrLayerCache.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 e6ed06eadbf518b326f3df3a952bea0c524a4f0b..485de07db5fbbe03dae58d58f846e371288ec2f5 100644
--- a/src/gpu/GrInOrderDrawBuffer.h
+++ b/src/gpu/GrInOrderDrawBuffer.h
@@ -109,8 +109,8 @@ private:
const GrIndexBuffer* indexBuffer() const { return fIndexBuffer.get(); }
private:
- GrPendingIOResource<const GrVertexBuffer, GrIORef::kRead_IOType> fVertexBuffer;
- GrPendingIOResource<const GrIndexBuffer, GrIORef::kRead_IOType> fIndexBuffer;
+ GrPendingIOResource<const GrVertexBuffer, kRead_GrIOType> fVertexBuffer;
+ GrPendingIOResource<const GrIndexBuffer, kRead_GrIOType> fIndexBuffer;
};
struct StencilPath : public ::SkNoncopyable {
@@ -121,7 +121,7 @@ private:
SkPath::FillType fFill;
private:
- GrPendingIOResource<const GrPath, GrIORef::kRead_IOType> fPath;
+ GrPendingIOResource<const GrPath, kRead_GrIOType> fPath;
};
struct DrawPath : public ::SkNoncopyable {
@@ -133,7 +133,7 @@ private:
GrDeviceCoordTexture fDstCopy;
private:
- GrPendingIOResource<const GrPath, GrIORef::kRead_IOType> fPath;
+ GrPendingIOResource<const GrPath, kRead_GrIOType> fPath;
};
struct DrawPaths : public ::SkNoncopyable {
@@ -159,7 +159,7 @@ private:
GrDeviceCoordTexture fDstCopy;
private:
- GrPendingIOResource<const GrPathRange, GrIORef::kRead_IOType> fPathRange;
+ GrPendingIOResource<const GrPathRange, kRead_GrIOType> fPathRange;
};
// This is also used to record a discard by setting the color to GrColor_ILLEGAL
@@ -173,7 +173,7 @@ private:
bool fCanIgnoreRect;
private:
- GrPendingIOResource<GrRenderTarget, GrIORef::kWrite_IOType> fRenderTarget;
+ GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
};
struct CopySurface : public ::SkNoncopyable {
@@ -186,8 +186,8 @@ private:
SkIRect fSrcRect;
private:
- GrPendingIOResource<GrSurface, GrIORef::kWrite_IOType> fDst;
- GrPendingIOResource<GrSurface, GrIORef::kRead_IOType> fSrc;
+ GrPendingIOResource<GrSurface, kWrite_GrIOType> fDst;
+ GrPendingIOResource<GrSurface, kRead_GrIOType> fSrc;
};
struct Clip : public ::SkNoncopyable {
« no previous file with comments | « src/gpu/GrGpuResourceRef.cpp ('k') | src/gpu/GrLayerCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698