Fully implement onResetContext for Vulkan

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1819343002

Review URL: https://codereview.chromium.org/1819343002
This commit is contained in:
egdaniel 2016-03-22 07:16:10 -07:00 committed by Commit bot
parent d03b542492
commit cfcd1819d1

View File

@ -124,9 +124,7 @@ public:
void finishDrawTarget() override; void finishDrawTarget() override;
private: private:
void onResetContext(uint32_t resetBits) override { void onResetContext(uint32_t resetBits) override {}
SkDebugf("onResetContext not yet implemented for Vulkan\n");
}
GrTexture* onCreateTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle, GrTexture* onCreateTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle,
const SkTArray<GrMipLevel>&) override; const SkTArray<GrMipLevel>&) override;