Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: Clarify IsLinked and IsBound. | Chia-I Wu | 2010-02-05 | 2 | -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 Wu | 2010-02-05 | 1 | -3/+3 |
| | | | | A linked resource is stil owned by the display. | ||||
* | egl_dri2: Fix a snprintf warning. | Chia-I Wu | 2010-02-05 | 1 | -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 Wu | 2010-02-05 | 1 | -0/+1 |
| | |||||
* | egl: Implement eglCopyBuffers for DRI2, make pixmap and pbuffers actually work | Kristian Høgsberg | 2010-02-04 | 1 | -22/+65 |
| | |||||
* | mesa: change ctx->Driver.ProgramStringNotify() to return GLboolean | Brian Paul | 2010-02-04 | 14 | -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 Nieminen | 2010-02-04 | 1 | -0/+1 |
| | | | | This fixes glean paths test case. | ||||
* | r200: Add logging for glPolygonStripple. | Pauli Nieminen | 2010-02-04 | 1 | -0/+6 |
| | |||||
* | radeon: Make debugging automaticaly increase logging verbosity for debug build. | Pauli Nieminen | 2010-02-04 | 1 | -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 DRI2 | Kristian Høgsberg | 2010-02-04 | 2 | -0/+950 |
| | |||||
* | trace: util_stream -> os_stream | José Fonseca | 2010-02-04 | 1 | -6/+6 |
| | |||||
* | auxiliary: util_stream -> os_stream | José Fonseca | 2010-02-04 | 6 | -81/+78 |
| | |||||
* | os: Ensure header includes are outside extern "C" {}. | José Fonseca | 2010-02-04 | 1 | -2/+6 |
| | |||||
* | util: Reimplement u_time on top of os_time. | José Fonseca | 2010-02-04 | 4 | -261/+59 |
| | |||||
* | gallium: Add a define for deprecated function attribute. | José Fonseca | 2010-02-04 | 1 | -0/+8 |
| | |||||
* | os: Time abstractions. | José Fonseca | 2010-02-04 | 4 | -0/+222 |
| | | | | Simplified version of u_time.[ch] | ||||
* | os/os_memory_aligned.h: fix memory allocation alignment for 64 bits | José Fonseca | 2010-02-04 | 2 | -3/+3 |
| | | | | Based on Andreia Gaita <[email protected]>'s patch. | ||||
* | i965g: include u_inlines.h | Brian Paul | 2010-02-04 | 1 | -0/+1 |
| | |||||
* | r600: reduce number of cache flushes | Alex Deucher | 2010-02-04 | 2 | -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é Fonseca | 2010-02-04 | 1 | -0/+4 |
| | | | | This needs to go into OS module. | ||||
* | trace: Use u_time. | José Fonseca | 2010-02-04 | 1 | -10/+3 |
| | |||||
* | gallium: Don't try to auto-detect the OS when embedded os is already ↵ | José Fonseca | 2010-02-04 | 1 | -2/+6 |
| | | | | pre-defined. | ||||
* | llvmpipe: Disable unit tests on embedded platforms. | José Fonseca | 2010-02-04 | 1 | -14/+15 |
| | |||||
* | util: Add missing include. | José Fonseca | 2010-02-04 | 1 | -0/+1 |
| | |||||
* | os: Add missing dummy threading definitions. | José Fonseca | 2010-02-04 | 1 | -0/+19 |
| | |||||
* | swrast/sse: Fix _mesa_sse_transform_pointsX_3d_no_rot | Pauli Nieminen | 2010-02-04 | 2 | -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é Fonseca | 2010-02-04 | 1 | -0/+2 |
| | | | | Otherwise the whole path gets baked into the executable. | ||||
* | st/mesa: Remove unnecessary headers. | Vinson Lee | 2010-02-03 | 4 | -5/+0 |
| | |||||
* | 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 |
| |