• Dan Sanders's avatar
    Fix unbind and teardown behavior of media::CommandBufferHelper. · 5ad8df60
    Dan Sanders authored
    At stub destruction, CommandBufferHelper forgets all of its textures,
    which leads to crashes on Mac. The fix is to stop doing that, now that
    AbstractTextures remove the need to do so.
    
    Additionally, the behavior of calling BindImage(nullptr) was changed in
    the conversion to AbstractTexture; this change restores the original
    behavior.
    
    Bug: 869186
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: I27fb81408ac90d28752a6bb6cfbb5e3c56975c70
    Reviewed-on: https://chromium-review.googlesource.com/1155812Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Commit-Queue: Dan Sanders <sandersd@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#580384}
    5ad8df60
passthrough_abstract_texture_impl.h 1.9 KB