On 1 April 2013 10:30, Stefan Dösinger stefan@codeweavers.com wrote:
- if (wined3d_settings.placebo == PLACEBO_VIDMEM)
- {
TRACE("Placing buffer %p in video memory\n", This);
glHint(This->buffer_type_hint, GL_FASTEST);
- }
I'm going to go out on a limb and call April fools on this. The state of GL drivers being what it is though, there's a slight chance such a thing actually exists, in which case please link to the documentation instead.
Somewhat related, I do actually have a patch to change the usage hint for static vertex buffers to GL_STATIC_DRAW_ARB in my tree, which should actually make the driver more likely to initially place those in VRAM instead of GTT. (It mostly just helps with initial fps after a VB is just created, most drivers eventually figure out the optimal placement anyway and migrate the buffer to vram.)