commit | 6dc43e3e4dca923fa5afa970965c107923af5c53 | [log] [tgz] |
---|---|---|
author | Andres Calderon Jaramillo <andrescj@chromium.org> | Wed Feb 20 05:24:52 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 20 05:24:52 2019 |
tree | bac0262358fe935356fb6d459642c02e9ac50afc | |
parent | 9340aaa8e5e1366d201c55cdf5aa59558c71f287 [diff] |
Implement client detection of image decode acceleration support. This CL adds code code to allow a client to determine whether an encoded image is supported by the hardware decode accelerator based on the information conveyed by the service through GPUInfo. The client is expected to call RasterInterface::CanDecodeWithHardwareAcceleration() which in turn calls ImageDecodeAcceleratorProxy::IsImageSupported(). The latter has access to the GPUInfo through GpuChannelHost. Test: unit tests will be added in a follow-up CL. Bug: 868400 Change-Id: I41f9053f6bf59dc235945d7cf267e4fb40b851d9 Reviewed-on: https://chromium-review.googlesource.com/c/1475194 Reviewed-by: Antoine Labour <piman@chromium.org> Reviewed-by: Dan Sanders <sandersd@chromium.org> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Auto-Submit: Andres Calderon Jaramillo <andrescj@chromium.org> Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org> Cr-Commit-Position: refs/heads/master@{#633600}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .