/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vertex.c | 43 * vinfo->size field. 46 draw_compute_vertex_size(struct vertex_info *vinfo) argument 50 vinfo->size = 0; 51 for (i = 0; i < vinfo->num_attribs; i++) 52 vinfo->size += draw_translate_vinfo_size(vinfo->attrib[i].emit); 54 assert(vinfo->size % 4 == 0); 56 vinfo->size /= 4; 61 draw_dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data) argument 65 for (i = 0; i < vinfo [all...] |
H A D | draw_vertex.h | 125 draw_emit_vertex_attr(struct vertex_info *vinfo, argument 130 const uint n = vinfo->num_attribs; 131 assert(n < Elements(vinfo->attrib)); 132 vinfo->attrib[n].emit = emit; 133 vinfo->attrib[n].interp_mode = interp; 134 vinfo->attrib[n].src_index = src_index; 135 vinfo->num_attribs++; 140 extern void draw_compute_vertex_size(struct vertex_info *vinfo); 142 void draw_dump_emitted_vertex(const struct vertex_info *vinfo,
|
H A D | draw_pt_fetch_emit.c | 80 const struct vertex_info *vinfo; member in struct:fetch_emit_middle_end 97 const struct vertex_info *vinfo; local 108 vinfo = feme->vinfo = draw->render->get_vertex_info(draw->render); 116 for (i = 0; i < vinfo->num_attribs; i++) { 117 const struct pipe_vertex_element *src = &draw->pt.vertex_element[vinfo->attrib[i].src_index]; 125 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); 126 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); 128 if (vinfo->attrib[i].emit == EMIT_OMIT) 131 if (vinfo [all...] |
H A D | draw_pt_emit.c | 45 const struct vertex_info *vinfo; member in struct:pt_emit 55 const struct vertex_info *vinfo; local 73 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); 78 for (i = 0; i < vinfo->num_attribs; i++) { 82 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float) ); 84 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); 85 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); 90 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { 106 hw_key.nr_elements = vinfo [all...] |
H A D | draw_pt_fetch_shade_emit.c | 63 const struct vertex_info *vinfo; member in struct:fetch_shade_emit 77 const struct vertex_info *vinfo; local 89 fse->vinfo = vinfo = draw->render->get_vertex_info(draw->render); 91 fse->key.output_stride = vinfo->size * 4; 92 fse->key.nr_outputs = vinfo->num_attribs; 127 for (i = 0; i < vinfo->num_attribs; i++) { 128 unsigned emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); 137 fse->key.element[i].out.format = vinfo->attrib[i].emit; 138 fse->key.element[i].out.vs_output = vinfo [all...] |
H A D | draw_pipe_vbuf.c | 57 const struct vertex_info *vinfo; member in struct:vbuf_stage 143 if (0) draw_dump_emitted_vertex(vbuf->vinfo, (uint8_t *)vbuf->vertex_ptr); 217 vbuf->vinfo = vbuf->render->get_vertex_info(vbuf->render); 218 vbuf->vertex_size = vbuf->vinfo->size * sizeof(float); 224 for (i = 0; i < vbuf->vinfo->num_attribs; i++) { 228 unsigned src_offset = (vbuf->vinfo->attrib[i].src_index * 4 * sizeof(float) ); 230 output_format = draw_translate_vinfo_format(vbuf->vinfo->attrib[i].emit); 231 emit_sz = draw_translate_vinfo_size(vbuf->vinfo->attrib[i].emit); 236 if (vbuf->vinfo->attrib[i].emit == EMIT_1F_PSIZE) { 252 hw_key.nr_elements = vbuf->vinfo [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state_derived.c | 61 struct vertex_info vinfo; local 68 memset(&vinfo, 0, sizeof(vinfo)); 110 draw_emit_vertex_attr(&vinfo, EMIT_4F, INTERP_LINEAR, src); 111 vinfo.hwfmt[0] |= S4_VFMT_XYZW; 112 vinfo.attrib[0].emit = EMIT_4F; 115 draw_emit_vertex_attr(&vinfo, EMIT_3F, INTERP_LINEAR, src); 116 vinfo.hwfmt[0] |= S4_VFMT_XYZ; 117 vinfo.attrib[0].emit = EMIT_3F; 126 draw_emit_vertex_attr(&vinfo, EMIT_4UB_BGR [all...] |
H A D | i915_prim_emit.c | 72 const struct vertex_info *vinfo = &i915->current.vertex_info; local 78 for (i = 0; i < vinfo->num_attribs; i++) { 79 const uint j = vinfo->attrib[i].src_index; 81 switch (vinfo->attrib[i].emit) { 122 assert(count == vinfo->size);
|
/external/cblas/src/ |
H A D | xerbla.c | 10 void F77_xerbla(F77_CHAR F77_srname, void *vinfo) argument 12 void F77_xerbla(char *srname, void *vinfo) 23 F77_INT *info=vinfo; 26 int *info=vinfo;
|
/external/iproute2/bridge/ |
H A D | vlan.c | 37 struct bridge_vlan_info vinfo; local 40 memset(&vinfo, 0, sizeof(vinfo)); 61 vinfo.flags |= BRIDGE_VLAN_INFO_RANGE_BEGIN; 70 vinfo.flags |= BRIDGE_VLAN_INFO_PVID; 72 vinfo.flags |= BRIDGE_VLAN_INFO_UNTAGGED; 97 if (vinfo.flags & BRIDGE_VLAN_INFO_RANGE_BEGIN) { 103 if (vinfo.flags & BRIDGE_VLAN_INFO_PVID) { 115 vinfo.vid = vid; 118 addattr_l(&req.n, sizeof(req), IFLA_BRIDGE_VLAN_INFO, &vinfo, 179 struct bridge_vlan_info *vinfo; local [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/ |
H A D | native_fbdev.c | 120 vinfo_to_format(const struct fb_var_screeninfo *vinfo) argument 125 switch (vinfo->bits_per_pixel) { 127 if (vinfo->red.length == 8 && 128 vinfo->green.length == 8 && 129 vinfo->blue.length == 8) { 130 format = (vinfo->transp.length == 8) ? 135 if (vinfo->red.length == 5 && 136 vinfo->green.length == 6 && 137 vinfo->blue.length == 5 && 138 vinfo 149 fbdev_surface_update_drawable(struct native_surface *nsurf, const struct fb_var_screeninfo *vinfo) argument 199 struct fb_var_screeninfo vinfo; local 253 struct fb_var_screeninfo vinfo; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_derived.c | 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; local 67 vinfo->num_attribs = 0; 73 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, vs_index); 87 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; 93 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, vs_index); 103 llvmpipe->bcolor_slot[i] = (int)vinfo->num_attribs; 104 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, vs_index); 115 llvmpipe->psize_slot = vinfo->num_attribs; 116 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_CONSTANT, vs_index); 119 draw_compute_vertex_size(vinfo); [all...] |
/external/cblas/testing/ |
H A D | c_xerbla.c | 88 void F77_xerbla(F77_Char F77_srname, void *vinfo) argument 90 void F77_xerbla(char *srname, void *vinfo) 100 F77_Integer *info=vinfo; 104 int *info=vinfo;
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw_feedback.c | 60 struct vertex_info vinfo; 63 memset(&vinfo, 0, sizeof(vinfo)); 67 vinfo.num_attribs = 1; 68 vinfo.format[0] = FORMAT_4F; 69 vinfo.interp_mode[0] = INTERP_LINEAR; 74 vinfo.num_attribs = st->state.vs->cso->state.num_outputs; 75 for (i = 0; i < vinfo.num_attribs; i++) { 76 vinfo.format[i] = FORMAT_4F; 77 vinfo [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_swtnl_state.c | 152 struct vertex_info *vinfo = &svga_render->vertex_info; local 161 memset(vinfo, 0, sizeof(*vinfo)); 166 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_LINEAR, src); 167 vinfo->attrib[0].emit = EMIT_4F; 186 draw_emit_vertex_attr(vinfo, EMIT_4F, colorInterp, src); 193 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, src); 202 draw_emit_vertex_attr(vinfo, EMIT_1F, INTERP_PERSPECTIVE, src); 217 draw_compute_vertex_size(vinfo);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_derived.c | 65 struct vertex_info *vinfo = &softpipe->vertex_info; local 67 if (vinfo->num_attribs == 0) { 88 vinfo->num_attribs = 0; 134 draw_emit_vertex_attr(vinfo, EMIT_4F, interp, src); 140 draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_CONSTANT, 144 draw_compute_vertex_size(vinfo); 147 return vinfo;
|
H A D | sp_setup.c | 611 const struct vertex_info *vinfo = softpipe_get_vertex_info(softpipe); local 630 const uint vertSlot = vinfo->attrib[fragSlot].src_index; 633 switch (vinfo->attrib[fragSlot].interp_mode) { 951 const struct vertex_info *vinfo = softpipe_get_vertex_info(softpipe); local 986 const uint vertSlot = vinfo->attrib[fragSlot].src_index; 989 switch (vinfo->attrib[fragSlot].interp_mode) { 1208 const struct vertex_info *vinfo = softpipe_get_vertex_info(softpipe); local 1244 const uint vertSlot = vinfo->attrib[fragSlot].src_index; 1247 switch (vinfo->attrib[fragSlot].interp_mode) {
|
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_draw.c | 224 struct vertex_info *vinfo = &r->vertex_info; local 243 draw_emit_vertex_attr(vinfo, emit, vroute[sem].interp, attrib); 247 r->vtxptr[attrib] = vinfo->size | NV30_3D_VTXBUF_DMA1; 248 vinfo->size += draw_translate_vinfo_size(emit); 275 struct vertex_info *vinfo = &r->vertex_info; local 295 vinfo->num_attribs = 0; 296 vinfo->size = 0; 329 r->vtxfmt[i] |= vinfo->size << 8; 360 vinfo->size /= 4;
|
/external/skia/gm/ |
H A D | yuvtorgbeffect.cpp | 53 SkImageInfo vinfo = SkImageInfo::MakeA8(VSIZE, VSIZE); variable 54 fBmp[2].allocPixels(vinfo);
|
H A D | imagefromyuvtextures.cpp | 56 SkImageInfo vinfo = SkImageInfo::MakeA8(kBmpSize / 2, kBmpSize / 2); variable 57 fYUVBmps[2].allocPixels(vinfo);
|
/external/mesa3d/src/egl/drivers/glx/ |
H A D | egl_glx.c | 362 struct GLX_egl_display *GLX_dpy, XVisualInfo *vinfo, 370 err = GLX_drv->glXGetConfig(dpy, vinfo, GLX_USE_GL, &val); 372 err = GLX_drv->glXGetConfig(dpy, vinfo, GLX_RGBA, &val); 377 err = GLX_drv->glXGetConfig(dpy, vinfo, GLX_DOUBLEBUFFER, &val); 389 GLX_conf->Base.NativeVisualID = vinfo->visualid; 390 GLX_conf->Base.NativeVisualType = vinfo->class; 401 err = GLX_drv->glXGetConfig(dpy, vinfo, attr, &val); 906 XVisualInfo *vinfo; local 908 vinfo = GLX_drv->glXGetVisualFromFBConfig(GLX_dpy->dpy, fbconfig); 909 if (vinfo) { 361 convert_visual(struct GLX_egl_driver *GLX_drv, struct GLX_egl_display *GLX_dpy, XVisualInfo *vinfo, struct GLX_egl_config *GLX_conf) argument [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
H A D | fakeglx.c | 146 is_usable_visual( XVisualInfo *vinfo ) 148 switch (vinfo->CLASS) { 218 * vinfo - the XVisualInfo to test 225 level_of_visual( Display *dpy, XVisualInfo *vinfo ) 230 overlay_info = GetOverlayInfo(dpy, vinfo->screen, &numOverlaysPerScreen); 238 if (ov->overlay_visual == vinfo->visualid) { 265 save_glx_visual( Display *dpy, XVisualInfo *vinfo, argument 327 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) 328 || (comparePointers && v->vishandle == vinfo)) { 336 xmvis = XMesaCreateVisual( dpy, vinfo, GL_TRU 485 XVisualInfo *vinfo = glxvis->visinfo; local [all...] |
/external/webrtc/webrtc/modules/video_render/test/testAPI/ |
H A D | testAPI.cc | 169 XVisualInfo vinfo; // screen visual info struct 178 // put desired visual info for the screen in vinfo 179 if( XMatchVisualInfo(_display, screen, 24, TrueColor, &vinfo) != 0 ) 185 xswa.colormap = XCreateColormap(_display, DefaultRootWindow(_display), vinfo.visual, AllocNone); 212 0, vinfo.depth, 214 vinfo.visual,
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_nl80211_capa.c | 591 struct nl80211_vendor_cmd_info *vinfo; local 592 if (nla_len(nl) != sizeof(*vinfo)) { 596 vinfo = nla_data(nl); 597 if (vinfo->vendor_id == OUI_QCA) { 598 switch (vinfo->subcmd) { 633 vinfo->vendor_id, vinfo->subcmd); 642 struct nl80211_vendor_cmd_info *vinfo; local 643 if (nla_len(nl) != sizeof(*vinfo)) { 647 vinfo [all...] |
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_nl80211_capa.c | 591 struct nl80211_vendor_cmd_info *vinfo; local 592 if (nla_len(nl) != sizeof(*vinfo)) { 596 vinfo = nla_data(nl); 597 if (vinfo->vendor_id == OUI_QCA) { 598 switch (vinfo->subcmd) { 633 vinfo->vendor_id, vinfo->subcmd); 642 struct nl80211_vendor_cmd_info *vinfo; local 643 if (nla_len(nl) != sizeof(*vinfo)) { 647 vinfo [all...] |