diff options
author | 2016-10-14 11:42:20 -0400 | |
---|---|---|
committer | 2016-10-14 16:34:51 +0000 | |
commit | cce3e58f6660a77e1a6f93d8579a279a2450b0da (patch) | |
tree | 6efd0303684e7b95362fd5a4fa38faab8216d576 /include/gpu | |
parent | a54401da547def2e6e058df3ee2a03a843fb40ae (diff) |
Always use RGBA textures for color font atlases
This is the last use of kSkiaGamma8888_GrPixelConfig
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3417
Change-Id: I307479c41f1ca437733dfafd044bb1baeb42f31d
Reviewed-on: https://skia-review.googlesource.com/3417
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrTypes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index 6b73f3c073..3ec3023373 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -280,10 +280,8 @@ static const int kGrPixelConfigCnt = kLast_GrPixelConfig + 1; #endif #if SK_PMCOLOR_BYTE_ORDER(B,G,R,A) static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig; - static const GrPixelConfig kSkiaGamma8888_GrPixelConfig = kSBGRA_8888_GrPixelConfig; #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A) static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig; - static const GrPixelConfig kSkiaGamma8888_GrPixelConfig = kSRGBA_8888_GrPixelConfig; #else #error "SK_*32_SHIFT values must correspond to GL_BGRA or GL_RGBA format." #endif |