summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe
AgeCommit message (Collapse)Author
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.
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-27gallium: updated/improved comments, minor re-formattingBrian Paul
2008-03-27gallium: silence unused var warningBrian
2008-03-26gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
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-25Fix typoJosé Fonseca
2008-03-25gallium: Use debug_get_option for GETENVJosé Fonseca
2008-03-24gallium: fix a few bugs, warnings in the p_debug codeBrian
added missing _ to a _debug_printf() call.
2008-03-24gallium: Simple cross platform get-opt system.José Fonseca
Uses getenv on Linux, and a memory mapped text file on Windows. It supports boolean options, flags, and plain strings.
2008-03-24gallium: cleanup p_debugJosé Fonseca
Now debug_printf is disabled on release builds. Use debug_error or _debug_printf to output messages on release versions.
2008-03-24gallium: fix REALLOC() to copy smaller of old/new sizesBrian