b5a7657076
This makes a start on porting the Cogl conformance tests that currently still live in the Clutter repository to be standalone Cogl tests that no longer require a ClutterStage. The main thing is that this commit brings in is the basic testing infrastructure we need, so now we can port more and more tests incrementally. Since the test suite wants a way to synchronize X requests/replies and we can't simply call XSynchronize in the test-utils code before we know if we are really running on X this adds a check for an environment variable named "COGL_X11_SYNC" in cogl-xlib-renderer.c and if it's set it forces XSynchronize (dpy, TRUE) to be called. By default the conformance tests are run off screen. This makes the tests run much faster and they also don't interfere with other work you may want to do by constantly stealing focus. CoglOnscreen framebuffers obviously don't get tested this way so it's important that the tests also get run on screen every once in a while, especially if changes are being made to CoglFramebuffer related code. On screen testing can be enabled by setting COGL_TEST_ONSCREEN=1 in your environment.
173 lines
2 KiB
Text
173 lines
2 KiB
Text
{
|
|
ioctl_1
|
|
Memcheck:Param
|
|
ioctl(generic)
|
|
fun:ioctl
|
|
fun:driDrawableInitVBlank
|
|
fun:intelMakeCurrent
|
|
fun:glXMakeContextCurrent
|
|
}
|
|
|
|
{
|
|
ioctl_2
|
|
Memcheck:Param
|
|
ioctl(generic)
|
|
fun:ioctl
|
|
fun:driDrawableGetMSC32
|
|
fun:clutter_backend_glx_redraw
|
|
}
|
|
|
|
{
|
|
ioctl_3
|
|
Memcheck:Param
|
|
ioctl(generic)
|
|
fun:ioctl
|
|
fun:driWaitForMSC32
|
|
fun:clutter_backend_glx_redraw
|
|
}
|
|
|
|
{
|
|
mesa_init_context
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:glXCreateNewContext
|
|
}
|
|
|
|
{
|
|
type_register
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:g_type_register_*
|
|
}
|
|
|
|
{
|
|
type_ref
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:g_type_class_ref
|
|
}
|
|
|
|
{
|
|
type_interface_prereq
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:g_type_interface_add_prerequisite
|
|
}
|
|
|
|
{
|
|
get_charset
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:g_get_charset
|
|
}
|
|
|
|
{
|
|
cogl_features
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:cogl_get_features
|
|
}
|
|
|
|
{
|
|
glx_query_version
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:glXQueryVersion
|
|
}
|
|
|
|
{
|
|
glx_create_context
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:glXCreateNewContext
|
|
}
|
|
|
|
{
|
|
glx_make_current
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:glXMakeContextCurrent
|
|
}
|
|
|
|
{
|
|
gl_draw_arrays
|
|
Memcheck:Leak
|
|
fun:*malloc
|
|
...
|
|
fun:glDrawArrays
|
|
}
|
|
|
|
{
|
|
cogl_clear
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:cogl_clear
|
|
}
|
|
|
|
{
|
|
default_font
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:clutter_backend_get_font_name
|
|
}
|
|
|
|
{
|
|
id_pool
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:clutter_id_pool_new
|
|
}
|
|
|
|
{
|
|
x_open_display
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:XOpenDisplay
|
|
}
|
|
|
|
# ... and font descriptions from every "sans 12" type string
|
|
{
|
|
pango_font_description_from_string
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:pango_font_description_from_string
|
|
}
|
|
|
|
# other lib init
|
|
{
|
|
fontconfig_init
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:FcConfigParseAndLoad
|
|
}
|
|
|
|
{
|
|
freetype_init
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:FT_Open_Face
|
|
}
|
|
|
|
{
|
|
x_init_ext
|
|
Memcheck:Leak
|
|
fun:*alloc
|
|
...
|
|
fun:XInitExtension
|
|
}
|