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

Unified Diff: gpu/gles2_conform_support/egl/display.h

Issue 1220883008: Add command_buffer_gles2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed another comment Created 5 years, 3 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
Index: gpu/gles2_conform_support/egl/display.h
diff --git a/gpu/gles2_conform_support/egl/display.h b/gpu/gles2_conform_support/egl/display.h
index adf39490f734c00f2b4ba35112fbe3434d4c9b94..ee3a2a8418fd63bb813d9e91abc107652c64a9af 100644
--- a/gpu/gles2_conform_support/egl/display.h
+++ b/gpu/gles2_conform_support/egl/display.h
@@ -30,6 +30,10 @@ class GLES2Implementation;
} // namespace gles2
} // namespace gpu
+namespace base {
+class AtExitManager;
+} // namespace base
+
namespace egl {
class Config;
@@ -99,6 +103,14 @@ class Display : private gpu::GpuControl {
EGLNativeDisplayType display_id_;
bool is_initialized_;
+
+// elg::Display is used for comformance tests and command_buffer_gles. We only
+// need the exit manager for the command_buffer_gles library.
+// TODO(hendrikw): Find a cleaner solution for this.
+#if defined(COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY)
+ scoped_ptr<base::AtExitManager> exit_manager_;
+#endif // COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY
+
bool create_offscreen_;
int create_offscreen_width_;
int create_offscreen_height_;
« gpu/BUILD.gn ('K') | « gpu/BUILD.gn ('k') | gpu/gles2_conform_support/egl/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698