summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'xa_branch'Thomas Hellstrom2011-07-0414-0/+3606
|\ | | | | | | | | | | | | Conflicts: configure.ac Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Fix crosscompile builds with nonstandard ld locationsThomas Hellstrom2011-07-041-1/+1
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Update README.Thomas Hellstrom2011-06-271-6/+14
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Add a function to check for supported formatsThomas Hellstrom2011-06-274-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | Typically this was done by having a surface creation function fail if the format was not supported. However, in some situations when changing hardware surface formats, it's desirable to do this check before attempting costly readback operations. Also updated the surface_redefine interface. Bump minor. Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Various fixes for composite.Thomas Hellstrom2011-06-273-16/+29
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Solid fill (tested) and composite (yet untested)Thomas Hellstrom2011-06-219-22/+972
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Really support xa_surface_format. Bump minor.Thomas Hellstrom2011-06-214-3/+10
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Support format-changing copy.Thomas Hellstrom2011-06-203-13/+53
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Make sure we blit all yuv regions.Thomas2011-06-161-0/+1
| | | | | | | | | | | | The code forgot to increment a pointer. Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Fix a typo pointed out by Keith Whitwell.Thomas2011-06-161-1/+1
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xa: Initial import of the xa state-tracker and the xa-vmwgfx target.Thomas Hellstrom2011-06-1512-0/+2560
| | | | | | | | | | | | See the file src/gallium/state_trackers/xa/README for more info. Signed-off-by: Thomas Hellstrom <[email protected]>
* | st/glx: Fix endless loop in drawable validationThomas Hellstrom2011-07-041-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression introduced with commit "st-api: Rework how drawables are invalidated v3" where the glx state tracker manager would invalidate a drawable each time it checks the drawable dimensions, even during a validate call, which resulted in an endless loop, since the state tracker would immediately detect the new invalidation and rerun the validate... This change marks the drawable invalid only if the drawable dimensions actually changed during the validate, which will result in at most a single unnecessary validate by the context running a validate during which the dimensions changed. To avoid unnecessary validates altogether, we need to implement yet another st-api change: Returning the current time stamp from the validate function, as suggested by Chia-I Wu. The glx state tracker manager could then return the stamp resulting from the last drawable dimension check. Signed-off-by: Thomas Hellstrom <[email protected]>
* | st/egl: fix a typoChia-I Wu2011-07-011-2/+2
| | | | | | | | Wrong goto labels.
* | st/egl: remove unused headerChia-I Wu2011-07-011-3/+0
| |
* | scons: Expose pkg-config in a simpler manner.José Fonseca2011-06-303-3/+5
| |
* | st/glx: Fix compilation errorThomas Hellstrom2011-06-292-4/+4
| | | | | | | | | | | | | | Fix compilation error due to commit "Rework how drawables are invalidated v3" Signed-off-by: Thomas Hellstrom <[email protected]>
* | st/dri: Get rid of the evil struct dri_drawable::context memberThomas Hellstrom2011-06-292-5/+0
| | | | | | | | | | | | It's incorrect to assume a single context bound to a drawable. Signed-off-by: Thomas Hellstrom <[email protected]>
* | st-api: Rework how drawables are invalidated v3.Thomas Hellstrom2011-06-2910-51/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The api and the state tracker manager code as well as the state tracker code assumed that only a single context could be bound to a drawable. That is not a valid assumption, since multiple contexts can bind to the same drawable. Fix this by making it the state tracker's responsibility to update all contexts binding to a drawable Note that the state trackers themselves don't use atomic stamps on frame-buffers. Multiple context rendering to the same drawable should be protected by the application. Signed-off-by: Thomas Hellstrom <[email protected]>
* | st/egl: update fbdev backendChia-I Wu2011-06-281-144/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Considering fbdev as an in-kernel window system, - opening a device opens a connection - there is only one window: the framebuffer - fb_var_screeninfo decides window position, size, and even color format - there is no pixmap Now EGL is built on top of this window system. So we should have - the fd as the handle of the native display - reject all but one native window: NULL - no pixmap support modeset support is still around, but it should be removed soon.
* | egl: Fix Terminate with shared gbm screensBenjamin Franzke2011-06-271-0/+2
| | | | | | | | NOTE: This is a candidate for the 7.11 branch.
* | st/d3d1x: fix for st/egl native.h interface changeChia-I Wu2011-06-271-14/+19
| | | | | | | | The interface was changed in 73df31eedd0f33c8a9907855cb247c8f87964c48.
* | st/egl: fix a compile errorChia-I Wu2011-06-261-2/+1
| | | | | | | | It is triggered when --with-driver=xlib is specified.
* | st/egl: add get_pixmap_format callback to native_displayChia-I Wu2011-06-255-47/+65
| | | | | | | | | | And use it for EGL_MATCH_NATIVE_PIXMAP. Remove is_pixmap_supported meanwhile.
* | egl: make implementing eglChooseConfig easierChia-I Wu2011-06-251-36/+6
| | | | | | | | | | Add a new helper function, _eglFilterConfigArray, for drivers and hide _eglSortConfigs.
* | st/egl: add a fast path for ximage eglCopyBuffersChia-I Wu2011-06-251-1/+40
| |
* | st/egl: clean up eglCopyBuffersChia-I Wu2011-06-257-42/+63
| | | | | | | | | | Add copy_to_pixmap method to native_display and use it for eglCopyBuffers.
* | st/egl: reorganize backend initializationChia-I Wu2011-06-2514-197/+172
| | | | | | | | | | | | | | Remove set_event_handler() and pass the event handler with native_get_XXX_platform(). Add init_screen() so that the pipe screen is created later. This way we don't need to pass user_data to create_display().
* | st/egl: make native_buffer interface typedChia-I Wu2011-06-246-89/+139
| | | | | | | | | | | | Use a typed struct to describe the native buffer and let the backends map the native buffer to winsys_handle for resource_from_handle/resource_to_handle.
* | st/egl: drop guess_gl_api from egl_g3d_loaderChia-I Wu2011-06-241-1/+0
| | | | | | | | It is not used and confusing.
* | st/egl: use a helper to get st_api from the loaderChia-I Wu2011-06-242-13/+9
| |
* | st/egl: Fix scons buildBenjamin Franzke2011-06-231-0/+4
| |
* | st/egl: Hookup gbm for drm backendBenjamin Franzke2011-06-236-43/+98
| |
* | gbm: Add gallium (drm) backendBenjamin Franzke2011-06-233-0/+346
| |
* | st/dri: Implement DRIimageExtension::dupImageBenjamin Franzke2011-06-231-0/+19
| |
* | st/wgl: return height, not width for WGL_PBUFFER_HEIGHT_ARBBrian Paul2011-06-231-1/+1
| | | | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38599
* | st/egl/wayland: Take resize parameters only if size changesBenjamin Franzke2011-06-231-5/+3
| | | | | | | | | | This matches what we do in egl_dri2, and clients should behave like this anyway.
* | st/xorg: initialize drm_mode.typeMarcin Slusarz2011-06-201-0/+1
| | | | | | | | | | | | it's uninitialized, but used by kernel (drm_mode_setcrtc -> drm_mode_set_crtcinfo) Signed-off-by: Marek Olšák <[email protected]>
* | st/xorg: fix crash triggered by rendercheck -t composite -f a8r8g8b8 -o Src, ↵Marcin Slusarz2011-06-201-1/+1
| | | | | | | | | | | | Saturate samplers[0] may remain uninititialized if src picture/pixmap is null
* | st/xorg: fix crash triggered by rendercheck -t blend -f a8r8g8b8 -o ClearMarcin Slusarz2011-06-201-2/+2
|/
* st/xorg: remove unused variableMarek Olšák2011-06-141-1/+0
|
* st/eglwayland: Add support for EGL_DEFAULT_DISPLAYBenjamin Franzke2011-06-124-0/+15
|
* glx/xlib: Handle glXCreateContextAttribsARB in glXGetProcAddress.José Fonseca2011-06-081-0/+3
|
* st/egl: set EGL_ALPHA_MASK_SIZEChia-I Wu2011-06-091-0/+4
|
* targets/egl: Support driver name lookup using pci listsBenjamin Franzke2011-06-072-70/+3
| | | | | | Make use of this in drm and wayland st/egl backends. Reviewed-by: Alex Deucher <[email protected]>
* d3d1x/sm4: don't reset 1st index of multi-dimensional operands to 0Christoph Bumiller2011-06-021-1/+1
|
* d3d1x/sm4: fix swizzle for 1 component operandsChristoph Bumiller2011-06-021-0/+1
| | | | | For example, "mov o0.w, l(1)" would use imm_values[3], which is not valid.
* wgl: Don't hold on to user supplied HDC.José Fonseca2011-05-243-23/+22
| | | | | | | | | | | Certain applications (e.g., Bernina My Label, and the Windows implementation of Processing language) destroy the device context used when creating the frame-buffer, causing presents to fail because we were still referring to the old device context internally. This change ensures we always use the same HDC passed to the ICD entry-points when available, or our own HDC when not available (necessary only when flushing on single buffered visuals).
* st/egl: Add support for EGL_DRM_BUFFER_USE_CURSOR_MESABenjamin Franzke2011-05-201-1/+7
|
* st/dri: Support dri2 useflags in dri2_create_imageBenjamin Franzke2011-05-201-0/+9
|
* st/egl/wayland: Deal with wayland visual changesBenjamin Franzke2011-05-201-17/+21
| | | | | | | Since wayland 4bde293ff8109d55eeaee8732f5a6ee0c8cd4bd9 we cant lookup visuals, as we dont receive the visual token events. The format for pixmap-images thus has to default to argb for now.