Commit graph

9028 commits

Author SHA1 Message Date
Patrice Mandin
47768ce0e5 nouveau: nv10: remove setting projection matrix when scaling viewport 2007-08-31 19:46:39 +02:00
Patrice Mandin
b0a1e81887 nouveau: add hw-dependent function to update modelview*projection matrix 2007-08-31 19:46:39 +02:00
Xiang, Haihao
214347fdb4 i965: Calculate the positional light in homogeneous coordinates.
fix bug#11009
2007-08-31 16:50:48 +08:00
Zou Nan hai
b47c9f8c91 optimize 965 clip
1. increase clip thread number to 2
  2. do cliptest for -rhw
2007-08-31 13:42:20 +08:00
Xiang, Haihao
22bc3cdd49 i965: Take the upper limitation on LOD into account. 2007-08-31 12:51:36 +08:00
David Moore
1dd94a63ac Bug #10571: Fix 965 line clipping when neither vertex needs clipping. 2007-08-30 14:45:56 -07:00
Roland Scheidegger
74e1d0996d fix another occurence of movaps which might not be aligned 2007-08-30 18:04:49 +02:00
Brian
3b7df51eb5 s/movaps/movups/ (see bug 12216) 2007-08-30 08:41:38 -06:00
Xiang, Haihao
bad6e175cf i965: store read drawable info in intel_context. Some OpenGL
operations are based on read drawable. fix bug#10136.
2007-08-29 15:11:10 -04:00
Xiang, Haihao
f6a89e1884 i965: check NULL pointer. fix bug#12193 2007-08-29 13:03:34 -04:00
Xiang, Haihao
410d8f7cdb i965: samplers group in fours in WM_STATE. fix bug#9415 2007-08-29 10:13:10 -04:00
Keith Packard
500193dca8 Add register defines for hw binning 2007-08-28 12:27:51 -07:00
Xiang, Haihao
c235cc71a2 i965: flush batch buffer when getting the maximum. This makes
some 3D programs such as pymol work well.
2007-08-28 11:35:52 -04:00
Colin McDonald
d62be3d4ca fixed problem with big glDrawArrays (see bug 12141) 2007-08-27 10:47:32 -06:00
Brian
f0a036bad9 new __gluInvertMatrix() function (Mesa bug 6748) 2007-08-27 10:36:11 -06:00
Patrice Mandin
c28ea5573d nouveau: nv10: set total stride of vertex array for POS attribute 2007-08-27 11:45:30 +02:00
Patrice Mandin
24967c8646 nouveau: nv10: also set modelview0 matrix to identity 2007-08-25 17:46:53 +02:00
Patrice Mandin
40ecc4a359 nouveau: nv10: add a scissor func, do not cache viewport settings 2007-08-25 12:36:03 +02:00
Patrice Mandin
1a911aad0a nouveau: nv10: properly set viewport and projection 2007-08-25 11:39:04 +02:00
Brian
f8e4cf716a remove CallDepth++/-- accidentally removed in prev commit 2007-08-24 08:45:37 +01:00
Brian
4b654d41da For _mesa_share_state(), update the context's references to the new share group's objects (Shane Blackett) 2007-08-23 08:53:43 +01:00
Brian
dbef6158c6 remove unneeded CallStack array 2007-08-23 08:19:31 +01:00
Patrice Mandin
a3750c989b nouveau: nv10: set projection matrix from viewport size 2007-08-22 11:01:59 +02:00
Patrice Mandin
24746d0e32 nouveau: nv10: initialize more of nv10 tcl engine 2007-08-22 10:28:13 +02:00
Patrice Mandin
3d508a5d7b nouveau: nv10: Move some initialization stuff 2007-08-21 16:55:42 +02:00
Patrice Mandin
a6d35694c4 nouveau: Use proper notifier object 2007-08-21 16:53:13 +02:00
Patrice Mandin
c6e729377c nouveau: nv10: Remove commented, unsupported by hw command 2007-08-21 16:52:10 +02:00
Patrice Mandin
07b7e97fb4 Use correct object for GART 2007-08-20 19:36:52 +02:00
Brian
d8c6719f95 refactor bounds checking code 2007-08-20 13:12:20 +01:00
Brian
a3c3bc9ece don't map buffer in _mesa_validate_DrawElements() unless needed 2007-08-20 12:56:34 +01:00
Patrice Mandin
ef71a0fd45 nouveau: nv10: only one color buffer atm 2007-08-19 20:12:26 +02:00
Brian
53cf87be1b some fixes for compressed cube maps (bug 11986) 2007-08-18 16:25:16 +01:00
Brian
95e84a09ce remove dead code left over after fixing GL_READ/DRAW_BUFFER state issues 2007-08-18 16:11:31 +01:00
Xiang, Haihao
dcfdb63b9f Brian's fix for bug9829 2007-08-17 13:36:13 -04:00
Xiang, Haihao
00b86ecf6f i965: align width/height for volume texture 2007-08-17 12:42:52 -04:00
Patrice Mandin
b902a223c4 nouveau: nv10: clear a buffer 2007-08-16 21:50:34 +02:00
Patrice Mandin
a60695ebaf nouveau: nv10: add function to clear a buffer 2007-08-16 21:31:30 +02:00
Patrice Mandin
fe78980580 nouveau: store render buffer pointers in context, to access them when clearing buffer 2007-08-16 21:28:40 +02:00
Patrice Mandin
f5ed049655 nouveau: nv10: create objects needed to clear buffer 2007-08-16 20:53:29 +02:00
Brian
32d86eb28a Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland previously did.
Basically, in update_framebuffer() (which should be called after an FBO is bound
with MakeCurrent or BindFramebuffer) we check if the FBO is a window-system FBO.
If it is, update the FBO's GL_READ/DRAW_BUFFER state according to the context state.
Old code still in place but disabled with #if 0 / #endif.
2007-08-16 18:52:48 +01:00
Brian
c033ccc36d update comments, etc related to Read/DrawBuffer state 2007-08-16 16:49:35 +01:00
Brian
c5a5d12743 remove reference to ctx->Color.DrawBuffer 2007-08-16 16:43:31 +01:00
Brian
09867b53a9 replace Proxy1D/2D/etc fields with ProxyTex[] array 2007-08-16 11:06:39 +01:00
Brian
fe46900703 Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.
Simplification in colortab.c too.
2007-08-16 11:06:13 +01:00
Brian
0135ff512d replace separate 1D/2D/etc fields with an array indexed by texture target 2007-08-16 10:28:23 +01:00
Brian
b3e3e72e25 remove old Saved1D/2D/etc fields 2007-08-16 10:27:24 +01:00
Brian
145d762044 Bring over the texobj refcounting changes from mesa_7_0_branch 2007-08-16 10:05:00 +01:00
Michel Dänzer
2193c4de83 i915tex: Unreference texture buffers on context destruction.
Not doing this could cause the buffers to leak under some circumstances.
2007-08-16 08:46:55 +02:00
Roland Scheidegger
a6d4dddb38 suppress warning about ncon visuals (bug #6689) 2007-08-16 02:41:03 +02:00
Xiang, Haihao
ab99960858 i965: use BRW_TEXCOORDMODE_CLAMP instead of BRW_TEXCOORDMODE_CLAMP_BORDER
to implement GL_CLAMP
2007-08-15 13:28:00 +08:00