/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/ |
ClearActivity.java | 111 FloatBuffer vb = vbb.asFloatBuffer(); local 138 vb.put(v).position(0); 139 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, vb); 147 vb.put(v).position(0); 148 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, vb);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_vbo.c | 135 nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb, 139 const void *data = (const uint8_t *)vb->user_buffer + ve->src_offset; 143 assert(vb->user_buffer); 205 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; local 208 if (!(nv50->vbo_user & (1 << b)) || !vb->stride) 213 addrs[b] = nouveau_scratch_data(&nv50->base, vb->user_buffer, base, size, 233 struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; local 239 if (!vb->stride) { 240 nv50_emit_vtxattr(nv50, vb, ve, i); 249 address[b] = nouveau_scratch_data(&nv50->base, vb->user_buffer 281 struct pipe_vertex_buffer *vb; local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_vbo.c | 135 nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb, 139 const void *data = (const uint8_t *)vb->user_buffer + ve->src_offset; 143 assert(vb->user_buffer); 205 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; local 208 if (!(nv50->vbo_user & (1 << b)) || !vb->stride) 213 addrs[b] = nouveau_scratch_data(&nv50->base, vb->user_buffer, base, size, 233 struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; local 239 if (!vb->stride) { 240 nv50_emit_vtxattr(nv50, vb, ve, i); 249 address[b] = nouveau_scratch_data(&nv50->base, vb->user_buffer 281 struct pipe_vertex_buffer *vb; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_swtnl_draw.c | 69 if (svga->curr.vb[i].buffer) { 71 svga->curr.vb[i].buffer, 113 if (svga->curr.vb[i].buffer) {
|
svga_draw.c | 119 struct pipe_resource *vb) 127 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], vb); 302 struct pipe_resource *vb = hwtnl->cmd.vdecl_vb[i]; local 303 unsigned size = vb ? vb->width0 : 0; 309 assert(vb);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_swtnl_draw.c | 69 if (svga->curr.vb[i].buffer) { 71 svga->curr.vb[i].buffer, 113 if (svga->curr.vb[i].buffer) {
|
svga_draw.c | 119 struct pipe_resource *vb) 127 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], vb); 302 struct pipe_resource *vb = hwtnl->cmd.vdecl_vb[i]; local 303 unsigned size = vb ? vb->width0 : 0; 309 assert(vb);
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_normals.c | 53 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 65 lengths = VB->NormalLengthPtr; 69 VB->AttribPtr[_TNL_ATTRIB_NORMAL], /* input normals */ 73 if (VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count > 1) { 80 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal; 82 VB->NormalLengthPtr = NULL; /* no longer valid */ 159 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
SkeletonWire.java | 95 VertexBuffer vb = getBuffer(Type.Position); local 105 vb.updateData(posBuf);
|
/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
NullRenderer.java | 131 public void updateBufferData(VertexBuffer vb) { 134 public void deleteBuffer(VertexBuffer vb) {
|
/external/libexif/test/nls/ |
test-codeset.c | 12 static int my_streq(const char *va, const char *vb) { 14 const char *b = vb;
|
/external/mesa3d/src/mesa/tnl/ |
t_vb_normals.c | 53 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 65 lengths = VB->NormalLengthPtr; 69 VB->AttribPtr[_TNL_ATTRIB_NORMAL], /* input normals */ 73 if (VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count > 1) { 80 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal; 82 VB->NormalLengthPtr = NULL; /* no longer valid */ 159 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_stream.c | 196 struct v4l2_buffer vb; local 199 memset(&vb, 0, sizeof(vb)); 200 vb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 201 vb.memory = V4L2_MEMORY_USERPTR; 202 vb.m.planes = &planes[0]; 203 vb.length = stream->fmt.fmt.pix_mp.num_planes; 206 rc = ioctl(stream->fd, VIDIOC_DQBUF, &vb); 209 idx = vb.index; 210 for(i = 0; i < vb.length; i++) [all...] |
/external/libvorbis/lib/ |
floor1.c | 591 int *floor1_fit(vorbis_block *vb,vorbis_look_floor1 *look, 715 output=_vorbis_block_alloc(vb,sizeof(*output)*posts); 746 int *floor1_interpolate_fit(vorbis_block *vb,vorbis_look_floor1 *look, 755 output=_vorbis_block_alloc(vb,sizeof(*output)*posts); 768 int floor1_encode(oggpack_buffer *opb,vorbis_block *vb, 775 codec_setup_info *ci=vb->vd->vi->codec_setup; 901 vb->pcmend/2,posts-2,class); 925 vb->pcmend/2,posts-2,class,bookas[k]); 942 int n=ci->blocksizes[vb->W]/2; 958 for(j=hx;j<vb->pcmend/2;j++)ilogmask[j]=ly; /* be certain * [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nv30_push.c | 211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i]; local 212 struct nv04_resource *res = nv04_resource(vb->buffer); 215 vb->buffer_offset, NOUVEAU_BO_RD); 218 data += info->index_bias * vb->stride; 220 ctx.translate->set_buffer(ctx.translate, i, data, vb->stride, ~0);
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_push.c | 211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i]; local 212 struct nv04_resource *res = nv04_resource(vb->buffer); 215 vb->buffer_offset, NOUVEAU_BO_RD); 218 data += info->index_bias * vb->stride; 220 ctx.translate->set_buffer(ctx.translate, i, data, vb->stride, ~0);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_state_common.c | 529 struct pipe_vertex_buffer *vb = state->vb; local 542 pipe_resource_reference(&vb[i].buffer, NULL); 547 if (memcmp(&input[i], &vb[i], sizeof(struct pipe_vertex_buffer))) { 549 vb[i].stride = input[i].stride; 550 vb[i].buffer_offset = input[i].buffer_offset; 551 pipe_resource_reference(&vb[i].buffer, input[i].buffer); 555 pipe_resource_reference(&vb[i].buffer, NULL); 1320 float *vb; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_state_common.c | 529 struct pipe_vertex_buffer *vb = state->vb; local 542 pipe_resource_reference(&vb[i].buffer, NULL); 547 if (memcmp(&input[i], &vb[i], sizeof(struct pipe_vertex_buffer))) { 549 vb[i].stride = input[i].stride; 550 vb[i].buffer_offset = input[i].buffer_offset; 551 pipe_resource_reference(&vb[i].buffer, input[i].buffer); 555 pipe_resource_reference(&vb[i].buffer, NULL); 1320 float *vb; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_push.c | 310 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i]; local 311 struct nv04_resource *res = nv04_resource(vb->buffer); 314 vb->buffer_offset, NOUVEAU_BO_RD); 317 data += info->index_bias * vb->stride; 319 ctx.translate->set_buffer(ctx.translate, i, data, vb->stride, ~0); 323 ctx.edgeflag.stride = vb->stride;
|
nvc0_state.c | 782 const struct pipe_vertex_buffer *vb) 792 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, vb[i].buffer); 793 if (vb[i].user_buffer) { 795 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; 796 if (!vb[i].stride) 799 nvc0->vtxbuf[i].buffer_offset = vb[i].buffer_offset; 801 nvc0->vtxbuf[i].stride = vb[i].stride; 810 if (vb[i].user_buffer) { 811 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; 813 if (!vb[i].stride [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_push.c | 310 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i]; local 311 struct nv04_resource *res = nv04_resource(vb->buffer); 314 vb->buffer_offset, NOUVEAU_BO_RD); 317 data += info->index_bias * vb->stride; 319 ctx.translate->set_buffer(ctx.translate, i, data, vb->stride, ~0); 323 ctx.edgeflag.stride = vb->stride;
|
nvc0_state.c | 782 const struct pipe_vertex_buffer *vb) 792 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, vb[i].buffer); 793 if (vb[i].user_buffer) { 795 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; 796 if (!vb[i].stride) 799 nvc0->vtxbuf[i].buffer_offset = vb[i].buffer_offset; 801 nvc0->vtxbuf[i].stride = vb[i].stride; 810 if (vb[i].user_buffer) { 811 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; 813 if (!vb[i].stride [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/ |
t_dd_unfilled.h | 39 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 40 GLubyte *ef = VB->EdgeFlag; 103 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 104 GLubyte *ef = VB->EdgeFlag;
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
BatchNode.java | 412 for (VertexBuffer vb : geom.getMesh().getBufferList().getArray()) { 413 compsForBuf[vb.getBufferType().ordinal()] = vb.getNumComponents(); 414 formatForBuf[vb.getBufferType().ordinal()] = vb.getFormat(); 447 VertexBuffer vb = new VertexBuffer(VertexBuffer.Type.values()[i]); local 448 vb.setupData(VertexBuffer.Usage.Dynamic, compsForBuf[i], formatForBuf[i], data); 449 outMesh.setBuffer(vb);
|
/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
TestTexture3D.java | 48 VertexBuffer vb = sphere.getBuffer(Type.Position); local 49 FloatBuffer fb = (FloatBuffer) vb.getData();
|