summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_state.h
AgeCommit message (Collapse)Author
2008-08-12gallium: Name pipe_depth_stencil_alpha_state member structures.José Fonseca
So that the previously anonymous depth/stencil/alpha structures can be identified in the traces. This is just syntactic sugar: it does not break source or binary compatibility.
2008-07-19gallium: Move PIPE_TEXTURE_USAGE* to p_defines.hJosé Fonseca
2008-06-27gallium: handle msaaRoland Scheidegger
2008-06-27gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
2008-05-07gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces.José Fonseca
2008-05-03gallium: add pipe surface layout value (Roland Scheidegger)Keith Whitwell
2008-05-02gallium: identify depth-stencil texturesKeith Whitwell
And don't use the display-target path to allocate them.
2008-05-02gallium: Add texture usage flags, special-case allocation of display targetsKeith Whitwell
For many envirionments it's necessary to allocate display targets in a window-system friendly manner. Add facilities so that a driver can tell if a texture is likely to be used to generate a display surface and if use special allocation paths if necessary. Hook up softpipe to call into the winsys->surface_alloc_storage() routine in this case, though we probably want to change that interface slightly also.
2008-05-02gallium: remove usage of winsys->surface_alloc_storage from state trackerKeith Whitwell
Allocate a texture containing storage instead. Also clean up ACCUM buffer allocation slightly -- drivers will need some changes to texture allocation logic to accomodate the concept of a texture that will only as image storage by the CPU, but it's cleaner than it was.
2008-05-01gallium: add information to surface to identify which texture image it is ↵Keith Whitwell
pointing at
2008-05-01gallium: tex surface checkpointKeith Whitwell
2008-04-08gallium: re-order, clean-up PIPE_MAX_* definitionsBrian
2008-04-08gallium: remove obsolete/unused PIPE_ATTRIB_MAXBrian
2008-04-04gallium: fix two-side stencil handlingRoland Scheidegger
Previously all drivers were in twosided mode since they checked for stencil.enable[1] flag which was a copy of stencil.enable[0]. Note that drivers should not reference stencil[1] state (other than the enable) if twosided stenciling is disabled (for now the stencil state is still copied but for instance clear_with_quads won't provide useful values in there). Also, use _TestTwoSide instead of TestTwoSide since results would be bogus otherwise if using APIs with implicit two side stencil enable (i.e. core ogl 2.0).
2008-04-02gallium: add a flag to turn on gl rasterization rulesKeith Whitwell
Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code.
2008-04-02gallium: add temporary facility for rasterization-time clamping of point sizesKeith Whitwell
2008-03-31gallium: updated comment for bypass_vsBrian
2008-03-28gallium: remove redundant compare bit in sampler stateRoland Scheidegger
2008-03-28gallium: Bump PIPE_MAX_SAMPLERS to 16.Michal Krol
We need it to fulfil D3D minimum requirements.
2008-03-27gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
2008-03-25gallium: Introduce flatshade_first field to rasterizer_state.Michal Krol
This bit tells us which vertex of the primitive is used to propagate color for the remaining vertices if flatshade mode.
2008-03-20gallium: added width, height to pipe_framebuffer_stateBrian
2008-03-13gallium: added bypass_vs flag to rasterizer state (may be temporary)Brian
2008-03-13gallium: remove dead code related to shader semantic input/output infoBrian Paul
2008-03-13gallium: remove semantic info from pipe_shader_stateBrian Paul
Brian's patch to clean up the shader interfaces.
2008-03-09gallium: add some commonly implemented bits of hw stateKeith Whitwell
2008-03-03gallium: remove obsolete commentKeith Whitwell
2008-02-27gallium: remove unneeded pipe ptr from pipe_textureBrian
2008-02-26gallium: introduce 'pipe_screen' for context-independent functionsBrian
This will allow creating textures before a rendering context exists, for example. Only implemented in i915 driver for now. i915pipe->texture_create() just dispatches through to the i915screen->texture_create() to avoid state tracker changes for now.
2008-02-26gallium: remove pipe parameter from pipe_texture_reference()Brian
Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation...
2008-02-26gallium: remove input_map[] from pipe_shader_stateBrian
2008-02-25Make the pipe headers C++ friendly.José Fonseca
2008-02-21gallium: comments, white-space clean-upBrian
2008-02-15Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell
Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.