Fix CHROMIUM_texture_storage_image detection
Whether or not CHROMIUM_texture_storage_image is supported depends entirely on the underlying ImageFactory. Add a function to query if the ImageFactory has the capability to create anonymous images, and use this to enable relevant parts of FeatureInfo. Remove the ifdef that was being used to determine whether or not to enable CHROMIUM_texture_storage_image, because that was just attempting to match the capabilities of the ImageFactory (and sometimes failing). I screwed this up in the previous patch because I was checking for gpu_memory_manager, thinking that it was gpu_memory_buffer_manager. As it happens CHROMIUM_gpu_memory_manager is unused, so just remove it. Bug: 845213, 849478 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;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I9d97749863c61954151e9f06dc23949613c2181f Reviewed-on: https://chromium-review.googlesource.com/1088313Reviewed-by:ccameron <ccameron@chromium.org> Reviewed-by:
Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#565140}
Showing
Please register or sign in to comment