diff options
author | John Reck <jreck@google.com> | 2018-04-23 08:15:03 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2018-04-26 13:46:12 -0700 |
commit | 1e51071240e0333b1a6cf3dd77d22e45c8677669 (patch) | |
tree | 600cecbf07d5048878d9503a62a47670d0af180e /libs/hwui/renderthread/RenderThread.h | |
parent | 4afbedf988425e25b74e3d246cbefaff9e10c1bb (diff) |
Remove RenderThread from EglManager
Refactor to make EglManager re-usable.
Test: hwuiunit passes, hwuimacro works
Change-Id: Ie8e9398c703fada1dc5d8baca5f42485eadea202
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.h')
-rw-r--r-- | libs/hwui/renderthread/RenderThread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderThread.h b/libs/hwui/renderthread/RenderThread.h index 689f518bad1b..4a1fd9ee3d47 100644 --- a/libs/hwui/renderthread/RenderThread.h +++ b/libs/hwui/renderthread/RenderThread.h @@ -103,6 +103,9 @@ public: sk_sp<Bitmap> allocateHardwareBitmap(SkBitmap& skBitmap); void dumpGraphicsMemory(int fd); + void requireGlContext(); + void destroyGlContext(); + /** * isCurrent provides a way to query, if the caller is running on * the render thread. |