• zmo's avatar
    Upload textures through GPU path to non-8-bit color formats won't work in WebGL2 · fbae9a94
    zmo authored
    This is because we use copyTexImage to do the GPU to GPU copying, but in ES3
    it is limited that source/destination color format component sizes have to match.
    
    We can lift this limitation once we implement a different path where shaders are
    used to do the copying instead of copyTexImage.
    
    BUG=429053
    TEST=gpu_bots
    R=kbr@chromium.org,cwallez@chromium.org
    CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel
    
    Review-Url: https://codereview.chromium.org/2040773002
    Cr-Commit-Position: refs/heads/master@{#398230}
    fbae9a94
WebGL2RenderingContextBase.h 16.9 KB