summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2010-11-05scons: Move dependancy checks to the main gallium scons fileJakob Bornecrantz
2010-11-05scons: DetabifyJakob Bornecrantz
Drivers scons files for a later time
2010-11-03st/xorg: Detect libkms with scons too.José Fonseca
2010-11-03st/xorg: Add missing \n to error message.José Fonseca
2010-11-03egl/gdi: fix typo: xsurf->gsurfBrian Paul
2010-11-03st/egl: Use native_display_buffer for EGL_MESA_drm_image.Chia-I Wu
native_display_buffer is just a wrapper to resource_{from,get}_handle for drm backend.
2010-11-03st/egl: Add native_display_buffer interface.Chia-I Wu
The interface is a wrapper to pipe_screen::resource_from_handle and pipe_screen::resource_get_handle. A winsys handle is platform-dependent.
2010-11-03st/egl: Add extern "C" wrapper to native.h.Chia-I Wu
This allows a backend to be written in C++.
2010-11-03st/egl: Add support for EGL_MATCH_NATIVE_PIXMAP.Chia-I Wu
Added for completeness. It makes sense to have such mechanism, but I am not aware of any user of that..
2010-11-03st/egl: Add support for swap interval and swap behavior.Chia-I Wu
The value of EGL_MAX_SWAP_INTERVAL and whether EGL_SWAP_BEHAVIOR_PRESERVED_BIT is set will depend on the native backend used.
2010-11-03st/egl: Remove flush_frontbuffer and swap_buffers.Chia-I Wu
They are deprecated by native_surface::present and there is no user of them.
2010-11-03d3d1x: Use native_surface::present.Chia-I Wu
Replace native_surface::flush_frontbuffer and native_surface::swap_buffers calls by native_surface::present calls.
2010-11-03st/egl: Use native_surface::present callback.Chia-I Wu
Replace native_surface::flush_frontbuffer and native_surface::swap_buffers calls by native_surface::present calls.
2010-11-03st/egl: Add native_surface::present callback.Chia-I Wu
The callback presents the given attachment to the native engine. It allows the swap behavior and interval to be controlled. It will replace native_surface::flush_frontbuffer and native_surface::swap_buffers shortly.
2010-11-02st/vega: Remove unnecessary headers.Vinson Lee
2010-11-01scons: Disable python state tracker when swig is not present.José Fonseca
2010-11-01scons: Revamp how to specify targets to build.José Fonseca
Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
2010-11-01st/egl image: multiply drm buf-stride with blocksizeBenjamin Franzke
[olv: formatted for 80-column wrapping]
2010-10-23st/egl: Use resource reference count for egl_g3d_sync.Chia-I Wu
2010-10-23egl: Use reference counting to replace IsLinked or IsBound.Chia-I Wu
Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update _eglBindContext and drivers to do reference counting.
2010-10-23st/egl: Fix native_mode refresh mode.Chia-I Wu
Define the unit to match _EGLMode's.
2010-10-23egl: Fix _eglModeLookup.Chia-I Wu
Internally a mode belongs to a screen. But functions like eglGetModeAttribMESA treat a mode as a display resource: a mode can be looked up without a screen. Considering how KMS works, it is better to stick to the current implementation. To properly support looking up a mode without a screen, this commit assigns each mode (of all screens) a unique ID.
2010-10-23egl: Minor changes to the _EGLScreen interface.Chia-I Wu
Make _eglInitScreen take a display and rename _eglAddScreen to _eglLinkScreen. Remove unused functions.
2010-10-23egl: Minor changes to the _EGLConfig interface.Chia-I Wu
Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups.
2010-10-22egl: Parse image attributes with _eglParseImageAttribList.Chia-I Wu
Avoid code duplications.
2010-10-22egl: Move attributes in _EGLImage to _EGLImageAttribs.Chia-I Wu
The opaque nature of EGLImage implies that extensions almost always define their own attributes. Move attributes in _EGLImage to _EGLImageAttribs and add a helper function to parse attribute lists.
2010-10-19st/xorg: Fix memory leak on error path.Vinson Lee
2010-10-19st/xorg: Fix compilation for Xservers >= 1.10Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19st/xorg: Don't use deprecated x*alloc / xfree functionsThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19st/xorg: Fix compilation errors for Xservers compiled without CompositeThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environmentsThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-14st/egl: Do not finish a fence that is NULL.Chia-I Wu
i915g would dereference the NULL pointer.
2010-10-14st/egl: Access _EGLConfig directly.Chia-I Wu
Drop the use of SET_CONFIG_ATTRIB. Fix the value of EGL_SAMPLE_BUFFERS along the way.
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg
2010-10-13gl: Remove unused GLcontextModes fieldsKristian Høgsberg
2010-10-13Get rid of GL/internal/glcore.hKristian Høgsberg
__GLcontextModes is always only used as an implementation internal struct at this point and we shouldn't install glcore.h anymore. Anything that needs __GLcontextModes should just include the struct in its headers files directly.
2010-10-12st/xorg: Fix typoThomas Hellstrom
Pointed out by Jakob Bornecrantz. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-12st/xlib: add some commentsBrian Paul
2010-10-12st/xorg: Don't try to remove invalid fbsThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-12st/xorg: Add a customizer option to get rid of annoying cursor update flickerThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-12st/xorg: Don't try to use option values before processing optionsThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-07st/vega: Fix version check in context creation.Chia-I Wu
This fixes a regression since 4531356817ec8383ac35932903773de67af92e37.
2010-09-30st/egl: Drop context argument from egl_g3d_get_egl_image.Chia-I Wu
Fix a regression since 17eace581d25a626a7d75d9d1205d012cbb14a6e.
2010-09-30gallium/st: remove duplicated includesNicolas Kaiser
Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30st/egl: Skip single-buffered configs in EGL.Chia-I Wu
Let DRI2 report single-buffered configs and skip them in EGL. This is based on the patch by Luca Barbieri.
2010-09-28d3d1x: work around crash in widlLuca Barbieri
2010-09-27d3d11: fix reference counting so devices get freedLuca Barbieri
2010-09-27d3d1x: fix MapLuca Barbieri