/external/wayland/src/ |
D | wayland-client.c | 60 struct wl_display *display; member 78 struct wl_display *display; member 125 display_wakeup_threads(struct wl_display *display) in display_wakeup_threads() argument 132 ++display->read_serial; in display_wakeup_threads() 134 pthread_cond_broadcast(&display->reader_cond); in display_wakeup_threads() 146 display_fatal_error(struct wl_display *display, int error) in display_fatal_error() argument 148 if (display->last_error) in display_fatal_error() 154 display->last_error = error; in display_fatal_error() 156 display_wakeup_threads(display); in display_fatal_error() 172 display_protocol_error(struct wl_display *display, uint32_t code, in display_protocol_error() argument [all …]
|
D | wayland-server.c | 75 struct wl_display *display; member 107 struct wl_display *display; member 140 struct wl_display *display = resource->client->display; in log_closure() local 147 if (!wl_list_empty(&display->protocol_loggers)) { in log_closure() 154 &display->protocol_loggers, link) { in log_closure() 419 return client->display; in wl_client_get_display() 423 bind_display(struct wl_client *client, struct wl_display *display); 451 wl_client_create(struct wl_display *display, int fd) in wl_client_create() argument 461 client->display = display; in wl_client_create() 462 client->source = wl_event_loop_add_fd(display->loop, fd, in wl_client_create() [all …]
|
/external/wayland/tests/ |
D | queue-test.c | 62 struct wl_display *display; in client_test_proxy_destroy() local 66 display = wl_display_connect(NULL); in client_test_proxy_destroy() 67 assert(display); in client_test_proxy_destroy() 69 registry = wl_display_get_registry(display); in client_test_proxy_destroy() 73 assert(wl_display_roundtrip(display) != -1); in client_test_proxy_destroy() 79 wl_display_disconnect(display); in client_test_proxy_destroy() 83 struct wl_display *display; member 96 wl_display_dispatch_pending(state->display); in sync_callback() 116 state.display = wl_display_connect(NULL); in client_test_multiple_queues() 117 assert(state.display); in client_test_multiple_queues() [all …]
|
D | compositor-introspection-test.c | 49 struct wl_display *display; member 68 client_list = wl_display_get_client_list(compositor->display); in check_client_list() 88 compositor->display = wl_display_create(); in setup_compositor() 89 socket = wl_display_add_socket_auto(compositor->display); in setup_compositor() 92 wl_display_add_client_created_listener(compositor->display, &compositor->listener); in setup_compositor() 101 wl_display_destroy(compositor->display); in cleanup_compositor() 109 struct wl_display *display; in TEST() member 114 client.display = wl_display_connect(socket); in TEST() 116 wl_event_loop_dispatch(wl_display_get_event_loop(compositor.display), 100); in TEST() 124 wl_display_disconnect(client.display); in TEST() [all …]
|
/external/autotest/frontend/client/src/autotest/afe/create/ |
D | CreateJobViewPresenter.java | 150 private Display display; field in CreateJobViewPresenter 153 public void bindDisplay(Display display) { in bindDisplay() argument 154 this.display = display; in bindDisplay() 181 display.getJobName().setText(jobObject.get("name").isString().stringValue()); in cloneJob() 187 display.getImageUrl().setText(image); in cloneJob() 188 display.getFirmwareRWBuild().setEnabled(true); in cloneJob() 189 display.getFirmwareROBuild().setEnabled(true); in cloneJob() 190 display.getTestSourceBuildList().setEnabled(true); in cloneJob() 196 display.getFirmwareRWBuild().setText(firmwareRWBuild); in cloneJob() 202 display.getFirmwareROBuild().setText(firmwareROBuild); in cloneJob() [all …]
|
/external/deqp/framework/egl/ |
D | egluConfigInfo.cpp | 87 void queryCoreConfigInfo (const Library& egl, EGLDisplay display, EGLConfig config, ConfigInfo* dst) in queryCoreConfigInfo() argument 89 egl.getConfigAttrib(display, config, EGL_BUFFER_SIZE, &dst->bufferSize); in queryCoreConfigInfo() 90 egl.getConfigAttrib(display, config, EGL_RED_SIZE, &dst->redSize); in queryCoreConfigInfo() 91 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &dst->greenSize); in queryCoreConfigInfo() 92 egl.getConfigAttrib(display, config, EGL_BLUE_SIZE, &dst->blueSize); in queryCoreConfigInfo() 93 egl.getConfigAttrib(display, config, EGL_LUMINANCE_SIZE, &dst->luminanceSize); in queryCoreConfigInfo() 94 egl.getConfigAttrib(display, config, EGL_ALPHA_SIZE, &dst->alphaSize); in queryCoreConfigInfo() 95 egl.getConfigAttrib(display, config, EGL_ALPHA_MASK_SIZE, &dst->alphaMaskSize); in queryCoreConfigInfo() 96 egl.getConfigAttrib(display, config, EGL_BIND_TO_TEXTURE_RGB, (EGLint*)&dst->bindToTextureRGB); in queryCoreConfigInfo() 97 egl.getConfigAttrib(display, config, EGL_BIND_TO_TEXTURE_RGBA, (EGLint*)&dst->bindToTextureRGBA); in queryCoreConfigInfo() [all …]
|
D | egluUtil.cpp | 61 Version getVersion (const Library& egl, EGLDisplay display) in getVersion() argument 66 EGLU_CHECK_CALL(egl, initialize(display, &major, &minor)); in getVersion() 71 vector<string> getExtensions (const Library& egl, EGLDisplay display) in getExtensions() argument 73 const char* const extensionStr = egl.queryString(display, EGL_EXTENSIONS); in getExtensions() 80 bool hasExtension (const Library& egl, EGLDisplay display, const string& str) in hasExtension() argument 82 const vector<string> extensions = getExtensions(egl, display); in hasExtension() 91 vector<string> getDisplayExtensions (const Library& egl, EGLDisplay display) in getDisplayExtensions() argument 93 DE_ASSERT(display != EGL_NO_DISPLAY); in getDisplayExtensions() 95 return getExtensions(egl, display); in getDisplayExtensions() 98 vector<EGLConfig> getConfigs (const Library& egl, EGLDisplay display) in getConfigs() argument [all …]
|
/external/drm_hwcomposer/ |
D | drmcomposition.cpp | 51 int display = conn->display(); in Init() local 52 composition_map_[display].reset(new DrmDisplayComposition()); in Init() 53 if (!composition_map_[display]) { in Init() 59 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Init() 61 int ret = composition_map_[display]->Init(drm_, crtc, importer_, planner_, in Init() 64 ALOGE("Failed to init display composition for %d", display); in Init() 77 int display = map.display; in SetLayers() local 79 if (!drm_->GetConnectorForDisplay(display)) { in SetLayers() 80 ALOGE("Invalid display given to SetLayers %d", display); in SetLayers() 84 ret = composition_map_[display]->SetLayers( in SetLayers() [all …]
|
/external/ImageMagick/MagickCore/ |
D | display.c | 1659 *display; in DisplayImages() local 1682 display=XOpenDisplay(image_info->server_name); in DisplayImages() 1683 if (display == (Display *) NULL) in DisplayImages() 1692 resource_database=XGetResourceDatabase(display,GetClientName()); in DisplayImages() 1705 (void) XDisplayImage(display,&resource_info,argv,1,&image,&state,exception); in DisplayImages() 1710 (void) XCloseDisplay(display); in DisplayImages() 1751 *display; in RemoteDisplayCommand() local 1760 display=XOpenDisplay(image_info->server_name); in RemoteDisplayCommand() 1761 if (display == (Display *) NULL) in RemoteDisplayCommand() 1768 status=XRemoteCommand(display,window,filename); in RemoteDisplayCommand() [all …]
|
D | widget.c | 225 static void XDrawBevel(Display *display,const XWindowInfo *window_info, in XDrawBevel() argument 260 XSetBevelColor(display,window_info,bevel_info->raised); in XDrawBevel() 261 (void) XFillPolygon(display,window_info->id,window_info->widget_context, in XDrawBevel() 278 XSetBevelColor(display,window_info,!bevel_info->raised); in XDrawBevel() 279 (void) XFillPolygon(display,window_info->id,window_info->widget_context, in XDrawBevel() 281 (void) XSetFillStyle(display,window_info->widget_context,FillSolid); in XDrawBevel() 315 static void XDrawBeveledButton(Display *display,const XWindowInfo *window_info, in XDrawBeveledButton() argument 334 XDrawBevel(display,window_info,button_info); in XDrawBeveledButton() 335 XSetMatteColor(display,window_info,button_info->raised); in XDrawBeveledButton() 336 (void) XFillRectangle(display,window_info->id,window_info->widget_context, in XDrawBeveledButton() [all …]
|
D | animate.c | 287 *display; in AnimateImages() local 304 display=XOpenDisplay(image_info->server_name); in AnimateImages() 305 if (display == (Display *) NULL) in AnimateImages() 314 resource_database=XGetResourceDatabase(display,GetClientName()); in AnimateImages() 321 (void) XAnimateImages(display,&resource_info,argv,1,images,exception); in AnimateImages() 325 (void) XCloseDisplay(display); in AnimateImages() 370 static Image *XMagickCommand(Display *display,XResourceInfo *resource_info, in XMagickCommand() argument 418 XFileBrowserWidget(display,windows,"Animate",filenames); in XMagickCommand() 447 XSetCursorState(display,windows,MagickTrue); in XMagickCommand() 448 XCheckRefreshWindows(display,windows); in XMagickCommand() [all …]
|
D | xwindow.c | 262 if ((windows == (XWindows *) NULL) || (windows->display == (Display *) NULL)) in DestroyXResources() 281 (void) XWithdrawWindow(windows->display,magick_windows[i]->id, in DestroyXResources() 293 (void) XFreeCursor(windows->display,magick_windows[i]->cursor); in DestroyXResources() 298 (void) XFreeCursor(windows->display,magick_windows[i]->busy_cursor); in DestroyXResources() 303 (void) XFreePixmap(windows->display, in DestroyXResources() 309 (void) XFreePixmap(windows->display,magick_windows[i]->shadow_stipple); in DestroyXResources() 319 (void) XFreePixmap(windows->display,magick_windows[i]->pixmap); in DestroyXResources() 324 (void) XDestroyWindow(windows->display,magick_windows[i]->id); in DestroyXResources() 336 (void) XFreePixmap(windows->display, in DestroyXResources() 370 XFreeGC(windows->display,windows->icon_pixel->annotate_context); in DestroyXResources() [all …]
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common_wayland.c | 48 struct wl_display * display; member 72 wsi_wl_display_add_vk_format(struct wsi_wl_display *display, VkFormat format) in wsi_wl_display_add_vk_format() argument 76 u_vector_foreach(f, &display->formats) in wsi_wl_display_add_vk_format() 83 display->wsi_wl->cbs->get_phys_device_format_properties(display->wsi_wl->physical_device, in wsi_wl_display_add_vk_format() 88 f = u_vector_add(&display->formats); in wsi_wl_display_add_vk_format() 146 struct wsi_wl_display *display = data; in drm_handle_format() local 152 wsi_wl_display_add_vk_format(display, VK_FORMAT_R4G4B4A4_UNORM); in drm_handle_format() 155 wsi_wl_display_add_vk_format(display, VK_FORMAT_R5G6B5_UNORM); in drm_handle_format() 159 wsi_wl_display_add_vk_format(display, VK_FORMAT_R5G5B5A1_UNORM); in drm_handle_format() 162 wsi_wl_display_add_vk_format(display, VK_FORMAT_R8G8B8_UNORM); in drm_handle_format() [all …]
|
/external/deqp/modules/egl/ |
D | teglNegativeApiTests.cpp | 170 EGLDisplay display = getDisplay(); in init() 184 expectFalse(eglBindTexImage(display, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 187 expectFalse(eglBindTexImage(display, (EGLSurface)-1, EGL_BACK_BUFFER)); in init() 199 EGLDisplay display = getDisplay(); in init() 207 …eglu::UniqueSurface surface (egl, display, egl.createPbufferSurface(display, config, s_validGeneri… in init() 223 expectFalse(eglCopyBuffers(display, EGL_NO_SURFACE, pixmap->getLegacyNative())); in init() 226 expectFalse(eglCopyBuffers(display, (EGLSurface)-1, pixmap->getLegacyNative())); in init() 253 EGLDisplay display = getDisplay(); in init() 271 …expectFalse(eglChooseConfig(display, s_invalidChooseConfigAttribLists[ndx], &configs[0], DE_LENGTH… in init() 279 …expectFalse(eglChooseConfig(display, s_emptyAttribList, &configs[0], DE_LENGTH_OF_ARRAY(configs), … in init() [all …]
|
D | teglConfigList.cpp | 64 EGLDisplay display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in iterate() local 65 vector<EGLConfig> configs = eglu::getConfigs(egl, display); in iterate() 81 egl.getConfigAttrib(display, configs[i], EGL_BUFFER_SIZE, &val); in iterate() 84 egl.getConfigAttrib(display, configs[i], EGL_RED_SIZE, &val); in iterate() 87 egl.getConfigAttrib(display, configs[i], EGL_GREEN_SIZE, &val); in iterate() 90 egl.getConfigAttrib(display, configs[i], EGL_BLUE_SIZE, &val); in iterate() 93 egl.getConfigAttrib(display, configs[i], EGL_LUMINANCE_SIZE, &val); in iterate() 96 egl.getConfigAttrib(display, configs[i], EGL_ALPHA_SIZE, &val); in iterate() 99 egl.getConfigAttrib(display, configs[i], EGL_ALPHA_MASK_SIZE, &val); in iterate() 102 egl.getConfigAttrib(display, configs[i], EGL_BIND_TO_TEXTURE_RGB, &val); in iterate() [all …]
|
D | teglQuerySurfaceTests.cpp | 64 static void logSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, EGLSur… in logSurfaceAttributes() argument 67 …logSurfaceAttribute(log, attributes[ndx], eglu::querySurfaceInt(egl, display, surface, attributes[… in logSurfaceAttributes() 70 static void logCommonSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display, … in logCommonSurfaceAttributes() argument 87 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); in logCommonSurfaceAttributes() 90 static void logPbufferSurfaceAttributes (tcu::TestLog& log, const Library& egl, EGLDisplay display,… in logPbufferSurfaceAttributes() argument 101 logSurfaceAttributes(log, egl, display, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); in logPbufferSurfaceAttributes() 109 void checkCommonAttributes (EGLDisplay display, EGLSurface surface, const ConfigInfo& info); 110 void checkNonPbufferAttributes (EGLDisplay display, EGLSurface surface); 118 void QuerySurfaceCase::checkCommonAttributes (EGLDisplay display, EGLSurface surface, const ConfigI… in checkCommonAttributes() argument 127 const EGLint id = eglu::querySurfaceInt(egl, display, surface, EGL_CONFIG_ID); in checkCommonAttributes() [all …]
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
D | test_context.c | 40 Display *display; in main() local 47 display = XOpenDisplay(NULL); in main() 51 display, in main() 63 XCloseDisplay(display); in main() 70 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); in main() 71 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main() 76 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, NULL) == … in main() 79 …assert(XvMCCreateContext(display, -1, surface_type_id, width, height, XVMC_DIRECT, &context) == Xv… in main() 81 assert(XvMCCreateContext(display, port_num, -1, width, height, XVMC_DIRECT, &context) == BadMatch); in main() 83 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, -1, &context) == BadVa… in main() [all …]
|
D | test_blocks.c | 41 Display *display; in main() local 51 display = XOpenDisplay(NULL); in main() 55 display, in main() 67 XCloseDisplay(display); in main() 74 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); in main() 75 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main() 78 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context)… in main() 79 assert(XvMCCreateSurface(display, &context, &surface) == Success); in main() 82 assert(XvMCCreateBlocks(display, NULL, 1, &blocks) == XvMCBadContext); in main() 84 assert(XvMCCreateBlocks(display, &context, 0, &blocks) == BadValue); in main() [all …]
|
D | test_rendering.c | 138 Display *display; in main() local 156 display = XOpenDisplay(NULL); in main() 160 display, in main() 172 XCloseDisplay(display); in main() 179 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); in main() 180 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main() 183 root = XDefaultRootWindow(display); in main() 184 window = XCreateSimpleWindow(display, root, 0, 0, output_width, output_height, 0, 0, colorkey); in main() 186 …assert(XvMCCreateContext(display, port_num, surface_type_id, INPUT_WIDTH, INPUT_HEIGHT, XVMC_DIREC… in main() 187 assert(XvMCCreateSurface(display, &context, &surface) == Success); in main() [all …]
|
D | test_surface.c | 40 Display *display; in main() local 48 display = XOpenDisplay(NULL); in main() 52 display, in main() 64 XCloseDisplay(display); in main() 71 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); in main() 72 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main() 75 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context)… in main() 78 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext); in main() 80 assert(XvMCCreateSurface(display, &context, NULL) == XvMCBadSurface); in main() 82 assert(XvMCCreateSurface(display, &context, &surface) == Success); in main() [all …]
|
/external/swiftshader/src/OpenGL/libEGL/ |
D | libEGL.cpp | 37 static bool validateDisplay(egl::Display *display) in validateDisplay() argument 39 if(display == EGL_NO_DISPLAY) in validateDisplay() 44 if(!display->isInitialized()) in validateDisplay() 52 static bool validateConfig(egl::Display *display, EGLConfig config) in validateConfig() argument 54 if(!validateDisplay(display)) in validateConfig() 59 if(!display->isValidConfig(config)) in validateConfig() 67 static bool validateContext(egl::Display *display, egl::Context *context) in validateContext() argument 69 if(!validateDisplay(display)) in validateContext() 74 if(!display->isValidContext(context)) in validateContext() 82 static bool validateSurface(egl::Display *display, egl::Surface *surface) in validateSurface() argument [all …]
|
/external/autotest/frontend/client/src/autotest/afe/ |
D | ControlTypeSelect.java | 9 private Display display; field in ControlTypeSelect 11 public void bindDisplay(Display display) { in bindDisplay() argument 12 this.display = display; in bindDisplay() 13 display.getClient().setText(TestSelector.CLIENT_TYPE); in bindDisplay() 14 display.getServer().setText(TestSelector.SERVER_TYPE); in bindDisplay() 18 if (display.getClient().getValue()) { in getControlType() 19 return display.getClient().getText(); in getControlType() 21 return display.getServer().getText(); in getControlType() 25 if (display.getClient().getText().equals(type)) { in setControlType() 26 display.getClient().setValue(true); in setControlType() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowDisplayTest.java | 9 import android.hardware.display.DisplayManagerGlobal; 23 private Display display; field in ShadowDisplayTest 28 display = DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); in setUp() 29 shadow = Shadows.shadowOf(display); in setUp() 47 display.getMetrics(metrics); in shouldProvideDisplayMetrics() 59 display.getRealMetrics(metrics); in shouldProvideDisplayMetrics() 69 assertEquals(0, 123f, display.getRefreshRate()); in shouldProvideDisplayMetrics() 78 display = DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); in changedStateShouldApplyToOtherInstancesOfSameDisplay() 79 assertEquals(1024, display.getWidth()); in changedStateShouldApplyToOtherInstancesOfSameDisplay() 80 assertEquals(600, display.getHeight()); in changedStateShouldApplyToOtherInstancesOfSameDisplay() [all …]
|
/external/swiftshader/src/Main/ |
D | libX11.hpp | 28 …Status (*XGetWindowAttributes)(Display *display, Window w, XWindowAttributes *window_attributes_re… 29 Screen *(*XDefaultScreenOfDisplay)(Display *display); 33 GC (*XDefaultGC)(Display *display, int screen_number); 34 int (*XDefaultDepth)(Display *display, int screen_number); 35 …Status (*XMatchVisualInfo)(Display *display, int screen, int depth, int screen_class, XVisualInfo … 36 Visual *(*XDefaultVisual)(Display *display, int screen_number); 38 int (*XSync)(Display *display, Bool discard); 39 …XImage *(*XCreateImage)(Display *display, Visual *visual, unsigned int depth, int format, int offs… 40 int (*XCloseDisplay)(Display *display); 41 …int (*XPutImage)(Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int des… [all …]
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | window_capturer_x11.cc | 39 XWindowProperty(Display* display, Window window, Atom property) in XWindowProperty() argument 47 int status = XGetWindowProperty(display, window, property, 0L, ~0L, False, in XWindowProperty() 107 Display* display() { return x_display_->display(); } in display() function in webrtc::__anon8cc402c80111::WindowCapturerLinux 141 wm_state_atom_ = XInternAtom(display(), "WM_STATE", True); in WindowCapturerLinux() 142 window_type_atom_ = XInternAtom(display(), "_NET_WM_WINDOW_TYPE", True); in WindowCapturerLinux() 144 display(), "_NET_WM_WINDOW_TYPE_NORMAL", True); in WindowCapturerLinux() 147 if (XCompositeQueryExtension(display(), &event_base, &error_base) && in WindowCapturerLinux() 148 XCompositeQueryVersion(display(), &major_version, &minor_version) && in WindowCapturerLinux() 166 XErrorTrap error_trap(display()); in GetWindowList() 168 int num_screens = XScreenCount(display()); in GetWindowList() [all …]
|