diff options
author | Timothy Liang <timliang@google.com> | 2018-06-28 15:50:36 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-28 20:21:17 +0000 |
commit | 036fdfe5aa1266dbc35f0a2c680f648b62b9c28b (patch) | |
tree | 5daf6dd36649795833724d954994438c9ab35dd2 /include/gpu | |
parent | be0ab883e796b190cd20a4b1cfaedea932f9e0bf (diff) |
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 <timliang@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrBackendSurface.h | 5 |
1 files changed, 0 insertions, 5 deletions
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&); |