Brian
107206bbbe
New header file.
18 lat temu
Brian
51b300c54d
include st_cb_clear.h
18 lat temu
Brian
e415dced44
sketch out clearing with quads
18 lat temu
Brian
5936b439e8
add PIPE_MASK_RGBA
18 lat temu
Brian
a6dd731656
comment follow-up
18 lat temu
Brian
d747bf14dd
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
18 lat temu
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.
18 lat temu
Keith Whitwell
d2bffbb7b5
Remove remnants of i915 texture-from-pbo code.
18 lat temu
Keith Whitwell
4f442d9ef5
Reroute some clear functionality.
Still require the intelClear() call to flush batchbuffers. That will be
removed later...
18 lat temu
Brian
1b0e92b91a
implement masking in sp_region_fill()
18 lat temu
Brian
1ecc648398
rearrange things in xmesa_clear() a bit
18 lat temu
Brian
54135597b8
get cliprect bounds after softpipe_update_derived()
18 lat temu
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...
18 lat temu
Brian
0eb02a1963
More work on glClear.
Add a 'mask' param to region_fill() to help with clearing combined Z/stencil buffers, glColorMask, etc.
18 lat temu
Brian
cddce60e7b
s/Z24_S8/S8_Z24/
18 lat temu
Brian
5fd4606591
s/Z24_S8/S8_Z24/ (stencil is in the high byte)
18 lat temu
Brian
fb206809ba
Checkpoint: glClear changes - working, bug very rough.
18 lat temu
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.
18 lat temu
Keith Whitwell
028a08f563
Remove unused file intel_render.c
18 lat temu
Keith Whitwell
e5df28f39a
Remove unused file
18 lat temu
Keith Whitwell
c5802911df
Remove intel_span.[ch]
18 lat temu
Brian
d28661870a
sp_z_surface.h is dead
18 lat temu
Brian
18fbf48a1e
Obsolete.
18 lat temu
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.
18 lat temu
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
18 lat temu
Brian
33891b64a9
re-fix stencil addressing bug
18 lat temu
Keith Whitwell
58c1297b22
Add missing files
18 lat temu
Keith Whitwell
43d07d8697
Remove references to intel_tris.h
18 lat temu
Keith Whitwell
b4c18efcd0
Build the "pipe" version of the i915tex driver.
This hands all rendering off to the softpipe rasterizer.
18 lat temu
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.
18 lat temu
Brian
973985b7ef
simplify clear.x1,y2,x2,y2 setup
18 lat temu
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.
18 lat temu
Brian
6490c7d4aa
fix stencil addressing bug
18 lat temu
Brian
da2b82059f
remove obsolete xmesa_get_stencil_surface() stub
18 lat temu
Brian
00afb67199
fix comments and param names for intel_miptree_image_map()
18 lat temu
Brian
616c329e81
fix value returned by intel_new_renderbuffer_fb()
18 lat temu
Brian
ed83159ff4
fix assertions
18 lat temu
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
18 lat temu
Brian
9bc1c92a0b
32 and z24s8 softpipe buffers
18 lat temu
Brian
42c817269a
remove some obsolete xmesa remnants
18 lat temu
Brian
f884f6886e
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
18 lat temu
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.
18 lat temu
Brian
6558af67d3
compute scale for Z24 buffers
18 lat temu
Brian
09574bee85
implement read_quad_f_swz()
18 lat temu
Brian
7baa0865b1
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
18 lat temu
Brian
3a35ce3364
implement surfaces for softpipe rendering
18 lat temu
Brian
f1569bf0d5
map/unmap surfaces before/after rendering
18 lat temu
Brian
1c8905790b
remove old comments
18 lat temu
Brian
737f6e7eb1
disable ProgramStringNotify assertion
18 lat temu
Brian
a548d3cb71
call st_invalidate_state()
18 lat temu