Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-02 | gallium: Add texture usage flags, special-case allocation of display targets | Keith 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-02 | gallium: remove usage of winsys->surface_alloc_storage from state tracker | Keith 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-02 | re-add pipe_surface map/unmap inlines | Keith Whitwell | |
2008-05-01 | gallium: add information to surface to identify which texture image it is ↵ | Keith Whitwell | |
pointing at | |||
2008-05-01 | gallium: tex surface checkpoint | Keith Whitwell | |
2008-04-30 | gallium: 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-30 | gallium: fix typo: s/custam/custom/ | Brian Paul | |
2008-05-01 | d3d: Windows miniport driver portability fixes. | José Fonseca | |
2008-04-30 | gallium: new pipe_buffer alloc/map/unmap/ref wrappers | Brian Paul | |
2008-04-29 | silence p_debug.h:63: warning: ISO C forbids forward references to ↵ | Zack Rusin | |
‘enum’ types | |||
2008-04-29 | gallium: declare pipe_format enum to silence warnings | Brian Paul | |
2008-04-29 | gallium: add debug_print_format() make it easier to print format error messages | Keith Whitwell | |
2008-04-25 | gallium: tweak comments, minor var renaming | Brian Paul | |
2008-04-25 | gallium: tweak comments, minor var renaming | Brian Paul | |
2008-04-25 | gallium: Windows user mode portability fixes. | José Fonseca | |
2008-04-25 | gallium: New configuration header. | José Fonseca | |
To abstract all those weird #ifdef (__???__) checks. It should typically be the first included header. | |||
2008-04-24 | gallium: 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-24 | gallium: 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-21 | util: work around freaky win32 math.h | Keith Whitwell | |
2008-04-21 | util: add wrappers for float math functions on windows | Keith Whitwell | |
2008-04-15 | gallium: Don't assume snprintf are always available. | José Fonseca | |
2008-04-11 | gallium: Thread condition variables. | José Fonseca | |
2008-04-10 | gallium: flags param to surface_alloc_storage() is unused and deprecated | Brian Paul | |
2008-04-08 | gallium: re-order, clean-up PIPE_MAX_* definitions | Brian | |
2008-04-08 | gallium: remove obsolete/unused PIPE_ATTRIB_MAX | Brian | |
2008-04-08 | gallium: Allow to debug memory leaks in nested scopes. | José Fonseca | |
2008-04-07 | gallium: Stop warnings | Jakob Bornecrantz | |
2008-04-05 | gallium: Use the custom snprintf implementation everywhere (for Win32). | José Fonseca | |
Because winddk's implemenation does not handle floats. | |||
2008-04-04 | gallium: 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-04 | gallium: fix two-side stencil handling | Roland 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-02 | gallium: add a flag to turn on gl rasterization rules | Keith 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-02 | gallium: add temporary facility for rasterization-time clamping of point sizes | Keith Whitwell | |
2008-04-01 | gallium: Compute YCBCR bit depth. | José Fonseca | |
2008-03-31 | gallium: updated comment for bypass_vs | Brian | |
2008-03-31 | gallium: Eliminate p_winsys::printf | José Fonseca | |
Not convenient and almost not used at all. Better replacements in p_debug.h | |||
2008-03-29 | gallium: Set vertex state/buffers en-mass. | Brian Paul | |
2008-03-28 | gallium: remove redundant compare bit in sampler state | Roland Scheidegger | |
2008-03-28 | gallium: Bump PIPE_MAX_SAMPLERS to 16. | Michal Krol | |
We need it to fulfil D3D minimum requirements. | |||
2008-03-27 | gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS | Brian | |
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated. | |||
2008-03-27 | gallium: updated/improved comments, minor re-formatting | Brian Paul | |
2008-03-27 | gallium: silence unused var warning | Brian | |
2008-03-26 | gallium: 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-25 | gallium: 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-25 | Fix typo | José Fonseca | |
2008-03-25 | gallium: Use debug_get_option for GETENV | José Fonseca | |
2008-03-24 | gallium: fix a few bugs, warnings in the p_debug code | Brian | |
added missing _ to a _debug_printf() call. | |||
2008-03-24 | gallium: 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-24 | gallium: cleanup p_debug | José Fonseca | |
Now debug_printf is disabled on release builds. Use debug_error or _debug_printf to output messages on release versions. | |||
2008-03-24 | gallium: fix REALLOC() to copy smaller of old/new sizes | Brian | |
2008-03-24 | gallium: Protect operator precedence in macro. | José Fonseca | |