summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* svga: Remove unnecessary header.Vinson Lee2010-02-031-1/+0
|
* util: Remove unnecessary header.Vinson Lee2010-02-031-1/+0
|
* egl: Convert drivers to use typecast macros.Chia-I Wu2010-02-043-97/+13
| | | | | Use macros to define the standard typecasts. This saves lots of typings.
* egl: Add macros to define typecast functions.Chia-I Wu2010-02-041-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 Lee2010-02-031-1/+0
|
* llvmpipe: Remove unnecessary header.Vinson Lee2010-02-031-1/+0
|
* Revert "mesa: fix transform_points_3d_no_rot using undefined values in %xmm0"Pauli Nieminen2010-02-042-2/+0
| | | | This reverts commit 4c31632817a0bde28ad6c9ee8032d838ce4b7bfb.
* st/egl: Add missing headers to kms display.Chia-I Wu2010-02-041-0/+2
| | | | Add stdio.h and util/u_inlines.h to native_kms.c.
* st/egl: Add missing headers.Vinson Lee2010-02-032-0/+2
|
* winsys: Add missing headers.Vinson Lee2010-02-032-0/+2
|
* egl: fix implicit declaration of pipe_texture_reference adding u_inlines.hIgor Oliveira2010-02-043-0/+3
|
* egl: fix wrong argument. Use loader_data instead of loaderIgor Oliveira2010-02-041-1/+1
|
* gallium: fix more missing includes from various placesDave Airlie2010-02-048-2/+11
| | | | nouveau/ dri st / vmware
* nouveau: include stdio.h and u_inlines.h in all context files since embedded ↵Dave Airlie2010-02-046-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_UNITSBrian Paul2010-02-034-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 CoordReplaceBrian Paul2010-02-031-2/+2
| | | | These are limited to the number of texture coordinate units.
* mesa: added texcoord unit assertionBrian Paul2010-02-031-0/+2
|
* mesa: use Elements() instead of MAX_TEXTURE_COORD_UNITSBrian Paul2010-02-031-1/+1
|
* mesa: added tex unit assert, use Elements() macroBrian Paul2010-02-031-1/+2
|
* mesa: check for invalid texture coord unit in glGet queriesBrian Paul2010-02-032-56/+147
|
* mesa: check/clamp texture/program matrix accessesBrian Paul2010-02-031-2/+6
| | | | Further testing should reveal if any these assertions are hit...
* mesa: add error check for querying invalid texture matrixBrian Paul2010-02-032-5/+41
|
* mesa: use Elements() as limit in loops over texture/program matrix stacksBrian Paul2010-02-031-4/+4
|
* mesa: add out of bounds assertions for accessing texture matrix stackBrian Paul2010-02-031-0/+2
|
* util: Cast to match the MSVC intrinsics.José Fonseca2010-02-031-4/+4
| | | | The cast is not optional in C++.
* util: Don't include system headers inside extern "C" { ... }José Fonseca2010-02-032-14/+38
| | | | That breaks when some of the system headers have C++ code.
* Merge branch 'gallium-embedded'José Fonseca2010-02-03263-1280/+1482
|\
| * gallium/docs: Document the OS module.José Fonseca2010-02-031-0/+16
| |
| * os: Also add the aligned memory prototypes to the embedded section.José Fonseca2010-02-031-0/+6
| |
| * util: Reimplement all utility functions in terms of the new OS abstraction.José Fonseca2010-02-034-409/+26
| |
| * os: New OS abstraction module.José Fonseca2010-02-039-0/+717
| |
| * trace: Include the appropriate header instead of defining prototypes.José Fonseca2010-02-031-1/+1
| | | | | | | | Avoids header when the header was included before.
| * gallium: Move some compiler portability stuff into p_compiler.hJosé Fonseca2010-02-022-7/+4
| |
| * gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵José Fonseca2010-02-0242-231/+178
| | | | | | | | util/u_simple_screen.h
| * gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca2010-02-0223-30/+31
| | | | | | | | Into os/os_thread.h and util/u_atomic.h respectively.
| * gallium: Make pipe_atomic a regular int32_t.José Fonseca2010-02-0216-134/+67
| |
| * gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca2010-02-02190-234/+273
| |
| * gallium: Use MSVC atomic intrinsics directly instead of the Windows header ↵José Fonseca2010-02-011-11/+15
| | | | | | | | wrappers.
| * gallium: Remove unnecessary includes. Add others to compensate.José Fonseca2010-02-014-5/+2
| |
| * mesa: Add missing includes.José Fonseca2010-02-011-0/+1
| |
| * llvmpipe: Add missing includes.José Fonseca2010-02-011-0/+1
| |
| * i915: Add missing includes.José Fonseca2010-02-012-0/+2
| |
| * util: Add missing includes.José Fonseca2010-02-013-0/+3
| |
| * draw: Add missing includes.José Fonseca2010-02-011-0/+2
| |
| * gallium: Drop mutex-based pipe_atomic implementation.José Fonseca2010-02-011-82/+1
| | | | | | | | | | First step to severe the dependency in OS abstractions from the Gallium interfaces.
* | tgsi: added debugging code to catch divide by zeroBrian Paul2010-02-031-0/+12
| |
* | tgsi: convert CHECK_INF_OR_NAN to inline functionBrian Paul2010-02-031-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 Jerez2010-02-0310-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 warningKeith Whitwell2010-02-031-1/+2
| |
* | vbo: Fix up in-place splitting for non-contiguous/indexed primitives.Francisco Jerez2010-02-031-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.