aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Fix uninitialized instance divisor and index.Chia-I Wu2010-01-161-0/+1
|
* regress: Add .gitgnore for *.png files.Michal Krol2010-01-152-0/+2
|
* Merge branch 'gallium-noconstbuf'Roland Scheidegger2010-01-1511-73/+70
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
| * gallium: adapt state trackers etc. to pipe_constant_buffer removalRoland Scheidegger2009-12-2311-73/+70
| |
* | st/egl_g3d: Avoid validation upon buffer swap or flush frontbuffer.Chia-I Wu2010-01-151-5/+4
| | | | | | | | | | With screen->update_buffer being hooked, leave the job to the state trackers.
* | st/egl_g3d: Hook to update_buffer of the pipe screen.Chia-I Wu2010-01-152-1/+19
| | | | | | | | | | It is a notification from the client APIs that the surface size might have changed.
* | st/egl_g3d: Always override flush_frontbuffer.Chia-I Wu2010-01-157-78/+23
| | | | | | | | | | | | Instead of letting the native displays install their own version of flush_frontbuffer, always override the callback with a version that calls the flush_frontbuffer of the native surface.
* | Merge branch 'mesa_7_7_branch'Jakob Bornecrantz2010-01-142-3/+8
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
| * | st/dri: Make sure we always request a fake front.Thomas Hellstrom2010-01-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | This should be the correct, but sub-optimal way to handle things on pre-1.7 servers. For servers that automatically adds a fake front we should never request the fake front and handle the reply differently. Signed-off-by: Thomas Hellstrom <[email protected]>
| * | st/xorg: move exaMoveInPixmap before trying to fetch itZack Rusin2010-01-111-2/+4
| | | | | | | | | | | | | | | | | | as Michel suggested, this is a cleaner way of fixing crashes caused by exaGetPixmapDriverPrivate returning null since the data hasn't been moved yet.
| * | st/xorg: fix a rare video crashZack Rusin2010-01-111-1/+2
| | | | | | | | | | | | | | | sometimes dst isn't present if a window is in a middle of a resize, stop crashing in those cases and just ignore a frame.
| * | Revert "st/dri: no need to request fake front buffer, only handle it being ↵Thomas Hellstrom2010-01-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | returned" This reverts commit 1336989ec60fff7bd590fefd28945a0e5dc536e3. The commit breaks frontbuffer rendering and the possibility to do on-demand frontbuffer requests on all Xservers prior to 1.7. The commit should be conditioned on a dri2 version check. I've submitted a patch to Xserver to bump dri2 minor, and it's acked by Ian. To be able to check the version from within the state tracker, we will probably need another dri2 extension function that returns the server version. The protocol has support for it. Signed-off-by: Thomas Hellstrom <[email protected]>
* | | egl_g3d: Check if the creation of pipe or st context fails.Chia-I Wu2010-01-141-2/+12
| | | | | | | | | | | | It should not return an incomplete EGLContext to the users.
* | | st/egl_g3d: Use a sequence number to decide if validation is required.Chia-I Wu2010-01-147-21/+66
| | | | | | | | | | | | | | | | | | | | | It is not safe to assume that the native surface has not changed since the last validation by checking the geometry alone. Add a sequence number to "validate" callback for that purpose. This is inspired by Luca Barbieri's work.
* | | st/egl_g3d: Get the stapi from the driver.Chia-I Wu2010-01-121-3/+2
| | | | | | | | | | | | | | | egl_g3d_get_st was called because the driver argument was not given before. It can be fixed now.
* | | egl: Add _EGLDriver as the first argument to GetProcAddress.Chia-I Wu2010-01-121-1/+1
| | | | | | | | | | | | | | | The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself.
* | | st/egl_g3d: Improve comments to the native display interface.Chia-I Wu2010-01-121-2/+12
| | | | | | | | | | | | | | | Document the future of __GLcontextModes. Improve the description of surface validation and native_flush_frontbuffer.
* | | st/egl_g3d: Add support for KMS native display.Chia-I Wu2010-01-122-0/+1004
| | | | | | | | | | | | | | | | | | | | | The KMS native display implements the modeset interface using DRM modesetting. Signed-off-by: Chia-I Wu <[email protected]>
* | | st/egl_g3d: Add support for EGL_MESA_screen_surface.Chia-I Wu2010-01-122-1/+202
| | | | | | | | | | | | | | | | | | This is implemented through the modeset interface. Signed-off-by: Chia-I Wu <[email protected]>
* | | st/egl_g3d: Update the native display interface for modesetting.Chia-I Wu2010-01-121-13/+56
| | | | | | | | | | | | | | | | | | The new interface can be used to implement EGL_MESA_screen_surface. Signed-off-by: Chia-I Wu <[email protected]>
* | | st/egl_g3d: New EGL state tracker that uses Gallium.Chia-I Wu2010-01-1217-0/+4344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new (intermediate) EGL state tracker is the base work for EGL drivers that uses Gallium. It makes it easier to support new window systems. Currently, there is support only for X11. This driver supports multiple APIs (OpenVG, OpenGL, ...) and supports hardware acceleration through winsys/drm. Signed-off-by: Chia-I Wu <[email protected]>
* | | st/vega: Make it compatible with st_public.h.Chia-I Wu2010-01-122-6/+12
| | | | | | | | | | | | | | | | | | | | | It missed a stub for st_get_proc_address, and st_make_current should return a boolean. Signed-off-by: Chia-I Wu <[email protected]>
* | | st/vega: Advertise OpenVG support.Chia-I Wu2010-01-121-0/+3
| | | | | | | | | | | | | | | | | | Define st_api_OpenVG to advertise OpenVG support. Signed-off-by: Chia-I Wu <[email protected]>
* | | st/xlib: Mark GLX functions as public.Chia-I Wu2010-01-113-77/+80
| | | | | | | | | | | | | | | | | | Mark all functions start with glX as public. Signed-off-by: Chia-I Wu <[email protected]>
* | | st: Mark functions in st_public.h and vg_tracker.h as public.Chia-I Wu2010-01-111-0/+20
| | | | | | | | | | | | | | | | | | | | | These functions are the API of Gallium state tracker, and are used by EGL. Signed-off-by: Chia-I Wu <[email protected]>
* | | python: Integrate with llvmpipe if possible.José Fonseca2010-01-112-7/+168
| | | | | | | | | | | | | | | Temporary. We should soon have the ability to integrate with any driver via glx extensions.
* | | python: Mask out PIPE_TEXTURE_USAGE_DISPLAY_TARGET usage.José Fonseca2010-01-111-0/+10
| | | | | | | | | | | | | | | As displaying surfaces directly isn't supported by the python state tracker.
* | | python: Prefer PIPE_FORMAT_Z32_UNORM.José Fonseca2010-01-112-2/+2
| | |
* | | python: Set PIPE_TEXTURE_USAGE_RENDER_TARGET instead of DISPLAY_TARGET.José Fonseca2010-01-114-4/+4
| | | | | | | | | | | | | | | As the python state tracker is not integrated with window system an cannot present surfaces directly.
* | | st/dri: update dri2 drawables when viewport is changedBen Skeggs2010-01-113-0/+12
| | | | | | | | | | | | | | | | | | | | | Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <[email protected]>
* | | st/xorg: remove unused xorg_exa_get_pixmap_handle functionKeith Whitwell2010-01-072-30/+0
| | |
* | | gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri2010-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
* | | Merge branch 'remove-intel-dri1'Kristian Høgsberg2010-01-056-45/+53
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove-intel-dri1: intel: intelScreenContext() is no longer used intel: Remove remaining dri2.enabled tests intel: Drop more cliprect bookkeeping intel: Remove struct intel_framebuffer intel: Remove client-side vblank code intel: Drop intelWindowMoved() intel: Drop batchbuffer cliprect_mode tracking intel: Drop DRI1 static regions intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() intel: Drop LOCK/UNLOCK_HARDWARE() intel: Drop DRI1 SwapBuffer implementation intel: Drop DRI1 CopySubBuffer implementation intel: Drop DRI1 support Push __driDriverExtensions out of dri_util.c and into the drivers Remove leftover __DRI{screen,drawable,context}Private references Check for libdrm_$chipset.pc when needed
| * | | Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg2010-01-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
| * | | Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-046-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
* | | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-042-3/+3
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * | st/xorg: Proper calculation of screen pitch.Michel Dänzer2010-01-041-2/+1
| | |
| * | st/xorg: Ensure null-terminated byte string.Vinson Lee2010-01-021-1/+2
| | |
* | | python: Don't generate a import library for python module either.José Fonseca2010-01-021-0/+2
| | |
* | | gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-011-7/+1
| | |
* | | scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-011-1/+1
| | | | | | | | | | | | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* | | gallium: Remove the sct module.José Fonseca2010-01-011-1/+0
| | | | | | | | | | | | | | | Not used, and its functionality is now addressed by pipe_context::is_texture/buffer_referenced callbacks.
* | | scons: Don't globally define WIN32_LEAN_AND_MEAN.José Fonseca2010-01-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Some of the demo progams legitimately need the functionality that's disabled by WIN32_LEAN_AND_MEAN. Instead the solution should be to define WIN32_LEAN_AND_MEAN just before including windows.h on a case by case basis.
* | | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-3112-27/+62
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * | st/xorg: Use C-style comments.Vinson Lee2009-12-291-16/+16
| | |
| * | st/xorg: Fix warning and add a TODO commentJakob Bornecrantz2009-12-301-0/+6
| | |
| * | st/xorg: On close wait on fences and then destroy the screenJakob Bornecrantz2009-12-301-1/+11
| | |
| * | st/xorg: Be proper with pipe pointers on close in exaJakob Bornecrantz2009-12-301-0/+3
| | |
| * | st/xorg: Make sure we don't overrun the fence array in block handlerJakob Bornecrantz2009-12-301-1/+1
| | |
| * | st/egl: Move declaration before code.Vinson Lee2009-12-281-1/+2
| | |