Zebediah Figura : wined3d: Trace GL buffer object creation more accurately.
Alexandre Julliard
julliard at winehq.org
Fri Mar 11 14:49:09 CST 2022
Module: wine
Branch: master
Commit: 94c08e6dd1e72083fb9b42874e659b79978640af
URL: https://source.winehq.org/git/wine.git/?a=commit;h=94c08e6dd1e72083fb9b42874e659b79978640af
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Thu Mar 10 17:07:06 2022 -0600
wined3d: Trace GL buffer object creation more accurately.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 4f356bdc7ec..d14b40d8e3e 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1080,6 +1080,7 @@ static struct wined3d_allocator_block *wined3d_device_gl_allocate_memory(struct
*id = wined3d_allocator_chunk_gl(block->chunk)->gl_buffer;
wined3d_device_gl_allocator_unlock(device_gl);
+ TRACE("Allocated offset %Iu from buffer object %u.\n", block->offset, *id);
return block;
}
@@ -1144,6 +1145,7 @@ bool wined3d_device_gl_create_bo(struct wined3d_device_gl *device_gl, struct win
checkGLcall("buffer object creation");
return false;
}
+ TRACE("Created buffer object %u.\n", id);
wined3d_context_gl_bind_bo(context_gl, binding, id);
if (!coherent && gl_info->supported[APPLE_FLUSH_BUFFER_RANGE])
@@ -1158,7 +1160,6 @@ bool wined3d_device_gl_create_bo(struct wined3d_device_gl *device_gl, struct win
checkGLcall("buffer object creation");
}
- TRACE("Created buffer object %u.\n", id);
bo->id = id;
bo->memory = memory;
bo->size = size;
More information about the wine-cvs
mailing list