commit | f4ee8074eceb400e1d1bbe88d0213cb2405881ae | [log] [tgz] |
---|---|---|
author | Gurchetan Singh <[email protected]> | Mon Aug 08 10:28:51 2022 -0700 |
committer | Gurchetan Singh <[email protected]> | Tue Aug 09 12:06:43 2022 -0700 |
tree | 06f2310465f46b389738c666844f1a4755e494b7 | |
parent | e8ea9e139f22a64d5274a39dee911c6e4657124c [diff] |
goldfish-opengl: threadID --> resourceId The virtgpu resource ID is guranteed to be an system wide unique identifier. Since all ASG ring buffers are backed by host coherent memory, it makes to identify the ring based on the resource ID. We can also use gettid(..) as well, but since we need to tie the lifetime of the ASG external blob to the virtgpu resource, resource ID along does the trick. BUG=235485545 TEST=compile Change-Id: I1b3c417358abd499186ba374935d79756648602b