gpu: Assign unique ids to anonymous io surfaces.
crrev.com/804597 accidentally set gmb id for anonymous surfaces to 0 to use it as a hint for whether to clear surfaces. This causes a memory regression similar to the one before unique ids were introduced. Instead, client_id, which is 0 for anonymous images and non-zero otherwise, can be used for the same purpose. R=ccameron BUG=793445 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I76b2fa6cf498b0f2727bef7983ebc063cfb5e9d0 Reviewed-on: https://chromium-review.googlesource.com/820618Reviewed-by:ccameron <ccameron@chromium.org> Reviewed-by:
David Reveman <reveman@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/master@{#523580}
Showing
Please register or sign in to comment