/external/chromium_org/media/tools/player_x11/ |
player_x11.cc | 42 static Display* g_display = NULL; variable 59 g_display = XOpenDisplay(NULL); 60 if (!g_display) { 66 int screen = DefaultScreen(g_display); 67 int root_window = RootWindow(g_display, screen); 70 g_window = XCreateSimpleWindow(g_display, root_window, 1, 1, 100, 50, 0, 71 BlackPixel(g_display, screen), 72 BlackPixel(g_display, screen)); 73 XStoreName(g_display, g_window, "X11 Media Player"); 75 XSelectInput(g_display, g_window [all...] |
/external/chromium_org/ui/gl/ |
gl_surface_glx.cc | 42 Display* g_display; member in namespace:gfx::__anon16789 70 return glXGetSyncValuesOML(g_display, window_, system_time, 78 if (!glXGetMscRateOML(g_display, window_, numerator, denominator)) { 135 XSync(g_display, False); 318 g_display = base::MessagePumpForUI::GetDefaultXDisplay(); 319 if (!g_display) { 325 if (!glXQueryVersion(g_display, &major, &minor)) { 335 g_glx_extensions = glXQueryExtensionsString(g_display, 0); 386 return g_display; 398 if (!XGetWindowAttributes(g_display, window_, &attributes)) [all...] |
gl_surface_wgl.cc | 144 DisplayWGL* g_display; member in namespace:gfx::__anon16790 162 DCHECK(g_display == NULL); 186 g_display = wgl_display.release(); 192 return g_display->device_context(); 219 reinterpret_cast<wchar_t*>(g_display->window_class()), 244 g_display->pixel_format(), 318 pbuffer_ = wglCreatePbufferARB(g_display->device_context(), 319 g_display->pixel_format(),
|
gl_surface_egl.cc | 51 EGLDisplay g_display; member in namespace:gfx::__anon16788 74 g_display, surface_, &u_system_time, 117 g_display = eglGetDisplay(g_native_display); 118 if (!g_display) { 123 if (!eglInitialize(g_display, NULL, NULL)) { 142 if (!eglChooseConfig(g_display, 157 if (!eglChooseConfig(g_display, 167 g_egl_extensions = eglQueryString(g_display, EGL_EXTENSIONS); 179 return g_display; 183 return g_display; [all...] |