summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_public.h
AgeCommit message (Collapse)Author
2010-01-11st: Mark functions in st_public.h and vg_tracker.h as public.Chia-I Wu
These functions are the API of Gallium state tracker, and are used by EGL. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05mesa/st: Add support for binding pipe surface to texture.Chia-I Wu
This commit adds functions to bind a pipe surface to a texture. This allows texturing directly from the surface. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-06-01Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-30mesa: Check/propagate return value on st_make_current.José Fonseca
Prevents segmentation fault when trying to set the viewport/scissor after a context/drawable visual mismatch.
2009-05-01set: new st_swapbuffers() which does a true front/back buffer swapBrian Paul
The pointers to the front/back renderbuffers are exchanged. This new function isn't actually used yet...
2009-04-28st: Add an st_get_current() function.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-01-24mesa: declare pipe_texture in st_public.hPekka Paalanen
Fixes: In file included from nouveau_context_dri.c:6: ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: 'struct pipe_texture' declared inside parameter list ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: its scope is only this definition or declaration, which is probably not what you want ../../../../../../src/mesa/state_tracker/st_public.h:104: warning: 'struct pipe_texture' declared inside parameter list Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-23gallium: change the st_get_framebuffer_surface/texture functionsAlan Hourihane
to return TRUE/FALSE if the st_framebuffer is valid, and if it is return the surface/texture in the passed pointer.
2008-11-13gallium: add st_set_teximage_surface for EXT_texture_from_pixmapBen Skeggs
support.
2008-09-26st: add prototype for st_get_framebuffer_dimensions()Alan Hourihane
2008-09-26st: change from ** to * for st_unreference_framebuffer()Alan Hourihane
2008-09-01gallium: added st_bind/release_teximage() functionsBrian Paul
2008-06-23gallium: Add accessor functions to get textures from a st_framebufferJakob Bornecrantz
2008-06-18gallium: added new st_set_framebuffer_surface()Brian Paul
This allows the winsys to explicitly specify gallium surfaces for a framebuffer object.
2008-06-18gallium: added st_get_proc_address()Brian Paul
2008-03-26gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
2008-01-26gallium: add notify_swapbuffers_complete, use it to set surfaces to ↵Keith Whitwell
undefined state
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-19Fix problem with initial viewport/scissor size.Brian
If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer().
2007-12-12Re-org of st_create_framebuffer() and renderbuffer format selection.Brian
st_create_framebuffer() now takes pipe_formats for the color, depth, stencil buffers. This avoids a round-about chain of calls to pipe->is_format_supported() for window renderbuffers (their format never changes). Renderbuffer format selection code in st_format.c is simpler now too.
2007-12-07added ST_SURFACE_DEPTHBrian
2007-11-07New PIPE_FLUSH_WAIT flag for pipe->flush().Brian
The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
2007-11-05don't include mtypes.h in st_public.hBrian
2007-11-05move st_invalidate_state() prototype to st_context.hBrian
2007-11-05Remove some temporary state tracker context/framebuffer_create functions.Brian
2007-11-05Update xlib driver to use newer state tracker context/framebuffer functions.Brian
XMesaContext has an st_context * which contains a mesa context.
2007-11-05added st_notify_swapbuffers()Brian
2007-11-05added st_get_framebuffer_surface() and ST_SURFACE_x tokensBrian
2007-11-05comments, tweaksBrian
2007-11-05added st_unreference_framebuffer()Brian
2007-11-05added st_resize_framebuffer()Brian
2007-11-05Introduce st_framebuffer type and st_create_framebuffer(), st_make_current()Brian
2007-11-05public st_flush()Brian
2007-11-01Sketch out new create/destroy context functions which create/wrap a Mesa ↵Brian
context.
2007-06-14Rename directories again?!Keith Whitwell
Some git wierdness going on.
2007-06-14Renamed softpipe directories and files to something less confusing.Keith Whitwell
softpipe/state_tracker --> state_tracker/ softpipe/ --> pipe/ softpipe/generic --> pipe/softpipe/ I don't think pipe is a great name, but I disliked all the others too. Luckily it's fairly easy to rename with git, so this can be revisited later.