summaryrefslogtreecommitdiff
path: root/src/gallium/include
AgeCommit message (Collapse)Author
2008-05-23gallium: define PIPE_CDECL calling convention, which really is cdecl everywhereKeith Whitwell
2008-05-19gallium: Additional formats for bump mapping.José Fonseca
2008-05-18Merge branch 'gallium-0.1' into gallium-tex-surfacesBrian Paul
2008-05-17gallium: remove deprecated format namesBrian Paul
2008-05-07gallium: Propagate tex_usage flags down to winsys.José Fonseca
2008-05-07gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces.José Fonseca
2008-05-07gallium: Simple facility to dump and view images for debugging.José Fonseca
2008-05-06Merge commit 'origin/gallium-0.1' into gallium-tex-surfacesKeith Whitwell
Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c
2008-05-06gallium: New pipe_screen interface to overlay a texture on existing memory.José Fonseca
2008-05-03gallium: add pipe surface layout value (Roland Scheidegger)Keith Whitwell
2008-05-02gallium: remove obsolete PIPE_CAP_BITMAP_TEXCOORD_BIASBrian Paul
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-02re-add pipe_surface map/unmap inlinesKeith Whitwell
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-30gallium: rename old PIPE_FORMAT_U_I8 with PIPE_FORMAT_I8_UNORM, etc.Brian Paul
Now all the packed color types are consistantly named. Added temporary #defines for the old names until all drivers are updated.
2008-04-30gallium: fix typo: s/custam/custom/Brian Paul
2008-05-01d3d: Windows miniport driver portability fixes.José Fonseca
2008-04-30gallium: new pipe_buffer alloc/map/unmap/ref wrappersBrian Paul
2008-04-29silence p_debug.h:63: warning: ISO C forbids forward references to ↵Zack Rusin
‘enum’ types
2008-04-29gallium: declare pipe_format enum to silence warningsBrian Paul
2008-04-29gallium: add debug_print_format() make it easier to print format error messagesKeith Whitwell
2008-04-25gallium: tweak comments, minor var renamingBrian Paul
2008-04-25gallium: tweak comments, minor var renamingBrian Paul
2008-04-25gallium: Windows user mode portability fixes.José Fonseca
2008-04-25gallium: New configuration header.José Fonseca
To abstract all those weird #ifdef (__???__) checks. It should typically be the first included header.
2008-04-24gallium: Make sure the size of non-existent storage components is set to 0.Michel Dänzer
Before adding support for formats with unused storage components, the size of components swizzled to 0 or 1 was ignored, so this didn't matter.
2008-04-24gallium: Initial support for pixel formats with unused storage components.Michel Dänzer
Also clarify that RGB formats with no (used) alpha component are treated as having alpha = 1.0.
2008-04-21util: work around freaky win32 math.hKeith Whitwell
2008-04-21util: add wrappers for float math functions on windowsKeith Whitwell
2008-04-15gallium: Don't assume snprintf are always available.José Fonseca
2008-04-11gallium: Thread condition variables.José Fonseca
2008-04-10gallium: flags param to surface_alloc_storage() is unused and deprecatedBrian Paul
2008-04-08gallium: re-order, clean-up PIPE_MAX_* definitionsBrian
2008-04-08gallium: remove obsolete/unused PIPE_ATTRIB_MAXBrian
2008-04-08gallium: Allow to debug memory leaks in nested scopes.José Fonseca
2008-04-07gallium: Stop warningsJakob Bornecrantz
2008-04-05gallium: Use the custom snprintf implementation everywhere (for Win32).José Fonseca
Because winddk's implemenation does not handle floats.
2008-04-04gallium: Handle client-supplied edgeflags.Keith Whitwell
Also, implement support in the draw module. We were hardwiring these to one for quite a long time... Currently using a draw_set_edgeflags() function, may be better to push the argument into the draw_arrays() function. TBD.
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-04-01gallium: Compute YCBCR bit depth.José Fonseca
2008-03-31gallium: updated comment for bypass_vsBrian
2008-03-31gallium: Eliminate p_winsys::printfJosé Fonseca
Not convenient and almost not used at all. Better replacements in p_debug.h
2008-03-29gallium: Set vertex state/buffers en-mass.Brian Paul
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.