Index: gpu/gles2_conform_support/egl/test_support.h |
diff --git a/gpu/gles2_conform_support/egl/test_support.h b/gpu/gles2_conform_support/egl/test_support.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b1a70885bdcd7c58e0a3dbee3d58e022dd8ff421 |
--- /dev/null |
+++ b/gpu/gles2_conform_support/egl/test_support.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef GPU_GLES2_CONFORM_SUPPORT_EGL_TEST_SUPPORT_H_ |
+#define GPU_GLES2_CONFORM_SUPPORT_EGL_TEST_SUPPORT_H_ |
+ |
+#if defined(COMPONENT_BUILD) && defined(COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY) |
+// A variable used for communicating whether the app has initialized the global |
+// variables. |
+// On component build, the dynamic library and the Chromium test |
+// runner executable refer to the same global variables. Any non-Chromium client |
+// of the dynamic library will not initialize the globabl variables. |
+// On non-component (static) build, the library and the runner have distinct |
+// global variables. |
+EGLAPI extern EGLAPIENTRY bool g_command_buffer_gles_has_atexit_manager; |
+#endif |
+ |
+#endif |