[cogl] Adds a debug option for disabling use of VBOs --cogl-debug=disable-vbos

For testing the VBO fallback paths it helps to be able to disable the
COGL_FEATURE_VBOS feature flag.  When VBOs aren't available Cogl should use
client side malloc()'d buffers instead.
This commit is contained in:
Robert Bragg
2009-06-17 01:46:06 +01:00
parent 54159f5a1d
commit 3ea7816499
3 changed files with 7 additions and 2 deletions

View File

@ -42,7 +42,8 @@ static const GDebugKey cogl_debug_keys[] = {
{ "handle", COGL_DEBUG_HANDLE },
{ "blend-strings", COGL_DEBUG_BLEND_STRINGS },
{ "disable-batching", COGL_DEBUG_DISABLE_BATCHING },
{ "client-side-matrices", COGL_DEBUG_FORCE_CLIENT_SIDE_MATRICES }
{ "client-side-matrices", COGL_DEBUG_FORCE_CLIENT_SIDE_MATRICES },
{ "disable-vbos", COGL_DEBUG_DISABLE_VBOS }
};
static const gint n_cogl_debug_keys = G_N_ELEMENTS (cogl_debug_keys);