Keith Whitwell
aef455c4a7
Revert "pipebuffer: Implement proper buffer validation."
This reverts commit a6d866f72c .
před 17 roky
José Fonseca
a6d866f72c
pipebuffer: Implement proper buffer validation.
před 17 roky
José Fonseca
28a2edb738
pipebuffer: Ensure refcounts of live buffer objects are never zero.
před 17 roky
Brian Paul
93ff702b4f
gallium: fix logic in pb_check_usage()
před 17 roky
José Fonseca
ea4ca10b1b
pipebuffer: Verify usage flag consistency. Minor cleanups.
před 17 roky
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.
před 17 roky
José Fonseca
95aeeb6d74
gallium: Several fixes to buffer caching.
před 17 roky
José Fonseca
d6229d7f1f
gallium: Make headers C++ friendly.
před 17 roky
José Fonseca
e8de5c70e3
Bring in several forgotten MSVC fixes.
před 17 roky
José Fonseca
92fcbf6e7b
Code reorganization: s/aux/auxiliary/.
"aux" is a reserved name on Windows (X_X)
před 17 roky
José Fonseca
b642730be9
Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
před 17 roky
José Fonseca
560416b263
gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.
před 17 roky
José Fonseca
9791d7f64c
gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.
před 17 roky
José Fonseca
e6c8278c04
Fullfill pipe_winsys->user_buffer_create. Aggregate winsys functions.
před 18 roky
José Fonseca
65df024146
gallium: Aggregate all buffer allocation info into a single struct. Obey requested alignment.
před 18 roky
José Fonseca
1d6c98651f
gallium: Use directory name in include.
před 18 roky
Michal Krol
6c3d12e374
gallium: Fix build for WinXP.
před 18 roky
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.
před 18 roky
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.
před 18 roky