mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
panfrost: Stop exposing internal panfrost_*_batch() functions
panfrost_{create,free,get}_batch() are only called inside pan_job.c.
Let's make them static.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
8d5f905faa
commit
2b771b8424
2 changed files with 3 additions and 14 deletions
|
|
@ -31,7 +31,7 @@
|
|||
#include "util/u_format.h"
|
||||
#include "util/u_pack_color.h"
|
||||
|
||||
struct panfrost_batch *
|
||||
static struct panfrost_batch *
|
||||
panfrost_create_batch(struct panfrost_context *ctx,
|
||||
const struct pipe_framebuffer_state *key)
|
||||
{
|
||||
|
|
@ -54,7 +54,7 @@ panfrost_create_batch(struct panfrost_context *ctx,
|
|||
return batch;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
panfrost_free_batch(struct panfrost_batch *batch)
|
||||
{
|
||||
if (!batch)
|
||||
|
|
@ -79,7 +79,7 @@ panfrost_free_batch(struct panfrost_batch *batch)
|
|||
ralloc_free(batch);
|
||||
}
|
||||
|
||||
struct panfrost_batch *
|
||||
static struct panfrost_batch *
|
||||
panfrost_get_batch(struct panfrost_context *ctx,
|
||||
const struct pipe_framebuffer_state *key)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -115,17 +115,6 @@ struct panfrost_batch {
|
|||
|
||||
/* Functions for managing the above */
|
||||
|
||||
struct panfrost_batch *
|
||||
panfrost_create_batch(struct panfrost_context *ctx,
|
||||
const struct pipe_framebuffer_state *key);
|
||||
|
||||
void
|
||||
panfrost_free_batch(struct panfrost_batch *batch);
|
||||
|
||||
struct panfrost_batch *
|
||||
panfrost_get_batch(struct panfrost_context *ctx,
|
||||
const struct pipe_framebuffer_state *key);
|
||||
|
||||
struct panfrost_batch *
|
||||
panfrost_get_batch_for_fbo(struct panfrost_context *ctx);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue