From: Alyssa Rosenzweig Date: Wed, 19 Feb 2020 12:56:43 +0000 (-0500) Subject: panfrost: Remove flush_frontbuffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0263d2793ce0d061268e83afb9c225a06a4e6f25;p=mesa.git panfrost: Remove flush_frontbuffer A relic from software rasterizers. Hardware drivers generally don't need to implement this. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Erik Faye-Lund Tested-by: Marge Bot Part-of: --- diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 2d6fe3377d2..0ad0c2bf638 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -579,16 +579,6 @@ panfrost_destroy_screen(struct pipe_screen *pscreen) ralloc_free(screen); } -static void -panfrost_flush_frontbuffer(struct pipe_screen *_screen, - struct pipe_resource *resource, - unsigned level, unsigned layer, - void *context_private, - struct pipe_box *sub_box) -{ - /* TODO: Display target integration */ -} - static uint64_t panfrost_get_timestamp(struct pipe_screen *_screen) { @@ -789,7 +779,6 @@ panfrost_create_screen(int fd, struct renderonly *ro) screen->base.get_timestamp = panfrost_get_timestamp; screen->base.is_format_supported = panfrost_is_format_supported; screen->base.context_create = panfrost_create_context; - screen->base.flush_frontbuffer = panfrost_flush_frontbuffer; screen->base.get_compiler_options = panfrost_screen_get_compiler_options; screen->base.fence_reference = panfrost_fence_reference; screen->base.fence_finish = panfrost_fence_finish;