/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
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/mesa3d/src/gallium/drivers/llvmpipe/ |
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/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
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);
|
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_BGRA, colorInterp, src) [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
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);
|
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_BGRA, colorInterp, src) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
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->num_attribs [all...] |
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->attrib[i].emit == EMIT_1F_PSIZE) [all...] |
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->attrib[i].src_index [all...] |
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->num_attribs [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
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;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
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/auxiliary/draw/ |
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->num_attribs [all...] |
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->attrib[i].emit == EMIT_1F_PSIZE) [all...] |
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->attrib[i].src_index [all...] |
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->num_attribs [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
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;
|
/external/mesa3d/src/gallium/drivers/svga/ |
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);
|
/frameworks/native/cmds/screenshot/ |
screenshot.c | 21 struct fb_var_screeninfo vinfo; local 34 if(ioctl(fb, FBIOGET_VSCREENINFO, &vinfo) < 0) { 62 bytespp = vinfo.bits_per_pixel / 8; 64 vinfo.xres, vinfo.yres, vinfo.bits_per_pixel / 4, 69 rowlen=vinfo.xres * bytespp; 77 offset = vinfo.xoffset * bytespp + vinfo.xres * vinfo.yoffset * bytespp [all...] |
/hardware/qcom/display/msm8974/liboverlay/ |
overlayWriteback.cpp | 115 fb_var_screeninfo vinfo; local 116 memset(&vinfo, 0, sizeof(fb_var_screeninfo)); 117 if(!mdp_wrapper::getVScreenInfo(mFd.getFD(), vinfo)) { 121 vinfo.xres = xres; 122 vinfo.yres = yres; 123 vinfo.xres_virtual = xres; 124 vinfo.yres_virtual = yres; 125 vinfo.xoffset = 0; 126 vinfo.yoffset = 0; 127 if(!mdp_wrapper::setVScreenInfo(mFd.getFD(), vinfo)) { [all...] |
/frameworks/base/cmds/screencap/ |
screencap.cpp | 65 static status_t vinfoToPixelFormat(const fb_var_screeninfo& vinfo, 69 switch (vinfo.bits_per_pixel) { 79 // TODO: do better decoding of vinfo here 155 struct fb_var_screeninfo vinfo; local 156 if (ioctl(fb, FBIOGET_VSCREENINFO, &vinfo) == 0) { 158 if (vinfoToPixelFormat(vinfo, &bytespp, &f) == NO_ERROR) { 159 size_t offset = (vinfo.xoffset + vinfo.yoffset*vinfo.xres) * bytespp; 160 w = vinfo.xres [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_display.c | 64 struct fb_var_screeninfo vinfo; variable in typeref:struct:fb_var_screeninfo 191 e->dst.width = vinfo.xres; 192 e->dst.height = vinfo.yres; 289 if (ioctl(fb_fd, FBIOGET_VSCREENINFO, &vinfo) < 0) { 299 vinfo.activate = FB_ACTIVATE_VBL; 316 result = ioctl(fb_fd, FBIOPAN_DISPLAY, &vinfo); 473 e->dst.width = vinfo.xres; 474 e->dst.height = vinfo.yres; 533 e->dst.width = vinfo.xres; 534 e->dst.height = vinfo.yres [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/fbdev/ |
native_fbdev.c | 120 vinfo_to_format(const struct fb_var_screeninfo *vinfo) 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->transp.length == 0 199 struct fb_var_screeninfo vinfo; local 253 struct fb_var_screeninfo vinfo; local [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
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;
|