Keith Whitwell
aef455c4a7
Revert "pipebuffer: Implement proper buffer validation."
This reverts commit a6d866f72c .
17 lat temu
José Fonseca
a6d866f72c
pipebuffer: Implement proper buffer validation.
17 lat temu
José Fonseca
28a2edb738
pipebuffer: Ensure refcounts of live buffer objects are never zero.
17 lat temu
Brian Paul
93ff702b4f
gallium: fix logic in pb_check_usage()
17 lat temu
José Fonseca
ea4ca10b1b
pipebuffer: Verify usage flag consistency. Minor cleanups.
17 lat temu
José Fonseca
781676c7cc
pipebuffer: More robust face null pointers.
It is really the caller responsibility not to call pipebuffer with null
buffers, etc. But don't let the crash happen here, and still asserting
early.
17 lat temu
José Fonseca
95aeeb6d74
gallium: Several fixes to buffer caching.
17 lat temu
José Fonseca
d6229d7f1f
gallium: Make headers C++ friendly.
17 lat temu
José Fonseca
e8de5c70e3
Bring in several forgotten MSVC fixes.
17 lat temu
José Fonseca
92fcbf6e7b
Code reorganization: s/aux/auxiliary/.
"aux" is a reserved name on Windows (X_X)
17 lat temu
José Fonseca
b642730be9
Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
17 lat temu
José Fonseca
560416b263
gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.
17 lat temu
José Fonseca
9791d7f64c
gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.
17 lat temu
José Fonseca
e6c8278c04
Fullfill pipe_winsys->user_buffer_create. Aggregate winsys functions.
18 lat temu
José Fonseca
65df024146
gallium: Aggregate all buffer allocation info into a single struct. Obey requested alignment.
18 lat temu
José Fonseca
1d6c98651f
gallium: Use directory name in include.
18 lat temu
Michal Krol
6c3d12e374
gallium: Fix build for WinXP.
18 lat temu
Keith Whitwell
1e0d30a515
gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code
Provide an actual definition of the pipe_buffer struct, containing
the parameters used to create the buffer, and its refcount.
Shift refcounting buffers out of the winsys interface, similar to
surfaces & textures.
Rework pipebuffer/ to reflect the fact these changes, and also Michel's
reworking of the buffer interface.
18 lat temu
José Fonseca
b478362251
gallium: Reusable pipe buffer library.
This is an optional library that winsys drivers can use to simplify memory
management, and help meet the winsys interface requirements.
18 lat temu