summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* wgl: Fix mingw32 build.Vinson Lee2010-03-031-2/+0
| | | | This was missed in commit fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8.
* mesa: Remove support for creating color-index visualsIan Romanick2010-03-031-2/+1
| | | | | | | | Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <[email protected]>
* Merge branch 'gallium-format-cleanup'José Fonseca2010-03-0219-78/+78
|\
| * python: Rename pipe formats.José Fonseca2010-03-012-2/+2
| |
| * vega: Rename pipe formats.José Fonseca2010-03-015-13/+13
| |
| * wgl: Rename pipe formats.José Fonseca2010-03-011-11/+11
| |
| * xorg: Rename pipe formats.José Fonseca2010-03-014-11/+11
| |
| * glx: Rename pipe formats.José Fonseca2010-03-011-7/+7
| |
| * egl: Rename pipe formats.José Fonseca2010-03-014-19/+19
| |
| * dri: Rename pipe formats.José Fonseca2010-03-012-14/+14
| |
| * xlib: Use PIPE_FORMAT_R8G8B8A8_UNORM(_REV) as appropriate.José Fonseca2010-03-011-2/+2
| |
* | glapi.c: misc coscmetic for FreeTSDGeorge Sapountzis2010-03-011-2/+2
|/ | | | | | | | - move out of of the dispatch/context block to after corresponding init functions - use more consistent naming with corresponding init functions - XXX use _glthread_InitTSD() vs (void)_glthread_GetTSD() in _glapi_check_multithread() XXX
* python: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-1/+1
| | | | Now trace always built.
* st/dri: Assert pointer is not null before dereferencing.Vinson Lee2010-02-271-2/+4
|
* st/xorg: Re-enable crtc on resizeJakob Bornecrantz2010-02-271-3/+21
|
* st/xorg: Fix copy-topyJakob Bornecrantz2010-02-271-1/+1
|
* st/xorg: Make resize fail gracefullyJakob Bornecrantz2010-02-271-14/+55
|
* st/xorg: Obey max {width|height} from kernel and GalliumJakob Bornecrantz2010-02-271-2/+23
|
* st/xorg: Encapsulate all customizable stuff in a separate class.Thomas Hellstrom2010-02-272-14/+39
| | | | | | | | | This avoids exposing the ms driver structure to the winsys, and nicely encapsulates driver customizable stuff. In the future more things might be customizable by the winsys, like throttling, 3D readback etc. Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg: A bit more debugging infoJakob Bornecrantz2010-02-271-0/+6
|
* st/xorg: Make default of debugging fallbacks smartJakob Bornecrantz2010-02-271-1/+1
| | | | Set it to the same as 2d acceleration
* st/xorg, vmware/xorg: Fix xnfcalloc arguments.Thomas Hellstrom2010-02-271-1/+1
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* python: Fix typo.Michal Krol2010-02-252-1/+1
|
* st/egl: Reduce validation round-trips in DRI2 backend.Chia-I Wu2010-02-251-14/+88
| | | | | | | | | | | | This is similar to the changes to reduce the round-trips in ximage backend. When the server supports DRI_InvalidateBuffers, the event is used to update the server stamp (this path is not tested). Otherwise, the server stamp is updated when flush_frontbuffer or swap_buffers is called. This makes sure at least the client APIs get the new buffers when a new frame is started while skipping all round-trips during the drawing.
* st/egl: Reduce validation round-trips in ximage backend.Chia-I Wu2010-02-252-43/+39
| | | | | | | | | | | ximage_surface_validate is called several times per frame. This commit adds the client and server stamps to reduce the round-trips to the server. The idea is to bump the server stamp when flush_frontbuffer or swap_buffers is called, and to skip the round-trip when the client stamp is equal to the server stamp. This makes sure the client APIs get the new buffers when a new frame is started while skipping all round-trips during the drawing. To make this work, egl_g3d_validate_context is no longer called after swap_buffers.
* st/egl: Refactor dri2_surface_get_buffers.Chia-I Wu2010-02-251-51/+67
| | | | | Add dri2_surface_process_drawable_buffers to process the buffers returned by the server.
* st/egl: Add dri2InvalidateBuffers.Chia-I Wu2010-02-254-19/+74
| | | | | | src/glx/dri2.c will call dri2InvalidateBuffers when DRI2_InvalidateBuffers event is received. This fixes a missing symbol error, and paves the way for event-based validation.
* st/glx: improved depth/stencil format selection codeBrian Paul2010-02-233-43/+71
| | | | | Actually ask the gallium screen what Z/stencil format is supported. This will let us remove some hacks in the llvmpipe driver.
* st/glx: added PIPE_FORMAT_Z24S8_UNORM codeBrian Paul2010-02-231-1/+6
|
* st/egl: Unify surface creation.Chia-I Wu2010-02-231-107/+97
| | | | | Add a new function egl_g3d_create_surface and use it to create window, pixmap, buffer, and screen surfaces.
* st/egl: Disable SHM in ximage backend.Chia-I Wu2010-02-211-3/+10
| | | | | | With pipe_screen::update_buffer being called in st_validate_state, it is likely that softpipe will flush tile caches to a detached SHM segment. Disable SHM for now until a better solution is found.
* st/egl: Properly convert vrefresh to refresh rate.Chia-I Wu2010-02-211-1/+4
| | | | | Some kernels have vrefresh = (refresh rate * 1000) while others don't. Use some heuristics here.
* st/egl: Enable extensions before adding configs.Chia-I Wu2010-02-211-6/+6
| | | | | | | Configs are validated before added. The validation depends on the extensions available. If configs are added before enabling extensions, configs with EGL_SCREEN_SURFACE_MESA bit set will never pass the validation for example.
* st/egl: Do not force validate when update_buffer is called.Chia-I Wu2010-02-211-6/+0
| | | | | st/mesa was changed to call pipe_screen::update_buffer in st_validate_state. In most cases there is no need to validate.
* st/egl: Clean up DRI2 surface.Chia-I Wu2010-02-211-130/+182
| | | | | Mainly to move the call to DRI2GetBuffers from dri2_surface_validate to the new dri2_surface_update_buffers.
* st/egl: Clean up ximage surface.Chia-I Wu2010-02-211-61/+109
| | | | | Mainly to move buffer allocation code from ximage_surface_validate to the new ximage_surface_update_buffers.
* st/xlib: Add assert to check for null pointer dereference.Vinson Lee2010-02-201-0/+1
|
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-192-8/+8
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-192-16/+16
|
* mesa: replace old MEMSET macro with memsetBrian Paul2010-02-191-1/+1
|
* mesa: replace old MEMCPY macro with memcpyBrian Paul2010-02-191-1/+1
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-2/+2
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_atoi in favor of plain atoi.Kenneth Graunke2010-02-191-2/+2
|
* Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke2010-02-191-6/+6
|
* Remove _mesa_strncpy in favor of plain strncpy.Kenneth Graunke2010-02-191-1/+1
|
* Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)."Francisco Jerez2010-02-181-2/+0
| | | | | | We probably don't want to propagate this condition to the pipe driver, this reverts commit f455ca6490fcb65781b21f81c7117bd923e250d1 and the dri_update_buffer flush altogether until an agreement is reached.
* st/dri2: Flush FRAME instead of RENDER_CACHE on buffer invalidation.Francisco Jerez2010-02-171-2/+2
|
* st/dri2: Use event-driven buffer validation.Francisco Jerez2010-02-163-4/+27
|
* wgl: Be lenient when sharing contexts.José Fonseca2010-02-151-2/+1
| | | | | | | | | | | | | My first reading of MS docs was wrong. It says: All rendering contexts of a shared display list must use an identical pixel format. Otherwise the results depend on the implementation of OpenGL used. That is, it is OK to share contexts with different pixel formats. Adobe Premiere Pro tries to do that: share lists between a rgbx8 and a rgba8 pixel format.
* python: Reconstruct blend state objects from binary blobs.José Fonseca2010-02-151-0/+17
|