aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/mtl
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-08-24 17:10:47 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-24 21:27:07 +0000
commit6682ff2e1be13b4552c1a5330a0c3a88d2808f0c (patch)
treebd54baecabe9341c288c27a74ce543b6a322998d /src/gpu/mtl
parent8c4e70d3785f431db80f87937779d183a1b77a16 (diff)
Fix Metal build from recent command buffer change
Bug: skia: Change-Id: I93653a533499411118d3e55015d55000a465b51b Reviewed-on: https://skia-review.googlesource.com/38401 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/mtl')
-rw-r--r--src/gpu/mtl/GrMtlGpu.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gpu/mtl/GrMtlGpu.h b/src/gpu/mtl/GrMtlGpu.h
index e6f2ccabb7..f8e3e5be0a 100644
--- a/src/gpu/mtl/GrMtlGpu.h
+++ b/src/gpu/mtl/GrMtlGpu.h
@@ -47,10 +47,14 @@ public:
void onQueryMultisampleSpecs(GrRenderTarget* rt, const GrStencilSettings&,
int* effectiveSampleCnt, SamplePattern*) override {}
- GrGpuCommandBuffer* createCommandBuffer(
+ GrGpuRTCommandBuffer* createCommandBuffer(
GrRenderTarget*, GrSurfaceOrigin,
- const GrGpuCommandBuffer::LoadAndStoreInfo&,
- const GrGpuCommandBuffer::StencilLoadAndStoreInfo&) override {
+ const GrGpuRTCommandBuffer::LoadAndStoreInfo&,
+ const GrGpuRTCommandBuffer::StencilLoadAndStoreInfo&) override {
+ return nullptr;
+ }
+
+ GrGpuTextureCommandBuffer* createCommandBuffer(GrTexture*, GrSurfaceOrigin) override {
return nullptr;
}