Home
last modified time | relevance | path

Searched refs:display (Results 1 – 25 of 1426) sorted by relevance

12345678910>>...58

/external/autotest/frontend/client/src/autotest/afe/create/
DCreateJobViewPresenter.java152 private Display display; field in CreateJobViewPresenter
155 public void bindDisplay(Display display) { in bindDisplay() argument
156 this.display = display; in bindDisplay()
184 display.getJobName().setText(jobObject.get("name").isString().stringValue()); in cloneJob()
190 display.getImageUrl().setText(image); in cloneJob()
191 display.getFirmwareRWBuild().setEnabled(true); in cloneJob()
192 display.getFirmwareROBuild().setEnabled(true); in cloneJob()
193 display.getTestSourceBuildList().setEnabled(true); in cloneJob()
199 display.getFirmwareRWBuild().setText(firmwareRWBuild); in cloneJob()
205 display.getFirmwareROBuild().setText(firmwareROBuild); in cloneJob()
[all …]
/external/drm_hwcomposer/
Ddrmcomposition.cpp51 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/deqp/framework/egl/
DegluConfigInfo.cpp87 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 …]
DegluUtil.cpp61 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 …]
DegluUtil.hpp57 Version getVersion (const eglw::Library& egl, eglw::EGLDisplay display);
60 std::vector<std::string> getDisplayExtensions (const eglw::Library& egl, eglw::EGLDisplay display
61 bool hasExtension (const eglw::Library& egl, eglw::EGLDisplay display, const std::string& …
63 std::vector<eglw::EGLConfig> getConfigs (const eglw::Library& egl, eglw::EGLDisplay display);
64 std::vector<eglw::EGLConfig> chooseConfigs (const eglw::Library& egl, eglw::EGLDisplay display, …
65 std::vector<eglw::EGLConfig> chooseConfigs (const eglw::Library& egl, eglw::EGLDisplay display, …
66 std::vector<eglw::EGLConfig> chooseConfigs (const eglw::Library& egl, eglw::EGLDisplay display, …
67 eglw::EGLConfig chooseSingleConfig (const eglw::Library& egl, eglw::EGLDisplay display, const…
68 eglw::EGLConfig chooseSingleConfig (const eglw::Library& egl, eglw::EGLDisplay display, const…
69 eglw::EGLConfig chooseSingleConfig (const eglw::Library& egl, eglw::EGLDisplay display, const…
[all …]
/external/ImageMagick/MagickCore/
Ddisplay.c1659 *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 …]
Dwidget.c225 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 …]
Danimate.c287 *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 …]
Dxwindow.c262 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/
Dwsi_common_wayland.c48 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/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtest_context.c40 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 …]
Dtest_blocks.c41 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 …]
Dtest_rendering.c138 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 …]
Dtest_surface.c40 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 …]
Dtest_subpicture.c63 Display *display; in main() local
74 display = XOpenDisplay(NULL); in main()
78 display, in main()
90 XCloseDisplay(display); in main()
97 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); in main()
98 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main()
101 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context)… in main()
103 subpics = XvMCListSubpictureTypes(display, port_num, surface_type_id, &num_subpics); in main()
147 …assert(XvMCCreateSubpicture(display, NULL, &subpicture, subpic_width, subpic_height, subpics[0].id… in main()
149 …assert(XvMCCreateSubpicture(display, &context, NULL, subpic_width, subpic_height, subpics[0].id) =… in main()
[all …]
Dxvmc_bench.c182 Display *display; in main() local
204 display = XOpenDisplay(NULL); in main()
208 display, in main()
220 XCloseDisplay(display); in main()
227 Atom xv_colorkey = XInternAtom(display, "XV_COLORKEY", 0); in main()
228 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main()
235 root = XDefaultRootWindow(display); in main()
236 …window = XCreateSimpleWindow(display, root, 0, 0, config.output_width, config.output_height, 0, 0,… in main()
238 …assert(XvMCCreateContext(display, port_num, surface_type_id, config.input_width, config.input_heig… in main()
239 assert(XvMCCreateSurface(display, &context, &surface) == Success); in main()
[all …]
/external/deqp/modules/egl/
DteglConfigList.cpp64 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 …]
DteglNegativeApiTests.cpp170 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 …]
DteglQuerySurfaceTests.cpp64 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/autotest/frontend/client/src/autotest/afe/
DControlTypeSelect.java9 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/swiftshader/src/OpenGL/libEGL/
DlibEGL.cpp36 static bool validateDisplay(egl::Display *display) in validateDisplay() argument
38 if(display == EGL_NO_DISPLAY) in validateDisplay()
43 if(!display->isInitialized()) in validateDisplay()
51 static bool validateConfig(egl::Display *display, EGLConfig config) in validateConfig() argument
53 if(!validateDisplay(display)) in validateConfig()
58 if(!display->isValidConfig(config)) in validateConfig()
66 static bool validateContext(egl::Display *display, egl::Context *context) in validateContext() argument
68 if(!validateDisplay(display)) in validateContext()
73 if(!display->isValidContext(context)) in validateContext()
81 static bool validateSurface(egl::Display *display, egl::Surface *surface) in validateSurface() argument
[all …]
/external/swiftshader/src/Main/
DlibX11.hpp28 …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/
Dwindow_capturer_x11.cc39 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::__anone9ca584a0111::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 …]
/external/pdfium/third_party/libtiff/
Dtif_color.c83 float *matrix = &cielab->display.d_mat[0][0]; in TIFFXYZToRGB()
91 Yr = TIFFmax(Yr, cielab->display.d_Y0R); in TIFFXYZToRGB()
92 Yg = TIFFmax(Yg, cielab->display.d_Y0G); in TIFFXYZToRGB()
93 Yb = TIFFmax(Yb, cielab->display.d_Y0B); in TIFFXYZToRGB()
96 Yr = TIFFmin(Yr, cielab->display.d_YCR); in TIFFXYZToRGB()
97 Yg = TIFFmin(Yg, cielab->display.d_YCG); in TIFFXYZToRGB()
98 Yb = TIFFmin(Yb, cielab->display.d_YCB); in TIFFXYZToRGB()
101 i = (int)((Yr - cielab->display.d_Y0R) / cielab->rstep); in TIFFXYZToRGB()
105 i = (int)((Yg - cielab->display.d_Y0G) / cielab->gstep); in TIFFXYZToRGB()
109 i = (int)((Yb - cielab->display.d_Y0B) / cielab->bstep); in TIFFXYZToRGB()
[all …]
/external/skia/experimental/docs/
DsvgBackend.js13 function drawToSvg(display) { argument
14 assert('string' == typeof(display.ref));
16 if (display.ref in svgCache) {
17 cache = svgCache[display.ref];
18 if (display.drawDirty) {
21 svgSetPathData(cache.element, display.draw);
24 svgSetPictureData(cache.element, display.draw);
27 svgCreateText(cache.element, display.draw);
35 cache.action = display;
36 cache.spec = display.drawSpec;
[all …]

12345678910>>...58