From: Marek Olšák Date: Tue, 10 Jul 2012 16:46:08 +0000 (+0200) Subject: noop: implement get_timestamp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e66d90ec6bd927e0a8252c27d69258e126897ad5;p=mesa.git noop: implement get_timestamp --- 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; }