summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_screen.h
AgeCommit message (Collapse)Author
2010-01-11st/dri: update dri2 drawables when viewport is changedBen Skeggs
Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-09-27g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton
2009-08-11gallium: Add texture usage information to surface_buffer_createJakob Bornecrantz
We need aditional meta data about the usage of the surface in softpipe because we need to be able tell the diffrence between PRIMARY and DISPLAY_TARGET surfaces.
2009-06-30gallium: New PIPE_BUFFER_USAGE_FLUSH_EXPLICIT flag for ↵José Fonseca
buffer_flush_mapped_range. When a buffer was mapped for write and no explicit flush range was provided the existing semantics were that the whole buffer would be flushed, mostly for backwards compatability with non map-buffer-range aware code. However if the buffer was mapped/unmapped with nothing really written -- something that often happens with the vbo -- we were unnecessarily assuming that the whole buffer was written. The new PIPE_BUFFER_USAGE_FLUSH_EXPLICIT flag (based from ARB_map_buffer_range 's GL_MAP_FLUSH_EXPLICIT_BIT flag) allows to clearly distinguish the legacy usage from the nothing written usage.
2009-04-09gallium: updated comments in p_screen.hBrian Paul
2009-04-09gallium: Use "flags" consistently.José Fonseca
2009-03-20gallium: Explain what happens if buffer_flush_mapped_range isn't called.José Fonseca
2009-03-04gallium: Use consistent semantics for map ranges in gallium.José Fonseca
Which are slightly different from ARB_map_buffer_range semantics, since gallium still supports more than one mapping of the same buffer.
2009-03-04Merge commit 'origin/master' into gallium-map-rangeJosé Fonseca
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-03-03gallium: Massage the interface to more closely resemble ARB_map_buffer_rangeJosé Fonseca
2009-02-24gallium: Allow to specify how much will be read / was written in buffer ↵José Fonseca
map/unmap. This allows the pipe driver to do more efficient DMA upload/downloads, by avoiding to read/write unneeded/unmodified data.
2009-02-16Merge branch 'master' into gallium-texture-transferKeith Whitwell
Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
2009-02-05gallium: No longer allow CPU mapping surfaces directly.Michel Dänzer
Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails.
2009-02-05gallium: fixup #includes: p_screen.h does not need anything in p_state.hBrian Paul
2009-02-05gallium: move 'struct pipe_winsys'Brian Paul
Not used in p_state.h but used in p_context.h and p_screen.h
2009-01-30gallium: add a convience wrapper for simple screensZack Rusin
forwards screen calls to the winsys
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-29gallium: give the screen priority when it comes to buffer allocationsZack Rusin
allows the driver to overwrite buffer allocation, first step on the way to making winsys interface internal to the drivers. state trackers and the code above it will go through the screen
2009-01-27gallium: standardize on stride instead of pitch in the interfaceZack Rusin
2008-09-19gallium: Fix doxygen comments.José Fonseca
2008-07-19gallium: Finer grained is_format_supported.José Fonseca
2008-05-06gallium: New pipe_screen interface to overlay a texture on existing memory.José Fonseca
2008-05-01gallium: tex surface checkpointKeith Whitwell
2008-04-25gallium: tweak comments, minor var renamingBrian Paul
2008-03-21gallium: document is_format_supported()'s type paramBrian Paul
2008-02-26gallium: introduce 'pipe_screen' for context-independent functionsBrian
This will allow creating textures before a rendering context exists, for example. Only implemented in i915 driver for now. i915pipe->texture_create() just dispatches through to the i915screen->texture_create() to avoid state tracker changes for now.