Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: include/gpu/gl/angle/SkANGLEGLContext.h

Issue 1733323002: Clean up EGL thread state at thread exit in nanobench and DM (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix main thread usage also Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/gl/SkGLContext.h ('k') | include/gpu/gl/command_buffer/SkCommandBufferGLContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/gl/angle/SkANGLEGLContext.h
diff --git a/include/gpu/gl/angle/SkANGLEGLContext.h b/include/gpu/gl/angle/SkANGLEGLContext.h
index ea5e877ca27e8b3bae4565bcd38e111e3f2cc9f3..84d75a47126e845e216709891f4061eb7b58bab0 100644
--- a/include/gpu/gl/angle/SkANGLEGLContext.h
+++ b/include/gpu/gl/angle/SkANGLEGLContext.h
@@ -42,6 +42,7 @@ public:
// The param is an EGLNativeDisplayType and the return is an EGLDispay.
static void* GetD3DEGLDisplay(void* nativeDisplay, bool useGLBackend);
+ static void ReleaseGpuAPIsInThread();
private:
SkANGLEGLContext(bool preferGLBackend);
void destroyGLContext();
« no previous file with comments | « include/gpu/gl/SkGLContext.h ('k') | include/gpu/gl/command_buffer/SkCommandBufferGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698