aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ddl/GrDDLGpu.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-02-08 14:35:00 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-08 20:02:40 +0000
commitdb9ee2d202e813bf7595713bf114a25d585f0172 (patch)
treed7a9d6edafad8d647b68feb1ab6848a78ccd43a5 /src/gpu/ddl/GrDDLGpu.cpp
parent9e788116c17406ed655127770148de6f33e262c7 (diff)
Remove unused class GrDDLGpu
Change-Id: I66c0bb988e187cb6be43b2d2a726023b0bb25b69 Reviewed-on: https://skia-review.googlesource.com/105764 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/ddl/GrDDLGpu.cpp')
-rw-r--r--src/gpu/ddl/GrDDLGpu.cpp73
1 files changed, 0 insertions, 73 deletions
diff --git a/src/gpu/ddl/GrDDLGpu.cpp b/src/gpu/ddl/GrDDLGpu.cpp
deleted file mode 100644
index 583b8b2735..0000000000
--- a/src/gpu/ddl/GrDDLGpu.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Copyright 2017 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "GrDDLGpu.h"
-
-#include "GrCaps.h"
-
-sk_sp<GrGpu> GrDDLGpu::Make(GrContext* context, sk_sp<const GrCaps> caps) {
- return sk_sp<GrGpu>(new GrDDLGpu(context, std::move(caps)));
-}
-
-
-GrGpuRTCommandBuffer* GrDDLGpu::createCommandBuffer(
- GrRenderTarget* rt, GrSurfaceOrigin origin,
- const GrGpuRTCommandBuffer::LoadAndStoreInfo&,
- const GrGpuRTCommandBuffer::StencilLoadAndStoreInfo&) {
- SkASSERT(0);
- return nullptr;
-}
-
-GrGpuTextureCommandBuffer* GrDDLGpu::createCommandBuffer(GrTexture* texture,
- GrSurfaceOrigin origin) {
- SkASSERT(0);
- return nullptr;
-}
-
-void GrDDLGpu::submitCommandBuffer(const GrGpuRTCommandBuffer* cmdBuffer) {
- SkASSERT(0);
-}
-
-GrDDLGpu::GrDDLGpu(GrContext* context, sk_sp<const GrCaps> caps)
- : INHERITED(context) {
- fCaps = caps;
-}
-
-sk_sp<GrTexture> GrDDLGpu::onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
- const GrMipLevel texels[], int mipLevelCount) {
- SkASSERT(0);
- return nullptr;
-}
-
-GrBuffer* GrDDLGpu::onCreateBuffer(size_t sizeInBytes, GrBufferType type,
- GrAccessPattern accessPattern, const void*) {
- SkASSERT(0);
- return nullptr;
-}
-
-GrStencilAttachment* GrDDLGpu::createStencilAttachmentForRenderTarget(const GrRenderTarget* rt,
- int width,
- int height) {
- SkASSERT(0);
- return nullptr;
-}
-
-GrBackendTexture GrDDLGpu::createTestingOnlyBackendTexture(void* pixels, int w, int h,
- GrPixelConfig config, bool isRT,
- GrMipMapped) {
- SkASSERT(0);
- return GrBackendTexture(); // invalid
-}
-
-bool GrDDLGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const {
- SkASSERT(0);
- return false;
-}
-
-void GrDDLGpu::deleteTestingOnlyBackendTexture(GrBackendTexture* tex, bool abandonTexture) {
- SkASSERT(0);
-}