summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* st/vega: Fix vgReadPixels with a subrectangle.Chia-I Wu2010-11-211-4/+12
| | | | | | | Fix a crash when the subrectangle is not inside the fb. Fix wrong pipe transfer when sx > 0 or sy + height != fb->height. This fixes "readpixels" demo.
* st/vega: Set wrap_r for mask and blend samplers.Chia-I Wu2010-11-211-0/+2
| | | | | | | | | | | These two samplers use non-normalized texture coordinates. wrap_r cannot be PIPE_TEX_WRAP_REPEAT (the default). This fixes sp_tex_sample.c:1790:get_linear_unorm_wrap: Assertion `0' failed assertion failure.
* st/vega: vegaLookupSingle should validate the state.Chia-I Wu2010-11-211-0/+2
| | | | Fix "lookup" demo crash.
* st/glx: Replace MESA_VERSION_STRING by xmesa_get_name.Chia-I Wu2010-11-183-6/+16
| | | | | xmesa_get_name returns the name of the st_api, which is the same as MESA_VERSION_STRING.
* st/wgl: Use st_context_iface::share for DrvShareLists.Chia-I Wu2010-11-181-11/+4
|
* gallium: Add st_api::name.Chia-I Wu2010-11-183-0/+7
| | | | It is the name of the rendering API. This field is informative.
* st/vega: Do not wait NULL fences.Chia-I Wu2010-11-181-3/+4
|
* st/dri: Add support for surfaceless current contexts.Chia-I Wu2010-11-103-2/+7
| | | | Tested with Wayland.
* st/egl: Fix build for include files in nonstandard placesThomas Hellstrom2010-11-092-1/+2
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* scons: Unify state tracker SConscriptsJakob Bornecrantz2010-11-054-22/+31
|
* scons: Move dependancy checks to the main gallium scons fileJakob Bornecrantz2010-11-056-70/+56
|
* scons: DetabifyJakob Bornecrantz2010-11-055-48/+48
| | | | Drivers scons files for a later time
* st/xorg: Detect libkms with scons too.José Fonseca2010-11-031-0/+3
|
* st/xorg: Add missing \n to error message.José Fonseca2010-11-031-1/+1
|
* egl/gdi: fix typo: xsurf->gsurfBrian Paul2010-11-031-1/+1
|
* st/egl: Use native_display_buffer for EGL_MESA_drm_image.Chia-I Wu2010-11-033-10/+32
| | | | | native_display_buffer is just a wrapper to resource_{from,get}_handle for drm backend.
* st/egl: Add native_display_buffer interface.Chia-I Wu2010-11-032-0/+61
| | | | | | The interface is a wrapper to pipe_screen::resource_from_handle and pipe_screen::resource_get_handle. A winsys handle is platform-dependent.
* st/egl: Add extern "C" wrapper to native.h.Chia-I Wu2010-11-031-0/+8
| | | | This allows a backend to be written in C++.
* st/egl: Add support for EGL_MATCH_NATIVE_PIXMAP.Chia-I Wu2010-11-031-0/+66
| | | | | Added for completeness. It makes sense to have such mechanism, but I am not aware of any user of that..
* st/egl: Add support for swap interval and swap behavior.Chia-I Wu2010-11-032-5/+22
| | | | | | The value of EGL_MAX_SWAP_INTERVAL and whether EGL_SWAP_BEHAVIOR_PRESERVED_BIT is set will depend on the native backend used.
* st/egl: Remove flush_frontbuffer and swap_buffers.Chia-I Wu2010-11-036-23/+0
| | | | | They are deprecated by native_surface::present and there is no user of them.
* d3d1x: Use native_surface::present.Chia-I Wu2010-11-031-10/+4
| | | | | Replace native_surface::flush_frontbuffer and native_surface::swap_buffers calls by native_surface::present calls.
* st/egl: Use native_surface::present callback.Chia-I Wu2010-11-032-4/+5
| | | | | Replace native_surface::flush_frontbuffer and native_surface::swap_buffers calls by native_surface::present calls.
* st/egl: Add native_surface::present callback.Chia-I Wu2010-11-037-2/+170
| | | | | | | 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.
* st/vega: Remove unnecessary headers.Vinson Lee2010-11-0212-23/+0
|
* scons: Disable python state tracker when swig is not present.José Fonseca2010-11-011-0/+3
|
* scons: Revamp how to specify targets to build.José Fonseca2010-11-015-168/+173
| | | | | | | | | | | | | | | | | | | | | | 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.
* st/egl image: multiply drm buf-stride with blocksizeBenjamin Franzke2010-11-011-1/+2
| | | | [olv: formatted for 80-column wrapping]
* st/egl: Use resource reference count for egl_g3d_sync.Chia-I Wu2010-10-232-5/+2
|
* egl: Use reference counting to replace IsLinked or IsBound.Chia-I Wu2010-10-231-12/+32
| | | | | Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update _eglBindContext and drivers to do reference counting.
* st/egl: Fix native_mode refresh mode.Chia-I Wu2010-10-232-3/+3
| | | | Define the unit to match _EGLMode's.
* egl: Fix _eglModeLookup.Chia-I Wu2010-10-231-11/+11
| | | | | | | | | | 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.
* egl: Minor changes to the _EGLScreen interface.Chia-I Wu2010-10-231-2/+2
| | | | | Make _eglInitScreen take a display and rename _eglAddScreen to _eglLinkScreen. Remove unused functions.
* egl: Minor changes to the _EGLConfig interface.Chia-I Wu2010-10-231-1/+1
| | | | | Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups.
* egl: Parse image attributes with _eglParseImageAttribList.Chia-I Wu2010-10-221-81/+37
| | | | Avoid code duplications.
* egl: Move attributes in _EGLImage to _EGLImageAttribs.Chia-I Wu2010-10-221-2/+2
| | | | | | 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.
* st/xorg: Fix memory leak on error path.Vinson Lee2010-10-191-0/+1
|
* st/xorg: Fix compilation for Xservers >= 1.10Thomas Hellstrom2010-10-191-0/+5
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg: Don't use deprecated x*alloc / xfree functionsThomas Hellstrom2010-10-195-29/+29
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg: Fix compilation errors for Xservers compiled without CompositeThomas Hellstrom2010-10-191-2/+9
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environmentsThomas Hellstrom2010-10-191-1/+1
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* st/egl: Do not finish a fence that is NULL.Chia-I Wu2010-10-141-2/+4
| | | | i915g would dereference the NULL pointer.
* st/egl: Access _EGLConfig directly.Chia-I Wu2010-10-141-31/+26
| | | | | Drop the use of SET_CONFIG_ATTRIB. Fix the value of EGL_SAMPLE_BUFFERS along the way.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-1/+1
|
* Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg2010-10-131-1/+1
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-1310-12/+12
|
* gl: Remove unused GLcontextModes fieldsKristian Høgsberg2010-10-132-7/+7
|
* Get rid of GL/internal/glcore.hKristian Høgsberg2010-10-133-2/+183
| | | | | | | __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.
* st/xorg: Fix typoThomas Hellstrom2010-10-121-1/+1
| | | | | | Pointed out by Jakob Bornecrantz. Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xlib: add some commentsBrian Paul2010-10-121-0/+8
|