Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mir_client_library_debug.h File Reference
#include <mir_toolkit/mir_client_library.h>
Include dependency graph for mir_client_library_debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int mir_debug_surface_id (MirSurface *surface)
 Return the ID of a surface (only useful for debug output). More...
 
uint32_t mir_debug_surface_current_buffer_id (MirSurface *surface)
 Get the ID of the surface's current buffer (only useful for debug purposes) More...
 

Function Documentation

uint32_t mir_debug_surface_current_buffer_id ( MirSurface surface)

Get the ID of the surface's current buffer (only useful for debug purposes)

Precondition
The surface is valid
Parameters
[in]surfaceThe surface
Returns
The internal buffer ID of the surface's current buffer. This is the buffer that is currently being drawn to, and would be returned by mir_surface_get_current_buffer.
int mir_debug_surface_id ( MirSurface surface)

Return the ID of a surface (only useful for debug output).

Parameters
[in]surfaceThe surface
Returns
An internal ID that identifies the surface

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013