mesa: added VERBOSE_SWAPBUFFERS
This commit is contained in:
parent
f9784072fe
commit
2fd5cb7133
|
@ -173,6 +173,8 @@ GLfloat _mesa_ubyte_to_float_color_tab[256];
|
|||
void
|
||||
_mesa_notifySwapBuffers(__GLcontext *ctx)
|
||||
{
|
||||
if (MESA_VERBOSE & VERBOSE_SWAPBUFFERS)
|
||||
_mesa_debug(ctx, "SwapBuffers\n");
|
||||
FLUSH_CURRENT( ctx, 0 );
|
||||
if (ctx->Driver.Flush) {
|
||||
ctx->Driver.Flush(ctx);
|
||||
|
|
|
@ -175,7 +175,8 @@ static void add_debug_flags( const char *debug )
|
|||
{ "list", VERBOSE_DISPLAY_LIST },
|
||||
{ "lighting", VERBOSE_LIGHTING },
|
||||
{ "disassem", VERBOSE_DISASSEM },
|
||||
{ "draw", VERBOSE_DRAW }
|
||||
{ "draw", VERBOSE_DRAW },
|
||||
{ "swap", VERBOSE_SWAPBUFFERS }
|
||||
};
|
||||
GLuint i;
|
||||
|
||||
|
|
|
@ -3110,7 +3110,8 @@ enum _verbose
|
|||
VERBOSE_PRIMS = 0x0400,
|
||||
VERBOSE_VERTS = 0x0800,
|
||||
VERBOSE_DISASSEM = 0x1000,
|
||||
VERBOSE_DRAW = 0x2000
|
||||
VERBOSE_DRAW = 0x2000,
|
||||
VERBOSE_SWAPBUFFERS = 0x4000
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue