aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri
Commit message (Collapse)AuthorAgeFilesLines
...
* dri: drop drisw_util.hGeorge Sapountzis2011-11-044-13/+3
|
* dri: unify __DRIscreenRecGeorge Sapountzis2011-11-045-5/+5
| | | | | Also drop DriverAPI field, this is a static symbol and I don't see why it should be accessed through __DRIscreenRec
* dri: unify __DriverAPIRecGeorge Sapountzis2011-11-042-3/+2
| | | | I dropped the comments because they don't add much.
* dri: drop drmLock remnantsGeorge Sapountzis2011-11-043-7/+0
|
* gallium/dri: Remove references to vblank.José Fonseca2011-11-021-1/+0
|
* Fix gallium dri compile and a merge conflictKristian Høgsberg2011-11-022-8/+1
|
* dri: Remove unused dri texmem.cKristian Høgsberg2011-11-021-2/+1
|
* dri: Drop unused dri renderbuffer helper functionsKristian Høgsberg2011-11-021-2/+1
|
* dri: Remove unnecessary timestamp pointer indirectionKristian Høgsberg2011-11-023-5/+4
|
* dri: Remove cliprect information from __DRIdrawableKristian Høgsberg2011-11-021-18/+1
|
* dri: Remove driMediaStreamCounterExtensionKristian Høgsberg2011-11-021-2/+0
| | | | Also DRI1-only.
* dri: Remove driSwapControlExtensionKristian Høgsberg2011-11-021-2/+0
| | | | DRI1-only as well.
* dri: Drop driCopySubBufferExtensionKristian Høgsberg2011-11-021-2/+0
| | | | Another DRI1-only extension.
* dri: Drop driReadDrawableExtensionKristian Høgsberg2011-11-021-2/+0
| | | | All DRI2 drivers support setting a separate read drawable.
* dri: Drop driLegacyExtensionKristian Høgsberg2011-11-021-1/+0
| | | | There are no DRI1 drivers left.
* st/dri/sw: add get_image inline helper similar to put_imageGeorge Sapountzis2011-11-021-4/+16
| | | | | TODO: check if GetImage works with passing the pitch as width, similar to PutImage, which avoids the extra copy, ala dri_sw_displaytarget_display() in src/gallium/winsys/sw/dri/dri_sw_winsys.c
* st/dri/sw: Fix incorrect castBenjamin Franzke2011-11-021-1/+1
| | | | | Missed one casting error due to rebase for commit 98aa2a8f725e44aec8bd998fe436a134e94f13bb.
* st/dri/sw: Implement texture_from_pixmapBenjamin Franzke2011-11-024-5/+60
| | | | | | | | | | This is a cleanup of commit 02f1b50987c0d24da3dcc36dbb44821c20d0660c. Update tex buffer using a dri_drawable hook from implemented in sw/drisw.c. This saves us the duplication of dri_drawable.c. CC: Stuart Abercrombie <[email protected]> CC: Stéphane Marchesin <[email protected]>
* Revert "Duplicate state_tracker/dri/sw/dri_drawable.c"Benjamin Franzke2011-11-021-269/+1
| | | | | | | This reverts commit 569bde1fa7d03fb7688d0d391b32e61e857ad44e. CC: Stuart Abercrombie <[email protected]> CC: Stéphane Marchesin <[email protected]>
* Revert "state_trackers/dri/sw: Implement texture_from_pixmap."Benjamin Franzke2011-11-021-43/+7
| | | | | | | This reverts commit 02f1b50987c0d24da3dcc36dbb44821c20d0660c. CC: Stuart Abercrombie <[email protected]> CC: Stéphane Marchesin <[email protected]>
* st/dri: Hook up throttling based on the drm driver_descriptor configurationThomas Hellstrom2011-10-143-2/+27
| | | | | | | | Hooks up throttling if there is a configuration function present and it indicates that throttling is desired. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]>
* st/dri: Implement the new dri2 throttling extensionThomas Hellstrom2011-10-142-2/+136
| | | | | | | | | | But don't hook it up just yet until we figure out a good way to do that. Also, we should, in the future, add driconf options to control what throttling reasons should be honored, and the number of outstanding swaps allowed. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]>
* gallium: rename ZS stencil type to UINT (v2)Dave Airlie2011-10-111-4/+4
| | | | | | | | | | these are never USCALED, always UINT in reality. taken from some work by Christoph Bumiller v2: fixup formatting of table + tabs Signed-off-by: Dave Airlie <[email protected]>
* configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.Stéphane Marchesin2011-10-041-1/+1
| | | | | | | Us poor souls who cross compile mesa want to be able to specify which pkg-config to pick, or at least just change one place. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* st/dri: remove the call to driInitExtensionsMarek Olšák2011-09-101-20/+0
| | | | The function no longer exists. This fixes Gallium build.
* st/dri: add support for __DRI_IMAGE_FORMAT_ABGR8888Chia-I Wu2011-09-091-0/+6
| | | | It maps to PIPE_FORMAT_R8G8B8A8_UNORM.
* state_trackers/dri/sw: Implement texture_from_pixmap.Stéphane Marchesin2011-09-061-7/+43
| | | | | Signed-off-by: Stuart Abercrombie <[email protected]> Signed-off-by: Stéphane Marchesin <[email protected]>
* Duplicate state_tracker/dri/sw/dri_drawable.cStéphane Marchesin2011-09-061-1/+269
| | | | | | | We need this for the upcoming fix for sw texture_from_pixmap. Signed-off-by: Stuart Abercrombie <[email protected]> Signed-off-by: Stéphane Marchesin <[email protected]>
* st/dri: Bind the post-processing queue to driLauri Kasanen2011-08-195-4/+47
| | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* st/dri: Indent driconf optionsLauri Kasanen2011-08-171-7/+11
|
* st/dri: remove an unused-but-set variableMarek Olšák2011-08-161-1/+0
|
* dri2: check if context is valid before flushing the pipeCooper Yuan2011-08-161-1/+2
|
* dri2: add code to dri2_Flush extension.Cooper Yuan2011-08-161-0/+4
| | | | | | | It's going to flush client's commands in eglWaitClient(). Before this, egl applications using pixmap or pbuffer flicker because of no flush. Reviewed-by: Alan Hourihane
* st/dri: remove an unused-but-set variableMarek Olšák2011-08-051-7/+0
|
* st/dri: remove a dummy function dri2_create_contextMarek Olšák2011-08-051-15/+1
| | | | It does nothing besides calling dri_create_context with the same parameters.
* st/dri: remove unused variablesMarek Olšák2011-07-101-2/+0
|
* scons: Expose pkg-config in a simpler manner.José Fonseca2011-06-301-1/+1
|
* 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-293-7/+3
| | | | | | | | | | | | | | | 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/dri: Implement DRIimageExtension::dupImageBenjamin Franzke2011-06-231-0/+19
|
* st/dri: Support dri2 useflags in dri2_create_imageBenjamin Franzke2011-05-201-0/+9
|
* st/dri: fix warning: ‘bind’ may be used uninitialized in this functionMarek Olšák2011-03-121-1/+1
|
* gallium: remove flags from the flush functionMarek Olšák2011-03-112-3/+3
| | | | | | | | | | The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
* gallium: remove the geom_flags param from is_format_supportedMarek Olšák2011-03-111-12/+12
|
* swrastg: Add __DRI_TEX_BUFFER supportAdam Jackson2011-03-111-0/+1
| | | | | | | Without this, EXT_texture_from_pixmap is trivially broken. With it, it's merely subtly broken. Signed-off-by: Adam Jackson <[email protected]>
* st/dri: one more missing array sizeDave Airlie2011-03-011-0/+1
| | | | | | whats one more between friends. again bnf on irc.
* st/dri: fix missing array size init.Dave Airlie2011-03-011-0/+1
| | | | | | Init array size to 1, reported by bnf on irc.
* st/dri: Track drawable context bindingsJakob Bornecrantz2011-02-204-2/+14
| | | | | | | | | | | | | | | | | | | Needs to track this ourself since because we get into a race condition with the dri_util.c code on make current when rendering to the front buffer. This is what happens: Old context is rendering to the front buffer. App calls MakeCurrent with a new context. dri_util.c sets drawable->driContextPriv to the new context and then calls the driver make current. st/dri make current flushes the old context, which calls back into st/dri via the flush frontbuffer hook. st/dri calls dri loader flush frontbuffer, which calls invalidate buffer on the drawable into st/dri. This is where things gets wrong. st/dri grabs the context from the dri drawable (which now points to the new context) and calls invalidate framebuffer to the new context which has not yet set the new drawable as its framebuffers since we have not called make current yet, it asserts.
* st/dri: Set render_buffer in dri_fill_st_visualBenjamin Franzke2011-02-101-2/+4
| | | | | st/mesa/st_managaer.c needs render_buffer in order to determinde which buffer should be rendered to.
* st/dri: img_from_renderbuf: Fix incorrect usage of dri_context()Benjamin Franzke2011-02-101-1/+1
|