• Geoff Lang's avatar
    Revert "Don't create manager objects in ContextGroup when using the passthrough decoder" · baa5695e
    Geoff Lang authored
    This reverts commit 248bfd1f.
    
    Reason for revert: Broke some Android WebGL video tests
    
    BUG=1047201
    
    Original change's description:
    > Don't create manager objects in ContextGroup when using the passthrough decoder
    > 
    > These objects are not used when the passthrough command decoder is in
    > use.  This saves several GPU memory allocations in TextureManager for
    > default and black textures.
    > 
    > Saves ~2 MB per context.
    > 
    > BUG=1046613
    > BUG=1030835
    > 
    > Change-Id: I66c6acf28580742bc313d8cf79de80f7f7d98305
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2028291
    > Commit-Queue: Geoff Lang <geofflang@chromium.org>
    > Reviewed-by: Zhenyao Mo <zmo@chromium.org>
    > Reviewed-by: Dan Sanders <sandersd@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#736631}
    
    TBR=zmo@chromium.org,geofflang@chromium.org,sandersd@chromium.org
    
    Change-Id: I82ca36bd0b449e743ef819fbfe6ad161b219a8d0
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 1046613, 1030835
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2031164Reviewed-by: default avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#736863}
    baa5695e
context_group.cc 27.8 KB