Zack Rusin
498a1b5dc4
Add emacs dirvars file with Mesa indention definition.
2007-09-18 10:02:51 -04:00
Zack Rusin
de69fc1703
Finishing up rename of the setup state to the rasterizer state.
2007-09-18 10:02:16 -04:00
Zack Rusin
fbb2f840ae
move cso cache to the pipe directory
2007-09-18 07:20:14 -04:00
Zack Rusin
29789ca026
Fix a silly bug on setting samplers.
...
Bind when the currently bound state is /not/ the one
we just found/created.
2007-09-18 07:19:12 -04:00
Zack Rusin
294401814d
converting the setup state to immutable object and renaming it to rasterizer state
2007-09-18 07:18:12 -04:00
Zack Rusin
d6ac959833
Combing depth and stencil objects and making them immutable.
...
Converting depth and stencil objects into a single state object
(d3d10 like) and making it immutable.
2007-09-18 06:31:22 -04:00
Zack Rusin
56edb98d97
Fix the warning.
...
The const is there to enforce the immutable state of the object,
which is in reality owned by the pipe so just cast away the
constness.
2007-09-18 06:31:22 -04:00
Zack Rusin
f117327a3f
Make sampler an immutable state object.
...
Switch the sample to be an immutable state object.
2007-09-18 06:31:22 -04:00
Zack Rusin
e16c045b83
Implementing a better hash, removing state_tracker dependency from the cache.
...
Replacing mesa's main hash with one that handles collisions, moving state_tracker
related caching to the state tracker to keep cso cache independent of it. Cleanups.
2007-09-18 06:31:22 -04:00
Zack Rusin
9780327c5d
First stab at immutable state objects (create/bind/delete)
...
We want our state objects to be immutable, handled via the
create/bind/delete calls instead of struct propagation.
Only implementing the blend state to see how it would look like
and work.
2007-09-18 06:31:22 -04:00
Zou Nan hai
ec9e7bc753
ARB_shader_object ARB_vertex_shader ARB_fragment_shader in 965-glsl branch
2007-09-18 12:59:50 +08:00
Zou Nan hai
25bda451bb
fix double free in 965-glsl branch
2007-09-18 11:32:25 +08:00
Xiang, Haihao
e21d2c6ef3
mesa: Always use the original mask to update stencil buffer
...
in stencil_and_ztest_pixels. fix #12263
2007-09-18 09:32:44 +08:00
Brian
ffacb1c12a
Replace GL_TEXTURE_* tokens with PIPE_TEXTURE_*
...
Must have missed this a while back. This fixes cube mapping.
2007-09-17 15:44:59 -06:00
Brian
b4bacd1fca
Plug in selection/feedback code.
...
Not quite finished yet.
Selection/feedback are done with a private instance of the 'draw' module
in the state tracker. Not quite all the draw context's state is set yet,
namely vertex format info. Hold off on that for a bit...
2007-09-17 14:24:11 -06:00
Brian
2a40c71fed
selection/feedback support
2007-09-17 14:22:49 -06:00
Brian
060a638027
s/bugmgr/bufgr/
2007-09-17 12:18:32 -06:00
Brian
72d7d2bcc3
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-09-17 12:07:29 -06:00
Keith Whitwell
5578f8ce3b
Remove non-meaningful region_idle() interface
...
This is already handled by the semanics of map(), etc.
2007-09-17 18:04:03 +01:00
Brian
f48e055c10
silence warning
2007-09-17 10:05:34 -06:00
Brian
9ea91974e1
update begin/end_query() functions
2007-09-17 10:05:21 -06:00
Michel Dänzer
bf92350b5b
Fix linux-dri-x86 build.
2007-09-17 13:22:51 +01:00
Matthieu Castet
c29886718a
nouveau : avoid vertex_size / 4 for each vertex ops
2007-09-16 23:33:10 +02:00
Matthieu Castet
7cc4d31ed9
nouveau : use GLfloat instead of uint32_t. After all, our vertex attributes are float.
2007-09-16 23:19:22 +02:00
Matthieu Castet
7356dac1b6
nouveau : implement nv10_render_points
2007-09-16 23:01:56 +02:00
Matthieu Castet
2616b20689
nouveau : fix nv10_render functions
...
use _tnl_RenderClipped helper functions that will call the right driver callback
clean nv10_render_generic_primitive_elts to match nv10_render style
2007-09-16 19:37:27 +02:00
Matthieu Castet
e605f2828f
nouveau : opps I introduce a bug when cleaning vertex pos attribute swap patch
2007-09-16 18:57:03 +02:00
Matthieu Castet
3d17cdf55a
revert a956184f70
2007-09-16 16:15:13 +02:00
Matthieu Castet
d42d5fdba0
nouveau : nv1x pos vertex attribute need to be the first in mesa.
...
Swap it latter in order it match hw format.
2007-09-16 16:13:55 +02:00
Matthieu Castet
8d9d990cb2
nouveau : use new nouveau_reg.h with correct Bracket in macro
2007-09-15 00:25:09 +02:00
Matthieu Castet
5e78356259
nouveau : check for nmesa->state_cache.atoms overflow
2007-09-14 22:13:52 +02:00
Matthieu Castet
63147344e4
nouveau : fix NV10_TCL_PRIMITIVE_3D_CLIP_PLANE
2007-09-14 22:07:34 +02:00
Brian
bb4a9b2dce
added copypix.c test (test glCopyPixels w/ pixel zoom)
2007-09-14 09:59:08 -06:00
Brian
032707eeca
fix copypixels overlap test bug ( #12417 )
2007-09-14 09:59:08 -06:00
Michel Daenzer
d59c95bfae
intel_winsys: Fix intel_buffer_reference.
...
Correctly clear the pointer to the old buffer (not sure how this could build at
all before...) and only reference the new one when its pointer is non-NULL.
2007-09-14 15:53:52 +01:00
Michel Daenzer
c01a5ec3d6
intel_winsys: Adapt to recent drm changes (s/pipes/planes/).
2007-09-14 15:48:54 +01:00
Xiang, Haihao
e04c58e068
mesa: bind VBO_ATTRIB_XXX to correct input array when
...
executing a display list. fix #10604
2007-09-14 16:26:56 +08:00
Xiang, Haihao
ea07a0df9a
i965: align the address of the first element within
...
the index buffer. (fix#11910)
2007-09-14 11:10:23 +08:00
Brian
75a0f7f4a7
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
2007-09-13 14:45:22 -06:00
Brian
d3c77cebff
updated vrml link
2007-09-13 14:44:27 -06:00
Brian
885a95f4fa
Fix timer problem when using Fortran bindings (submitted by Bill Mitchell)
...
Also, add some comments about what's going on.
2007-09-13 14:42:23 -06:00
Matthieu Castet
3a2559a1e9
nouveau : diable broken light enable on nv10
2007-09-13 22:13:39 +02:00
Brian
ab31a3a764
added program_error2() function for better error reporting
2007-09-13 11:41:49 -06:00
Brian
d799b7a7ec
Fix state.texgen parsing error (bug 12313).
...
Replace *(*inst++) with *(*inst)++ in a few places.
2007-09-13 11:29:00 -06:00
Brian
f3419d5ead
added .pc.in files to tarballs
2007-09-13 09:27:10 -06:00
Brian
20b331c2f6
added null ptr check
2007-09-13 09:26:27 -06:00
Jonathan Bestien-Filiatrault
5fdeb52e5d
check return value of invert_matrix()
2007-09-12 16:21:13 -06:00
Brian
ae0dd620fe
Add glut_fcb.c to the build and update to fix warnings (see bug 12405)
2007-09-12 13:40:15 -06:00
Brian
642267b2d8
Rename. "fcb" = fortran call back
2007-09-12 13:37:10 -06:00
Jesse Barnes
ba5290e836
Remove unused plane->pipe mapping fields from SAREA private.
2007-09-12 09:34:38 -07:00