Brian
55314f8f31
Implement new draw_vertices() path for simple vertex array drawing, use it for glClear.
2007-08-02 12:12:48 -06:00
Keith Whitwell
0e067f1fb2
Remove references to accum buffers in softpipe.
...
Also some minor clear fixes.
2007-08-02 18:25:10 +01:00
Keith Whitwell
3dfe125861
Remove intel_state.c, intel_rotate.[ch]
2007-08-02 17:45:54 +01:00
Brian
107206bbbe
New header file.
2007-08-02 10:30:32 -06:00
Brian
51b300c54d
include st_cb_clear.h
2007-08-02 10:29:50 -06:00
Brian
e415dced44
sketch out clearing with quads
2007-08-02 10:29:42 -06:00
Brian
5936b439e8
add PIPE_MASK_RGBA
2007-08-02 10:29:04 -06:00
Brian
a6dd731656
comment follow-up
2007-08-02 10:01:14 -06:00
Brian
d747bf14dd
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-08-02 09:17:56 -06:00
Keith Whitwell
a4a0189ed6
Remove intelClear() hack.
...
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-02 14:53:08 +01:00
Keith Whitwell
d2bffbb7b5
Remove remnants of i915 texture-from-pbo code.
2007-08-02 14:50:08 +01:00
Keith Whitwell
4f442d9ef5
Reroute some clear functionality.
...
Still require the intelClear() call to flush batchbuffers. That will be
removed later...
2007-08-02 13:59:31 +01:00
Brian
1b0e92b91a
implement masking in sp_region_fill()
2007-08-01 16:15:30 -06:00
Brian
1ecc648398
rearrange things in xmesa_clear() a bit
2007-08-01 15:39:19 -06:00
Brian
54135597b8
get cliprect bounds after softpipe_update_derived()
2007-08-01 15:38:59 -06:00
Brian
0c4acfe15a
Re-implement intelClear() in terms of softpipe_clear(). Pretty simple/small now.
...
Note: softpipe_clear() should really be renamed to something like
pipe_clear_with_blits() and put into a driver-indepedent module...
2007-08-01 15:11:59 -06:00
Brian
0eb02a1963
More work on glClear.
...
Add a 'mask' param to region_fill() to help with clearing combined Z/stencil buffers, glColorMask, etc.
2007-08-01 14:46:07 -06:00
Brian
cddce60e7b
s/Z24_S8/S8_Z24/
2007-08-01 13:11:34 -06:00
Brian
5fd4606591
s/Z24_S8/S8_Z24/ (stencil is in the high byte)
2007-08-01 13:04:58 -06:00
Brian
fb206809ba
Checkpoint: glClear changes - working, bug very rough.
2007-08-01 12:58:38 -06:00
Keith Whitwell
e99b673cb0
Build libsoftpipe.a
...
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-01 15:56:23 +01:00
Keith Whitwell
028a08f563
Remove unused file intel_render.c
2007-08-01 09:01:06 +01:00
Keith Whitwell
e5df28f39a
Remove unused file
2007-08-01 09:01:06 +01:00
Keith Whitwell
c5802911df
Remove intel_span.[ch]
2007-08-01 09:01:06 +01:00
Brian
d28661870a
sp_z_surface.h is dead
2007-07-31 17:55:32 -06:00
Brian
18fbf48a1e
Obsolete.
2007-07-31 17:54:56 -06:00
Brian
20adf45c23
Redesign pipe_surface in terms of pipe_region.
...
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-31 17:42:03 -06:00
Brian
2f245bce42
Lift region-related functions up to the pipe interface.
...
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-31 15:44:50 -06:00
Brian
33891b64a9
re-fix stencil addressing bug
2007-07-31 13:42:23 -06:00
Keith Whitwell
58c1297b22
Add missing files
2007-07-31 20:34:17 +01:00
Keith Whitwell
43d07d8697
Remove references to intel_tris.h
2007-07-31 20:28:26 +01:00
Keith Whitwell
280cb37130
A version of the i915tex driver with all drawing code removed.
...
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-31 20:06:09 +01:00
Brian
973985b7ef
simplify clear.x1,y2,x2,y2 setup
2007-07-31 13:03:18 -06:00
Brian
f0b4d9cb24
In i915/i830_emit_state(), check if state->draw_region is non-null.
...
This fixes a problem hit by glClear in the samples/stencil.c program.
2007-07-31 12:49:11 -06:00
Brian
6490c7d4aa
fix stencil addressing bug
2007-07-31 11:15:30 -06:00
Brian
da2b82059f
remove obsolete xmesa_get_stencil_surface() stub
2007-07-31 10:43:36 -06:00
Brian
00afb67199
fix comments and param names for intel_miptree_image_map()
2007-07-31 10:43:16 -06:00
Brian
616c329e81
fix value returned by intel_new_renderbuffer_fb()
2007-07-31 10:42:39 -06:00
Brian
ed83159ff4
fix assertions
2007-07-31 08:22:18 -06:00
Keith Whitwell
9273150f9a
Merge branch 'i915tex_privbuffers' into softpipe_0_1_branch
...
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-31 14:37:45 +01:00
Brian
9bc1c92a0b
32 and z24s8 softpipe buffers
2007-07-30 21:39:57 -06:00
Brian
42c817269a
remove some obsolete xmesa remnants
2007-07-30 17:20:02 -06:00
Brian
f884f6886e
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-07-30 17:16:38 -06:00
Brian
4576d754c9
Lots of improvements to the surface-related code.
...
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-30 17:17:44 -06:00
Brian
6558af67d3
compute scale for Z24 buffers
2007-07-30 17:15:50 -06:00
Brian
09574bee85
implement read_quad_f_swz()
2007-07-30 14:00:27 -06:00
Brian
7baa0865b1
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-07-30 13:46:00 -06:00
Brian
3a35ce3364
implement surfaces for softpipe rendering
2007-07-30 13:11:52 -06:00
Brian
f1569bf0d5
map/unmap surfaces before/after rendering
2007-07-30 13:11:27 -06:00
Brian
1c8905790b
remove old comments
2007-07-30 13:11:09 -06:00