• Jonathan Backer's avatar
    Implement TexStorage2DImage · 76dfd502
    Jonathan Backer authored
    This is supported on OSX and was triggered when running with
    --enable-oop-rasterization and --enable-raster-decoder. This CL is
    necessary before we can land http://crrev.com/c/1031012
    
    Notable changes:
    
    - shuffled some code from compositor_util to gpu_memory_support so that
      we can use it in a lower layer
    
    - add proper gpu memory buffer support to InProcCmdBuffer
    
    - add a raster_in_process_context_tests to give us some basic code
      coverage
    
    - copy-pasta from GLES2DecoderImpl to RasterDecoderImpl to implement
      TexStorage2DImage
    
    Bug: 789238
    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: Iee75adbfd922ab0c94f2e563fe4fbdbf4c84f231
    Reviewed-on: https://chromium-review.googlesource.com/964894Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
    Commit-Queue: Jonathan Backer <backer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#555825}
    76dfd502
compositor_util.cc 17.7 KB