Commit graph

92185 commits

Author SHA1 Message Date
Brian
5bba58ca22 updated with pkg-config info 2007-09-12 10:11:49 -06:00
Dan Nicholson
94617bc6d5 pkg-config support 2007-09-12 10:03:05 -06:00
Dan Nicholson
f5557c3a52 DESTDIR support. 2007-09-12 09:57:53 -06:00
Xiang, Haihao
a0a5e8cfc0 i965: translate shadow compare function into correct
internal function to match the EXT_shadow_funs
spec. fix bug#11925
2007-09-12 16:51:45 +08:00
Xiang, Haihao
ae078e1a0a i965: revert commit 1a15b2169b,
and keep the instruction state unchanged after calling
brw_emit_tri_setup/brw_emit_line_setup when building setup
thread for SF_UNFILLED_TRIS.
2007-09-12 15:13:06 +08:00
Brian
09fbb3837b Implement query object interface.
This replaces the temporary occlusion counter functions we had before.
Added new ctx->Driver.WaitQuery() function which should block until the result is ready.
Sketch out some code for vertex transformation feedback counters.
2007-09-11 16:01:17 -06:00
root
9944174abc prefix some include filenames with shader/ 2007-09-11 15:24:43 -06:00
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
5620d66e36 vertex feedback functions 2007-09-10 17:02:58 -06:00
Brian
6275b40063 merge buffer_unreference(), buffer_reference() 2007-09-10 16:52:05 -06:00
Brian
051a2a3028 clean-ups, comments 2007-09-10 16:35:16 -06:00
Brian
c3f7f3124a s/xm_softpipe.c/xm_winsys.c/ 2007-09-10 16:32:24 -06:00
Brian
b06641eb4a Rename 2007-09-10 16:31:24 -06:00
Brian
d56a3adc30 More work on vertex feedback / glRasterPos. Basic rasterpos works now. 2007-09-10 16:29:23 -06:00
Brian
b2dfe2be6c added st_cb_rasterpos.c 2007-09-10 16:28:39 -06:00
Brian
bee148cb7d plug in rasterpos/feedback code 2007-09-10 16:28:27 -06:00
Brian
bb193c6d22 glRasterPos function 2007-09-10 16:28:10 -06:00
Brian
21c925f491 move FLUSH_CURRENT 2007-09-10 16:27:07 -06:00
Brian
24cd84162e clean-up (see bug 12317) 2007-09-10 08:37:09 -06:00
Brian
63a51aee86 Initial work for post-transformed vertex feedback buffers.
This will be used for:
   GL_NV_transform_feedback, or similar GL3 functionality
   glRasterPos
   GL selection/feedback modes
2007-09-06 17:07:09 -06:00
Brian
41ddd76b98 Initial work for post-transform vertex feedback buffers.
This will be used for:
  GL_NV_transform_feedback, or GL3 equivalent.
  RasterPos
  GL select/feedback modes
2007-09-06 17:03:54 -06:00
Brian
4c01d498fa Move guts of glRasterPos down into T&L module. 2007-09-06 17:02:07 -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
Brian
f2f168d0f8 Move guts of glRasterPos into tnl module, called via new ctx->Driver.RasterPos() function. 2007-09-06 14:26:35 -06: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
Brian
9a11a4a8b4 move some protos from draw_vertex.h to draw_private.h 2007-08-31 11:28:31 -06:00
Brian
2e21058e3d Define attrib_format and interp_mode enum typedefs and use where appropriate. 2007-08-31 11:27:16 -06:00