Fix a crash in ExternalVkImageBacking
The crash is because UseSeparateGLTexture() accessing the current GL context, however there could not have a GL context current, then the crash happens. Fix the problem by using GLContext in the SharedContextState instead of the current GL context. Bug: 1139514 Cq-Include-Trybots: luci.chromium.try:gpu-fyi-try-android-p-pixel-2-skv-32,gpu-fyi-try-linux-intel-skv,gpu-fyi-try-linux-nvidia-skv Change-Id: I874a8a75b43f218f44b307860415d7d8e8f939ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485291 Auto-Submit: Peng Huang <penghuang@chromium.org> Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#818500}
Showing
Please register or sign in to comment