forked from AuroraMiddleware/gtk
ef67eb0b3c
This is a backport of the GdkProfiler from master. It does not include the pixel bandwidth numbers that come from gdkdrawcontext.c since there does not seem to be an analog in 3.x. Additionally, this implements the recent changes for SYsprof's D-Bus profiler API which adds a Capabilities property and an options hash-table to the D-Bus interface for forward portability.
30 lines
690 B
C
30 lines
690 B
C
#include "config.h"
|
|
#include "gdk-private.h"
|
|
#include "gdkprofilerprivate.h"
|
|
|
|
GdkPrivateVTable *
|
|
gdk__private__ (void)
|
|
{
|
|
static GdkPrivateVTable table = {
|
|
gdk_device_grab_info,
|
|
gdk_display_open_default,
|
|
gdk_add_option_entries,
|
|
gdk_pre_parse,
|
|
gdk_gl_get_flags,
|
|
gdk_gl_set_flags,
|
|
gdk_window_freeze_toplevel_updates,
|
|
gdk_window_thaw_toplevel_updates,
|
|
gdk_display_get_rendering_mode,
|
|
gdk_display_set_rendering_mode,
|
|
gdk_display_get_debug_updates,
|
|
gdk_display_set_debug_updates,
|
|
gdk_get_desktop_startup_id,
|
|
gdk_get_desktop_autostart_id,
|
|
gdk_profiler_is_running,
|
|
gdk_profiler_start,
|
|
gdk_profiler_stop
|
|
};
|
|
|
|
return &table;
|
|
}
|