Commit Graph

13 Commits

Author SHA1 Message Date
Michal Krol
7de874ec2c Make it compile under linux.
Move pipe_region/surface_reference functions to pipe/p_inlines.h.
Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29 17:05:38 +00:00
Michal Krol
ee295fccdd Make gallium compile in win32.
Use FREE, MALLOC, CALLOC, GETENV wrappers.
Silence compiler warnings.
Add proper copyrights.
2007-10-29 17:05:38 +00:00
Brian
8fed2466e4 Re-implement GLSL texture sampler variables.
GLSL sampler variables indicate which texture unit to use for TEX instructions.
Previously, this was baked into the fragment/vertex program and couldn't be
readily changed once set.
Now, SamplerUnits[] array indicates which texture unit is to be used for
each sampler variable.  These values are set with glUniform1i().
This is extra state that must be passed to the fragment/vertex program
executor at runtime.
2007-10-26 19:19:51 -06:00
Brian
70eb7996f2 Finish unifying the surface and texture tile caches. 2007-10-22 09:37:26 -06:00
Zack Rusin
51345cb3c4 Make softpipe behave more like a real driver by always allocating something
in the state functions.
2007-10-03 08:47:36 -04:00
Zack Rusin
7a06c026ad Fix failover state binding and convert the sampler to use the new
state constant state object semantics.
2007-09-20 10:07:10 -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
Keith Whitwell
70af238b49 Continue reducing dependencies on core mesa include files.
Mainly down to the support for legacy TNL processing now.
2007-08-14 15:57:30 +01:00
Brian
cec49ee954 s/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c 2007-08-07 10:56:41 -06:00
Brian
a380f98b6c Rename G_NEW_* tokens to SP_NEW_* 2007-07-09 16:17:50 -06:00
Brian
279ffe3f16 New 'draw' module for primitive drawing (clipping, culling, etc). 2007-07-09 16:14:26 -06:00
Brian
5d69aeb002 initial texture object, texture format code 2007-06-22 13:37:47 -06:00
Brian
13682d959d more texture sampler work 2007-06-22 13:08:49 -06:00