Home
last modified time | relevance | path

Searched refs:visual (Results 1 – 25 of 213) sorted by relevance

123456789

/external/mesa3d/src/gallium/state_trackers/hgl/
Dhgl.c114 format = buffer->visual->color_format; in hgl_st_framebuffer_validate_textures()
118 format = buffer->visual->depth_stencil_format; in hgl_st_framebuffer_validate_textures()
239 buffer->visual = context->stVisual; in hgl_create_st_framebuffer()
250 buffer->stfbi->visual = context->stVisual; in hgl_create_st_framebuffer()
301 struct st_visual* visual; in hgl_create_st_visual() local
305 visual = CALLOC_STRUCT(st_visual); in hgl_create_st_visual()
306 assert(visual); in hgl_create_st_visual()
311 visual->color_format = PIPE_FORMAT_B5G6R5_UNORM; in hgl_create_st_visual()
313 visual->depth_stencil_format = PIPE_FORMAT_NONE; in hgl_create_st_visual()
316 visual->color_format = (options & BGL_ALPHA) in hgl_create_st_visual()
[all …]
Dhgl_context.h35 struct st_visual* visual; member
96 void hgl_destroy_st_visual(struct st_visual* visual);
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp157 GlxWindow (GlxVisual& visual, const RenderConfig& cfg);
301 m_visual = visualInfo->visual; in GlxVisual()
435 GlxWindow::GlxWindow (GlxVisual& visual, const RenderConfig& cfg) in GlxWindow() argument
436 : m_x11Display (visual.getGlxDisplay()) in GlxWindow()
438 visual.getXVisual()) in GlxWindow()
439 , m_GLXDrawable (visual.createWindow(m_x11Window.getXID())) in GlxWindow()
495 static bool configMatches (GlxVisual& visual, const RenderConfig& renderCfg) in configMatches() argument
498 return visual.getAttrib(GLX_FBCONFIG_ID) == renderCfg.id; in configMatches()
504 requested != visual.getAttrib(it->glxAttribute)) in configMatches()
511 if ((visual.getAttrib(GLX_DRAWABLE_TYPE) & bits) == 0) in configMatches()
[all …]
DtcuLnxX11.cpp146 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()
DtcuLnxX11Xcb.cpp75 XcbWindow::XcbWindow (XcbDisplay& display, int width, int height, xcb_visualid_t* visual) in XcbWindow() argument
84 if (visual == DE_NULL) in XcbWindow()
85 visual = &m_display.getScreen()->root_visual; in XcbWindow()
100 *visual, // visual in XcbWindow()
110 *visual in XcbWindow()
DtcuLnxX11EglDisplayFactory.cpp140 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/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c239 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/mesa3d/src/mesa/state_tracker/
Dst_manager.c284 st_visual_have_buffers(stfb->iface->visual, 1 << statt)) in st_framebuffer_update_attachments()
311 format = stfb->iface->visual->depth_stencil_format; in st_framebuffer_add_renderbuffer()
315 format = stfb->iface->visual->accum_format; in st_framebuffer_add_renderbuffer()
319 format = stfb->iface->visual->color_format; in st_framebuffer_add_renderbuffer()
329 rb = st_new_renderbuffer_fb(format, stfb->iface->visual->samples, sw); in st_framebuffer_add_renderbuffer()
359 st_visual_to_context_mode(const struct st_visual *visual, in st_visual_to_context_mode() argument
364 if (st_visual_have_buffers(visual, ST_ATTACHMENT_BACK_LEFT_MASK)) in st_visual_to_context_mode()
367 if (st_visual_have_buffers(visual, in st_visual_to_context_mode()
371 if (visual->color_format != PIPE_FORMAT_NONE) { in st_visual_to_context_mode()
375 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode()
[all …]
/external/libjpeg-turbo/
Drdrle.c70 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/
Drpng-x.c145 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/lz4/visual/
DREADME.md15 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/src/gallium/state_trackers/osmesa/
Dosmesa.c84 struct st_visual visual; member
353 bpp = util_format_get_blocksize(osbuffer->visual.color_format); in osmesa_st_framebuffer_flush_front()
418 format = osbuffer->visual.color_format; in osmesa_st_framebuffer_validate()
422 format = osbuffer->visual.depth_stencil_format; in osmesa_st_framebuffer_validate()
426 format = osbuffer->visual.accum_format; in osmesa_st_framebuffer_validate()
474 osbuffer->stfb->visual = &osbuffer->visual; in osmesa_create_buffer()
476 osmesa_init_st_visual(&osbuffer->visual, color_format, in osmesa_create_buffer()
501 if (b->visual.color_format == color_format && in osmesa_find_buffer()
502 b->visual.depth_stencil_format == ds_format && in osmesa_find_buffer()
503 b->visual.accum_format == accum_format && in osmesa_find_buffer()
[all …]
/external/mesa3d/docs/specs/
DMESA_pixmap_colormap.spec52 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/mesa/drivers/dri/swrast/
Dswrast.c410 swrast_new_renderbuffer(const struct gl_config *visual, __DRIdrawable *dPriv, in swrast_new_renderbuffer() argument
426 pixel_format = choose_pixel_format(visual); in swrast_new_renderbuffer()
545 const struct gl_config * visual, GLboolean isPixmap) in dri_create_buffer() argument
570 _mesa_initialize_window_framebuffer(fb, visual); in dri_create_buffer()
573 frontrb = swrast_new_renderbuffer(visual, dPriv, GL_TRUE); in dri_create_buffer()
577 if (visual->doubleBufferMode) { in dri_create_buffer()
578 backrb = swrast_new_renderbuffer(visual, dPriv, GL_FALSE); in dri_create_buffer()
585 visual->haveDepthBuffer, in dri_create_buffer()
586 visual->haveStencilBuffer, in dri_create_buffer()
587 visual->haveAccumBuffer, in dri_create_buffer()
[all …]
/external/mesa3d/src/gallium/targets/graw-xlib/
Dgraw_xlib.c109 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/swiftshader/src/WSI/
DFrameBufferX11.cpp60 Visual *visual = match ? x_visual.visual : libX11->XDefaultVisual(x_display, screen); in FrameBufferX11() local
66 x_image = libX11->XShmCreateImage(x_display, visual, depth, ZPixmap, 0, &shminfo, width, height); in FrameBufferX11()
96 …x_image = libX11->XCreateImage(x_display, visual, depth, ZPixmap, 0, buffer, width, height, 32, by… in FrameBufferX11()
/external/mesa3d/src/gallium/include/state_tracker/
Dst_api.h253 struct st_visual visual; member
308 const struct st_visual *visual; member
558 st_visual_have_buffers(const struct st_visual *visual, unsigned mask) in st_visual_have_buffers() argument
560 return ((visual->buffer_mask & mask) == mask); in st_visual_have_buffers()
/external/swiftshader/src/Main/
DFrameBufferX11.cpp60 Visual *visual = match ? x_visual.visual : libX11->XDefaultVisual(x_display, screen); in FrameBufferX11() local
66 x_image = libX11->XShmCreateImage(x_display, visual, depth, ZPixmap, 0, &shminfo, width, height); in FrameBufferX11()
96 …x_image = libX11->XCreateImage(x_display, visual, depth, ZPixmap, 0, buffer, width, height, 32, by… in FrameBufferX11()
DlibX11.hpp39 …XImage *(*XCreateImage)(Display *display, Visual *visual, unsigned int depth, int format, int offs…
45 …XImage *(*XShmCreateImage)(Display *display, Visual *visual, unsigned int depth, int format, char …
/external/mesa3d/src/mesa/main/
Dframebuffer.c88 _mesa_create_framebuffer(const struct gl_config *visual) in _mesa_create_framebuffer() argument
91 assert(visual); in _mesa_create_framebuffer()
93 _mesa_initialize_window_framebuffer(fb, visual); in _mesa_create_framebuffer()
127 const struct gl_config *visual) in _mesa_initialize_window_framebuffer() argument
130 assert(visual); in _mesa_initialize_window_framebuffer()
139 fb->Visual = *visual; in _mesa_initialize_window_framebuffer()
142 if (visual->doubleBufferMode) { in _mesa_initialize_window_framebuffer()
159 fb->_AllColorBuffersFixedPoint = !visual->floatMode; in _mesa_initialize_window_framebuffer()
160 fb->_HasSNormOrFloatColorBuffer = visual->floatMode; in _mesa_initialize_window_framebuffer()
/external/scapy/scapy/layers/
Dinet.py1105 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/egl/drivers/dri2/
Dplatform_surfaceless.c48 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/mesa3d/src/glx/
Dglxglvnddispatchfuncs.h65 const XVisualInfo *visual) in GetDispatchFromVisual() argument
67 return __VND->getDynDispatch(dpy, visual->screen); in GetDispatchFromVisual()
/external/autotest/client/deps/glbench/src/
Dxlib_window.cc48 xlib_visinfo->visual, AllocNone); in XlibInit()
53 xlib_visinfo->visual, mask, &attr); in XlibInit()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c298 xcb_visualtype_t *visual = screen_get_visualtype(screen_iter.data, in connection_get_visualtype() local
300 if (visual) in connection_get_visualtype()
301 return visual; in connection_get_visualtype()
328 xcb_visualid_t visual_id = attrib->visual; in get_visualtype_for_window()
340 visual_has_alpha(xcb_visualtype_t *visual, unsigned depth) in visual_has_alpha() argument
342 uint32_t rgb_mask = visual->red_mask | in visual_has_alpha()
343 visual->green_mask | in visual_has_alpha()
344 visual->blue_mask; in visual_has_alpha()
454 xcb_visualtype_t *visual = in x11_surface_get_capabilities() local
457 if (!visual) in x11_surface_get_capabilities()
[all …]

123456789