summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_winsys.h
AgeCommit message (Collapse)Author
2008-01-25gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ codeKeith Whitwell
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.
2008-01-25gallium: Simplify winsys buffer interface.Michel Dänzer
The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide.
2008-01-17Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca
These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way
2007-12-11Add surface storage allocation function to winsys interface.José Fonseca
2007-12-10Remove stray references to struct pipe_region.Michel Dänzer
2007-12-09gallium: Comment on winsys's fence functions. Fix comment layout for doxygen.José Fonseca
2007-12-09Document return types.José Fonseca
2007-12-09add fence interfaces and buffer create flags to pipe_winsyskeithw
2007-12-07Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
2007-11-29Move dimensions from struct pipe_region to struct pipe_surface.Michel Dänzer
2007-11-07Remove winsys->wait_idle(), subsumed by pipe->flush().Brian
Connect intel_i915_batch_finish() into i915_winsys, just like intel_i915_batch_flush(). Call i915_winsys->batch_finish() in response to pipe->flush(PIPE_FLUSH_WAIT). Now all the batchbuffer/fence code is in one place and a little cleaner.
2007-11-07Remove context dependencies in winsys layer.Brian
The winsys object is now per-screen and shared by multiple contexts. The regionPool is now part of the i915 winsys layer. The winsys wait_idle() and flush_frontbuffer() funcs will get more attention...
2007-11-07just reorder a few members of pipe_winsys, update commentsBrian
2007-11-07Add winsys->surface_release() to complement winsys->surface_alloc().Brian
pipe_surface now has a pointer to the winsys which create/owns the surface. This allows clean surface deallocation w/out a rendering context.
2007-11-06document flags param to region_alloc()Brian
2007-11-06Supply buffer usage hints to winsys.José Fonseca
Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer.
2007-11-01Start re-working SwapBuffers.Brian
intelCopyBuffer() is now intelDisplayBuffer(): it displays the given surface in the on-screen window. Added a pipe_surface parameter to winsys->flush_frontbuffer(). Front buffer rendering/flushing actually works now. But, we should only allocate the front surface on demand...
2007-10-26surface_alloc() is now a winsys function.Brian
This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
2007-10-25Move region_alloc() and region_release() to pipe_winsys.Brian
This allows regions to be allocated w/out a rendering context.
2007-10-25Briefly describe the buffer management interface.José Fonseca
2007-10-10Added user_buffer_create() methodBrian
This is used to wrap user-space data in a pipe buffer object to allow more uniform treatment of various things. For example, wrapping client-side vertex arrays so they look like VBOs.
2007-10-10update comments (s/softpipe/gallium/ etc)Brian
2007-09-17s/bugmgr/bufgr/Brian
2007-09-10merge buffer_unreference(), buffer_reference()Brian
2007-08-11remove #include mtypes.hBrian
2007-08-10Move string functions to state_tracker, add queries to pipe, winsys.Keith Whitwell
2007-08-10Lift common winsys functions into pipe's new p_winsys.Keith Whitwell