summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_drm.c
Commit message (Collapse)AuthorAgeFilesLines
...
* egl/gbm: Implement EGL_EXT_buffer_ageKristian Høgsberg2013-01-101-0/+23
| | | | | Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* Use calloc instead of malloc/memset-0Matt Turner2012-09-051-5/+2
| | | | | | | | | | | | | | | | This patch has been generated by the following Coccinelle semantic patch: @@ expression E; identifier I; @@ - I = malloc(E); + I = calloc(1, E); ... - memset(I, 0, sizeof *I); Reviewed-by: Brian Paul <brianp@vmware.com>
* egl_dri2: NULL check for EGLNativeWindowTypeElvis Lee2012-07-161-0/+2
| | | | | | | | | Some application calls eglCreateWindowSurface with EGLNativeWindowType parameter having zero value. It causes SEGV and disturbs error handling like EGL_NO_SURFACE. Signed-off-by: Elvis Lee <kwangwoong.lee@lge.com> Signed-off-by: Brian Paul <brianp@vmware.com>
* egl_dri2: fix aux buffer leak in drm platformMandeep Singh Baines2012-04-101-5/+4
| | | | | | | | Keep a reference to any newly allocated aux buffers to avoid re-allocating for every st_framebuffer_validate() (i.e. leaking). Signed-off-by: Mandeep Singh Baines <msb@chromium.org> Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
* egl_dri2: use gbm_surface as the native window type in drm platformAnder Conselvan de Oliveira2012-03-281-1/+313
|
* egl_dri2: make flush extension useable by drm platformAnder Conselvan de Oliveira2012-03-271-0/+1
|
* egl_dri2: Fix some valgrind reported leaksBenjamin Franzke2011-12-131-1/+1
| | | | | | | Free the device_name, reported by Pekka Paalanen. Destroy wayland display and drm resources, if created by dri2_initialize_wayland.
* egl_dri2: allow RGBA masks to be specified for matchingChia-I Wu2011-08-281-1/+1
| | | | | | | | Add rgba_masks to dri2_add_config. When it is non-NULL, the DRI config is accepted only when the offsets and sizes of the its channels match rgba_mask. Reviewed-by: Chad Versace <chad@chad-versace.us>
* egl/gbm: Fix EGL_DEFAULT_DISPLAYBenjamin Franzke2011-08-041-2/+23
|
* egl_dri2: Hookup gbm as drm platformBenjamin Franzke2011-06-231-27/+72
|
* egl_dri2: Add missing headerBenjamin Franzke2011-06-071-0/+1
|
* egl_dri2: Use external driver pci listBenjamin Franzke2011-06-071-663/+2
| | | | Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
* egl_dri2: add new cayman pci idsAlex Deucher2011-05-251-0/+15
| | | | Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
* egl: Recognize Ivybridge PCI IDs.Kenneth Graunke2011-05-171-0/+5
| | | | | Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
* egl/dri2: Fix const pointer duplication, prevent unitialized variable ↵José Fonseca2011-05-121-5/+7
| | | | | | dereference. Based on zhigang gong <zhigang.gong@gmail.com>'s patch.
* egl: Fix int <-> ptr casts.José Fonseca2011-05-121-1/+1
| | | | Based on zhigang gong <zhigang.gong@gmail.com>'s patch.
* Add pci id for FirePro 2270Kostas Georgiou2011-05-061-0/+1
| | | | Signed-off-by: Kostas Georgiou <georgiou@opengamma.com>
* egl_dri2: add new radeon pci idsAlex Deucher2011-05-061-0/+6
| | | | | | | There seriously needs to be a better way to do this. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
* egl_dri2: Enable image extensions in one placeKristian Høgsberg2011-03-261-5/+0
| | | | | We know what we can support in egl_dri2.c so just enable the extensions there.
* egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke2011-03-011-1/+55
|
* egl_dri2: add swrastHaitao Feng2011-02-161-0/+2
| | | | | | | | This enables the egl_dri2 driver to load swrast driver for software rendering. It could be used when hardware dri2 drivers are not available, such as in VM. Signed-off-by: Haitao Feng <haitao.feng@intel.com>
* egl_dri2: add nouveau support.Dave Airlie2011-02-141-0/+8
| | | | | | | but really wtf? all these PCI IDs need to be ripped out of here, its totally unscalable and the drivers already have this info so could export it some better way. tested by Darxus on #wayland.
* egl_dri2: Use double buffering for window surfacesBenjamin Franzke2011-02-101-1/+1
|
* egl_dri2: Export dri2_get_driver_for_fdBenjamin Franzke2011-02-071-1/+1
|
* egl_dri2: Add new radeon pci idsAlex Deucher2011-02-031-1/+40
| | | | Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
* egl_dri2: Split out drm platform implementation to a separate fileKristian Høgsberg2011-02-031-0/+634