commit | 5f594eed2fa3ce0c1da2da4341fa128b5cc35e30 | [log] [tgz] |
---|---|---|
author | Andres Calderon Jaramillo <andrescj@chromium.org> | Wed Feb 13 20:18:48 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 13 20:18:48 2019 |
tree | ba1f6d8ac05d52681491115006e4497a0081d813 | |
parent | 3b54419d900a7c416d40efbbb8ec8a531b663cbe [diff] |
Synchronize IDAStub with discardable handle registration. This CL modifies ImageDecodeAcceleratorStub so that completed decodes are processed only after we're sure that the buffer of a discardable handle corresponding to a decode request is registered in the transfer buffer manager. This requires introducing a sync token that is inserted in the command buffer after requesting the creation of the discardable handle in the client. The release count of this new sync token is plumbed from the client to the service and a test is added to verify the new behavior. Test: added unit test for the new behavior. Bug: 868400 Change-Id: If9dcddc6ebdaea4e28433bf582d9e5fbaa251bd2 Reviewed-on: https://chromium-review.googlesource.com/c/1460058 Reviewed-by: Robert Sesek <rsesek@chromium.org> Reviewed-by: Antoine Labour <piman@chromium.org> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org> Cr-Commit-Position: refs/heads/master@{#631871}
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 .