• danakj's avatar
    Use immutable textures in VideoResourceUpdater. · 19e92b54
    danakj authored
    The upload uses CopySubTextureCHROMIUM which is compatible with
    immutable textures, as it does not change the texture size. It used
    to use CopyTextureCHROMIUM, which is not compatible, and had a unit
    test describing this. But in reality this has changed, so always make
    the resource immutible, and stop checking for that when recycling.
    
    R=piman@chromium.org
    
    Bug: 768976
    Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: Ia9a31769fcc6c513291b6e67be4dea07d1c02168
    Reviewed-on: https://chromium-review.googlesource.com/685742Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Commit-Queue: danakj <danakj@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#504481}
    19e92b54
video_resource_updater.cc 29.8 KB