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
b4c18efcd0
Build the "pipe" version of the i915tex driver.
...
This hands all rendering off to the softpipe rasterizer.
2007-07-31 20:22:49 +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
Brian
737f6e7eb1
disable ProgramStringNotify assertion
2007-07-30 13:10:52 -06:00
Brian
a548d3cb71
call st_invalidate_state()
2007-07-30 13:10:12 -06:00
Brian
f38d26fd83
added map/unmap() stubs
2007-07-30 13:09:53 -06:00
Roland Scheidegger
7aefdd5185
fix range reduction for sin/cos in i915tex ( #11609 )
2007-07-29 19:40:50 +02:00
Roland Scheidegger
9d2d34b5ea
Fix crashes when the frag prog can't be handled in hardware ( #11131 )
...
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-29 18:07:42 +02:00
Brian
75b8a396e5
renaming, comments, clean-up
2007-07-27 11:02:54 -06:00
Brian
05ba76757b
Clip triangles against softpipe->cliprect which includes scissor and surface bounds.
...
This prevents rendering out of bounds when the viewport is partially outside the surface bounds.
2007-07-27 10:50:35 -06:00
Brian
05bde092f3
remove obsolete comments
2007-07-27 10:25:11 -06:00
Brian
a0c1d591ab
Maintain cliprect (scissor) info in sp_state_derived.c.
...
The cliprect depends on the scissor rect (if enabled), otherwise the drawing
surface bounds.
2007-07-27 10:21:34 -06:00
Brian
78ea9cee0d
Implement point/line quad clipping. Not quite as efficient as it probably could be, but sufficient for now.
2007-07-27 10:10:49 -06:00
Brian
6abdad28f6
check scissor state
2007-07-27 09:27:56 -06:00
Brian
df23ebbb9f
s/SP_TILE_H/SP_QUAD_H/
2007-07-27 09:06:15 -06:00
Brian
e1a19781dd
init quad.coverage values to 1.0 in case line AA is enabled so that we see something
2007-07-27 09:06:02 -06:00
michal
8755594647
Avoid unnecessary input attrib copy by aligning exec_machine attribs.
2007-07-27 12:50:38 +02:00
michal
e0a26b0467
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-07-27 10:05:40 +02:00
Brian
e3cef58875
Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.
2007-07-26 15:32:02 -06:00
Brian
9ed040c3c9
generate error upon writing to varying var in fragment program (bug 11733)
2007-07-26 11:39:11 -06:00
Brian
daaee90a26
clamp float colors
2007-07-26 08:22:47 -06:00
Brian
51b728cf9a
fix color interpolation for CHAN_BITS==32
2007-07-26 08:22:28 -06:00
Brian
efda5cb626
don't use rgba_line() if CHAN_BITS==32
2007-07-26 08:22:09 -06:00
Brian
0360b49afb
Implement line stippling.
...
Also added draw_stage::reset_line_stipple(). There may be a better way
of doing that though.
2007-07-25 15:48:09 -06:00