• yizhou.jiang's avatar
    optimize precision for conversion from srgb to linear · 0500571c
    yizhou.jiang authored
    Convertion from sRGB to 8-bit linear is going to reduce the
    precision of the texture, and the downsampling will do the
    same thing. We should set texture internalformat to rgba32f
    to optimize precision.
    
    BUG=634519
    TEST=conformance2/textures/misc/tex-srgb-mipmap.html
    CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    
    Review-Url: https://codereview.chromium.org/2420813002
    Cr-Commit-Position: refs/heads/master@{#427014}
    0500571c
gles2_cmd_srgb_converter.cc 15.7 KB