Searched defs:ib_pos (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/
H A Ddevice.c2055 UINT ib_pos; local
2097 ib_pos = device->index_buffer_pos;
2098 align = ib_pos % idx_fmt_size;
2100 if (ib_pos + idx_size + align > device->index_buffer_size)
2101 ib_pos = 0;
2103 ib_pos += align;
2105 hr = wined3d_buffer_map(device->index_buffer, ib_pos, idx_size, &buffer_data,
2106 ib_pos ? WINED3D_MAP_NOOVERWRITE : WINED3D_MAP_DISCARD);
2111 device->index_buffer_pos = ib_pos + idx_size;
2122 hr = wined3d_device_draw_indexed_primitive(device->wined3d_device, ib_pos / idx_fmt_siz
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/
H A Ddevice.c2395 UINT ib_pos; local
2437 ib_pos = device->index_buffer_pos;
2438 align = ib_pos % idx_fmt_size;
2440 if (ib_pos + idx_size + align > device->index_buffer_size)
2441 ib_pos = 0;
2443 ib_pos += align;
2445 hr = wined3d_buffer_map(device->index_buffer, ib_pos, idx_size, &buffer_data,
2446 ib_pos ? WINED3D_MAP_NOOVERWRITE : WINED3D_MAP_DISCARD);
2451 device->index_buffer_pos = ib_pos + idx_size;
2462 hr = wined3d_device_draw_indexed_primitive(device->wined3d_device, ib_pos / idx_fmt_siz
[all...]

Completed in 804 milliseconds