Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index 4c5ce8e09925b61bade9248aaee52655d2dab6e4..ac3dbee7415e804409c1e2692c6fa64be0282a27 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -344,11 +344,7 @@ private: |
return nullptr; |
} |
- GrVertexBuffer* onCreateVertexBuffer(size_t size, bool dynamic) override { return nullptr; } |
- |
- GrIndexBuffer* onCreateIndexBuffer(size_t size, bool dynamic) override { return nullptr; } |
- |
- GrTransferBuffer* onCreateTransferBuffer(size_t, TransferType) override { return nullptr; } |
+ GrBuffer* onCreateBuffer(GrBufferType, size_t, GrAccessPattern) override { return nullptr; } |
void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override {} |
@@ -375,7 +371,7 @@ private: |
bool onTransferPixels(GrSurface* surface, |
int left, int top, int width, int height, |
- GrPixelConfig config, GrTransferBuffer* buffer, |
+ GrPixelConfig config, GrBuffer* transferBuffer, |
size_t offset, size_t rowBytes) override { |
return false; |
} |
@@ -409,7 +405,7 @@ GrContext* GrContext::CreateMockContext() { |
void GrContext::initMockContext() { |
GrContextOptions options; |
- options.fGeometryBufferMapThreshold = 0; |
+ options.fBufferMapThreshold = 0; |
SkASSERT(nullptr == fGpu); |
fGpu = new MockGpu(this, options); |
SkASSERT(fGpu); |