diff options
author | Robert Phillips <robertphillips@google.com> | 2017-05-22 13:23:19 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-22 17:55:48 +0000 |
commit | b7b7e5fba08399c76fa0763ec3ed49ae120b64d8 (patch) | |
tree | aaa3a3bfe59bc5f186ded94fb6b1870cf926af7a /include/gpu | |
parent | e2fc5632346a4544d86814bbab1dfb1d58d93a5e (diff) |
Add fixes & test for isConfigTexturable and isConfigRenderable
This CL fixes:
isConfigTexturable was returning true for:
kRG_float for ANGLE ES2 configs
isConfigRenderable was returning true for:
kAlpha_8 for ANGLE ES2 configs
isConfigTexturable and isConfigRenderable were returning true for:
SBGRA on ES2
The NexusPlayer was marking RGBA & RG float configs as renderable but not textureable
Bug: 720325
Change-Id: If21361870dbdde8f3e09bc9dff3a394f2a329157
Reviewed-on: https://skia-review.googlesource.com/17387
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrCaps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h index 17b5a23e18..2fb367d66f 100644 --- a/include/gpu/GrCaps.h +++ b/include/gpu/GrCaps.h @@ -159,7 +159,7 @@ public: int maxWindowRectangles() const { return fMaxWindowRectangles; } - virtual bool isConfigTexturable(GrPixelConfig config) const = 0; + virtual bool isConfigTexturable(GrPixelConfig) const = 0; virtual bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const = 0; virtual bool canConfigBeImageStorage(GrPixelConfig config) const = 0; |