summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/samplerobj.h
Commit message (Collapse)AuthorAgeFilesLines
* intel: Add support for ARB_sampler_objects.Eric Anholt2011-04-231-0/+8
| | | | | | | | | | | | This extension support consists of replacing "gl_texture_obj->Sampler." with "_mesa_get_samplerobj(ctx, unit)->". One instance of referencing the texture's base sampler remains in the initial miptree allocation, where I'm not sure we have a clear association with any texture unit. Tested with piglit ARB_sampler_objects/sampler-objects. Reviewed-by: Brian Paul <[email protected]>
* mesa: new code/functions for GL_ARB_sampler_objectsBrian Paul2011-04-101-0/+54
This implements the infrastructure for sampler objects and all the new API functions.