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

/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/
H A Ddevice.c1930 static HRESULT d3d8_device_prepare_vertex_buffer(struct d3d8_device *device, UINT min_size) argument
1934 if (device->vertex_buffer_size < min_size || !device->vertex_buffer)
1936 UINT size = max(device->vertex_buffer_size * 2, min_size);
2014 static HRESULT d3d8_device_prepare_index_buffer(struct d3d8_device *device, UINT min_size) argument
2018 if (device->index_buffer_size < min_size || !device->index_buffer)
2020 UINT size = max(device->index_buffer_size * 2, min_size);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/
H A Ddevice.c2270 static HRESULT d3d9_device_prepare_vertex_buffer(struct d3d9_device *device, UINT min_size) argument
2274 if (device->vertex_buffer_size < min_size || !device->vertex_buffer)
2276 UINT size = max(device->vertex_buffer_size * 2, min_size);
2354 static HRESULT d3d9_device_prepare_index_buffer(struct d3d9_device *device, UINT min_size) argument
2358 if (device->index_buffer_size < min_size || !device->index_buffer)
2360 UINT size = max(device->index_buffer_size * 2, min_size);

Completed in 84 milliseconds