From 036fdfe5aa1266dbc35f0a2c680f648b62b9c28b Mon Sep 17 00:00:00 2001 From: Timothy Liang Date: Thu, 28 Jun 2018 15:50:36 -0400 Subject: implemented getting format from texture as virtual in gpu caps Bug: skia: Change-Id: If6bbbd212ff472ea322d2bbed61995fe7ba85df7 Reviewed-on: https://skia-review.googlesource.com/138240 Commit-Queue: Timothy Liang Reviewed-by: Brian Salomon Reviewed-by: Greg Daniel --- include/gpu/GrBackendSurface.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/gpu') diff --git a/include/gpu/GrBackendSurface.h b/include/gpu/GrBackendSurface.h index 2fe33096f3..65ed6d086a 100644 --- a/include/gpu/GrBackendSurface.h +++ b/include/gpu/GrBackendSurface.h @@ -172,11 +172,6 @@ public: // Returns true if the backend texture has been initialized. bool isValid() const { return fIsValid; } - /** - * Create a GrBackendFormat object that matches this texture - */ - GrBackendFormat format() const; - #if GR_TEST_UTILS GrPixelConfig testingOnly_getPixelConfig() const; static bool TestingOnly_Equals(const GrBackendTexture& , const GrBackendTexture&); -- cgit v1.2.3