summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2007-08-03Remove "static region" support.Keith Whitwell
The frontbuffer/driBufMgr interactions are handled as a special case in the intel_screen code.
2007-08-03Simplify frontbuffer / sarea / rotation management.Keith Whitwell
Remove lots of old cruft.
2007-08-02Remove all references to swrast.Keith Whitwell
The one place the functionality continues to be needed is as last-ditch implementations of TexCopyImage, etc. TBD what to do about that, but that will be an issue for state_tracker, not for here.
2007-08-02Remove intel_state.c, intel_rotate.[ch]Keith Whitwell
2007-08-02comment follow-upBrian
2007-08-02Remove intelClear() hack.Keith Whitwell
Have added intel_batchbuffer_flush calls to the blit functions. We still shouldn't be calling back into this remnant intel code from the softpipe driver, though, so that will go too at some point.
2007-08-02Remove remnants of i915 texture-from-pbo code.Keith Whitwell
2007-08-02Reroute some clear functionality.Keith Whitwell
Still require the intelClear() call to flush batchbuffers. That will be removed later...
2007-08-01Re-implement intelClear() in terms of softpipe_clear(). Pretty simple/small ↵Brian
now. Note: softpipe_clear() should really be renamed to something like pipe_clear_with_blits() and put into a driver-indepedent module...
2007-08-01More work on glClear.Brian
Add a 'mask' param to region_fill() to help with clearing combined Z/stencil buffers, glColorMask, etc.
2007-08-01s/Z24_S8/S8_Z24/Brian
2007-08-01Checkpoint: glClear changes - working, bug very rough.Brian
2007-08-01Build libsoftpipe.aKeith Whitwell
Each pipe driver will build to a .a library, as these will optionally be included in the various DRI drivers (this will make more sense once there is at least one hardware driver...). Not strictly necessary for softpipe, but want to minimize the differences between it and actual hw implementations.
2007-08-01Remove unused file intel_render.cKeith Whitwell
2007-08-01Remove unused fileKeith Whitwell
2007-08-01Remove intel_span.[ch]Keith Whitwell
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-31Lift region-related functions up to the pipe interface.Brian
Some of these functions probably should be driver-private. Note: intel_buffer_object is in p_state.h and should be fixed/removed. There are just a few i915 dependencies in intel_region.c
2007-07-31re-fix stencil addressing bugBrian
2007-07-31Add missing filesKeith Whitwell
2007-07-31Remove references to intel_tris.hKeith Whitwell
2007-07-31A version of the i915tex driver with all drawing code removed.Keith Whitwell
This is intended to support the softpipe development work. More code will be removed and pushed into softpipe until this basicially becomes the DRI/GLX interface for that driver.
2007-07-31simplify clear.x1,y2,x2,y2 setupBrian
2007-07-31In i915/i830_emit_state(), check if state->draw_region is non-null.Brian
This fixes a problem hit by glClear in the samples/stencil.c program.
2007-07-31fix stencil addressing bugBrian
2007-07-31remove obsolete xmesa_get_stencil_surface() stubBrian
2007-07-31fix comments and param names for intel_miptree_image_map()Brian
2007-07-31fix value returned by intel_new_renderbuffer_fb()Brian
2007-07-31Merge branch 'i915tex_privbuffers' into softpipe_0_1_branchKeith Whitwell
Conflicts: src/mesa/drivers/dri/i915tex/intel_buffers.c src/mesa/drivers/dri/i915tex/intel_context.c src/mesa/drivers/dri/i915tex/intel_fbo.c src/mesa/drivers/dri/i915tex/intel_pixel_draw.c
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-30implement read_quad_f_swz()Brian
2007-07-30implement surfaces for softpipe renderingBrian
2007-07-30call st_invalidate_state()Brian
2007-07-29fix range reduction for sin/cos in i915tex (#11609)Roland Scheidegger
2007-07-29Fix crashes when the frag prog can't be handled in hardware (#11131)Roland Scheidegger
Must not change to/from swrast after Render.Start or bad things will happen. (Driver will still somewhat incorrectly report an implementation error, and apps can't really figure out if a prog is natively supported as validation is later - could try doing it earlier to give some hint at least, even though native status may still change later due to fog etc.)
2007-07-27Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa ↵michal
into softpipe_0_1_branch
2007-07-21Remove ctx->Point._Size and ctx->Line._Width.Brian
The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
2007-07-21set the _BaseFormat for window-framebuffers, could hit some assertion otherwiseRoland Scheidegger
2007-07-20minor cleanups, disable debuggingRoland Scheidegger
2007-07-19remove some more really old ifdefed out code...Roland Scheidegger
2007-07-19fix mesa fb bindingRoland Scheidegger
Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now).
2007-07-19increase MAX_RELOCS so never run out before batch buffer is full (fixes ↵Roland Scheidegger
xdemos/shape)
2007-07-19more cleanups (looks pretty reasonable now)Roland Scheidegger
remove some already ifdefed out, no longer functional and used code. Don't do our own scissor clipping in the pixeldraw/copy paths, as meas already does that for us...
2007-07-19fix drawables not getting freed if context is made current with new drawablesRoland Scheidegger
2007-07-18swapbuffers with non-current contexts, cleanupsRoland Scheidegger
manywin got broken (when intelPageflip got no longer called). Make sure that intelFlush is getting called when a context gets unbound, to handle later swapbuffer calls on that context's drawable better. Related, fix non-current cliprects getting used on unbound drawables.
2007-07-18r300: Oops, made a mistake on commit fb4e071beda6e3b9e68a21bbc7649b6c4733c485.Oliver McFadden
2007-07-18r300: Cleaned up vertprog construction.Oliver McFadden
Construct the vertprog instruction in the 4 DWORD parts... DWORD 0: Opcode and Output. DWORD 1: First Argument. DWORD 2: Second Argument. DWORD 3: Third Argument. Allow the opcode translation functions to generate more than one instruction; useful for when an instruction must be emulated. FLR, XPD, etc.
2007-07-18r300: Corrected texcoord start when BFC1 is enabled.Tommy Schultz Lassen
2007-07-17get rid of checks for old ddxRoland Scheidegger
2007-07-17remove some more old stuffRoland Scheidegger