/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_derived.c | 61 struct vertex_info vinfo; in calculate_vertex_layout() local 68 memset(&vinfo, 0, sizeof(vinfo)); in calculate_vertex_layout() 110 draw_emit_vertex_attr(&vinfo, EMIT_4F, INTERP_LINEAR, src); in calculate_vertex_layout() 111 vinfo.hwfmt[0] |= S4_VFMT_XYZW; in calculate_vertex_layout() 112 vinfo.attrib[0].emit = EMIT_4F; in calculate_vertex_layout() 115 draw_emit_vertex_attr(&vinfo, EMIT_3F, INTERP_LINEAR, src); in calculate_vertex_layout() 116 vinfo.hwfmt[0] |= S4_VFMT_XYZ; in calculate_vertex_layout() 117 vinfo.attrib[0].emit = EMIT_3F; in calculate_vertex_layout() 126 draw_emit_vertex_attr(&vinfo, EMIT_4UB_BGRA, colorInterp, src); in calculate_vertex_layout() 127 vinfo.hwfmt[0] |= S4_VFMT_COLOR; in calculate_vertex_layout() [all …]
|
D | i915_prim_emit.c | 72 const struct vertex_info *vinfo = &i915->current.vertex_info; in emit_hw_vertex() local 78 for (i = 0; i < vinfo->num_attribs; i++) { in emit_hw_vertex() 79 const uint j = vinfo->attrib[i].src_index; in emit_hw_vertex() 81 switch (vinfo->attrib[i].emit) { in emit_hw_vertex() 122 assert(count == vinfo->size); in emit_hw_vertex()
|
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/ |
D | native_fbdev.c | 120 vinfo_to_format(const struct fb_var_screeninfo *vinfo) in vinfo_to_format() argument 125 switch (vinfo->bits_per_pixel) { in vinfo_to_format() 127 if (vinfo->red.length == 8 && in vinfo_to_format() 128 vinfo->green.length == 8 && in vinfo_to_format() 129 vinfo->blue.length == 8) { in vinfo_to_format() 130 format = (vinfo->transp.length == 8) ? in vinfo_to_format() 135 if (vinfo->red.length == 5 && in vinfo_to_format() 136 vinfo->green.length == 6 && in vinfo_to_format() 137 vinfo->blue.length == 5 && in vinfo_to_format() 138 vinfo->transp.length == 0) in vinfo_to_format() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_vertex.c | 46 draw_compute_vertex_size(struct vertex_info *vinfo) in draw_compute_vertex_size() argument 50 vinfo->size = 0; in draw_compute_vertex_size() 51 for (i = 0; i < vinfo->num_attribs; i++) in draw_compute_vertex_size() 52 vinfo->size += draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_compute_vertex_size() 54 assert(vinfo->size % 4 == 0); in draw_compute_vertex_size() 56 vinfo->size /= 4; in draw_compute_vertex_size() 61 draw_dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data) in draw_dump_emitted_vertex() argument 65 for (i = 0; i < vinfo->num_attribs; i++) { in draw_dump_emitted_vertex() 66 switch (vinfo->attrib[i].emit) { in draw_dump_emitted_vertex()
|
D | draw_vertex.h | 125 draw_emit_vertex_attr(struct vertex_info *vinfo, in draw_emit_vertex_attr() argument 130 const uint n = vinfo->num_attribs; in draw_emit_vertex_attr() 131 assert(n < Elements(vinfo->attrib)); in draw_emit_vertex_attr() 132 vinfo->attrib[n].emit = emit; in draw_emit_vertex_attr() 133 vinfo->attrib[n].interp_mode = interp; in draw_emit_vertex_attr() 134 vinfo->attrib[n].src_index = src_index; in draw_emit_vertex_attr() 135 vinfo->num_attribs++; in draw_emit_vertex_attr() 140 extern void draw_compute_vertex_size(struct vertex_info *vinfo); 142 void draw_dump_emitted_vertex(const struct vertex_info *vinfo,
|
D | draw_pt_fetch_emit.c | 80 const struct vertex_info *vinfo; member 97 const struct vertex_info *vinfo; in fetch_emit_prepare() local 108 vinfo = feme->vinfo = draw->render->get_vertex_info(draw->render); in fetch_emit_prepare() 116 for (i = 0; i < vinfo->num_attribs; i++) { in fetch_emit_prepare() 117 const struct pipe_vertex_element *src = &draw->pt.vertex_element[vinfo->attrib[i].src_index]; in fetch_emit_prepare() 125 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in fetch_emit_prepare() 126 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in fetch_emit_prepare() 128 if (vinfo->attrib[i].emit == EMIT_OMIT) in fetch_emit_prepare() 131 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in fetch_emit_prepare() 148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare() [all …]
|
D | draw_pt_emit.c | 45 const struct vertex_info *vinfo; member 55 const struct vertex_info *vinfo; in draw_pt_emit_prepare() local 73 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in draw_pt_emit_prepare() 78 for (i = 0; i < vinfo->num_attribs; i++) { in draw_pt_emit_prepare() 82 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float) ); in draw_pt_emit_prepare() 84 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in draw_pt_emit_prepare() 85 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_pt_emit_prepare() 90 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in draw_pt_emit_prepare() 106 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare() 107 hw_key.output_stride = vinfo->size * 4; in draw_pt_emit_prepare() [all …]
|
D | draw_pt_fetch_shade_emit.c | 63 const struct vertex_info *vinfo; member 77 const struct vertex_info *vinfo; in fse_prepare() local 89 fse->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in fse_prepare() 91 fse->key.output_stride = vinfo->size * 4; in fse_prepare() 92 fse->key.nr_outputs = vinfo->num_attribs; in fse_prepare() 127 for (i = 0; i < vinfo->num_attribs; i++) { in fse_prepare() 128 unsigned emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in fse_prepare() 137 fse->key.element[i].out.format = vinfo->attrib[i].emit; in fse_prepare() 138 fse->key.element[i].out.vs_output = vinfo->attrib[i].src_index; in fse_prepare() 169 (vinfo->size * 4)); in fse_prepare() [all …]
|
D | draw_pipe_vbuf.c | 57 const struct vertex_info *vinfo; member 143 if (0) draw_dump_emitted_vertex(vbuf->vinfo, (uint8_t *)vbuf->vertex_ptr); in emit_vertex() 217 vbuf->vinfo = vbuf->render->get_vertex_info(vbuf->render); in vbuf_start_prim() 218 vbuf->vertex_size = vbuf->vinfo->size * sizeof(float); in vbuf_start_prim() 224 for (i = 0; i < vbuf->vinfo->num_attribs; i++) { in vbuf_start_prim() 228 unsigned src_offset = (vbuf->vinfo->attrib[i].src_index * 4 * sizeof(float) ); in vbuf_start_prim() 230 output_format = draw_translate_vinfo_format(vbuf->vinfo->attrib[i].emit); in vbuf_start_prim() 231 emit_sz = draw_translate_vinfo_size(vbuf->vinfo->attrib[i].emit); in vbuf_start_prim() 236 if (vbuf->vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in vbuf_start_prim() 252 hw_key.nr_elements = vbuf->vinfo->num_attribs; in vbuf_start_prim() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_derived.c | 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; in compute_vertex_info() local 67 vinfo->num_attribs = 0; in compute_vertex_info() 73 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, vs_index); in compute_vertex_info() 87 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; in compute_vertex_info() 93 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, vs_index); in compute_vertex_info() 103 llvmpipe->bcolor_slot[i] = (int)vinfo->num_attribs; in compute_vertex_info() 104 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, vs_index); in compute_vertex_info() 115 llvmpipe->psize_slot = vinfo->num_attribs; in compute_vertex_info() 116 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_CONSTANT, vs_index); in compute_vertex_info() 119 draw_compute_vertex_size(vinfo); in compute_vertex_info() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_draw_feedback.c | 60 struct vertex_info vinfo; in set_feedback_vertex_format() 63 memset(&vinfo, 0, sizeof(vinfo)); in set_feedback_vertex_format() 67 vinfo.num_attribs = 1; in set_feedback_vertex_format() 68 vinfo.format[0] = FORMAT_4F; in set_feedback_vertex_format() 69 vinfo.interp_mode[0] = INTERP_LINEAR; in set_feedback_vertex_format() 74 vinfo.num_attribs = st->state.vs->cso->state.num_outputs; in set_feedback_vertex_format() 75 for (i = 0; i < vinfo.num_attribs; i++) { in set_feedback_vertex_format() 76 vinfo.format[i] = FORMAT_4F; in set_feedback_vertex_format() 77 vinfo.interp_mode[i] = INTERP_LINEAR; in set_feedback_vertex_format() 81 draw_set_vertex_info(st->draw, &vinfo); in set_feedback_vertex_format()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_swtnl_state.c | 152 struct vertex_info *vinfo = &svga_render->vertex_info; in svga_swtnl_update_vdecl() local 161 memset(vinfo, 0, sizeof(*vinfo)); in svga_swtnl_update_vdecl() 166 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_LINEAR, src); in svga_swtnl_update_vdecl() 167 vinfo->attrib[0].emit = EMIT_4F; in svga_swtnl_update_vdecl() 186 draw_emit_vertex_attr(vinfo, EMIT_4F, colorInterp, src); in svga_swtnl_update_vdecl() 193 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, src); in svga_swtnl_update_vdecl() 202 draw_emit_vertex_attr(vinfo, EMIT_1F, INTERP_PERSPECTIVE, src); in svga_swtnl_update_vdecl() 217 draw_compute_vertex_size(vinfo); in svga_swtnl_update_vdecl()
|
/external/cblas/src/ |
D | xerbla.c | 10 void F77_xerbla(F77_CHAR F77_srname, void *vinfo) in F77_xerbla() argument 12 void F77_xerbla(char *srname, void *vinfo) in F77_xerbla() 23 F77_INT *info=vinfo; in F77_xerbla() 26 int *info=vinfo; in F77_xerbla()
|
/external/cblas/testing/ |
D | c_xerbla.c | 88 void F77_xerbla(F77_Char F77_srname, void *vinfo) in F77_xerbla() argument 90 void F77_xerbla(char *srname, void *vinfo) in F77_xerbla() 100 F77_Integer *info=vinfo; in F77_xerbla() 104 int *info=vinfo; in F77_xerbla()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_derived.c | 65 struct vertex_info *vinfo = &softpipe->vertex_info; in softpipe_get_vertex_info() local 67 if (vinfo->num_attribs == 0) { in softpipe_get_vertex_info() 88 vinfo->num_attribs = 0; in softpipe_get_vertex_info() 134 draw_emit_vertex_attr(vinfo, EMIT_4F, interp, src); in softpipe_get_vertex_info() 140 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_CONSTANT, in softpipe_get_vertex_info() 144 draw_compute_vertex_size(vinfo); in softpipe_get_vertex_info() 147 return vinfo; in softpipe_get_vertex_info()
|
D | sp_setup.c | 611 const struct vertex_info *vinfo = softpipe_get_vertex_info(softpipe); in setup_tri_coefficients() local 630 const uint vertSlot = vinfo->attrib[fragSlot].src_index; in setup_tri_coefficients() 633 switch (vinfo->attrib[fragSlot].interp_mode) { in setup_tri_coefficients() 951 const struct vertex_info *vinfo = softpipe_get_vertex_info(softpipe); in setup_line_coefficients() local 986 const uint vertSlot = vinfo->attrib[fragSlot].src_index; in setup_line_coefficients() 989 switch (vinfo->attrib[fragSlot].interp_mode) { in setup_line_coefficients() 1208 const struct vertex_info *vinfo = softpipe_get_vertex_info(softpipe); in sp_setup_point() local 1244 const uint vertSlot = vinfo->attrib[fragSlot].src_index; in sp_setup_point() 1247 switch (vinfo->attrib[fragSlot].interp_mode) { in sp_setup_point()
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_draw.c | 224 struct vertex_info *vinfo = &r->vertex_info; in vroute_add() local 243 draw_emit_vertex_attr(vinfo, emit, vroute[sem].interp, attrib); in vroute_add() 247 r->vtxptr[attrib] = vinfo->size | NV30_3D_VTXBUF_DMA1; in vroute_add() 248 vinfo->size += draw_translate_vinfo_size(emit); in vroute_add() 275 struct vertex_info *vinfo = &r->vertex_info; in nv30_render_validate() local 295 vinfo->num_attribs = 0; in nv30_render_validate() 296 vinfo->size = 0; in nv30_render_validate() 329 r->vtxfmt[i] |= vinfo->size << 8; in nv30_render_validate() 360 vinfo->size /= 4; in nv30_render_validate()
|
/external/mesa3d/src/egl/drivers/glx/ |
D | egl_glx.c | 362 struct GLX_egl_display *GLX_dpy, XVisualInfo *vinfo, in convert_visual() argument 370 err = GLX_drv->glXGetConfig(dpy, vinfo, GLX_USE_GL, &val); in convert_visual() 372 err = GLX_drv->glXGetConfig(dpy, vinfo, GLX_RGBA, &val); in convert_visual() 377 err = GLX_drv->glXGetConfig(dpy, vinfo, GLX_DOUBLEBUFFER, &val); in convert_visual() 389 GLX_conf->Base.NativeVisualID = vinfo->visualid; in convert_visual() 390 GLX_conf->Base.NativeVisualType = vinfo->class; in convert_visual() 401 err = GLX_drv->glXGetConfig(dpy, vinfo, attr, &val); in convert_visual() 906 XVisualInfo *vinfo; in GLX_eglCreatePixmapSurface() local 908 vinfo = GLX_drv->glXGetVisualFromFBConfig(GLX_dpy->dpy, fbconfig); in GLX_eglCreatePixmapSurface() 909 if (vinfo) { in GLX_eglCreatePixmapSurface() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_capa.c | 572 struct nl80211_vendor_cmd_info *vinfo; in wiphy_info_handler() local 573 if (nla_len(nl) != sizeof(*vinfo)) { in wiphy_info_handler() 577 vinfo = nla_data(nl); in wiphy_info_handler() 578 if (vinfo->vendor_id == OUI_QCA) { in wiphy_info_handler() 579 switch (vinfo->subcmd) { in wiphy_info_handler() 600 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler() 609 struct nl80211_vendor_cmd_info *vinfo; in wiphy_info_handler() local 610 if (nla_len(nl) != sizeof(*vinfo)) { in wiphy_info_handler() 614 vinfo = nla_data(nl); in wiphy_info_handler() 616 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
|
/external/libvncserver/x11vnc/ |
D | screen.c | 432 XVisualInfo vinfo; in set_visual() 492 if (XMatchVisualInfo(dpy, scr, visual_depth, vis, &vinfo)) { in set_visual() 494 } else if (XMatchVisualInfo(dpy, scr, defdepth, vis, &vinfo)) { in set_visual() 505 visual_id = vinfo.visualid; in set_visual() 2593 XVisualInfo vinfo_tmpl, *vinfo; in initialize_xdisplay_fb() 2601 vinfo = XGetVisualInfo(dpy, VisualIDMask, &vinfo_tmpl, &n); in initialize_xdisplay_fb() 2602 if (vinfo == NULL || n == 0) { in initialize_xdisplay_fb() 2609 default_visual = vinfo->visual; in initialize_xdisplay_fb() 2610 depth = vinfo->depth; in initialize_xdisplay_fb() 2618 (void *) vinfo->visual); in initialize_xdisplay_fb() [all …]
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | fakeglx.c | 146 is_usable_visual( XVisualInfo *vinfo ) in is_usable_visual() argument 148 switch (vinfo->CLASS) { in is_usable_visual() 225 level_of_visual( Display *dpy, XVisualInfo *vinfo ) in level_of_visual() argument 230 overlay_info = GetOverlayInfo(dpy, vinfo->screen, &numOverlaysPerScreen); in level_of_visual() 238 if (ov->overlay_visual == vinfo->visualid) { in level_of_visual() 265 save_glx_visual( Display *dpy, XVisualInfo *vinfo, in save_glx_visual() argument 327 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) in save_glx_visual() 328 || (comparePointers && v->vishandle == vinfo)) { in save_glx_visual() 336 xmvis = XMesaCreateVisual( dpy, vinfo, GL_TRUE, alphaFlag, dbFlag, in save_glx_visual() 346 xmvis->vishandle = vinfo; in save_glx_visual() [all …]
|
/external/skia/gm/ |
D | yuvtorgbeffect.cpp | 50 SkImageInfo vinfo = SkImageInfo::MakeA8(VSIZE, VSIZE); in onOnceBeforeDraw() local 51 fBmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | glx_api.c | 132 is_usable_visual( XVisualInfo *vinfo ) in is_usable_visual() argument 134 switch (vinfo->CLASS) { in is_usable_visual() 142 if (vinfo->depth>=4) { in is_usable_visual() 164 save_glx_visual( Display *dpy, XVisualInfo *vinfo, in save_glx_visual() argument 230 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) in save_glx_visual() 231 || (comparePointers && v->vishandle == vinfo)) { in save_glx_visual() 239 xmvis = XMesaCreateVisual( dpy, vinfo, rgbFlag, alphaFlag, dbFlag, in save_glx_visual() 249 xmvis->vishandle = vinfo; in save_glx_visual() 350 find_glx_visual( Display *dpy, XVisualInfo *vinfo ) in find_glx_visual() argument 357 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual() [all …]
|
/external/jpeg/ |
D | ltmain.sh | 392 vinfo= 805 if test -n "$vinfo" && test -n "$release"; then 931 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 1077 if test -n "$vinfo"; then 1149 if test -n "$vinfo"; then
|
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
D | native_ximage.c | 352 choose_format(const XVisualInfo *vinfo) in choose_format() argument 356 switch (vinfo->depth) { in choose_format()
|