Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: add out of bounds assertions for accessing texture matrix stack | Brian Paul | 2010-02-03 | 1 | -0/+2 |
| | |||||
* | util: Cast to match the MSVC intrinsics. | José Fonseca | 2010-02-03 | 1 | -4/+4 |
| | | | | The cast is not optional in C++. | ||||
* | util: Don't include system headers inside extern "C" { ... } | José Fonseca | 2010-02-03 | 2 | -14/+38 |
| | | | | That breaks when some of the system headers have C++ code. | ||||
* | Merge branch 'gallium-embedded' | José Fonseca | 2010-02-03 | 263 | -1280/+1482 |
|\ | |||||
| * | gallium/docs: Document the OS module. | José Fonseca | 2010-02-03 | 1 | -0/+16 |
| | | |||||
| * | os: Also add the aligned memory prototypes to the embedded section. | José Fonseca | 2010-02-03 | 1 | -0/+6 |
| | | |||||
| * | util: Reimplement all utility functions in terms of the new OS abstraction. | José Fonseca | 2010-02-03 | 4 | -409/+26 |
| | | |||||
| * | os: New OS abstraction module. | José Fonseca | 2010-02-03 | 9 | -0/+717 |
| | | |||||
| * | trace: Include the appropriate header instead of defining prototypes. | José Fonseca | 2010-02-03 | 1 | -1/+1 |
| | | | | | | | | Avoids header when the header was included before. | ||||
| * | gallium: Move some compiler portability stuff into p_compiler.h | José Fonseca | 2010-02-02 | 2 | -7/+4 |
| | | |||||
| * | gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵ | José Fonseca | 2010-02-02 | 42 | -231/+178 |
| | | | | | | | | util/u_simple_screen.h | ||||
| * | gallium: Move p_thread.h and p_atomic.h out of gallium interfaces. | José Fonseca | 2010-02-02 | 23 | -30/+31 |
| | | | | | | | | Into os/os_thread.h and util/u_atomic.h respectively. | ||||
| * | gallium: Make pipe_atomic a regular int32_t. | José Fonseca | 2010-02-02 | 16 | -134/+67 |
| | | |||||
| * | gallium: pipe/p_inlines.h -> util/u_inlines.h | José Fonseca | 2010-02-02 | 190 | -234/+273 |
| | | |||||
| * | gallium: Use MSVC atomic intrinsics directly instead of the Windows header ↵ | José Fonseca | 2010-02-01 | 1 | -11/+15 |
| | | | | | | | | wrappers. | ||||
| * | gallium: Remove unnecessary includes. Add others to compensate. | José Fonseca | 2010-02-01 | 4 | -5/+2 |
| | | |||||
| * | mesa: Add missing includes. | José Fonseca | 2010-02-01 | 1 | -0/+1 |
| | | |||||
| * | llvmpipe: Add missing includes. | José Fonseca | 2010-02-01 | 1 | -0/+1 |
| | | |||||
| * | i915: Add missing includes. | José Fonseca | 2010-02-01 | 2 | -0/+2 |
| | | |||||
| * | util: Add missing includes. | José Fonseca | 2010-02-01 | 3 | -0/+3 |
| | | |||||
| * | draw: Add missing includes. | José Fonseca | 2010-02-01 | 1 | -0/+2 |
| | | |||||
| * | gallium: Drop mutex-based pipe_atomic implementation. | José Fonseca | 2010-02-01 | 1 | -82/+1 |
| | | | | | | | | | | First step to severe the dependency in OS abstractions from the Gallium interfaces. | ||||
* | | tgsi: added debugging code to catch divide by zero | Brian Paul | 2010-02-03 | 1 | -0/+12 |
| | | |||||
* | | tgsi: convert CHECK_INF_OR_NAN to inline function | Brian Paul | 2010-02-03 | 1 | -8/+17 |
| | | | | | | | | | | And disable with if (0). Inf/NaN can occur normally during program execution. Only enable the check code when needed during debugging. | ||||
* | | mesa: Factor out the fb initialization details from _mesa_new_framebuffer. | Francisco Jerez | 2010-02-03 | 10 | -21/+42 |
| | | | | | | | | | | | | | | | | | | | | | | This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <[email protected]> | ||||
* | | vbo: fix void * arithmetic warning | Keith Whitwell | 2010-02-03 | 1 | -1/+2 |
| | | |||||
* | | vbo: Fix up in-place splitting for non-contiguous/indexed primitives. | Francisco Jerez | 2010-02-03 | 1 | -51/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The in-place splitting code wasn't dealing with index buffers at all (and it was being called from vbo_split_prims for too big index buffers, causing some occasional corruption). Additionally, it wasn't taking into account primitives arrays with non-contiguous indices (e.g. given prim[0].start = 0 and prim[1].start = max_verts, it would happily call back the driver with (max_index - min_index) still greater than max_verts, causing infinite recursion). It still doesn't handle too large indexed vertex buffers: use vbo_split_copy for that. | ||||
* | | progs/fpglsl: couple more tests | Keith Whitwell | 2010-02-03 | 2 | -0/+21 |
| | | |||||
* | | progs/fpglsl: fp-tris for glsl | Keith Whitwell | 2010-02-03 | 6 | -0/+487 |
| | | |||||
* | | svga: fix TXD and TXL opcode translation | Keith Whitwell | 2010-02-03 | 2 | -15/+122 |
| | | |||||
* | | svga: deriv insns not valid in dynamic flow control either | Keith Whitwell | 2010-02-03 | 1 | -3/+48 |
| | | |||||
* | | svga: texture from lod zero inside dynamic branching | Keith Whitwell | 2010-02-03 | 2 | -13/+59 |
| | | | | | | | | | | | | Texture derivatives are potentially undefined inside dynamic branches, so hardwire lod zero in this case. Treating all if/endif and loop constructs as dynamic branches. | ||||
* | | svga: better method for generating white fs color outputs | Keith Whitwell | 2010-02-03 | 6 | -106/+75 |
| | | |||||
* | | mesa/st: bump the gallium version number | Keith Whitwell | 2010-02-03 | 1 | -1/+1 |
| | | | | | | | | | | This is a very informal version number, but there have been enough changes that a bump is appropriate at this time. | ||||
* | | st/mesa: remove some floating point divides in viewport calculation | Keith Whitwell | 2010-02-03 | 1 | -3/+3 |
| | | | | | | | | | | Compiler can't usually turn x/2.0f into x * 0.5f, though we're happy with either. | ||||
* | | gallium-docs: Fix typo. | José Fonseca | 2010-02-03 | 1 | -2/+2 |
| | | |||||
* | | r300: fix compiler bugs introduced with MRT changes. | Dave Airlie | 2010-02-03 | 2 | -2/+3 |
| | | | | | | | | | | | | | | the first looks like a definite bug, the second I'm not so confident of but it works. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | | egl: Rename _eglPreloadForEach callbacks. | Chia-I Wu | 2010-02-03 | 1 | -12/+12 |
| | | | | | | | | | | | | | | Rename _eglPreloadFile to _eglLoaderFile, and _eglPreloadFile to _eglLoaderFile. There are several _eglPreload* functions. The callbacks do not belong to them and it should be better to give them a different prefix. | ||||
* | | egl: Fix a potential segfault in driver suffix matching. | Chia-I Wu | 2010-02-03 | 1 | -3/+5 |
| | | | | | | | | | | The driver suffix might be NULL on some platforms. Perform the matching only when there is a suffix. | ||||
* | | egl: Remove unnecessary #ifdef's. | Chia-I Wu | 2010-02-03 | 1 | -8/+0 |
| | | | | | | | | | | There were some refactorings with the addition of EGL_DRIVERS_PATH. They made some platform #ifdef's unnecessary. | ||||
* | | egl: Ignore certain environment variables when setuid/setgid. | Chia-I Wu | 2010-02-03 | 2 | -4/+19 |
| | | | | | | | | | | Specifically, ignore EGL_DRIVERS_PATH when an application is setuid/setgid. And ignore EGL_DRIVER when there is a slash in it. | ||||
* | | egl: Add EGL_DRIVERS_PATH environment variable. | Chia-I Wu | 2010-02-03 | 2 | -99/+200 |
| | | | | | | | | | | | | | | | | | | EGL_DRIVERS_PATH gives a list of colon-separated directories. The given directories will be searched when preloading drivers. This is based on Mike Stroyan's patch, which honors the variable in _eglPreloadDisplayDrivers. It is extended to honor the variable also in _eglPreloadUserDriver and _eglPreloadDefaultDriver in this version. | ||||
* | | draw: remove old hard-coded shader length limits | Brian Paul | 2010-02-02 | 3 | -12/+20 |
| | | |||||
* | | tgsi: added tgsi_alloc_tokens() | Brian Paul | 2010-02-02 | 2 | -0/+15 |
| | | |||||
* | | draw: re-implement free_bit() with ffs() | Brian Paul | 2010-02-02 | 2 | -12/+2 |
| | | |||||
* | | draw: comments and var renaming | Brian Paul | 2010-02-02 | 1 | -10/+13 |
| | | |||||
* | | tgsi: fix comment | Brian Paul | 2010-02-02 | 1 | -1/+1 |
| | | |||||
* | | draw: add const qualifiers, fix return types | Brian Paul | 2010-02-02 | 2 | -4/+6 |
| | | |||||
* | | softpipe: remove unnecessary #include | Brian Paul | 2010-02-02 | 1 | -1/+0 |
| | | |||||
* | | draw: new, updated comments | Brian Paul | 2010-02-02 | 1 | -4/+20 |
| | | | | | | | | Try to avoid future confusion between different, but similar functions. |