Always use source texture in EGL SharedImage.
On some Mali gpus glTexSubImage fails for egl siblings with R8 format. Before we experienced that on NVidia gpu we get memory corruption after deleting source texture. This CL modifies NVidia workaround to not only keep source texture alive but also use it if we're on the same context and enables it on all Android devices to be closer to MailboxManagerSync behavior be had before threaded shared images. Bug: 1117370 Change-Id: Ia93badb27bbb23146ec348598821f66ad9b9f15d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2390861Reviewed-by:Peng Huang <penghuang@chromium.org> Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#803936}
Showing
Please register or sign in to comment