From e66d90ec6bd927e0a8252c27d69258e126897ad5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 10 Jul 2012 18:46:08 +0200 Subject: [PATCH] noop: implement get_timestamp --- src/gallium/drivers/noop/noop_pipe.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/drivers/noop/noop_pipe.c b/src/gallium/drivers/noop/noop_pipe.c index 4c233d1ec41..8e777332be6 100644 --- a/src/gallium/drivers/noop/noop_pipe.c +++ b/src/gallium/drivers/noop/noop_pipe.c @@ -338,6 +338,11 @@ static boolean noop_is_format_supported(struct pipe_screen* pscreen, return screen->is_format_supported(screen, format, target, sample_count, usage); } +static uint64_t noop_get_timestamp(struct pipe_screen *pscreen) +{ + return 0; +} + static void noop_destroy_screen(struct pipe_screen *screen) { struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen; @@ -376,6 +381,7 @@ struct pipe_screen *noop_screen_create(struct pipe_screen *oscreen) screen->resource_get_handle = noop_resource_get_handle; screen->resource_destroy = noop_resource_destroy; screen->flush_frontbuffer = noop_flush_frontbuffer; + screen->get_timestamp = noop_get_timestamp; return screen; } -- 2.30.2