Index: src/gpu/GrResourceProvider.cpp |
diff --git a/src/gpu/GrResourceProvider.cpp b/src/gpu/GrResourceProvider.cpp |
index 38213e6266330c9c2e66a4e52bec36ce7e026160..a8bccfe90097cbefbdfe0bdacd1a708fc929d155 100644 |
--- a/src/gpu/GrResourceProvider.cpp |
+++ b/src/gpu/GrResourceProvider.cpp |
@@ -146,6 +146,16 @@ GrVertexBuffer* GrResourceProvider::createVertexBuffer(size_t size, BufferUsage |
return this->gpu()->createVertexBuffer(size, dynamic); |
} |
+GrTransferBuffer* GrResourceProvider::createTransferBuffer(size_t size, TransferType type, |
+ uint32_t flags) { |
+ if (this->isAbandoned()) { |
+ return nullptr; |
+ } |
+ |
+ //bool noPendingIO = SkToBool(flags & kNoPendingIO_Flag); |
+ return this->gpu()->createTransferBuffer(size, type); |
+} |
+ |
GrBatchAtlas* GrResourceProvider::createAtlas(GrPixelConfig config, |
int width, int height, |
int numPlotsX, int numPlotsY, |