Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: clean-up/fix msaa override in state tracker | Brian Paul | 2008-09-17 | 1 | -0/+15 |
| | |||||
* | gallium: move _vbo_DestroyContext() call | Brian Paul | 2008-09-16 | 1 | -2/+2 |
| | | | | Call it before freeing core Mesa state to avoid references to freed buffer objects. | ||||
* | gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. | José Fonseca | 2008-09-03 | 1 | -1/+1 |
| | | | | | We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed. | ||||
* | gallium: do a proper implementation of GL_OES_read_format | Brian Paul | 2008-08-19 | 1 | -0/+2 |
| | | | | | Examine the currently bound color buffer's format to see if there's a good format/type match. | ||||
* | mesa: Call pipe->destroy on context destruction for all platforms. | José Fonseca | 2008-08-19 | 1 | -3/+0 |
| | |||||
* | gallium: use a default texture in update_textures(), update_samplers() when ↵ | Brian Paul | 2008-08-14 | 1 | -0/+5 |
| | | | | | | | needed The default texture is used when the current fragment shader has texture sample instructions but the user has not provided/bound a texture. | ||||
* | gallium: more context clean-up | Brian Paul | 2008-08-12 | 1 | -0/+6 |
| | |||||
* | gallium: Temporary workaround for mismatched pipe create and pipe destroy | Jonathan White | 2008-07-21 | 1 | -0/+3 |
| | |||||
* | gallium: check for FEATURE_feedback and FEATURE_drawpix when creating/using ↵ | Brian Paul | 2008-07-10 | 1 | -0/+4 |
| | | | | the aux draw module | ||||
* | gallium: always need st_init-blit() | Brian Paul | 2008-06-20 | 1 | -4/+0 |
| | |||||
* | gallium: assorted FEATURE tests | Brian Paul | 2008-06-20 | 1 | -1/+9 |
| | |||||
* | gallium: more FEATURE_x tests | Brian Paul | 2008-06-18 | 1 | -1/+5 |
| | |||||
* | gallium: added st_get_proc_address() | Brian Paul | 2008-06-18 | 1 | -0/+9 |
| | |||||
* | gallium: added FEATURE_x tests | Brian Paul | 2008-06-18 | 1 | -2/+12 |
| | |||||
* | gallium: include scissor.h | Brian Paul | 2008-06-09 | 1 | -0/+1 |
| | |||||
* | gallium: move vertex/fragment program unbinding | Brian Paul | 2008-05-20 | 1 | -3/+3 |
| | |||||
* | gallium: clean-up glDraw/CopyPixels shaders when destroying context | Brian Paul | 2008-05-20 | 1 | -0/+1 |
| | |||||
* | gallium: release textures during context tear-down (fix mem leak) | Brian Paul | 2008-05-16 | 1 | -0/+4 |
| | |||||
* | gallium: implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 1 | -0/+3 |
| | | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... | ||||
* | gallium: use new buffer wrapper functions in p_inlines.h | Brian Paul | 2008-04-30 | 1 | -3/+1 |
| | | | | This allows us to remove most of the direct references to winsys in the state tracker. | ||||
* | gallium: use cso_destroy_vertex/fragment_shader() functions | Brian Paul | 2008-04-24 | 1 | -2/+9 |
| | | | | | Also, rearrange the st_destroy_context() code a bit to prevent some invalid/NULL ptr derefs during tear-down. | ||||
* | gallium: reorder some of the destroy context code | Brian Paul | 2008-04-17 | 1 | -4/+6 |
| | |||||
* | gallium: remove unneeded st->haveFramebufferSurfaces field. | Brian Paul | 2008-04-09 | 1 | -2/+0 |
| | |||||
* | gallium: streamline viewport/raster/shader state for clearing with quads | Brian Paul | 2008-04-03 | 1 | -0/+1 |
| | | | | Move init of these items to new st_init_clear(). | ||||
* | gallium: implement a glBitmap cache | Brian | 2008-03-28 | 1 | -0/+1 |
| | | | | | | | The bitmap cache attempts to accumulate a series of glBitmap calls in a buffer to effectively render a whole bunch of bitmaps at once. The cache can be disabled, if needed, by setting UseBitmapCache=GL_FALSE. | ||||
* | gallium: disable the selection/feedback draw module's options for wide ↵ | Brian Paul | 2008-03-25 | 1 | -0/+8 |
| | | | | | | | lines, points, etc. Disable paths that would convert points/lines to tris as that upsets selection, feedback, rastpos. | ||||
* | gallium: free bitmap fragment shaders, misc clean-up | Brian Paul | 2008-03-24 | 1 | -0/+1 |
| | |||||
* | gallium: glBitmap code now separe from glDraw/CopyPixels code | Brian | 2008-03-20 | 1 | -2/+5 |
| | | | | | Also, glBitmap now re-uses the vertex buffer to avoid frequent allocations/ deallocations. And, use u_simple_shaders utility code. | ||||
* | gallium: use the utility pasthrough shaders | Brian | 2008-03-20 | 1 | -0/+1 |
| | | | | This avoids the Mesa->TGSI translation step. | ||||
* | gallium: plug in and init GL_EXT_framebuffer_blit function/extension | Brian | 2008-03-18 | 1 | -0/+5 |
| | |||||
* | gallium: rework CSO-related code in state tracker | Brian | 2008-03-11 | 1 | -2/+7 |
| | | | | | | | | | | Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers... | ||||
* | Code reorganization: update build. | José Fonseca | 2008-02-15 | 1 | -2/+2 |
| | | | | | | | | | Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks. | ||||
* | gallium: initial implemenation of auto mipmap generation in state tracker | Brian | 2008-02-08 | 1 | -0/+2 |
| | | | | | | Use hardware rendering to compute/render mipmap levels. The fallback path (which will be used for non-renderable texture formats) isn't working yet. | ||||
* | gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code | Keith Whitwell | 2008-01-25 | 1 | -1/+2 |
| | | | | | | | | | | | 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. | ||||
* | unref const buffers during context destroy | Brian | 2008-01-01 | 1 | -0/+10 |
| | |||||
* | Fix problem with initial viewport/scissor size. | Brian | 2007-12-19 | 1 | -0/+14 |
| | | | | | | | | | | | 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(). | ||||
* | Move _mesa_init_glsl_driver_functions() into shader_api.c | Brian | 2007-12-07 | 1 | -1/+1 |
| | | | | | This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c | ||||
* | Eliminate struct pipe_region. | Michel Dänzer | 2007-12-07 | 1 | -1/+1 |
| | | | | | Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping. | ||||
* | init glsl functions in st_init_driver_functions() | Brian | 2007-11-07 | 1 | -0/+3 |
| | |||||
* | Determine GL extensions/limits by making pipe queries. | Brian | 2007-11-05 | 1 | -3/+5 |
| | | | | | | 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... | ||||
* | Remove some temporary state tracker context/framebuffer_create functions. | Brian | 2007-11-05 | 1 | -31/+25 |
| | |||||
* | Update xlib driver to use newer state tracker context/framebuffer functions. | Brian | 2007-11-05 | 1 | -0/+7 |
| | | | | XMesaContext has an st_context * which contains a mesa context. | ||||
* | comments, tweaks | Brian | 2007-11-05 | 1 | -2/+8 |
| | |||||
* | move st_create_framebuffer() to new st_framebuffer.c file | Brian | 2007-11-05 | 1 | -10/+0 |
| | |||||
* | Introduce st_framebuffer type and st_create_framebuffer(), st_make_current() | Brian | 2007-11-05 | 1 | -0/+23 |
| | |||||
* | Sketch out new create/destroy context functions which create/wrap a Mesa ↵ | Brian | 2007-11-01 | 1 | -0/+27 |
| | | | | context. | ||||
* | remove dead code | Brian | 2007-11-01 | 1 | -14/+0 |
| | |||||
* | remove unneeded tnl stuff | Brian | 2007-11-01 | 1 | -7/+0 |
| | |||||
* | Lift VBO/tnl stuff up out of drivers | Brian | 2007-10-31 | 1 | -0/+8 |
| | |||||
* | plug st_invalidate_state() into ctx->Driver.UpdateState | Brian | 2007-10-31 | 1 | -0/+10 |
| | | | | Start lifting Mesa stuff up out of winsys/driver code. |