summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2010-03-03mesa: Remove support for creating color-index visualsIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-02Merge branch 'gallium-format-cleanup'José Fonseca
2010-03-01glapi.c: misc coscmetic for FreeTSDGeorge Sapountzis
- 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
2010-03-01python: Rename pipe formats.José Fonseca
2010-03-01vega: Rename pipe formats.José Fonseca
2010-03-01wgl: Rename pipe formats.José Fonseca
2010-03-01xorg: Rename pipe formats.José Fonseca
2010-03-01glx: Rename pipe formats.José Fonseca
2010-03-01egl: Rename pipe formats.José Fonseca
2010-03-01dri: Rename pipe formats.José Fonseca
2010-03-01vega: adapt to new vertex element csoRoland Scheidegger
2010-03-01vega: adapt to new vertex element csoRoland Scheidegger
2010-03-01xorg: adapt to new vertex element csoRoland Scheidegger
2010-03-01xlib: Use PIPE_FORMAT_R8G8B8A8_UNORM(_REV) as appropriate.José Fonseca
2010-03-01gallium: Reorg texture usage flagsJakob Bornecrantz
Introduce a new shared usage and rename primary to scanout. The display target usage is more of a windows concept and doesn't mean the same thing as shared. Display target means that the surface should be presentable, for softpipe this means that it should be backed by a hardware buffer.
2010-03-01gallium: Expose a opaque winsys handle and functions on pipe_screenJakob Bornecrantz
Instead of having these functions on a side interface like on drm_api create a opaque winsys_handle that is to be passed down into the winsys. Currently the only thing ported to this new interface is drm_api, and of that only the components that builds by default is ported. All the drivers and any extra state trackers needs to be ported before this can go into master.
2010-03-01python: Don't mention deprecated drivers=trace option.José Fonseca
Now trace always built.
2010-02-27st/dri: Assert pointer is not null before dereferencing.Vinson Lee
2010-02-27st/xorg: Re-enable crtc on resizeJakob Bornecrantz
2010-02-27st/xorg: Fix copy-topyJakob Bornecrantz
2010-02-27st/xorg: Make resize fail gracefullyJakob Bornecrantz
2010-02-27st/xorg: Obey max {width|height} from kernel and GalliumJakob Bornecrantz
2010-02-27st/xorg: Encapsulate all customizable stuff in a separate class.Thomas Hellstrom
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 <thellstrom@vmware.com>
2010-02-27st/xorg: A bit more debugging infoJakob Bornecrantz
2010-02-27st/xorg: Make default of debugging fallbacks smartJakob Bornecrantz
Set it to the same as 2d acceleration
2010-02-27st/xorg, vmware/xorg: Fix xnfcalloc arguments.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-02-25python: Fix typo.Michal Krol
2010-02-25st/egl: Reduce validation round-trips in DRI2 backend.Chia-I Wu
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.
2010-02-25st/egl: Reduce validation round-trips in ximage backend.Chia-I Wu
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.
2010-02-25st/egl: Refactor dri2_surface_get_buffers.Chia-I Wu
Add dri2_surface_process_drawable_buffers to process the buffers returned by the server.
2010-02-25st/egl: Add dri2InvalidateBuffers.Chia-I Wu
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.
2010-02-23st/glx: improved depth/stencil format selection codeBrian Paul
Actually ask the gallium screen what Z/stencil format is supported. This will let us remove some hacks in the llvmpipe driver.
2010-02-23st/glx: added PIPE_FORMAT_Z24S8_UNORM codeBrian Paul
2010-02-23st/egl: Unify surface creation.Chia-I Wu
Add a new function egl_g3d_create_surface and use it to create window, pixmap, buffer, and screen surfaces.
2010-02-21st/egl: Disable SHM in ximage backend.Chia-I Wu
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.
2010-02-21st/egl: Properly convert vrefresh to refresh rate.Chia-I Wu
Some kernels have vrefresh = (refresh rate * 1000) while others don't. Use some heuristics here.
2010-02-21st/egl: Enable extensions before adding configs.Chia-I Wu
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.
2010-02-21st/egl: Do not force validate when update_buffer is called.Chia-I Wu
st/mesa was changed to call pipe_screen::update_buffer in st_validate_state. In most cases there is no need to validate.
2010-02-21st/egl: Clean up DRI2 surface.Chia-I Wu
Mainly to move the call to DRI2GetBuffers from dri2_surface_validate to the new dri2_surface_update_buffers.
2010-02-21st/egl: Clean up ximage surface.Chia-I Wu
Mainly to move buffer allocation code from ximage_surface_validate to the new ximage_surface_update_buffers.
2010-02-20st/xlib: Add assert to check for null pointer dereference.Vinson Lee
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19mesa: replace old MEMSET macro with memsetBrian Paul
2010-02-19mesa: replace old MEMCPY macro with memcpyBrian Paul
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_atoi in favor of plain atoi.Kenneth Graunke
2010-02-19Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke
2010-02-19Remove _mesa_strncpy in favor of plain strncpy.Kenneth Graunke
2010-02-18Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)."Francisco Jerez
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.