summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* egl: Clarify IsLinked and IsBound.Chia-I Wu2010-02-052-0/+12
| | | | | | Both a link and a binding creates a reference to the resource. Drivers should not destroy the resource when there is a reference. The difference is better described in doc/egl.html.
* egl_dri2: Do not destroy linked resources.Chia-I Wu2010-02-051-3/+3
| | | | A linked resource is stil owned by the display.
* egl_dri2: Fix a snprintf warning.Chia-I Wu2010-02-051-1/+4
| | | | | The subtraction between two pointers has type unsigned int (only on x86-64?), while the format string expects an int.
* egl_dri2: Add a debug print for DRI2 extensions.Chia-I Wu2010-02-051-0/+1
|
* egl: Implement eglCopyBuffers for DRI2, make pixmap and pbuffers actually workKristian Høgsberg2010-02-041-22/+65
|
* mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul2010-02-0414-32/+86
| | | | | | | | | | | | | GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE.
* r200: Add the polygon stipple state to the state list.Pauli Nieminen2010-02-041-0/+1
| | | | This fixes glean paths test case.
* r200: Add logging for glPolygonStripple.Pauli Nieminen2010-02-041-0/+6
|
* radeon: Make debugging automaticaly increase logging verbosity for debug build.Pauli Nieminen2010-02-041-1/+5
| | | | | | | DEBUG preprocessor macro is set by configure script when --enable-debug is passed for configure. Radeon then just increase debugging verbosity if DEBUG is set in compile time.
* egl: Add driver for EGL on X with DRI2Kristian Høgsberg2010-02-042-0/+950
|
* trace: util_stream -> os_streamJosé Fonseca2010-02-041-6/+6
|
* auxiliary: util_stream -> os_streamJosé Fonseca2010-02-046-81/+78
|
* os: Ensure header includes are outside extern "C" {}.José Fonseca2010-02-041-2/+6
|
* util: Reimplement u_time on top of os_time.José Fonseca2010-02-044-261/+59
|
* gallium: Add a define for deprecated function attribute.José Fonseca2010-02-041-0/+8
|
* os: Time abstractions.José Fonseca2010-02-044-0/+222
| | | | Simplified version of u_time.[ch]
* os/os_memory_aligned.h: fix memory allocation alignment for 64 bitsJosé Fonseca2010-02-042-3/+3
| | | | Based on Andreia Gaita <[email protected]>'s patch.
* i965g: include u_inlines.hBrian Paul2010-02-041-0/+1
|
* r600: reduce number of cache flushesAlex Deucher2010-02-042-3/+3
| | | | | | | We don't need to flush so often. Next step would be to move the flushing to the drm and only flush after each command buffer rather than each draw.
* util: Disable u_time.c implementation for embedded.José Fonseca2010-02-041-0/+4
| | | | This needs to go into OS module.
* trace: Use u_time.José Fonseca2010-02-041-10/+3
|
* gallium: Don't try to auto-detect the OS when embedded os is already ↵José Fonseca2010-02-041-2/+6
| | | | pre-defined.
* llvmpipe: Disable unit tests on embedded platforms.José Fonseca2010-02-041-14/+15
|
* util: Add missing include.José Fonseca2010-02-041-0/+1
|
* os: Add missing dummy threading definitions.José Fonseca2010-02-041-0/+19
|
* swrast/sse: Fix _mesa_sse_transform_pointsX_3d_no_rotPauli Nieminen2010-02-042-0/+2
| | | | | | | | | | | | PXOR user in code were causing the lowest SP float register to have NaN values which made all math operations in that slot fail. Correct istruction to clear float registers is XORPS which handles single precission floats correctly. Fixes progs/tests/fog in swrast SSE mode. Now the correct commit instead of 66d09e4a2a6b770ddb which is not even close of correct fix for the bug.
* scons: Use only the shared object name when linking progs.José Fonseca2010-02-041-0/+2
| | | | Otherwise the whole path gets baked into the executable.
* st/mesa: Remove unnecessary headers.Vinson Lee2010-02-034-5/+0
|
* 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
|