/external/chromium_org/ui/ozone/platform/egltest/ |
eglplatform_shim_xeleven.cc | 16 Display* g_display; variable 36 g_display = XOpenDisplay(NULL); 37 return g_display != NULL; 41 XCloseDisplay(g_display); 50 Window window = XCreateWindow(g_display, 51 DefaultRootWindow(g_display), 63 XMapWindow(g_display, window); 64 XStoreName(g_display, window, "EGL test"); 65 XFlush(g_display); 74 XGetWindowAttributes(g_display, window_id, &window_attributes) [all...] |
/hardware/intel/common/libva/test/common/ |
va_display_wayland.c | 45 static struct display *g_display; variable in typeref:struct:display 75 if (g_display) { 76 d = g_display; 97 g_display = d; 105 struct display * const d = g_display; 134 free(g_display); 135 g_display = NULL; 141 struct display * const d = g_display; 166 struct display * const d = g_display;
|
/external/chromium_org/ui/gl/ |
gl_surface_glx.cc | 45 Display* g_display = NULL; member in namespace:gfx::__anon21556 86 return glXGetSyncValuesOML(g_display, window_, system_time, 94 if (!glXGetMscRateOML(g_display, window_, numerator, denominator)) { 151 XSync(g_display, False); 343 g_display = gfx::GetXDisplay(); 345 if (!g_display) { 351 if (!glXQueryVersion(g_display, &major, &minor)) { 361 g_glx_extensions = glXQueryExtensionsString(g_display, 0); 412 return g_display; 429 if (!XGetWindowAttributes(g_display, parent_window_, &attributes)) [all...] |
gl_surface_wgl.cc | 145 DisplayWGL* g_display; member in namespace:gfx::__anon21559 163 DCHECK(g_display == NULL); 168 g_display = wgl_display.release(); 174 return g_display->device_context(); 201 reinterpret_cast<wchar_t*>(g_display->window_class()), 226 g_display->pixel_format(), 308 pbuffer_ = wglCreatePbufferARB(g_display->device_context(), 309 g_display->pixel_format(),
|
gl_surface_egl.cc | 60 EGLDisplay g_display; member in namespace:gfx::__anon21555 85 g_display, surface_, &u_system_time, 117 g_display = GetPlatformDisplay(g_native_display); 119 g_display = eglGetDisplay(g_native_display); 122 if (!g_display) { 127 if (!eglInitialize(g_display, NULL, NULL)) { 154 if (!eglChooseConfig(g_display, 169 if (!eglChooseConfig(g_display, 179 g_egl_extensions = eglQueryString(g_display, EGL_EXTENSIONS); 222 return g_display; [all...] |
/external/chromium_org/media/tools/player_x11/ |
player_x11.cc | 47 static Display* g_display = NULL; variable 64 g_display = XOpenDisplay(NULL); 65 if (!g_display) { 71 int screen = DefaultScreen(g_display); 72 int root_window = RootWindow(g_display, screen); 75 g_window = XCreateSimpleWindow(g_display, root_window, 1, 1, 100, 50, 0, 76 BlackPixel(g_display, screen), 77 BlackPixel(g_display, screen)); 78 XStoreName(g_display, g_window, "X11 Media Player"); 80 XSelectInput(g_display, g_window [all...] |