summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-02-05egl_dri2: Use _EGL_DRIVER_STANDARD_TYPECASTS.Chia-I Wu
It saves the driver from defining the boring typecasts itself.
2010-02-05egl: Clarify IsLinked and IsBound.Chia-I Wu
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.
2010-02-05egl_dri2: Do not destroy linked resources.Chia-I Wu
A linked resource is stil owned by the display.
2010-02-05egl_dri2: Fix a snprintf warning.Chia-I Wu
The subtraction between two pointers has type unsigned int (only on x86-64?), while the format string expects an int.
2010-02-05egl_dri2: Add a debug print for DRI2 extensions.Chia-I Wu
2010-02-04egl: Implement eglCopyBuffers for DRI2, make pixmap and pbuffers actually workKristian Høgsberg
2010-02-04mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul
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.
2010-02-04r200: Add the polygon stipple state to the state list.Pauli Nieminen
This fixes glean paths test case.
2010-02-04r200: Add logging for glPolygonStripple.Pauli Nieminen
2010-02-04radeon: Make debugging automaticaly increase logging verbosity for debug build.Pauli Nieminen
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.
2010-02-04egl: Add driver for EGL on X with DRI2Kristian Høgsberg
2010-02-04trace: util_stream -> os_streamJosé Fonseca
2010-02-04auxiliary: util_stream -> os_streamJosé Fonseca
2010-02-04os: Ensure header includes are outside extern "C" {}.José Fonseca
2010-02-04util: Reimplement u_time on top of os_time.José Fonseca
2010-02-04gallium: Add a define for deprecated function attribute.José Fonseca
2010-02-04os: Time abstractions.José Fonseca
Simplified version of u_time.[ch]
2010-02-04os/os_memory_aligned.h: fix memory allocation alignment for 64 bitsJosé Fonseca
Based on Andreia Gaita <shana@jitted.com>'s patch.
2010-02-04i965g: include u_inlines.hBrian Paul
2010-02-04r600: reduce number of cache flushesAlex Deucher
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.
2010-02-04util: Disable u_time.c implementation for embedded.José Fonseca
This needs to go into OS module.
2010-02-04trace: Use u_time.José Fonseca
2010-02-04gallium: Don't try to auto-detect the OS when embedded os is already ↵José Fonseca
pre-defined.
2010-02-04llvmpipe: Disable unit tests on embedded platforms.José Fonseca
2010-02-04util: Add missing include.José Fonseca
2010-02-04os: Add missing dummy threading definitions.José Fonseca
2010-02-04swrast/sse: Fix _mesa_sse_transform_pointsX_3d_no_rotPauli Nieminen
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.
2010-02-04scons: Use only the shared object name when linking progs.José Fonseca
Otherwise the whole path gets baked into the executable.
2010-02-03st/mesa: Remove unnecessary headers.Vinson Lee
2010-02-03svga: Remove unnecessary header.Vinson Lee
2010-02-03util: Remove unnecessary header.Vinson Lee
2010-02-04egl: Convert drivers to use typecast macros.Chia-I Wu
Use macros to define the standard typecasts. This saves lots of typings.
2010-02-04egl: Add macros to define typecast functions.Chia-I Wu
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.
2010-02-03identity: Remove unnecessary header.Vinson Lee
2010-02-03llvmpipe: Remove unnecessary header.Vinson Lee
2010-02-04Revert "mesa: fix transform_points_3d_no_rot using undefined values in %xmm0"Pauli Nieminen
This reverts commit 4c31632817a0bde28ad6c9ee8032d838ce4b7bfb.
2010-02-04st/egl: Add missing headers to kms display.Chia-I Wu
Add stdio.h and util/u_inlines.h to native_kms.c.
2010-02-03st/egl: Add missing headers.Vinson Lee
2010-02-03winsys: Add missing headers.Vinson Lee
2010-02-04egl: fix implicit declaration of pipe_texture_reference adding u_inlines.hIgor Oliveira
2010-02-04egl: fix wrong argument. Use loader_data instead of loaderIgor Oliveira
2010-02-04gallium: fix more missing includes from various placesDave Airlie
nouveau/ dri st / vmware
2010-02-04nouveau: include stdio.h and u_inlines.h in all context files since embedded ↵Dave Airlie
changes fixes nouveau build for me. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-03mesa: increase number of texture units to MAX_COMBINED_TEXTURE_IMAGE_UNITSBrian Paul
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...
2010-02-03mesa: re-dimension RasterTexCoords and CoordReplaceBrian Paul
These are limited to the number of texture coordinate units.
2010-02-03mesa: added texcoord unit assertionBrian Paul
2010-02-03mesa: use Elements() instead of MAX_TEXTURE_COORD_UNITSBrian Paul
2010-02-03mesa: added tex unit assert, use Elements() macroBrian Paul
2010-02-03mesa: check for invalid texture coord unit in glGet queriesBrian Paul
2010-02-03mesa: check/clamp texture/program matrix accessesBrian Paul
Further testing should reveal if any these assertions are hit...