Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util/upload: catch failures to map_range and return error | Keith Whitwell | 2009-05-08 | 1 | -13/+17 |
| | | | | Caller may be able to do something about this - eg flush and retry. | ||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-05 | 1 | -10/+86 |
|\ | |||||
| * | gallium: fix texcoords for cubemap mipmap generation | Brian Paul | 2009-05-05 | 1 | -10/+86 |
| | | | | | | | | | | We need to use (s,t,r) cubemap coords when sampling from the cubemap texture so the rendered quad gets texture samples from the correct cube face. | ||||
* | | util: Limit the stack walk to avoid referencing undefined memory. | José Fonseca | 2009-05-05 | 1 | -1/+10 |
|/ | |||||
* | util: Remove unix includes. | José Fonseca | 2009-04-27 | 1 | -4/+0 |
| | |||||
* | util/time: add util_time_sleep() for windows userspace | Keith Whitwell | 2009-04-27 | 1 | -0/+9 |
| | | | | Somebody with a clue could probably do a better implemenation... | ||||
* | util: Add debug_printf_once | Micah Dowty | 2009-04-24 | 1 | -0/+16 |
| | |||||
* | util: Add more entry points for dumping to bmp | Jakob Bornecrantz | 2009-04-24 | 2 | -18/+43 |
| | |||||
* | gallium: license, copyright | Brian Paul | 2009-04-22 | 2 | -0/+62 |
| | |||||
* | util: don't set unused blend state | Keith Whitwell | 2009-04-20 | 2 | -8/+0 |
| | | | | Try to avoid creating multiple blend atoms. | ||||
* | util: flush stdout before emitting debug_printf on stderr | Keith Whitwell | 2009-04-17 | 1 | -0/+2 |
| | | | | | A lot of the mesa demos emit commentary on stdout, try to keep it in sync with the corresponding output from debug_printf(). | ||||
* | util: Fix surface usage | Jakob Bornecrantz | 2009-04-15 | 1 | -2/+2 |
| | |||||
* | gallium: new, simple RGBA surface create/destroy helpers | Brian Paul | 2009-04-15 | 4 | -0/+167 |
| | | | | Use these for quickly creating an RGBA drawing surface. | ||||
* | gallium: remove unneeded compressed=0 assignment | Brian Paul | 2009-04-09 | 1 | -1/+0 |
| | |||||
* | gallium: handle the case of util_pack_z_stencil(format=PIPE_FORMAT_S8_UNORM) | Brian Paul | 2009-04-08 | 1 | -0/+8 |
| | | | | Fixes failed assertion in glean fbo test. | ||||
* | gallium: Clean up driver clear() interface. | Michel Dänzer | 2009-04-04 | 2 | -6/+68 |
| | | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call. | ||||
* | gallium: Add utility helper for packing combined depth/stencil values. | Michel Dänzer | 2009-04-04 | 1 | -0/+20 |
| | |||||
* | util/debug: Initialise local variables. | Michal Krol | 2009-04-03 | 1 | -2/+2 |
| | |||||
* | util: Fix x86_64 build. | José Fonseca | 2009-04-01 | 1 | -1/+1 |
| | |||||
* | util: Lookup symbol names from addresses. | José Fonseca | 2009-04-01 | 5 | -1/+308 |
| | | | | | | Nice for stack backtraces. Windows-only for now. | ||||
* | gallium: added util_is_inf_or_nan() function to u_math.h | Brian Paul | 2009-03-31 | 1 | -0/+12 |
| | |||||
* | util: Enable assembly breakpointt on x86_64. | José Fonseca | 2009-03-31 | 1 | -1/+1 |
| | | | | A breakpoint is much nicer than abort when gdb is attached. | ||||
* | util: Support Z24S8/Z24X8. | José Fonseca | 2009-03-27 | 1 | -0/+16 |
| | |||||
* | util: Use size_t (for x86_64). | José Fonseca | 2009-03-25 | 1 | -1/+1 |
| | |||||
* | util: Don't use x86 asm on x86_64. | José Fonseca | 2009-03-25 | 4 | -16/+21 |
| | |||||
* | Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun cc | Alan Coopersmith | 2009-03-25 | 3 | -10/+10 |
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> | ||||
* | debug: Add function for writing transfers to files | Jakob Bornecrantz | 2009-03-22 | 2 | -32/+42 |
| | |||||
* | util: Add a new macro for testing empty lists. | José Fonseca | 2009-03-23 | 1 | -0/+3 |
| | |||||
* | gallium/util: add upload manager helper module | Keith Whitwell | 2009-03-20 | 4 | -0/+297 |
| | | | | | | | | Add a module that will manage uploading and coalescing multiple user-buffers, malloc-buffers and other random data that doesn't happen to be in a GPU buffer already. The module stuffs multiple little uploads into larger GPU buffers to reduce create/destroy overheads, etc. | ||||
* | util: avoid clashprone UINT, UBYTE enum values | Keith Whitwell | 2009-03-18 | 1 | -58/+58 |
| | |||||
* | util: Realloc takes bytes. | José Fonseca | 2009-03-17 | 1 | -2/+2 |
| | |||||
* | util: bitmask data type. | José Fonseca | 2009-03-16 | 3 | -0/+435 |
| | |||||
* | gallium: consolidate bypass_vs and bypass_clipping flags | Keith Whitwell | 2009-03-13 | 2 | -37/+10 |
| | | | | | | | | | The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords. | ||||
* | gallium: no need to keep a copy of shader tokens in state tracker | Keith Whitwell | 2009-03-13 | 4 | -73/+36 |
| | | | | | | | | Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver... | ||||
* | gallium: Remove do_flip argument from surface_copy | Jakob Bornecrantz | 2009-03-13 | 1 | -2/+2 |
| | | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me. | ||||
* | util: fix debug_assert() to avoid unused variable warnings in release builds | Keith Whitwell | 2009-03-12 | 1 | -1/+1 |
| | |||||
* | gallium: added null ptr check in align_free() | Brian Paul | 2009-03-05 | 1 | -3/+5 |
| | |||||
* | gallium: Remove some superfluous instances of #include "p_inlines.h". | Michel Dänzer | 2009-03-04 | 1 | -1/+0 |
| | |||||
* | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 7 | -32/+49 |
| | | | | | | | | | | | | | | The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create(). | ||||
* | util: set vbuf.max_index in draw_vertex_buffer() | Keith Whitwell | 2009-02-27 | 1 | -0/+2 |
| | | | | (cherry picked from commit 1350f2efba5eeceebe0e711db6152c29e9889ce7) | ||||
* | gallium: Add support for BSD operating systems, tested with FreeBSD | Benjamin Close | 2009-02-25 | 3 | -10/+10 |
| | | | | | | | | | | BSD supports pipe in the same way as linux hence options which are safe for linux are also safe for BSD. Define PIPE_OS_BSD in include/pipe/p_config.h and adjust the defines to make use of it. Also define MAP_ANONYMOUS for BSD systems which use MAP_ANON Signed-off-by: Benjamin Close <[email protected]> | ||||
* | util: Don't use 0-sized arrays. | José Fonseca | 2009-02-24 | 1 | -0/+6 |
| | | | | Not supported by MSVC. | ||||
* | gallium: Add pipe_buffer_write/read inlines. | José Fonseca | 2009-02-24 | 2 | -21/+6 |
| | | | | Saves code, and will simplify future interface changes. | ||||
* | Merge commit 'origin/gallium-0.1' | José Fonseca | 2009-02-23 | 1 | -2/+24 |
|\ | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c src/gallium/auxiliary/util/u_tile.c | ||||
| * | util: Use a checkboard pattern instead of asserting for unknown formats. | José Fonseca | 2009-02-20 | 1 | -2/+24 |
| | | | | | | | | Useful to replay traces which use DXTC textures... | ||||
| * | util: Support PIPE_FORMAT_Z32_FLOAT in pipe_tile_raw_to_rgba | José Fonseca | 2009-02-19 | 1 | -0/+29 |
| | | |||||
| * | gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV | Brian Paul | 2009-01-06 | 1 | -1/+1 |
| | | | | | | | | This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f | ||||
* | | util/debug: need to fflush(stderr) on windows | Keith Whitwell | 2009-02-20 | 1 | -0/+1 |
| | | | | | | | | Hard to believe... but true. | ||||
* | | util: Also output messages to stderr on windows. | José Fonseca | 2009-02-20 | 1 | -0/+6 |
| | | | | | | | | When there is a console attached, and no debugger attached. | ||||
* | | util: Stack backtracing facilities. | José Fonseca | 2009-02-20 | 4 | -0/+170 |
| | | | | | | | | Not much useful until we have symbol lookup. |