From e26789369a7a8e94715975b47834597cdf3810fe Mon Sep 17 00:00:00 2001 From: egdaniel Date: Thu, 24 Mar 2016 09:50:58 -0700 Subject: [PATCH] Remove debug prints in GrVkGpu BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1834663002 Review URL: https://codereview.chromium.org/1834663002 --- src/gpu/vk/GrVkGpu.h | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/src/gpu/vk/GrVkGpu.h b/src/gpu/vk/GrVkGpu.h index 4be3b8c1ce..a6911f773b 100644 --- a/src/gpu/vk/GrVkGpu.h +++ b/src/gpu/vk/GrVkGpu.h @@ -67,9 +67,7 @@ public: GrPixelConfig srcConfig, DrawPreference*, WritePixelTempDrawInfo*) override; - void discard(GrRenderTarget*) override { - SkDebugf("discard not yet implemented for Vulkan\n"); - } + void discard(GrRenderTarget*) override {} bool onCopySurface(GrSurface* dst, GrSurface* src, @@ -82,7 +80,6 @@ public: SkAutoTDeleteArray*); bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override { - SkDebugf("initCopySurfaceDstDesc not yet implemented for Vulkan\n"); return false; } @@ -99,9 +96,7 @@ public: void clearStencil(GrRenderTarget* target) override; - void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override { - SkDebugf("drawDebugWireRect not yet implemented for Vulkan\n"); - } + void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override {} void addMemoryBarrier(VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, @@ -132,20 +127,14 @@ private: const SkTArray&) override; GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle, - const SkTArray&) override { - SkDebugf("onCreateCompressedTexture not yet implemented for Vulkan\n"); - return NULL; - } + const SkTArray&) override { return NULL; } GrTexture* onWrapBackendTexture(const GrBackendTextureDesc&, GrWrapOwnership) override; GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTargetDesc&, GrWrapOwnership) override; GrRenderTarget* onWrapBackendTextureAsRenderTarget(const GrBackendTextureDesc&, - GrWrapOwnership) override { - SkDebugf("onWrapBackendTextureAsRenderTarget not yet implemented for Vulkan\n"); - return NULL; - } + GrWrapOwnership) override { return NULL; } GrVertexBuffer* onCreateVertexBuffer(size_t size, bool dynamic) override; GrIndexBuffer* onCreateIndexBuffer(size_t size, bool dynamic) override; @@ -173,14 +162,9 @@ private: bool onTransferPixels(GrSurface*, int left, int top, int width, int height, GrPixelConfig config, GrTransferBuffer* buffer, - size_t offset, size_t rowBytes) override { - SkDebugf("onTransferPixels not yet implemented for Vulkan\n"); - return false; - } + size_t offset, size_t rowBytes) override { return false; } - void onResolveRenderTarget(GrRenderTarget* target) override { - SkDebugf("onResolveRenderTarget not yet implemented for Vulkan\n"); - } + void onResolveRenderTarget(GrRenderTarget* target) override {} bool prepareDrawState(const GrPipeline&, const GrPrimitiveProcessor&,