• danakj's avatar
    Give ScopedResource a LayerTreeResourceProvider. · bf124ca1
    danakj authored
    ScopedResource is used for making resources that will be shipped out
    of the layer tree compositor. Give it a LayerTreeResourceProvider so
    that we reduce the API surface needed by the ResourceProvider base
    class to not include creating/deleting these resources, and allowing
    us to change how software resource are created.
    
    R=piman@chromium.org
    
    Bug: 730660
    Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
    Change-Id: Ia89068da79c497539f4cbf98f96bba4b9f4d362b
    Reviewed-on: https://chromium-review.googlesource.com/848253
    Commit-Queue: danakj <danakj@chromium.org>
    Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#527028}
    bf124ca1
resource_pool_unittest.cc 18.8 KB