summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11
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.
2007-12-09Adapt for winsys interface changes.José Fonseca
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-10-31fix some breakage from lifting vbo/tnl codeBrian
2007-10-31Lift VBO/tnl stuff up out of driversBrian
2007-10-30Set _NEW_BUFFERS in glRead/DrawBuffer().Brian
Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively. That correponds to the GL attribute groups, but doesn't make much sense otherwise. This could improve validation efficiency in a few places too. It looks like all the drivers are already checking for _NEW_BUFFERS in the right places (since that's the bit for FBO state) so we can trim out _NEW_PIXEL and _NEW_COLOR at any time.
2007-10-29Rename 'mms-config.' to 'mms.config'.Michal Krol
It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
2007-10-28Replace supported_formats with is_format_supported interface.Michal Krol
The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
2007-10-27Remove remnants of softpipe_surface.Brian
This is the last of the clean-up following the change which moved surface allocation to the winsys layer.
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-25Move the get/put_tile() functions to pipe_context.Brian
The _rgba versions are temporary until the state tracker is updated.
2007-10-24a bit more work for optimizing clears in tile cache (not enabled yet)Brian
2007-10-24added a pipe->flush() call in xmesa_clear()Brian
2007-10-22don't apply ColorMask to main gcBrian
2007-10-22don't use GL types for get/put_tile() paramsBrian
2007-10-20Remove obsolete read/write_quad() functionsBrian
2007-10-20use combined depth/stencil buffer when possibleBrian
2007-10-19don't alloc region in xmesa_surface_alloc(), fixes a mem leakBrian
2007-10-19clamp/clip in put_tile(), move softpipe_init_surface_funcs() callBrian
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-14implement put_tile()Brian
2007-10-14accum buffer supportBrian
2007-10-10implement the user_buffer_create() functionBrian
2007-09-17update begin/end_query() functionsBrian
2007-09-10merge buffer_unreference(), buffer_reference()Brian
2007-09-10clean-ups, commentsBrian
2007-09-10RenameBrian
2007-08-23fix-up stencil buffersBrian
2007-08-23check for null ptr in xm_buffer_unreference()Brian
2007-08-18fix xm_buffer_dataBrian
2007-08-17replace assertion w/ conditionals in xmesa_clear()Brian
2007-08-17fix buffer clearing problemsBrian
2007-08-11Change/fix surface allocation functions.Brian
Use xmesa_new_color_surface() for front/back renderbuffer surfaces. Use xmesa_surface_alloc() for everything else (textures, other renderbuffers)
2007-08-11repair breakage from recent pipe_winsys re-orgBrian
2007-08-10return (softpipe) in GL_RENDERER string - temporarilyBrian
2007-08-10invert Y axisBrian
2007-08-09asst changes to get softpipe rendering again (no zbuf support for now)Brian
2007-08-07get rid of temp write_mono_row_ub() functionBrian
2007-08-06call st_init_driver_functions()Brian
2007-08-06use new xmesa_create_softpipe()Brian
2007-08-06softpipe/winsys interfaceBrian
2007-08-02pipe->clear() now takes a surface, rather than color/depth/stencil flags.Brian
pipe->clear() only used to clear whole buffers (no scissor) w/out masking. Draw a colored quadrilateral in all other cases.
2007-08-02get rid of accum paramBrian
2007-08-01rearrange things in xmesa_clear() a bitBrian
2007-08-01Checkpoint: glClear changes - working, bug very rough.Brian
2007-07-31Redesign pipe_surface in terms of pipe_region.Brian
struct pipe_buffer goes away. Added basic region functions to softpipe to allocate/release malloc'd regions. Surface-related code is fairly coherent now.
2007-07-30Lots of improvements to the surface-related code.Brian
Z testing now works with i915 driver. Add gl_renderbuffer::surface pointer (and reverse pointer). Remove intel_surface and xmesa_surface types - no longer used.
2007-07-30added map/unmap() stubsBrian
2007-07-27Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa ↵michal
into softpipe_0_1_branch