summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2010-03-09Merge branch 'gallium-vertexelementcso'Roland Scheidegger
Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c
2010-03-09Squashed commit of gallium-no-texture-blanketKeith Whitwell
commit f90b3f01af82b9522067b1824e21709a6fb2d3af Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:39:44 2010 +0000 gallium: remove p_screen::surface_buffer_create This isn't very useful without texture_blanket(), which has also been removed. Note that this function hasn't been removed from the old pipe_winsys (u_simple_screen) still used internally by some drivers (eg softpipe). commit 6c462de39a4b9980a5f034a95e580efdfcb8173b Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:27:40 2010 +0000 egl/x11: disable texture_blanket usage commit b42da9160df9f47224e5b3291b972f41767aa6e5 Merge: 4be2436 3ca9336 Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:27:24 2010 +0000 Merge commit 'origin/master' into gallium-no-texture-blanket Conflicts: src/gallium/drivers/svga/svga_screen_texture.c commit 4be2436316929e3dfc55bc34d810920c06556b66 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 4 14:59:26 2010 +0000 gallium: remove texture blanket call No longer needed, except for nouveau and egl/xll/native_ximage.c. Fix for nouveau is to keep the call, but move it to an internal function within nouveau. Fix for that egl/x11 relies on gallium-sw-api branch or its successor. commit 69b6764330367d63c237d0bde9fb96435d0e0257 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 4 13:35:16 2010 +0000 drm_api: wrap comment
2010-03-09st/egl: Fix KMS build error after winsys handle change.Chia-I Wu
2010-03-08vega: remove redundant DEFINES from .c.o ruleBrian Paul
2010-03-08Merge branch '7.8'Brian Paul
2010-03-08Merge commit 'origin/gallium-winsys-handle-rebased'Keith Whitwell
2010-03-08st/vega: Fix OpenVG demo segfaults.Chia-I Wu
When the paint is color, paint_bind_samplers binds a dummy sampler without a texture. It causes demos requiring a sampler (those use a mask or an image) to crash.
2010-03-05st/egl: Add support for EGL_KHR_image_base and EGL_KHR_image_pixmap.Chia-I Wu
These extensions are not quite useful until the client APIs gain support for the respective EGLImage extensions.
2010-03-05st/egl: Add get_param to native display interface.Chia-I Wu
get_param can be used to query the parameters of a native display. There is only NATIVE_PARAM_USE_NATIVE_BUFFER right now. It queries whether the window/pixmap surfaces use the native buffers instead of private buffers.
2010-03-05st/egl: Move modeset interface to native_modeset.h.Chia-I Wu
native.h is getting more and more complex. Move the independent modeset interface to native_modeset.h to simplify native.h a little.
2010-03-05st/egl: Add event support to the native display interface.Chia-I Wu
There is only invalid_surface event right now. When EGL receives the event, it sets the force_validate flag of the context binding to the surface. This helps skip an unnecessary check.
2010-03-03wgl: Fix mingw32 build.Vinson Lee
This was missed in commit fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8.
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.