aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-02-19 07:56:43 -0500
committerMarge Bot <[email protected]>2020-02-20 13:04:52 +0000
commit0263d2793ce0d061268e83afb9c225a06a4e6f25 (patch)
tree6629ecefdea1340f2ff331b113edf9f16a87f20a /src/gallium
parent068806c9f6be9bab84ed0d4868f16705cf4c7e6d (diff)
panfrost: Remove flush_frontbuffer
A relic from software rasterizers. Hardware drivers generally don't need to implement this. Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3878> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3878>
Diffstat (limited to 'src/gallium')
-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 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;