GLScaler: Fix detection and use of half-floats.
Fixes GLScaler::SupportsPreciseColorManagement() by using GL extension strings to detect the required GLES2 extensions. Also, use of half- floats in textures is governed by the "type" argument to glTexImage2d(), and not the "internal format" argument. Bug: 870036 Change-Id: I67e90cbadeb0b185025bce01c56b0f9e89e70a71 Reviewed-on: https://chromium-review.googlesource.com/c/1298643Reviewed-by:Xiangjun Zhang <xjz@chromium.org> Commit-Queue: Yuri Wiitala <miu@chromium.org> Cr-Commit-Position: refs/heads/master@{#603236}
Showing
Please register or sign in to comment