Home
last modified time | relevance | path

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

12

/external/webrtc/test/linux/
Dglx_renderer.cc22 : width_(width), height_(height), display_(NULL), context_(NULL) { in GlxRenderer()
32 if ((display_ = XOpenDisplay(NULL)) == NULL) { in Init()
37 int screen = DefaultScreen(display_); in Init()
45 if ((vi = glXChooseVisual(display_, screen, attr_list)) == NULL) { in Init()
50 context_ = glXCreateContext(display_, vi, 0, true); in Init()
58 display_, RootWindow(display_, vi->screen), vi->visual, AllocNone); in Init()
61 window_ = XCreateWindow(display_, RootWindow(display_, vi->screen), 0, 0, in Init()
67 XSetStandardProperties(display_, window_, window_title, window_title, None, in Init()
70 Atom wm_delete = XInternAtom(display_, "WM_DELETE_WINDOW", True); in Init()
72 XSetWMProtocols(display_, window_, &wm_delete, 1); in Init()
[all …]
Dglx_renderer.h43 Display* display_; variable
/external/webrtc/modules/desktop_capture/
Dscreen_drawer_linux.cc50 rtc::scoped_refptr<SharedXDisplay> display_; member in webrtc::__anon02102c390111::ScreenDrawerLinux
59 display_ = SharedXDisplay::CreateDefault(); in ScreenDrawerLinux()
60 RTC_CHECK(display_.get()); in ScreenDrawerLinux()
61 screen_num_ = DefaultScreen(display_->display()); in ScreenDrawerLinux()
63 if (!XGetWindowAttributes(display_->display(), in ScreenDrawerLinux()
64 RootWindow(display_->display(), screen_num_), in ScreenDrawerLinux()
69 display_->display(), RootWindow(display_->display(), screen_num_), 0, 0, in ScreenDrawerLinux()
71 BlackPixel(display_->display(), screen_num_), in ScreenDrawerLinux()
72 BlackPixel(display_->display(), screen_num_)); in ScreenDrawerLinux()
73 XSelectInput(display_->display(), window_, StructureNotifyMask); in ScreenDrawerLinux()
[all …]
/external/webrtc/modules/desktop_capture/linux/
Dx_server_pixel_buffer.cc160 XFreePixmap(display_, shm_pixmap_); in Release()
164 XFreeGC(display_, shm_gc_); in Release()
186 display_ = cache->display(); in Init()
189 if (!GetWindowRect(display_, window, &window_rect_, &attributes)) { in Init()
218 if (!XShmQueryVersion(display_, &major, &minor, &have_pixmaps)) { in InitShm()
228 x_shm_image_ = XShmCreateImage(display_, default_visual, default_depth, in InitShm()
241 XErrorTrap error_trap(display_); in InitShm()
242 using_shm = XShmAttach(display_, shm_segment_info_); in InitShm()
243 XSync(display_, False); in InitShm()
276 if (XShmPixmapFormat(display_) != ZPixmap) in InitPixmaps()
[all …]
Dx_atom_cache.cc17 XAtomCache::XAtomCache(::Display* display) : display_(display) { in XAtomCache()
18 RTC_DCHECK(display_); in XAtomCache()
24 return display_; in display()
Dshared_x_display.cc22 SharedXDisplay::SharedXDisplay(Display* display) : display_(display) { in SharedXDisplay()
23 RTC_DCHECK(display_); in SharedXDisplay()
28 XCloseDisplay(display_); in ~SharedXDisplay()
Dshared_x_display.h53 Display* display() { return display_; } in display()
71 Display* display_; variable
Dx_atom_cache.h36 ::Display* const display_;
/external/drm_hwcomposer/compositor/
DDrmDisplayCompositor.cpp69 display_(-1), in DrmDisplayCompositor()
93 DrmDevice *drm = resource_manager_->GetDrmDevice(display_); in ~DrmDisplayCompositor()
110 display_ = display; in Init()
123 vsync_worker_.Init(drm, display_); in Init()
138 DrmDevice *drm = resource_manager_->GetDrmDevice(display_); in CreateInitializedComposition()
139 DrmCrtc *crtc = drm->GetCrtcForDisplay(display_); in CreateInitializedComposition()
141 ALOGE("Failed to find crtc for display = %d", display_); in CreateInitializedComposition()
145 std::shared_ptr<Importer> importer = resource_manager_->GetImporter(display_); in CreateInitializedComposition()
147 ALOGE("Failed to find resources for display = %d", display_); in CreateInitializedComposition()
152 ALOGE("Failed to init composition for display = %d", display_); in CreateInitializedComposition()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Degl_sync.cc73 display_ = sync.display_; in operator =()
84 if (IsEglFenceSyncSupported(display_).ok() && egl_destroy_sync_khr) { in Invalidate()
87 (*egl_destroy_sync_khr)(display_, sync_); in Invalidate()
94 RETURN_IF_ERROR(IsEglWaitSyncSupported(display_)); in ServerWait()
103 TFLITE_GPU_CALL_EGL(*egl_wait_sync_khr, &result, display_, sync_, 0)); in ServerWait()
109 RETURN_IF_ERROR(IsEglFenceSyncSupported(display_)); in ClientWait()
120 TFLITE_GPU_CALL_EGL(*egl_client_wait_sync_khr, &result, display_, sync_, in ClientWait()
Degl_sync.h42 : display_(display), sync_(sync) {} in EglSync()
60 EGLDisplay display() const { return display_; } in display()
71 EGLDisplay display_; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Degl_environment.cc74 display_ = eglGetCurrentDisplay(); in Init()
76 EglContext(eglGetCurrentContext(), display_, EGL_NO_CONFIG_KHR, false); in Init()
78 RETURN_IF_ERROR(InitDisplay(&display_)); in Init()
101 RETURN_IF_ERROR(CreateConfiglessContext(display_, EGL_NO_CONTEXT, &context_)); in InitConfiglessContext()
107 CreateSurfacelessContext(display_, EGL_NO_CONTEXT, &context_)); in InitSurfacelessContext()
121 RETURN_IF_ERROR(CreatePBufferContext(display_, EGL_NO_CONTEXT, &context_)); in InitPBufferContext()
122 RETURN_IF_ERROR(CreatePbufferRGBSurface(context_.config(), display_, 1, 1, in InitPBufferContext()
124 RETURN_IF_ERROR(CreatePbufferRGBSurface(context_.config(), display_, 1, 1, in InitPBufferContext()
Degl_surface.cc27 : surface_(other.surface_), display_(other.display_) { in EglSurface()
33 display_ = other.display_; in operator =()
42 eglDestroySurface(display_, surface_); in Invalidate()
Degl_context.cc67 eglMakeCurrent(display_, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in Invalidate()
68 eglDestroyContext(display_, context_); in Invalidate()
77 display_(other.display_), in EglContext()
89 display_ = other.display_; in operator =()
97 bool is_made_current = eglMakeCurrent(display_, write, read, context_); in MakeCurrent()
Degl_context.h37 display_(EGL_NO_DISPLAY), in EglContext()
44 display_(display), in EglContext()
58 EGLDisplay display() const { return display_; } in display()
81 EGLDisplay display_; variable
Degl_surface.h36 EglSurface() : surface_(EGL_NO_SURFACE), display_(EGL_NO_DISPLAY) {} in EglSurface()
39 : surface_(surface), display_(display) {} in EglSurface()
55 EGLDisplay display_; variable
Degl_environment.h46 EGLDisplay display() const { return display_; } in display()
55 EGLDisplay display_ = EGL_NO_DISPLAY; variable
/external/drm_hwcomposer/drm/
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.cpp32 display_(-1), in VSyncWorker()
42 display_ = display; in Init()
98 DrmConnector *conn = drm_->GetConnectorForDisplay(display_); in SyntheticWaitVBlank()
132 int display = display_; in Routine()
DDrmConnector.cpp41 display_(-1), in DrmConnector()
114 return display_; in display()
118 display_ = display; in set_display()
DDrmCrtc.h55 int display_; variable
DDrmEncoder.h53 int display_; variable
DVSyncWorker.h65 int display_; variable
/external/deqp/framework/egl/
DegluCallLogWrapper.cpp193 EGLDisplayFmt (eglw::EGLDisplay display_) : display(display_) {} in EGLDisplayFmt() argument

12