Ozone: enumerate minigbm's supported TEXTURING formats
This CL enumerates minigbm supported formats for GBM_BO_USE_TEXTURING, and creates a vector that can be obtained through SurfaceFactoryOzone GetSupportedFormatsForTexturing(). This CL also wires that to a new GpuInfo entry supported over Mojo (and dumped in chrome:gpu). This CL is used in e.g. crrev.com/c/1590464 in GLES2DecoderImpl's GetCapabilities() (vicinity of [1]) to indicate if the platform supports or not P010 (and will possibly be used to address the TODO in [2] where a gles2 FeatureFlag is hardcoded). [1] https://cs.chromium.org/chromium/src/gpu/command_buffer/service/gles2_cmd_decoder.cc?gsn=ContextGroup&g=0&l=4266 [2] https://cs.chromium.org/chromium/src/gpu/command_buffer/service/feature_info.cc?type=cs&g=0&l=1102 Bug: 911754, 646148 Change-Id: I49d6002a06d1f4585956f8f0746ab5349e2714e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1612041Reviewed-by:Robert Kroeger <rjkroege@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Reviewed-by:
Jorge Lucangeli Obes <jorgelo@chromium.org> Reviewed-by:
Daniel Nicoara <dnicoara@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#663857}
Showing
Please register or sign in to comment