OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef GPU_GLES2_CONFORM_SUPPORT_EGL_TEST_SUPPORT_H_ |
| 6 #define GPU_GLES2_CONFORM_SUPPORT_EGL_TEST_SUPPORT_H_ |
| 7 |
| 8 #if defined(COMPONENT_BUILD) && defined(COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY) |
| 9 // A variable used for communicating whether the app has initialized the global |
| 10 // variables. |
| 11 // On component build, the dynamic library and the Chromium test |
| 12 // runner executable refer to the same global variables. Any non-Chromium client |
| 13 // of the dynamic library will not initialize the globabl variables. |
| 14 // On non-component (static) build, the library and the runner have distinct |
| 15 // global variables. |
| 16 EGLAPI extern EGLAPIENTRY bool g_command_buffer_gles_has_atexit_manager; |
| 17 #endif |
| 18 |
| 19 #endif |
OLD | NEW |