Lines Matching defs:stream_info

4043         const struct wined3d_stream_info *stream_info, struct wined3d_context *context)
4056 if (!(stream_info->use_map & (1 << i)))
4063 if (stateblock->streamFlags[stream_info->elements[i].stream_idx] & WINED3DSTREAMSOURCE_INSTANCEDATA)
4070 TRACE_(d3d_shader)("Loading array %u [VBO=%u]\n", i, stream_info->elements[i].buffer_object);
4072 if (stream_info->elements[i].stride)
4074 if (curVBO != stream_info->elements[i].buffer_object)
4076 GL_EXTCALL(glBindBufferARB(GL_ARRAY_BUFFER_ARB, stream_info->elements[i].buffer_object));
4078 curVBO = stream_info->elements[i].buffer_object;
4080 vb = (struct wined3d_buffer *)stateblock->streamSource[stream_info->elements[i].stream_idx];
4089 i, stream_info->elements[i].stride, vb->conversion_stride);
4091 stream_info->elements[i].data, vb->conversion_shift[(DWORD_PTR)stream_info->elements[i].data]);
4092 TRACE("Opengl type %#x\n", stream_info->elements[i].format_desc->gl_vtx_type);
4093 shift_index = ((DWORD_PTR)stream_info->elements[i].data + offset[stream_info->elements[i].stream_idx]);
4094 shift_index = shift_index % stream_info->elements[i].stride;
4095 GL_EXTCALL(glVertexAttribPointerARB(i, stream_info->elements[i].format_desc->gl_vtx_format,
4096 stream_info->elements[i].format_desc->gl_vtx_type,
4097 stream_info->elements[i].format_desc->gl_normalized,
4098 vb->conversion_stride, stream_info->elements[i].data + vb->conversion_shift[shift_index]
4099 + stateblock->loadBaseVertexIndex * stream_info->elements[i].stride
4100 + offset[stream_info->elements[i].stream_idx]));
4103 GL_EXTCALL(glVertexAttribPointerARB(i, stream_info->elements[i].format_desc->gl_vtx_format,
4104 stream_info->elements[i].format_desc->gl_vtx_type,
4105 stream_info->elements[i].format_desc->gl_normalized,
4106 stream_info->elements[i].stride, stream_info->elements[i].data
4107 + stateblock->loadBaseVertexIndex * stream_info->elements[i].stride
4108 + offset[stream_info->elements[i].stream_idx]));
4120 const BYTE *ptr = stream_info->elements[i].data + offset[stream_info->elements[i].stream_idx];
4121 if (stream_info->elements[i].buffer_object)
4123 vb = (struct wined3d_buffer *)stateblock->streamSource[stream_info->elements[i].stream_idx];
4129 switch (stream_info->elements[i].format_desc->format)