summaryrefslogtreecommitdiff
path: root/src/egl/drivers/dri2/platform_drm.c
AgeCommit message (Collapse)AuthorFilesLines
2012-07-16egl_dri2: NULL check for EGLNativeWindowTypeElvis Lee1-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>
2012-04-10egl_dri2: fix aux buffer leak in drm platformMandeep Singh Baines1-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>
2012-03-28egl_dri2: use gbm_surface as the native window type in drm platformAnder Conselvan de Oliveira1-1/+313
2012-03-27egl_dri2: make flush extension useable by drm platformAnder Conselvan de Oliveira1-0/+1
2011-12-13egl_dri2: Fix some valgrind reported leaksBenjamin Franzke1-1/+1
Free the device_name, reported by Pekka Paalanen. Destroy wayland display and drm resources, if created by dri2_initialize_wayland.
2011-08-28egl_dri2: allow RGBA masks to be specified for matchingChia-I Wu1-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>
2011-08-04egl/gbm: Fix EGL_DEFAULT_DISPLAYBenjamin Franzke1-2/+23
2011-06-23egl_dri2: Hookup gbm as drm platformBenjamin Franzke1-27/+72
2011-06-07egl_dri2: Add missing headerBenjamin Franzke1-0/+1
2011-06-07egl_dri2: Use external driver pci listBenjamin Franzke1-663/+2
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-25egl_dri2: add new cayman pci idsAlex Deucher1-0/+15
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-17egl: Recognize Ivybridge PCI IDs.Kenneth Graunke1-0/+5
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
2011-05-12egl/dri2: Fix const pointer duplication, prevent unitialized variable ↵José Fonseca1-5/+7
dereference. Based on zhigang gong <zhigang.gong@gmail.com>'s patch.
2011-05-12egl: Fix int <-> ptr casts.José Fonseca1-1/+1
Based on zhigang gong <zhigang.gong@gmail.com>'s patch.
2011-05-06Add pci id for FirePro 2270Kostas Georgiou1-0/+1
Signed-off-by: Kostas Georgiou <georgiou@opengamma.com>
2011-05-06egl_dri2: add new radeon pci idsAlex Deucher1-0/+6
There seriously needs to be a better way to do this. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-03-26egl_dri2: Enable image extensions in one placeKristian Høgsberg1-5/+0
We know what we can support in egl_dri2.c so just enable the extensions there.
2011-03-01egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke1-1/+55
2011-02-16egl_dri2: add swrastHaitao Feng1-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>
2011-02-14egl_dri2: add nouveau support.Dave Airlie1-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.
2011-02-10egl_dri2: Use double buffering for window surfacesBenjamin Franzke1-1/+1
2011-02-07egl_dri2: Export dri2_get_driver_for_fdBenjamin Franzke1-1/+1
2011-02-03egl_dri2: Add new radeon pci idsAlex Deucher1-1/+40
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-03egl_dri2: Split out drm platform implementation to a separate fileKristian Høgsberg1-0/+634