summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
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-30added map/unmap() stubsBrian
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-23fix GLX_STEREO handling (bug 11705)Brian
2007-07-21Fix a number of MINGW32 issuesZhang
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
2007-07-17get rid of more pageflip/rotation code.Roland Scheidegger
2007-07-17fix 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-17remove old code, remaining bits of static handles, disable (no longer ↵Roland Scheidegger
functional anyway) rotation code
2007-07-17increase MAX_RELOCS so never run out before batch buffer is full (fixes ↵Roland Scheidegger
xdemos/shape)
2007-07-17Merge branch 'origin' into softpipe_0_1_branchKeith Whitwell
2007-07-17Merge branch 'i915tex_privbuffers' into softpipe_0_1_branchKeith Whitwell
2007-07-16r300: Corrected some progs/fp/* regressions from the BFC patch.Oliver McFadden
I'm not completely sure this is correct; it restores the old behaviour.
2007-07-16r300: Use _mesa_num_inst_src_regs for number of arguments.Oliver McFadden
2007-07-16r300: Corrected vertprog FLR and XPD instruction regression.Oliver McFadden
2007-07-16r300: Added code for vertprog opcode ARL.Oliver McFadden
2007-07-16r300: Don't need vertprog scalar flag anymore; it's handled explicitly...Oliver McFadden
2007-07-16r300: Removed broken RCC vertprog opcode.Oliver McFadden
2007-07-16r300: More vertprog rework; give each opcode it's own function.Oliver McFadden