Nit clean up to add private GrPixelConfig CL
Bug: skia: Change-Id: Iaf793e79458ec27f81c48ec0a7d529b9127bd839 Reviewed-on: https://skia-review.googlesource.com/72061 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
This commit is contained in:
parent
70fb479ae6
commit
b8e4c44f5f
@ -1940,11 +1940,10 @@ void GrGLCaps::initConfigTable(const GrContextOptions& contextOptions,
|
||||
}
|
||||
|
||||
if (this->textureRedSupport()) {
|
||||
redInfo.fFlags = ConfigInfo::kTextureable_Flag;
|
||||
redInfo.fFlags = ConfigInfo::kTextureable_Flag | allRenderFlags;
|
||||
if (texelBufferSupport) {
|
||||
redInfo.fFlags |= ConfigInfo::kCanUseWithTexelBuffer_Flag;
|
||||
}
|
||||
redInfo.fFlags |= allRenderFlags;
|
||||
|
||||
fConfigTable[kAlpha_8_GrPixelConfig] = redInfo;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user