summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_context.c
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-01unref const buffers during context destroyBrian
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-07Move _mesa_init_glsl_driver_functions() into shader_api.cBrian
This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c
2007-12-07Eliminate struct pipe_region.Michel Dänzer
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
2007-11-07init glsl functions in st_init_driver_functions()Brian
2007-11-05Determine GL extensions/limits by making pipe queries.Brian
The state tracker calls pipe->get_param() to determine the GL limits and which OpenGL extensions are supported. This is an initial implementation that'll probably change...
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-05comments, tweaksBrian
2007-11-05move st_create_framebuffer() to new st_framebuffer.c fileBrian
2007-11-05Introduce st_framebuffer type and st_create_framebuffer(), st_make_current()Brian
2007-11-01Sketch out new create/destroy context functions which create/wrap a Mesa ↵Brian
context.
2007-11-01remove dead codeBrian
2007-11-01remove unneeded tnl stuffBrian
2007-10-31Lift VBO/tnl stuff up out of driversBrian
2007-10-31plug st_invalidate_state() into ctx->Driver.UpdateStateBrian
Start lifting Mesa stuff up out of winsys/driver code.
2007-10-30Use program serial numbers to avoid re-generating fragment programs for ↵Brian
glDrawPixels.
2007-10-30added pixel_transfer_cacheBrian
2007-10-18Alternate CopyPixels path based on get/put_tile().Brian
For some drivers (like Xlib) it's not possible to treat the front/back color buffers as pipe_regions. So pipe->region_copy() won't work. Added a new state tracker field indicating if we can use regions for colorbuffer accesses. This should probably be re-considered someday...
2007-10-14Added accum function/files.Brian
2007-09-25Disable vertex shader fog, compute fog in fragment shader.Brian
2007-09-18move cso cache to the pipe directoryZack Rusin
2007-09-18Implementing a better hash, removing state_tracker dependency from the cache.Zack Rusin
Replacing mesa's main hash with one that handles collisions, moving state_tracker related caching to the state tracker to keep cso cache independent of it. Cleanups.
2007-09-18First stab at immutable state objects (create/bind/delete)Zack Rusin
We want our state objects to be immutable, handled via the create/bind/delete calls instead of struct propagation. Only implementing the blend state to see how it would look like and work.
2007-09-17Plug in selection/feedback code.Brian
Not quite finished yet. Selection/feedback are done with a private instance of the 'draw' module in the state tracker. Not quite all the draw context's state is set yet, namely vertex format info. Hold off on that for a bit...
2007-09-10plug in rasterpos/feedback codeBrian
2007-08-21temporarily call _mesa_enable_sw_extensions() so we can run more test progs ↵Brian
without failing the extension checks
2007-08-17tell vbo module to use bufferobjsBrian
2007-08-16misc changes to support vertex shaders (disabled by default)Brian
2007-08-11added st_cb_queryobj.cBrian
2007-08-10Move string functions to state_tracker, add queries to pipe, winsys.Keith Whitwell
2007-08-10Handle glFlush/glFinish through the state tracker.Keith Whitwell
2007-08-10use st_cb_readpixels.cBrian
2007-08-09checkpoint: no longer using intel_fbo.cBrian
2007-08-06New st_init_*_functions() to initialize the driver functions table.Brian
We need to do these initializations before initializing the Mesa context because context init involves creating texture/program/etc objects.
2007-08-06use new texture funcsBrian
2007-08-02hook in teximage bitsBrian
2007-08-02call st_init_cb_drawpixelsBrian
2007-08-02include st_cb_clear.hBrian
2007-08-02Reroute some clear functionality.Keith Whitwell
Still require the intelClear() call to flush batchbuffers. That will be removed later...
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.