aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2020-02-19 07:56:43 -0500
committerMarge Bot <eric+marge@anholt.net>2020-02-20 13:04:52 +0000
commit0263d2793ce0d061268e83afb9c225a06a4e6f25 (patch)
tree6629ecefdea1340f2ff331b113edf9f16a87f20a
parent068806c9f6be9bab84ed0d4868f16705cf4c7e6d (diff)
downloadmesa-0263d2793ce0d061268e83afb9c225a06a4e6f25.zip
mesa-0263d2793ce0d061268e83afb9c225a06a4e6f25.tar.xz
panfrost: Remove flush_frontbuffer
A relic from software rasterizers. Hardware drivers generally don't need to implement this. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3878> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3878>
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index 2d6fe33..0ad0c2b 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;