Commit Graph

11185 Commits

Author SHA1 Message Date
Brian
acfeb3b6ea Fix-up #includes to remove some -I options.
eg: #include "shader/program.h" and remove -I$(TOP)/src/mesa/program
2007-09-11 11:04:15 -06:00
Brian
a614877592 In _mesa_make_current(), don't unbind FBOs from the old context.
This fixes the X server crash reported by KeithP on Aug 29.
The old context's FBOs will be unreferenced during context destruction so
there's no memleak with this change.
2007-09-11 10:59:59 -06:00
Brian
995e01a6bc Update depth test state when binding new framebuffer object 2007-09-11 09:23:13 -06:00
Brian
0c43ab6fbc fix comment 2007-09-11 09:23:13 -06:00
Jesse Barnes
7f6decf3e4 Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa 2007-09-11 03:55:40 -07:00
Jesse Barnes
78b7e49c84 intel: disentangle planes & pipes
This is the Mesa portion of the pipe & plane disambiguation.  Mesa needs to use
the new assumptions about plane vs. pipe mappings and should use the new SAREA
field names to avoid confusion.
2007-09-11 03:54:34 -07:00
Xiang, Haihao
0aedb9a204 i965: take the secondary color into account when drawing
bitmap. fix#10688
2007-09-11 16:57:07 +08:00
Xiang, Haihao
241b7bc0a3 i965: limit on LOD Bias, fix#11987 2007-09-11 16:49:02 +08:00
Brian
24cd84162e clean-up (see bug 12317) 2007-09-10 08:37:09 -06:00
Patrice Mandin
249ca55555 nouveau: nv10: check NULL pointers 2007-09-06 22:36:12 +02:00
Patrice Mandin
15a6bf9118 nouveau: init depth range 2007-09-06 22:33:22 +02:00
Patrice Mandin
7307ff80c9 nouveau: nv10: replace macros by loop to set vertex attributes 2007-09-06 20:00:25 +02:00
Patrice Mandin
8f9b9ac387 nouveau: need parenthesis around macro params, generator should be fixed 2007-09-06 19:58:59 +02:00
Patrice Mandin
a956184f70 Disable an assert for hw that do not emit POS as first vertex attrib, like nv1x 2007-09-06 19:12:58 +02:00
Patrice Mandin
db9f97e2ae nouveau: nv10: emit vertex data in proper order for nv1x hw 2007-09-05 23:37:18 +02:00
Brian
9ceff4ac4c updated bug report guidelines 2007-09-05 10:04:37 -06:00
Christoph Kubisch
8822069e71 updated VC7 project files 2007-09-05 10:04:37 -06:00
Xiang, Haihao
1a15b2169b i965: only take non-varying attribute into account when
compiling sf_prog. fix bug#11378 (which is introduced by
commit d619cceea4)
2007-09-05 13:31:01 +08:00
Stephane Marchesin
8752a20dec nouveau: who needs nv03 ? 2007-09-04 23:21:21 +02:00
Patrice Mandin
ece08b7fd9 nouveau: nv10: need to transpose mesa model+proj matrix for hw 2007-09-04 19:17:06 +02:00
Brian
c2e1ee08b0 Use temporary matrix in __gluInvertMatrixd() to fix aliasing problem (see bugs 12269, 6748) 2007-09-03 16:22:14 -06:00
Patrice Mandin
2f8ff58c0e nouveau: nv10: forgot function to set modelview matrix 2007-09-03 23:42:33 +02:00
Patrice Mandin
c45bb05b3c nouveau: separate modelview and projection matrix updates 2007-09-03 23:10:55 +02:00
Xiang, Haihao
cb7da3f096 i965: Correct build_lighting in i965 driver according to
commit 6dd98e9853.
2007-09-01 15:43:15 +08:00
Brian
6dd98e9853 Fix problem introduced in previous commit in which a state variable (uniform) is written to. (see bug 12239)
Also, added some assertions to the emit_arg() and emit_dst() functions to
catch this kind of error in the future.
2007-08-31 16:42:05 -06:00
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
Brian
3a484cd794 added --noclear option to demonstrate rendering without glClear 2007-08-27 12:00:19 -06: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
Adam Jackson
1f8616e622 Unbreak Linux builds with -fvisibility=hidden. 2007-08-23 18:38:02 -04: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