Mesa (main): gallium: Remove dead pb_malloc_buffer_create function prototype

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 19 20:35:38 UTC 2021


Module: Mesa
Branch: main
Commit: a296cc268471fa0dfa092aebc0dd5e092494075c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a296cc268471fa0dfa092aebc0dd5e092494075c

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jul 15 19:39:50 2021 -0700

gallium: Remove dead pb_malloc_buffer_create function prototype

This was deleted by commit ec686a66dbf2180631564a3877884b1e4d0c8ea4.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11922>

---

 src/gallium/auxiliary/pipebuffer/pb_buffer.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer.h b/src/gallium/auxiliary/pipebuffer/pb_buffer.h
index f7389795299..7e3e8a4b168 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_buffer.h
+++ b/src/gallium/auxiliary/pipebuffer/pb_buffer.h
@@ -310,16 +310,6 @@ pb_check_usage(unsigned requested, unsigned provided)
    return (requested & provided) == requested ? TRUE : FALSE;
 }
 
-
-/**
- * Malloc-based buffer to store data that can't be used by the graphics
- * hardware.
- */
-struct pb_buffer *
-pb_malloc_buffer_create(pb_size size,
-                        const struct pb_desc *desc);
-
-
 #ifdef __cplusplus
 }
 #endif



More information about the mesa-commit mailing list