summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/xm_surface.c
AgeCommit message (Collapse)Author
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 use GL types for get/put_tile() paramsBrian
2007-10-20Remove obsolete read/write_quad() functionsBrian
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-14implement put_tile()Brian
2007-10-14accum buffer supportBrian
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-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-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-13minor renameBrian
2007-07-11need to clamp floats to [0,1] in write functionsBrian
2007-07-10Checkpoint: stencil roughly working, some bugs to fix...Brian
2007-07-10Do depth testing with integer values.Brian
Using floats (and float->ushort->float conversion) introduces errors. Only GLushort depth buffers work for now...
2007-06-25code for functional Z buffer surfaceBrian
2007-06-20checkpoint: implement z/depth testingBrian
2007-06-20plug in write_mono_row_ubBrian
2007-06-19Re-org of surface/framebuffer state.Brian
We should be able to render to any depth/format of X window now.