/external/mesa3d/src/gallium/state_trackers/hgl/ |
D | hgl.c | 114 format = buffer->visual->color_format; in hgl_st_framebuffer_validate_textures() 118 format = buffer->visual->depth_stencil_format; in hgl_st_framebuffer_validate_textures() 241 buffer->visual = context->stVisual; in hgl_create_st_framebuffer() 252 buffer->stfbi->visual = context->stVisual; in hgl_create_st_framebuffer() 303 struct st_visual* visual; in hgl_create_st_visual() local 307 visual = CALLOC_STRUCT(st_visual); in hgl_create_st_visual() 308 assert(visual); in hgl_create_st_visual() 313 visual->color_format = PIPE_FORMAT_B5G6R5_UNORM; in hgl_create_st_visual() 315 visual->depth_stencil_format = PIPE_FORMAT_NONE; in hgl_create_st_visual() 318 visual->color_format = (options & BGL_ALPHA) in hgl_create_st_visual() [all …]
|
D | hgl_context.h | 35 struct st_visual* visual; member 96 void hgl_destroy_st_visual(struct st_visual* visual);
|
/external/deqp/framework/platform/lnx/X11/ |
D | tcuLnxX11GlxPlatform.cpp | 149 GlxWindow (GlxVisual& visual, const RenderConfig& cfg); 286 m_visual = visualInfo->visual; in GlxVisual() 362 GlxWindow::GlxWindow (GlxVisual& visual, const RenderConfig& cfg) in GlxWindow() argument 363 : m_x11Display (visual.getGlxDisplay()) in GlxWindow() 365 visual.getXVisual()) in GlxWindow() 366 , m_GLXDrawable (visual.createWindow(m_x11Window.getXID())) in GlxWindow() 422 static bool configMatches (GlxVisual& visual, const RenderConfig& renderCfg) in configMatches() argument 425 return visual.getAttrib(GLX_FBCONFIG_ID) == renderCfg.id; in configMatches() 431 requested != visual.getAttrib(it->glxAttribute)) in configMatches() 438 if ((visual.getAttrib(GLX_DRAWABLE_TYPE) & bits) == 0) in configMatches() [all …]
|
D | tcuLnxX11.cpp | 121 return info.visual; in getVisual() 126 XlibWindow::XlibWindow (XlibDisplay& display, int width, int height, ::Visual* visual) in XlibWindow() argument 149 if (visual == DE_NULL) in XlibWindow() 150 visual = CopyFromParent; in XlibWindow() 154 bool succ = display.getVisualInfo(XVisualIDFromVisual(visual), info); in XlibWindow() 159 m_colormap = XCreateColormap(dpy, root, visual, AllocNone); in XlibWindow() 173 CopyFromParent, InputOutput, visual, mask, &swa); in XlibWindow()
|
D | tcuLnxX11Xcb.cpp | 58 XcbWindow::XcbWindow (XcbDisplay& display, int width, int height, xcb_visualid_t* visual) in XcbWindow() argument 67 if (visual == DE_NULL) in XcbWindow() 68 visual = &m_display.getScreen()->root_visual; in XcbWindow() 83 *visual, // visual in XcbWindow() 93 *visual in XcbWindow()
|
D | tcuLnxX11EglDisplayFactory.cpp | 138 Visual* visual); 151 Window::Window (Display& display, const WindowParams& params, Visual* visual) in Window() argument 153 , m_window (display.getX11Display(), params.width, params.height, visual) in Window() 208 ::Visual* visual = DE_NULL; in createWindow() 212 visual = display.getX11Display().getVisual(visualID); in createWindow() 214 return new Window(display, params, visual); in createWindow()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_manager.c | 279 st_visual_have_buffers(stfb->iface->visual, 1 << statt)) in st_framebuffer_update_attachments() 305 format = stfb->iface->visual->depth_stencil_format; in st_framebuffer_add_renderbuffer() 309 format = stfb->iface->visual->accum_format; in st_framebuffer_add_renderbuffer() 313 format = stfb->iface->visual->color_format; in st_framebuffer_add_renderbuffer() 323 rb = st_new_renderbuffer_fb(format, stfb->iface->visual->samples, sw); in st_framebuffer_add_renderbuffer() 344 st_visual_to_context_mode(const struct st_visual *visual, in st_visual_to_context_mode() argument 349 if (st_visual_have_buffers(visual, ST_ATTACHMENT_BACK_LEFT_MASK)) in st_visual_to_context_mode() 351 if (st_visual_have_buffers(visual, in st_visual_to_context_mode() 355 if (visual->color_format != PIPE_FORMAT_NONE) { in st_visual_to_context_mode() 359 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_screen.c | 239 const struct gl_config *visual, in nouveau_create_buffer() argument 249 if (visual->redBits == 5) in nouveau_create_buffer() 251 else if (visual->alphaBits == 0) in nouveau_create_buffer() 256 fb = nouveau_framebuffer_dri_new(visual); in nouveau_create_buffer() 265 if (visual->doubleBufferMode) { in nouveau_create_buffer() 271 if (visual->depthBits == 24 && visual->stencilBits == 8) { in nouveau_create_buffer() 276 } else if (visual->depthBits == 24) { in nouveau_create_buffer() 280 } else if (visual->depthBits == 16) { in nouveau_create_buffer() 287 visual->accumRedBits > 0, in nouveau_create_buffer()
|
/external/libjpeg-turbo/ |
D | rdrle.c | 70 rle_kind visual; /* actual type of input file */ member 128 source->visual = GRAYSCALE; in start_input_rle() 131 source->visual = MAPPEDGRAY; in start_input_rle() 135 source->visual = PSEUDOCOLOR; in start_input_rle() 139 source->visual = TRUECOLOR; in start_input_rle() 143 source->visual = DIRECTCOLOR; in start_input_rle() 148 if (source->visual == GRAYSCALE || source->visual == MAPPEDGRAY) { in start_input_rle() 160 if (source->visual != GRAYSCALE) { in start_input_rle() 272 switch (source->visual) { in load_image() 344 if (source->visual == PSEUDOCOLOR) { in load_image()
|
/external/libpng/contrib/gregbook/ |
D | rpng-x.c | 144 static Visual *visual; variable 473 visual = visual_info.visual; in rpng_x_create_window() 494 visual = visual_list[0].visual; in rpng_x_create_window() 505 visual = visual_info.visual; in rpng_x_create_window() 509 RMask = visual->red_mask; in rpng_x_create_window() 510 GMask = visual->green_mask; in rpng_x_create_window() 511 BMask = visual->blue_mask; in rpng_x_create_window() 515 colormap = XCreateColormap(display, root, visual, AllocNone); in rpng_x_create_window() 558 depth, InputOutput, visual, attrmask, &attr); in rpng_x_create_window() 666 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng_x_create_window()
|
/external/lz4/visual/ |
D | README.md | 15 4. Go to decompressed directory then to `visual` then `VS2010` and open `lz4.sln` 19 8. If compilation will be fine a compiled executable will be in `visual\VS2010\bin\x64_Release\lz4.… 25 `visual\VS2010\bin\$(Platform)_$(Configuration)` directory. For example `lz4` set to `x64` and 26 `Release` will be compiled to `visual\VS2010\bin\x64_Release\lz4.exe`. The solution file contains t… 42 `visual\VS2010\bin\$(Platform)_$(Configuration)\liblz4.lib` are required to compile a 53 `visual\VS2010\bin\$(Platform)_$(Configuration)\liblz4.dll`.
|
/external/mesa3d/docs/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/swiftshader/src/Main/ |
D | FrameBufferX11.cpp | 56 Visual *visual = match ? x_visual.visual : libX11->XDefaultVisual(x_display, screen); in FrameBufferX11() local 62 x_image = libX11->XShmCreateImage(x_display, visual, depth, ZPixmap, 0, &shminfo, width, height); in FrameBufferX11() 88 …x_image = libX11->XCreateImage(x_display, visual, depth, ZPixmap, 0, buffer, width, height, 32, wi… in FrameBufferX11()
|
D | libX11.hpp | 39 …XImage *(*XCreateImage)(Display *display, Visual *visual, unsigned int depth, int format, int offs… 44 …XImage *(*XShmCreateImage)(Display *display, Visual *visual, unsigned int depth, int format, char …
|
/external/libvncserver/client_examples/ |
D | gtkvncviewer.c | 56 cl->format.redShift = image->visual->red_shift; in expose_event() 57 cl->format.greenShift = image->visual->green_shift; in expose_event() 58 cl->format.blueShift = image->visual->blue_shift; in expose_event() 60 cl->format.redMax = (1 << image->visual->red_prec) - 1; in expose_event() 61 cl->format.greenMax = (1 << image->visual->green_prec) - 1; in expose_event() 62 cl->format.blueMax = (1 << image->visual->blue_prec) - 1; in expose_event() 655 cl->format.redShift = image->visual->red_shift; in main() 656 cl->format.greenShift = image->visual->green_shift; in main() 657 cl->format.blueShift = image->visual->blue_shift; in main() 659 cl->format.redMax = (1 << image->visual->red_prec) - 1; in main() [all …]
|
/external/mesa3d/src/gallium/state_trackers/osmesa/ |
D | osmesa.c | 83 struct st_visual visual; member 352 bpp = util_format_get_blocksize(osbuffer->visual.color_format); in osmesa_st_framebuffer_flush_front() 417 format = osbuffer->visual.color_format; in osmesa_st_framebuffer_validate() 421 format = osbuffer->visual.depth_stencil_format; in osmesa_st_framebuffer_validate() 425 format = osbuffer->visual.accum_format; in osmesa_st_framebuffer_validate() 469 osbuffer->stfb->visual = &osbuffer->visual; in osmesa_create_buffer() 471 osmesa_init_st_visual(&osbuffer->visual, color_format, in osmesa_create_buffer() 496 if (b->visual.color_format == color_format && in osmesa_find_buffer() 497 b->visual.depth_stencil_format == ds_format && in osmesa_find_buffer() 498 b->visual.accum_format == accum_format && in osmesa_find_buffer() [all …]
|
/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/mesa3d/src/gallium/include/state_tracker/ |
D | st_api.h | 271 struct st_visual visual; member 315 const struct st_visual *visual; member 529 st_visual_have_buffers(const struct st_visual *visual, unsigned mask) in st_visual_have_buffers() argument 531 return ((visual->buffer_mask & mask) == mask); in st_visual_have_buffers()
|
/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() 543 const struct gl_config * visual, GLboolean isPixmap) in dri_create_buffer() argument 568 _mesa_initialize_window_framebuffer(fb, visual); in dri_create_buffer() 571 frontrb = swrast_new_renderbuffer(visual, dPriv, GL_TRUE); in dri_create_buffer() 575 if (visual->doubleBufferMode) { in dri_create_buffer() 576 backrb = swrast_new_renderbuffer(visual, dPriv, GL_FALSE); in dri_create_buffer() 583 visual->haveDepthBuffer, in dri_create_buffer() 584 visual->haveStencilBuffer, in dri_create_buffer() 585 visual->haveAccumBuffer, in dri_create_buffer() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | framebuffer.c | 87 _mesa_create_framebuffer(const struct gl_config *visual) in _mesa_create_framebuffer() argument 90 assert(visual); in _mesa_create_framebuffer() 92 _mesa_initialize_window_framebuffer(fb, visual); in _mesa_create_framebuffer() 126 const struct gl_config *visual) in _mesa_initialize_window_framebuffer() argument 129 assert(visual); in _mesa_initialize_window_framebuffer() 138 fb->Visual = *visual; in _mesa_initialize_window_framebuffer() 141 if (visual->doubleBufferMode) { in _mesa_initialize_window_framebuffer() 158 fb->_AllColorBuffersFixedPoint = !visual->floatMode; in _mesa_initialize_window_framebuffer() 159 fb->_HasSNormOrFloatColorBuffer = visual->floatMode; in _mesa_initialize_window_framebuffer()
|
D | framebuffer.h | 36 _mesa_create_framebuffer(const struct gl_config *visual); 43 const struct gl_config *visual);
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_surfaceless.c | 48 dri2_surf->visual, in surfaceless_alloc_image() 145 dri2_surf->visual = __DRI_IMAGE_FORMAT_RGB565; in dri2_surfaceless_create_surface() 147 dri2_surf->visual = __DRI_IMAGE_FORMAT_XRGB8888; in dri2_surfaceless_create_surface() 149 dri2_surf->visual = __DRI_IMAGE_FORMAT_ARGB8888; in dri2_surfaceless_create_surface()
|
/external/autotest/client/deps/glbench/src/ |
D | xlib_window.cc | 51 xlib_visinfo->visual, AllocNone); in XlibInit() 57 xlib_visinfo->visual, mask, &attr); in XlibInit()
|
/external/mesa3d/src/glx/ |
D | glxglvnddispatchfuncs.h | 65 const XVisualInfo *visual) in GetDispatchFromVisual() argument 67 return __VND->getDynDispatch(dpy, visual->screen); in GetDispatchFromVisual()
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common_x11.c | 236 xcb_visualtype_t *visual = screen_get_visualtype(screen_iter.data, in connection_get_visualtype() local 238 if (visual) in connection_get_visualtype() 239 return visual; in connection_get_visualtype() 266 xcb_visualid_t visual_id = attrib->visual; in get_visualtype_for_window() 278 visual_has_alpha(xcb_visualtype_t *visual, unsigned depth) in visual_has_alpha() argument 280 uint32_t rgb_mask = visual->red_mask | in visual_has_alpha() 281 visual->green_mask | in visual_has_alpha() 282 visual->blue_mask; in visual_has_alpha() 385 xcb_visualtype_t *visual = in x11_surface_get_capabilities() local 388 if (!visual) in x11_surface_get_capabilities() [all …]
|