aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* egl: Add debug messages to config validation and matching.Chia-I Wu2010-02-051-2/+23
| | | | It might be desirable find out which attribute went wrong.
* egl: Clean up eglconfig.h.Chia-I Wu2010-02-051-14/+7
| | | | | Update the comments to macros/functions. Remove unused _eglSetConfigAttrib.
* egl: Remove egl_xdri.Chia-I Wu2010-02-058-751/+2
| | | | | | | egl_xdri steals code from src/glx/x11/. This makes it broken from time to time when there is a bigger change to the GLX code. As egl_dri2 has been merged, which also functions as a DRI2 driver loader, remove egl_xdri for good.
* egl: Update the comments to typecast macros.Chia-I Wu2010-02-051-0/+6
| | | | | Put a note that the macros define functions and should not be ended with a semicolon when used.
* egl_dri2: Use _EGL_DRIVER_STANDARD_TYPECASTS.Chia-I Wu2010-02-051-29/+2
| | | | It saves the driver from defining the boring typecasts itself.
* 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
|