/external/mesa3d/src/gallium/frontends/hgl/ |
D | hgl.c | 117 format = buffer->visual->color_format; in hgl_st_framebuffer_validate_textures() 121 format = buffer->visual->depth_stencil_format; in hgl_st_framebuffer_validate_textures() 242 buffer->visual = context->stVisual; in hgl_create_st_framebuffer() 253 buffer->stfbi->visual = context->stVisual; in hgl_create_st_framebuffer() 305 struct st_visual* visual; in hgl_create_st_visual() local 309 visual = CALLOC_STRUCT(st_visual); in hgl_create_st_visual() 310 assert(visual); in hgl_create_st_visual() 315 visual->color_format = PIPE_FORMAT_B5G6R5_UNORM; in hgl_create_st_visual() 317 visual->depth_stencil_format = PIPE_FORMAT_NONE; in hgl_create_st_visual() 320 visual->color_format = (options & BGL_ALPHA) in hgl_create_st_visual() [all …]
|
D | hgl_context.h | 37 struct st_visual* visual; member 102 void hgl_destroy_st_visual(struct st_visual* visual);
|
/external/deqp/framework/platform/lnx/X11/ |
D | tcuLnxX11GlxPlatform.cpp | 162 GlxWindow (GlxVisual& visual, const RenderConfig& cfg); 312 m_visual = visualInfo->visual; in GlxVisual() 446 GlxWindow::GlxWindow (GlxVisual& visual, const RenderConfig& cfg) in GlxWindow() argument 447 : m_x11Display (visual.getGlxDisplay()) in GlxWindow() 449 visual.getXVisual()) in GlxWindow() 450 , m_GLXDrawable (visual.createWindow(m_x11Window.getXID())) in GlxWindow() 506 static bool configMatches (GlxVisual& visual, const RenderConfig& renderCfg) in configMatches() argument 509 return visual.getAttrib(GLX_FBCONFIG_ID) == renderCfg.id; in configMatches() 515 requested != visual.getAttrib(it->glxAttribute)) in configMatches() 522 if ((visual.getAttrib(GLX_DRAWABLE_TYPE) & bits) == 0) in configMatches() [all …]
|
D | tcuLnxX11.cpp | 146 return info.visual; in getVisual() 151 XlibWindow::XlibWindow (XlibDisplay& display, int width, int height, ::Visual* visual) in XlibWindow() argument 176 if (visual == DE_NULL) in XlibWindow() 177 visual = CopyFromParent; in XlibWindow() 181 bool succ = display.getVisualInfo(XVisualIDFromVisual(visual), info); in XlibWindow() 186 m_colormap = XCreateColormap(dpy, root, visual, AllocNone); in XlibWindow() 202 depth, InputOutput, visual, mask, &swa); in XlibWindow()
|
D | tcuLnxX11Xcb.cpp | 78 XcbWindow::XcbWindow (XcbDisplay& display, int width, int height, xcb_visualid_t* visual) in XcbWindow() argument 87 if (visual == DE_NULL) in XcbWindow() 88 visual = &m_display.getScreen()->root_visual; in XcbWindow() 103 *visual, // visual in XcbWindow() 113 *visual in XcbWindow()
|
D | tcuLnxX11EglDisplayFactory.cpp | 140 Visual* visual); 154 Window::Window (Display& display, const WindowParams& params, Visual* visual) in Window() argument 156 , m_window (display.getX11Display(), params.width, params.height, visual) in Window() 211 ::Visual* visual = DE_NULL; in createWindow() 215 visual = display.getX11Display().getVisual(visualID); in createWindow() 217 return new Window(display, params, visual); in createWindow()
|
/external/angle/extensions/ |
D | EGL_ANGLE_x11_visual.txt | 51 This extension allows passing the X11 visual ID used by the native 53 EGLSurfaces to be created from native types with this visual ID, 78 "If an X11 visual was specified at display creation time using 80 native_window's visual, an EGL_BAD_MATCH error is generated and 85 To request a display created with a X11 visual ID, the value of 86 EGL_ANGLE_X11_VISUAL_ID should be set to a valid X11 visual ID. If 90 visual ID passed isn't a valid visual ID, eglGetPlatformDisplay will 96 only accept native types with the hint's visual ID? 98 RESOLVED: Yes, generate an error when the visual of the native
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_screen.c | 240 const struct gl_config *visual, in nouveau_create_buffer() argument 250 if (visual->redBits == 5) in nouveau_create_buffer() 252 else if (visual->alphaBits == 0) in nouveau_create_buffer() 257 fb = nouveau_framebuffer_dri_new(visual); in nouveau_create_buffer() 266 if (visual->doubleBufferMode) { in nouveau_create_buffer() 272 if (visual->depthBits == 24 && visual->stencilBits == 8) { in nouveau_create_buffer() 277 } else if (visual->depthBits == 24) { in nouveau_create_buffer() 281 } else if (visual->depthBits == 16) { in nouveau_create_buffer() 288 visual->accumRedBits > 0, in nouveau_create_buffer()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_manager.c | 296 st_visual_have_buffers(stfb->iface->visual, 1 << statt)) in st_framebuffer_update_attachments() 323 format = stfb->iface->visual->depth_stencil_format; in st_framebuffer_add_renderbuffer() 327 format = stfb->iface->visual->accum_format; in st_framebuffer_add_renderbuffer() 331 format = stfb->iface->visual->color_format; in st_framebuffer_add_renderbuffer() 341 rb = st_new_renderbuffer_fb(format, stfb->iface->visual->samples, sw); in st_framebuffer_add_renderbuffer() 371 st_visual_to_context_mode(const struct st_visual *visual, in st_visual_to_context_mode() argument 376 if (st_visual_have_buffers(visual, ST_ATTACHMENT_BACK_LEFT_MASK)) in st_visual_to_context_mode() 379 if (st_visual_have_buffers(visual, in st_visual_to_context_mode() 383 if (visual->color_format != PIPE_FORMAT_NONE) { in st_visual_to_context_mode() 385 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode() [all …]
|
/external/libpng/contrib/gregbook/ |
D | rpng-x.c | 145 static Visual *visual; variable 474 visual = visual_info.visual; in rpng_x_create_window() 495 visual = visual_list[0].visual; in rpng_x_create_window() 506 visual = visual_info.visual; in rpng_x_create_window() 510 RMask = visual->red_mask; in rpng_x_create_window() 511 GMask = visual->green_mask; in rpng_x_create_window() 512 BMask = visual->blue_mask; in rpng_x_create_window() 516 colormap = XCreateColormap(display, root, visual, AllocNone); in rpng_x_create_window() 559 depth, InputOutput, visual, attrmask, &attr); in rpng_x_create_window() 667 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng_x_create_window()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_drm.c | 99 const struct gbm_dri_visual *visual = NULL; in dri2_drm_config_is_compatible() local 115 visual = &dri2_dpy->gbm_dri->visual_table[i]; in dri2_drm_config_is_compatible() 116 if (visual->gbm_format == surface->format) in dri2_drm_config_is_compatible() 123 if (shifts[0] != visual->rgba_shifts.red || in dri2_drm_config_is_compatible() 124 shifts[1] != visual->rgba_shifts.green || in dri2_drm_config_is_compatible() 125 shifts[2] != visual->rgba_shifts.blue || in dri2_drm_config_is_compatible() 126 (shifts[3] > -1 && visual->rgba_shifts.alpha > -1 && in dri2_drm_config_is_compatible() 127 shifts[3] != visual->rgba_shifts.alpha) || in dri2_drm_config_is_compatible() 128 sizes[0] != visual->rgba_sizes.red || in dri2_drm_config_is_compatible() 129 sizes[1] != visual->rgba_sizes.green || in dri2_drm_config_is_compatible() [all …]
|
/external/mesa3d/docs/ |
D | xlibdriver.rst | 21 Mesa supports RGB(A) rendering into almost any X visual type and depth. 23 The glXChooseVisual function tries to choose the best X visual for the 25 force Mesa to use any X visual you want (any supported by your X server 27 environment variables. When an RGB visual is requested, glXChooseVisual 29 will try to use the specified visual. Similarly, when a color index 30 visual is requested, glXChooseVisual will look for the MESA_CI_VISUAL 33 The format of accepted values is: ``visual-class depth`` 76 Specifically, if the visual and depth of the window matches that of the 158 GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual, 162 Since Mesa supports RGB rendering into any X visual, not just True- [all …]
|
/external/mesa3d/src/gallium/frontends/osmesa/ |
D | osmesa.c | 85 struct st_visual visual; member 358 bpp = util_format_get_blocksize(osbuffer->visual.color_format); in osmesa_st_framebuffer_flush_front() 423 format = osbuffer->visual.color_format; in osmesa_st_framebuffer_validate() 427 format = osbuffer->visual.depth_stencil_format; in osmesa_st_framebuffer_validate() 431 format = osbuffer->visual.accum_format; in osmesa_st_framebuffer_validate() 479 osbuffer->stfb->visual = &osbuffer->visual; in osmesa_create_buffer() 481 osmesa_init_st_visual(&osbuffer->visual, color_format, in osmesa_create_buffer() 506 if (b->visual.color_format == color_format && in osmesa_find_buffer() 507 b->visual.depth_stencil_format == ds_format && in osmesa_find_buffer() 508 b->visual.accum_format == accum_format && in osmesa_find_buffer() [all …]
|
/external/mesa3d/docs/_extra/specs/ |
D | MESA_pixmap_colormap.spec | 52 GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual, 64 pixmaps of any visual class, not just TrueColor or DirectColor. In order 69 GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual, 74 same colormap and visual) with the expected results.
|
/external/mesa3d/src/gallium/targets/graw-xlib/ |
D | graw_xlib.c | 109 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone); in graw_create_window_and_screen() 116 visinfo->visual, mask, &attr ); in graw_create_window_and_screen() 142 xlib_handle->visual = visinfo->visual; in graw_create_window_and_screen()
|
/external/angle/src/libANGLE/renderer/gl/glx/ |
D | WindowSurfaceGLX.cpp | 75 unsigned long visualId = windowAttributes.visual->visualid; in initialize() 96 Visual *visual = visualInfo->visual; in initialize() local 113 colormap = XCreateColormap(mDisplay, mParent, visual, AllocNone); in initialize() 125 visualInfo->depth, InputOutput, visual, attributeMask, &attributes); in initialize()
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 408 swrast_new_renderbuffer(const struct gl_config *visual, __DRIdrawable *dPriv, in swrast_new_renderbuffer() argument 424 pixel_format = choose_pixel_format(visual); in swrast_new_renderbuffer() 547 const struct gl_config * visual, GLboolean isPixmap) in dri_create_buffer() argument 572 _mesa_initialize_window_framebuffer(fb, visual); in dri_create_buffer() 575 frontrb = swrast_new_renderbuffer(visual, dPriv, GL_TRUE); in dri_create_buffer() 579 if (visual->doubleBufferMode) { in dri_create_buffer() 580 backrb = swrast_new_renderbuffer(visual, dPriv, GL_FALSE); in dri_create_buffer() 587 visual->depthBits > 0, in dri_create_buffer() 588 visual->stencilBits > 0, in dri_create_buffer() 589 visual->accumRedBits > 0, in dri_create_buffer() [all …]
|
/external/mesa3d/src/gallium/include/frontend/ |
D | api.h | 261 struct st_visual visual; member 316 const struct st_visual *visual; member 568 st_visual_have_buffers(const struct st_visual *visual, unsigned mask) in st_visual_have_buffers() argument 570 return ((visual->buffer_mask & mask) == mask); in st_visual_have_buffers()
|
/external/zstd/build/ |
D | README.md | 28 The Visual Studio solution file `visual\VS2010\zstd.sln` contains many projects that will be compil… 29 `visual\VS2010\bin\$(Platform)_$(Configuration)` directory. For example `zstd` set to `x64` and 30 `Release` will be compiled to `visual\VS2010\bin\x64_Release\zstd.exe`. The solution file contains … 45 `visual\VS2010\bin\$(Platform)_$(Configuration)\libzstd.lib` are required to compile 56 `visual\VS2010\bin\$(Platform)_$(Configuration)\libzstd.dll`.
|
/external/igt-gpu-tools/overlay/x11/ |
D | x11-overlay.c | 154 unsigned long visual = 0; in x11_overlay_create() local 161 visual = info[i].formats[j].visual_id; in x11_overlay_create() 166 if (visual == 0) in x11_overlay_create() 319 unsigned long visual = 0; in x11_overlay_stop() local 326 visual = info[i].formats[j].visual_id; in x11_overlay_stop() 331 if (visual == 0) in x11_overlay_stop()
|
/external/crosvm/gpu_display/src/ |
D | gpu_display_x.rs | 229 visual: *mut xlib::Visual, field 306 self.visual, in lazily_allocate_buffer() 418 visual: *mut xlib::Visual, field 459 visual: null_mut(), in open_display() 483 let visual = (*visual_info).visual; in open_display() localVariable 489 visual, in open_display() 683 visual: self.visual, in create_surface()
|
/external/autotest/client/cros/enterprise/ |
D | policy_group.py | 54 def get_policy_as_dict(self, visual=False): argument 56 self._update_policy_dict(visual) 59 def set_extension_policy(self, policies, visual=False): argument 79 if visual:
|
/external/mesa3d/src/mesa/main/ |
D | framebuffer.c | 89 _mesa_create_framebuffer(const struct gl_config *visual) in _mesa_create_framebuffer() argument 92 assert(visual); in _mesa_create_framebuffer() 94 _mesa_initialize_window_framebuffer(fb, visual); in _mesa_create_framebuffer() 128 const struct gl_config *visual) in _mesa_initialize_window_framebuffer() argument 131 assert(visual); in _mesa_initialize_window_framebuffer() 140 fb->Visual = *visual; in _mesa_initialize_window_framebuffer() 143 if (visual->doubleBufferMode) { in _mesa_initialize_window_framebuffer() 160 fb->_AllColorBuffersFixedPoint = !visual->floatMode; in _mesa_initialize_window_framebuffer() 161 fb->_HasSNormOrFloatColorBuffer = visual->floatMode; in _mesa_initialize_window_framebuffer()
|
/external/scapy/scapy/layers/ |
D | inet.py | 1105 import visual 1107 class IPsphere(visual.sphere): 1109 visual.sphere.__init__(self, **kargs) 1120 …self.label=visual.label(text=txt, pos=self.pos, space=self.radius, xoffset=10, yoffset=20, visible… 1124 visual.scene = visual.display() 1125 visual.scene.exit = True 1126 start = visual.box() 1149 col = visual.color.green 1151 col = visual.color.blue 1153 … s = IPsphere(pos=((l-1)*visual.cos(2*i*visual.pi/l),(l-1)*visual.sin(2*i*visual.pi/l),2*t), [all …]
|
/external/mesa3d/src/glx/ |
D | glxglvnddispatchfuncs.h | 65 const XVisualInfo *visual) in GetDispatchFromVisual() argument 67 return __VND->getDynDispatch(dpy, visual->screen); in GetDispatchFromVisual()
|