Index: src/gpu/GrTextureProxy.cpp |
diff --git a/src/gpu/GrTextureProxy.cpp b/src/gpu/GrTextureProxy.cpp |
index f28b29eee027d46b7911718bc05c09a2c1779c15..205dfdd313530282a3465eefff808a8816722083 100644 |
--- a/src/gpu/GrTextureProxy.cpp |
+++ b/src/gpu/GrTextureProxy.cpp |
@@ -10,8 +10,15 @@ |
#include "GrTextureProvider.h" |
#include "GrGpuResourcePriv.h" |
+GrTextureProxy::GrTextureProxy(const GrSurfaceDesc& srcDesc, SkBackingFit fit, SkBudgeted budgeted, |
+ const void* /*srcData*/, size_t /*rowBytes*/) |
+ : INHERITED(srcDesc, fit, budgeted) { |
+ // TODO: Handle 'srcData' here |
+} |
+ |
GrTextureProxy::GrTextureProxy(sk_sp<GrTexture> tex) |
- : INHERITED(tex->desc(), SkBackingFit::kExact, tex->resourcePriv().isBudgeted()) |
+ : INHERITED(tex->desc(), SkBackingFit::kExact, |
+ tex->resourcePriv().isBudgeted(), tex->uniqueID()) |
, fTexture(std::move(tex)) { |
} |