Home
last modified time | relevance | path

Searched refs:display_ (Results 1 – 25 of 31) sorted by relevance

12

/external/webrtc/webrtc/test/linux/
Dglx_renderer.cc26 display_(NULL), in GlxRenderer()
35 if ((display_ = XOpenDisplay(NULL)) == NULL) { in Init()
40 int screen = DefaultScreen(display_); in Init()
47 if ((vi = glXChooseVisual(display_, screen, attr_list)) == NULL) { in Init()
52 context_ = glXCreateContext(display_, vi, 0, true); in Init()
60 display_, RootWindow(display_, vi->screen), vi->visual, AllocNone); in Init()
63 window_ = XCreateWindow(display_, RootWindow(display_, vi->screen), 0, 0, in Init()
69 XSetStandardProperties(display_, window_, window_title, window_title, None, in Init()
72 Atom wm_delete = XInternAtom(display_, "WM_DELETE_WINDOW", True); in Init()
74 XSetWMProtocols(display_, window_, &wm_delete, 1); in Init()
[all …]
Dglx_renderer.h41 Display* display_; variable
/external/webrtc/webrtc/base/
Dx11windowpicker.cc85 : display_(display), original_error_handler_(NULL) { in XErrorSuppressor()
102 XFlush(display_); in SuppressX11Errors()
103 XSync(display_, False); in SuppressX11Errors()
108 XFlush(display_); in UnsuppressX11Errors()
109 XSync(display_, False); in UnsuppressX11Errors()
118 Display* display_; member in rtc::XErrorSuppressor
129 : display_(NULL), in XWindowEnumerator()
135 if (display_ != NULL) { in ~XWindowEnumerator()
136 XCloseDisplay(display_); in ~XWindowEnumerator()
141 if (display_ != NULL) { in Init()
[all …]
Dtestutils.h602 XDisplay() : display_(XOpenDisplay(NULL)) { } in XDisplay()
603 ~XDisplay() { if (display_) XCloseDisplay(display_); } in ~XDisplay()
604 bool IsValid() const { return display_ != NULL; } in IsValid()
605 operator Display*() { return display_; }
607 Display* display_;
/external/autotest/client/deps/glbench/src/
Degl_stuff.cc23 surface_ = eglCreateWindowSurface(display_, config_, native_window, NULL); in Init()
29 eglMakeCurrent(display_, surface_, surface_, context_); in Init()
32 eglQuerySurface(display_, surface_, EGL_WIDTH, &g_width); in Init()
33 eglQuerySurface(display_, surface_, EGL_HEIGHT, &g_height); in Init()
39 eglMakeCurrent(display_, NULL, NULL, NULL); in Cleanup()
41 eglDestroySurface(display_, surface_); in Cleanup()
59 display_ = eglGetDisplay(native_display); in GetXVisual()
62 eglInitialize(display_, NULL, NULL); in GetXVisual()
66 eglGetConfigs(display_, NULL, 0, &num_configs); in GetXVisual()
69 eglChooseConfig(display_, attribs, &config_, 1, &num_configs); in GetXVisual()
[all …]
Dwaffle_stuff.cc113 display_ = waffle_display_connect(NULL); in InitOnce()
126 config_ = waffle_config_choose(display_, configAttribs); in InitOnce()
148 waffle_make_current(display_, surface_, context_); in Init()
162 waffle_make_current(display_, NULL, NULL); in Cleanup()
179 return waffle_make_current(display_, surface_, context); in MakeCurrent()
Degl_stuff.h15 : display_(EGL_NO_DISPLAY), in EGLInterface()
37 const EGLDisplay display() const { return display_; } in display()
42 EGLDisplay display_;
Dwaffle_stuff.h15 : display_(NULL), config_(NULL), surface_(NULL), context_(NULL) {} in WaffleInterface()
31 const struct waffle_display* display() const { return display_; } in display()
38 struct waffle_display* display_; variable
/external/webrtc/webrtc/modules/desktop_capture/x11/
Dx_server_pixel_buffer.cc63 : display_(NULL), window_(0), in XServerPixelBuffer()
78 XFreePixmap(display_, shm_pixmap_); in Release()
82 XFreeGC(display_, shm_gc_); in Release()
98 display_ = display; in Init()
102 XErrorTrap error_trap(display_); in Init()
103 if (!XGetWindowAttributes(display_, window, &attributes) || in Init()
122 if (!XShmQueryVersion(display_, &major, &minor, &have_pixmaps)) { in InitShm()
132 x_image_ = XShmCreateImage(display_, default_visual, default_depth, ZPixmap, in InitShm()
143 XErrorTrap error_trap(display_); in InitShm()
144 using_shm = XShmAttach(display_, shm_segment_info_); in InitShm()
[all …]
Dshared_x_display.cc20 : display_(display) { in SharedXDisplay()
21 assert(display_); in SharedXDisplay()
26 XCloseDisplay(display_); in ~SharedXDisplay()
Dshared_x_display.h57 Display* display() { return display_; } in display()
75 Display* display_; variable
Dx_server_pixel_buffer.h72 Display* display_; variable
/external/drm_hwcomposer/
Ddrmdisplaycompositor.cpp59 display_(-1), in DrmDisplayCompositor()
81 DrmDevice *drm = resource_manager_->GetDrmDevice(display_); in ~DrmDisplayCompositor()
98 display_ = display; in Init()
111 vsync_worker_.Init(drm, display_); in Init()
126 DrmDevice *drm = resource_manager_->GetDrmDevice(display_); in CreateInitializedComposition()
127 DrmCrtc *crtc = drm->GetCrtcForDisplay(display_); in CreateInitializedComposition()
129 ALOGE("Failed to find crtc for display = %d", display_); in CreateInitializedComposition()
133 std::shared_ptr<Importer> importer = resource_manager_->GetImporter(display_); in CreateInitializedComposition()
135 ALOGE("Failed to find resources for display = %d", display_); in CreateInitializedComposition()
140 ALOGE("Failed to init composition for display = %d", display_); in CreateInitializedComposition()
[all …]
Ddrmencoder.cpp30 display_(-1), in DrmEncoder()
52 display_ = crtc->display(); in set_crtc()
56 return display_; in display()
60 return display_ == -1 || display_ == display; in can_bind()
Ddrmcrtc.cpp30 : drm_(drm), id_(c->crtc_id), pipe_(pipe), display_(-1), mode_(&c->mode) { in DrmCrtc()
63 return display_; in display()
67 display_ = display; in set_display()
71 return display_ == -1 || display_ == display; in can_bind()
Dvsyncworker.cpp37 display_(-1), in VSyncWorker()
47 display_ = display; in Init()
95 DrmConnector *conn = drm_->GetConnectorForDisplay(display_); in SyntheticWaitVBlank()
130 int display = display_; in Routine()
Ddrmconnector.cpp36 display_(-1), in DrmConnector()
83 return display_; in display()
87 display_ = display; in set_display()
Ddrmcrtc.h55 int display_; variable
Ddrmencoder.h52 int display_; variable
Dvsyncworker.h62 int display_; variable
Ddrmconnector.h86 int display_; variable
Ddrmdisplaycompositor.h100 int display_; variable
/external/deqp/framework/egl/
DegluCallLogWrapper.cpp193 EGLDisplayFmt (eglw::EGLDisplay display_) : display(display_) {} in EGLDisplayFmt() argument
/external/ImageMagick/Magick++/lib/Magick++/
DOptions.h310 void x11Display(const std::string &display_);
/external/ImageMagick/Magick++/lib/
DOptions.cpp926 void Magick::Options::x11Display(const std::string &display_) in x11Display() argument
928 if (display_.length() == 0) in x11Display()
932 Magick::CloneString(&_imageInfo->server_name,display_); in x11Display()

12