Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | svga: Remove unnecessary header. | Vinson Lee | 2010-02-03 | 1 | -1/+0 |
| | |||||
* | util: Remove unnecessary header. | Vinson Lee | 2010-02-03 | 1 | -1/+0 |
| | |||||
* | egl: Convert drivers to use typecast macros. | Chia-I Wu | 2010-02-04 | 3 | -97/+13 |
| | | | | | Use macros to define the standard typecasts. This saves lots of typings. | ||||
* | egl: Add macros to define typecast functions. | Chia-I Wu | 2010-02-04 | 1 | -0/+21 |
| | | | | | | | | | | There are standard typecast functions that are common to most drivers. They are used to typecast, for example, an _EGLSurface to a driver-defined type. This commits define _EGL_DRIVER_STANDARD_TYPECASTS and _EGL_DRIVER_TYPECAST that should hopefully save some typings for driver writers. | ||||
* | identity: Remove unnecessary header. | Vinson Lee | 2010-02-03 | 1 | -1/+0 |
| | |||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-02-03 | 1 | -1/+0 |
| | |||||
* | Revert "mesa: fix transform_points_3d_no_rot using undefined values in %xmm0" | Pauli Nieminen | 2010-02-04 | 2 | -2/+0 |
| | | | | This reverts commit 4c31632817a0bde28ad6c9ee8032d838ce4b7bfb. | ||||
* | st/egl: Add missing headers to kms display. | Chia-I Wu | 2010-02-04 | 1 | -0/+2 |
| | | | | Add stdio.h and util/u_inlines.h to native_kms.c. | ||||
* | st/egl: Add missing headers. | Vinson Lee | 2010-02-03 | 2 | -0/+2 |
| | |||||
* | winsys: Add missing headers. | Vinson Lee | 2010-02-03 | 2 | -0/+2 |
| | |||||
* | egl: fix implicit declaration of pipe_texture_reference adding u_inlines.h | Igor Oliveira | 2010-02-04 | 3 | -0/+3 |
| | |||||
* | egl: fix wrong argument. Use loader_data instead of loader | Igor Oliveira | 2010-02-04 | 1 | -1/+1 |
| | |||||
* | gallium: fix more missing includes from various places | Dave Airlie | 2010-02-04 | 8 | -2/+11 |
| | | | | nouveau/ dri st / vmware | ||||
* | nouveau: include stdio.h and u_inlines.h in all context files since embedded ↵ | Dave Airlie | 2010-02-04 | 6 | -0/+14 |
| | | | | | | | | changes fixes nouveau build for me. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa: increase number of texture units to MAX_COMBINED_TEXTURE_IMAGE_UNITS | Brian Paul | 2010-02-03 | 4 | -13/+25 |
| | | | | | | | | | | | | | | | | | | | We were misinterpretting GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS previously. It's the number of texture units for which we need to keep state; not just the total number of texture units addressable by the vertex shader plus fragment shader. Since sw Mesa independently supports 16 texture units in vertex shaders and 16 texture units in fragment shaders, the max combined units is 32. Note that the docs for glActiveTexture() indicate the max legal unit is MAX(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, MAX_TEXTURE_COORDS) - 1. A new piglit test (texunits.c) tests the various texture unit limits. I'm pretty sure I've got this all right now, but additional reviews are welcome... | ||||
* | mesa: re-dimension RasterTexCoords and CoordReplace | Brian Paul | 2010-02-03 | 1 | -2/+2 |
| | | | | These are limited to the number of texture coordinate units. | ||||
* | mesa: added texcoord unit assertion | Brian Paul | 2010-02-03 | 1 | -0/+2 |
| | |||||
* | mesa: use Elements() instead of MAX_TEXTURE_COORD_UNITS | Brian Paul | 2010-02-03 | 1 | -1/+1 |
| | |||||
* | mesa: added tex unit assert, use Elements() macro | Brian Paul | 2010-02-03 | 1 | -1/+2 |
| | |||||
* | mesa: check for invalid texture coord unit in glGet queries | Brian Paul | 2010-02-03 | 2 | -56/+147 |
| | |||||
* | mesa: check/clamp texture/program matrix accesses | Brian Paul | 2010-02-03 | 1 | -2/+6 |
| | | | | Further testing should reveal if any these assertions are hit... | ||||
* | mesa: add error check for querying invalid texture matrix | Brian Paul | 2010-02-03 | 2 | -5/+41 |
| | |||||
* | mesa: use Elements() as limit in loops over texture/program matrix stacks | Brian Paul | 2010-02-03 | 1 | -4/+4 |
| | |||||
* | 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. |