Commit graph

115447 commits

Author SHA1 Message Date
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
Eric Anholt
9c61925da0 bufmgr_fake: eliminate the referenced list, which is now just on_hardware. 2007-07-31 09:24:06 -07:00
Eric Anholt
5e2acfee78 Don't initialize extensions we can't support when !ttm. 2007-07-31 09:24:04 -07:00
Eric Anholt
05fe75e619 Add missing -g in FreeBSD OPT_CFLAGS 2007-07-31 09:24:01 -07:00
Brian
8410b3f8f9 fix failure caused by undeclared variable (bug 11783) 2007-07-31 09:43:57 -06:00
Brian
2c0b3d8c4b added sunos5-v9-cc-g++ config 2007-07-31 09:32:28 -06:00
Brian
59b1233e70 glGetAttribLocation always returned 1 (bug 11774) 2007-07-31 09:32:28 -06:00
Xiang, Haihao
e66757c8ba i965: fix bad casts in do_blit_bitmap to support WindowPos correctly 2007-07-31 22:40:42 +08: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
Xiang, Haihao
69337ed098 i965: Use I16_UNORM instead of L16_UNORM (bug 11742) 2007-07-31 09:10:31 +08: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
Xiang, Haihao
982dcb74fd Fix an error in _save_OBE_DrawElements
In the case that a buffer object is bound to
ELEMENT_ARRARY_BUFFER, it is invalid to directly
dereference indices passed to glDrawElements.
2007-07-31 00:11:22 +08:00
Xiang, Haihao
2394d20daf Fix an error in _mesa_validate_DrawElements
The field 'Data' in an obj is NULL in some dri drivers(such
as i965). Use mapped pointer instead.
2007-07-30 23:50:52 +08:00
Brian
58f9f96c68 New sunos5-v9-cc-gcc config (Roland Egger) 2007-07-30 09:01:02 -06:00
Brian
5c6f1f542b misc comments, clean-ups 2007-07-30 08:52:57 -06:00
Brian
baac66cb05 remove old comment, minor formatting fixes 2007-07-30 08:13:40 -06:00
Xiang, Haihao
501b5305b9 handle LSB_FIRST in _mesa_pack_bitmap by the way used in
_mesa_unpack_bitmap
2007-07-30 16:30:32 +08:00
Xiang, Haihao
775ebb696d Fix an error related to glPolygonStipple.
As glPixelStore(GL_UNPACK) affect the bits into a stipple pattern,
hence 128 bytes used to store the pattern in a display list aren't
enough sometimes.
2007-07-30 16:17:40 +08:00
Zou Nan hai
60179434d1 ARB sprite point support on i965 2007-07-30 10:18:11 +08:00
Brian
e5213be78e added a few more functions 2007-07-29 18:28:46 -06:00
Jan Dvorak
eefb04a2b8 fix glPointParameteriv bug 11754 2007-07-29 18:26:22 -06:00
Brian
aa71b8869b Added shader points and shader bitmap demos 2007-07-29 18:04:23 -06:00
Roland Scheidegger
ab02552cdd fix cos/sin range reduction for i915 driver too 2007-07-29 19:44:55 +02:00
Roland Scheidegger
dde814776c fix range reduction for sin/cos in i915tex (#11609) 2007-07-29 19:43:37 +02:00
Roland Scheidegger
7aefdd5185 fix range reduction for sin/cos in i915tex (#11609) 2007-07-29 19:40:50 +02:00
Roland Scheidegger
10f5a6ac85 fix fallback crashes when driver can't handle frag prog for i915 driver too (untested) 2007-07-29 18:31:36 +02:00
Roland Scheidegger
a188ba4bf9 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:09:35 +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
Zhang
35f35294cd more Mingw32 fixes 2007-07-27 11:19:35 -06: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