/external/chromium_org/third_party/webrtc/test/linux/ |
H A D | glx_renderer.cc | 26 display_(NULL), 35 if ((display_ = XOpenDisplay(NULL)) == NULL) { 40 int screen = DefaultScreen(display_); 47 if ((vi = glXChooseVisual(display_, screen, attr_list)) == NULL) { 52 context_ = glXCreateContext(display_, vi, 0, true); 60 display_, RootWindow(display_, vi->screen), vi->visual, AllocNone); 63 window_ = XCreateWindow(display_, RootWindow(display_, vi->screen), 0, 0, 69 XSetStandardProperties(display_, window [all...] |
/external/chromium_org/media/cast/test/ |
H A D | linux_output_window.cc | 25 if (display_ && window_) { 26 XUnmapWindow(display_, window_); 27 XDestroyWindow(display_, window_); 28 XSync(display_, false); 30 XFreeGC(display_, gc_); 31 XCloseDisplay(display_); 40 display_ = XOpenDisplay(NULL); 41 if (display_ == NULL) { 47 int screen = DefaultScreen(display_); 52 if (XMatchVisualInfo(display_, scree [all...] |
/external/chromium_org/ui/gl/ |
H A D | gl_fence_egl.cc | 13 display_ = eglGetCurrentDisplay(); 14 sync_ = eglCreateSyncKHR(display_, EGL_SYNC_FENCE_KHR, NULL); 25 if (eglGetSyncAttribKHR(display_, sync_, EGL_SYNC_STATUS_KHR, &value) != 38 eglClientWaitSyncKHR(display_, sync_, flags, time); 51 eglWaitSyncKHR(display_, sync_, flags); 58 eglDestroySyncKHR(display_, sync_);
|
H A D | gl_context_egl.cc | 30 display_(NULL), 51 display_ = compatible_surface->GetDisplay(); 66 display_, 82 if (!eglDestroyContext(display_, context_)) { 106 if (!eglMakeCurrent(display_, 144 eglMakeCurrent(display_, 177 if (!eglSwapInterval(display_, interval)) { 184 const char* extensions = eglQueryString(display_,
|
H A D | gl_context_glx.cc | 24 display_(NULL) { 28 return display_; 33 display_ = static_cast<XDisplay*>(compatible_surface->GetDisplay()); 48 display_, 61 display_, 79 << (glXIsDirect(display_, 89 glXDestroyContext(display_, 103 display_, 136 if (!glXMakeContextCurrent(display_, 0, 0, 0)) 171 display_, [all...] |
/external/chromium_org/remoting/host/ |
H A D | clipboard_x11.cc | 48 Display* display_; member in class:remoting::ClipboardX11 50 // Watcher used to handle X11 events from |display_|. 57 : display_(NULL) { 67 display_ = XOpenDisplay(NULL); 68 if (!display_) { 74 x_server_clipboard_.Init(display_, 79 ConnectionNumber(display_), 96 if (display_) { 97 XCloseDisplay(display_); 98 display_ [all...] |
H A D | desktop_resizer_linux.cc | 150 Display* display_; member in class:remoting::DesktopResizerLinux 160 : display_(XOpenDisplay(NULL)), 161 screen_(DefaultScreen(display_)), 162 root_(RootWindow(display_, screen_)), 165 XRRSelectInput(display_, root_, RRScreenChangeNotifyMask); 169 XCloseDisplay(display_); 188 while (XEventsQueued(display_, QueuedAlready)) { 190 XNextEvent(display_, &event); 196 DisplayWidth(display_, DefaultScreen(display_)), [all...] |
/external/chromium_org/content/browser/compositor/ |
H A D | software_output_device_x11.cc | 21 : compositor_(compositor), display_(gfx::GetXDisplay()), gc_(NULL) { 25 gc_ = XCreateGC(display_, compositor_->widget(), 0, NULL); 26 if (!XGetWindowAttributes(display_, compositor_->widget(), &attributes_)) { 36 XFreeGC(display_, gc_); 54 int bpp = gfx::BitsPerPixelForPixmapDepth(display_, attributes_.depth); 56 if (bpp != 32 && bpp != 16 && ui::QueryRenderSupport(display_)) { 60 display_, compositor_->widget(), rect.width(), rect.height(), 32); 61 GC gc = XCreateGC(display_, pixmap, 0, NULL); 82 XPutImage(display_, 92 XFreeGC(display_, g [all...] |
H A D | onscreen_display_client.cc | 21 display_( 47 if (pending_frames_ >= display_->GetMaxFramesPending()) { 66 display_->Draw(); 75 if ((pending_frames_ < display_->GetMaxFramesPending()) && deferred_draw_) {
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | x11windowpicker.cc | 85 : display_(display), original_error_handler_(NULL) { 102 XFlush(display_); 103 XSync(display_, False); 108 XFlush(display_); 109 XSync(display_, False); 118 Display* display_; member in class:rtc::XErrorSuppressor 129 : display_(NULL), 135 if (display_ != NULL) { 136 XCloseDisplay(display_); 141 if (display_ ! 719 Display* display_; member in class:rtc::XWindowEnumerator [all...] |
/external/chromium_org/mojo/aura/ |
H A D | screen_mojo.cc | 44 return std::vector<gfx::Display>(1, display_); 49 return display_; 53 return display_; 57 return display_; 61 return display_; 72 display_.set_id(synthesized_display_id++); 73 display_.SetScaleAndBounds(1.0f, screen_bounds);
|
/external/chromium_org/ui/aura/test/ |
H A D | test_screen.cc | 46 host_ = WindowTreeHost::Create(gfx::Rect(display_.GetSizeInPixel())); 53 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()); 54 display_.SetScaleAndBounds(device_scale_factor, bounds_in_pixel); 59 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()); 61 if (IsRotationPortrait(rotation) != IsRotationPortrait(display_.rotation())) { 65 display_.set_rotation(rotation); 66 display_.SetScaleAndBounds(display_.device_scale_factor(), new_bounds); 72 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()); 75 display_ [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | test_popup_controller_common.cc | 16 return display_;
|
H A D | test_popup_controller_common.h | 19 void set_display(const gfx::Display& display) { display_ = display; } 22 // Returns |display_| 27 gfx::Display display_; member in class:autofill::TestPopupControllerCommon
|
/external/chromium_org/mojo/services/surfaces/ |
H A D | surfaces_service_application.cc | 16 : next_id_namespace_(1u), display_(NULL), draw_timer_(false, false) { 36 if (!draw_timer_.IsRunning() && display_) { 40 base::Unretained(display_))); 45 display_ = display;
|
/external/chromium_org/remoting/host/linux/ |
H A D | x11_util.cc | 48 : display_(display) { 49 XGrabServer(display_); 53 XUngrabServer(display_); 54 XFlush(display_);
|
H A D | x_server_clipboard_unittest.cc | 22 ClipboardTestClient() : display_(NULL) {} 26 display_ = display; 46 while (XPending(display_)) { 48 XNextEvent(display_, &event); 56 Display* display() const { return display_; } 61 Display* display_; member in class:remoting::__anon10440::ClipboardTestClient
|
/external/chromium_org/media/tools/player_x11/ |
H A D | x11_video_renderer.cc | 72 : display_(display), 83 XRenderFreePicture(display_, picture_); 99 image_ = CreateImage(display_, coded_width, coded_height); 146 unsigned long pixmap = XCreatePixmap(display_, window_, 149 GC gc = XCreateGC(display_, pixmap, 0, NULL); 150 XPutImage(display_, pixmap, gc, &image, 155 XFreeGC(display_, gc); 159 display_, pixmap, GetRenderARGB32Format(display_), 0, NULL); 162 XRenderComposite(display_, PictOpSr [all...] |
/external/chromium_org/gpu/tools/compositor_model_bench/ |
H A D | compositor_model_bench.cc | 65 display_(NULL), 74 glXMakeCurrent(display_, 0, NULL); 75 glXDestroyContext(display_, gl_context_); 78 XDestroyWindow(display_, window_); 79 XCloseDisplay(display_); 130 while (XPending(display_)) { 132 XNextEvent(display_, &e); 155 display_ = XOpenDisplay(NULL); 156 if (!display_) { 162 int screen = DefaultScreen(display_); 348 Display* display_; member in class:Simulator [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/ |
H A D | x_server_pixel_buffer.cc | 63 : display_(NULL), window_(0), 78 XFreePixmap(display_, shm_pixmap_); 82 XFreeGC(display_, shm_gc_); 98 display_ = display; 102 XErrorTrap error_trap(display_); 103 if (!XGetWindowAttributes(display_, window, &attributes) || 122 if (!XShmQueryVersion(display_, &major, &minor, &have_pixmaps)) { 132 x_image_ = XShmCreateImage(display_, default_visual, default_depth, ZPixmap, 143 XErrorTrap error_trap(display_); 144 using_shm = XShmAttach(display_, shm_segment_info [all...] |
/external/chromium_org/tools/xdisplaycheck/ |
H A D | xdisplaycheck.cc | 39 XScopedDisplay() : display_(NULL) {} 41 if (display_) XCloseDisplay(display_); 44 void set(Display* display) { display_ = display; } 45 Display* display() { return display_; } 48 Display* display_; member in class:XScopedDisplay
|
/external/chromium_org/ui/events/platform/x11/ |
H A D | x11_event_source.cc | 85 : display_(display), 87 CHECK(display_); 91 InitializeXInput2(display_); 92 InitializeXkb(display_); 110 DCHECK(display_); 115 while (XPending(display_) && continue_stream_) { 117 XNextEvent(display_, &xevent); 127 XWindowEvent(display_, window, StructureNotifyMask, &event);
|
H A D | x11_event_source.h | 47 XDisplay* display() { return display_; } 55 XDisplay* display_; member in class:ui::X11EventSource
|
/external/chromium_org/ui/display/chromeos/x11/ |
H A D | native_display_delegate_x11.cc | 108 : display_(gfx::GetXDisplay()), 109 window_(DefaultRootWindow(display_)), 125 XRRQueryExtension(display_, &xrandr_event_base, &error_base_ignored); 139 XGrabServer(display_); 140 screen_ = XRRGetScreenResources(display_, window_); 148 XUngrabServer(display_); 150 XFlush(display_); 153 void NativeDisplayDelegateX11::SyncWithServer() { XSync(display_, 0); } 160 CHECK(DPMSEnable(display_)); 161 CHECK(DPMSForceLevel(display_, DPMSModeO [all...] |
/external/chromium_org/ui/ozone/platform/caca/ |
H A D | caca_window.cc | 48 if (display_) 57 display_.reset(caca_create_display(canvas_.get())); 58 if (!display_) { 63 caca_set_cursor(display_.get(), 1); 64 caca_set_display_title(display_.get(), "Ozone Content Shell"); 90 bitmap_size_.SetSize(caca_get_display_width(display_.get()), 91 caca_get_display_height(display_.get()));
|