Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wayland: Track changes to drop wl_visual | Kristian Høgsberg | 2011-08-31 | 3 | -15/+71 |
| | |||||
* | egl_dri2: Only clear EGL_PIXMAP_BIT if DRI config is double buffered | Kristian Høgsberg | 2011-08-31 | 1 | -2/+4 |
| | | | | | | | We don't want to set the pixmap bit in the EGL config if the DRI config we're adding is a double buffered config. However, don't clear any other bits the platform might pass in in the surface_type argument. | ||||
* | wayland: Track server side wayland changes | Kristian Høgsberg | 2011-08-31 | 1 | -1/+1 |
| | |||||
* | wayland: Use new wl_callback mechanism | Kristian Høgsberg | 2011-08-31 | 1 | -31/+24 |
| | |||||
* | egl_dri2: Drop dri2_surface_type enum | Benjamin Franzke | 2011-08-31 | 2 | -18/+9 |
| | | | | | Was only used in platform_wayland, and the remaining egl stack uses _EGLSurface::Type with one of EGL_{WINDOW,PIXMAP,PBUFFER}_BIT. | ||||
* | egl_dri2: add pbuffer support to platform_android | Chia-I Wu | 2011-08-31 | 1 | -5/+16 |
| | | | | | | This is a simple change thanks to allocateBuffer. Reviewed-by: Chad Versace <[email protected]> | ||||
* | egl_dri2: check the surface type in platform_android | Chia-I Wu | 2011-08-31 | 1 | -45/+56 |
| | | | | | | | Check the surface type is EGL_WINDOW_BIT before doing anything, in preparation for pbuffer support. Reviewed-by: Chad Versace <[email protected]> | ||||
* | egl_dri2: refactor droid_get_buffers_with_format | Chia-I Wu | 2011-08-31 | 1 | -27/+39 |
| | | | | | | Move the loop to parse attachments to its own function. Reviewed-by: Chad Versace <[email protected]> | ||||
* | egl_dri2: set ctx->WindowRenderBuffer | Chia-I Wu | 2011-08-31 | 1 | -0/+6 |
| | | | | | | | | | Set ctx->WindowRenderBuffer to EGL_BACK_BUFFER. As EGL_WINDOW_BIT of a config is set only when there is dri_double_buffer, that makes sure window surfaces are always double-buffered and contexts will render to the back buffer. Reviewed-by: Chad Versace <[email protected]> | ||||
* | android: add support for egl_dri2 | Chia-I Wu | 2011-08-28 | 1 | -0/+50 |
| | | | | | | | Add rules to build egl_dri2 and make it a built-in EGL driver of libGLES_mesa. Reviewed-by: Chad Versace <[email protected]> | ||||
* | egl_dri2: add support for Android | Chia-I Wu | 2011-08-28 | 3 | -0/+749 |
| | | | | | | | | | | | | | | | | | | | | | | Add platform_android.c that supports _EGL_PLAFORM_ANDROID. It works with drm_gralloc, where back buffers of windows are backed by GEM objects. In Android a native window has a queue of back buffers allocated by the server, through drm_gralloc. For each frame, EGL needs to dequeue the next back buffer render to the buffer enqueue the buffer After enqueuing, the buffer is no longer valid to EGL. A window has no depth buffer or other aux buffers. They need to be allocated locally by EGL. Reviewed-by: Benjamin Franzke <[email protected]> Reviewed-by: Chad Versace <[email protected]> [olv: with assorted minor changes, mostly suggested during the review] | ||||
* | egl_dri2: allow RGBA masks to be specified for matching | Chia-I Wu | 2011-08-28 | 5 | -5/+27 |
| | | | | | | | | 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 <[email protected]> | ||||
* | dri2: Add __DRI_BUFFER_COUNT token | Benjamin Franzke | 2011-08-16 | 1 | -2/+0 |
| | | | | | | | Remove definition from egl_dri2. Defining this is egl_dri2.h breaks as soon as a new dri2 buffer token is added like with commit 4501a5d6e8d00fd0d87625352ed5ba1a8861f72e. | ||||
* | Destroy context in dri2/glx driver when apps call eglDestroyContext | Cooper Yuan | 2011-08-14 | 2 | -2/+38 |
| | |||||
* | egl/gbm: Fix EGL_DEFAULT_DISPLAY | Benjamin Franzke | 2011-08-04 | 3 | -2/+31 |
| | |||||
* | Rename swrastg_dri to swrast_dri | Marek Olšák | 2011-07-14 | 1 | -5/+0 |
| | | | | | I prefer it this way and it has been suggested earlier by others too. Opinions? | ||||
* | Fixes for leaks reported by cppcheck. | Völgyes Dávid | 2011-07-06 | 2 | -2/+7 |
| | |||||
* | egl_dri2: Fix compilation if udev devel files are not installed | Benjamin Franzke | 2011-07-02 | 1 | -0/+4 |
| | | | | NOTE: This is a candidate for the 7.11 branch. | ||||
* | egl: add copyright notices | Chia-I Wu | 2011-07-02 | 1 | -12/+14 |
| | | | | | The list of copyright holders could be incomplete. Please update directly or notify me if your name is missing. | ||||
* | egl: Fix Terminate with shared gbm screens | Benjamin Franzke | 2011-06-27 | 2 | -2/+7 |
| | | | | NOTE: This is a candidate for the 7.11 branch. | ||||
* | egl_dri2: Build drm platform only if enabled | Benjamin Franzke | 2011-06-24 | 2 | -1/+8 |
| | |||||
* | egl_dri2: Hookup gbm as drm platform | Benjamin Franzke | 2011-06-23 | 4 | -61/+127 |
| | |||||
* | egl_dri2/wayland: Hook up new buffer.release event | Benjamin Franzke | 2011-06-21 | 2 | -16/+127 |
| | |||||
* | wayland: Pass use_invalidate extension to driver | Kristian Høgsberg | 2011-06-20 | 2 | -2/+3 |
| | |||||
* | egl_dri2/x11: Check availability of the dri2 extension | Benjamin Franzke | 2011-06-20 | 1 | -0/+9 |
| | | | | | Do this before query versions, or xcb will shutdown and the connection can not be used for swrast. | ||||
* | egl_dri2: try swrastg_dri if swrast_dri fails | Chia-I Wu | 2011-06-13 | 1 | -0/+6 |
| | | | | Per libGL. | ||||
* | egl_dri2: add dri2_load_driver_swrast | Chia-I Wu | 2011-06-13 | 3 | -19/+44 |
| | | | | | Refactor dri2_load_driver and add dri2_load_driver_swrast for loading swrast DRI driver. | ||||
* | egl_dri2: Compare configs before matching them | Benjamin Franzke | 2011-06-12 | 1 | -1/+13 |
| | | | | | This compares attribs like buffer size, and will prevent merging unequal configs because of match criterion is e.g. ATLEAST. | ||||
* | egl_dri2/wayland: Add support for EGL_DEFAULT_DISPLAY | Benjamin Franzke | 2011-06-12 | 2 | -3/+23 |
| | |||||
* | egl_dri2: Add missing header | Benjamin Franzke | 2011-06-07 | 1 | -0/+1 |
| | |||||
* | egl_dri2: Add missing license | Benjamin Franzke | 2011-06-07 | 1 | -0/+28 |
| | |||||
* | egl_dri2: Use libudev only if available | Benjamin Franzke | 2011-06-07 | 1 | -2/+7 |
| | | | | Broken since 7f881c43dfb4f1aeeab3a84125b5c106c191a43f. | ||||
* | egl_dri2: Use external driver pci list | Benjamin Franzke | 2011-06-07 | 4 | -664/+116 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | egl_dri2: Fix usage of bool values | Benjamin Franzke | 2011-05-31 | 1 | -3/+3 |
| | |||||
* | egl_dri2: add new cayman pci ids | Alex Deucher | 2011-05-25 | 1 | -0/+15 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | egl: Recognize Ivybridge PCI IDs. | Kenneth Graunke | 2011-05-17 | 1 | -0/+5 |
| | | | | | Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | egl_dri2: Discard similar configs | Benjamin Franzke | 2011-05-13 | 1 | -4/+2 |
| | |||||
* | egl_dri2: Make it possible to not compile in the X11 platform | Kristian Høgsberg | 2011-05-13 | 3 | -6/+23 |
| | |||||
* | egl/dri2: Avoid unused static functions. | José Fonseca | 2011-05-12 | 1 | -1/+1 |
| | |||||
* | egl/dri2: Prevent uninitialized variable dereference. | José Fonseca | 2011-05-12 | 1 | -2/+5 |
| | |||||
* | egl/dri2: Fix const pointer duplication, prevent unitialized variable ↵ | José Fonseca | 2011-05-12 | 1 | -5/+7 |
| | | | | | | dereference. Based on zhigang gong <[email protected]>'s patch. | ||||
* | egl: Fix int <-> ptr casts. | José Fonseca | 2011-05-12 | 3 | -4/+4 |
| | | | | Based on zhigang gong <[email protected]>'s patch. | ||||
* | Add pci id for FirePro 2270 | Kostas Georgiou | 2011-05-06 | 1 | -0/+1 |
| | | | | Signed-off-by: Kostas Georgiou <[email protected]> | ||||
* | egl_dri2: add new radeon pci ids | Alex Deucher | 2011-05-06 | 1 | -0/+6 |
| | | | | | | | There seriously needs to be a better way to do this. Signed-off-by: Alex Deucher <[email protected]> | ||||
* | egl: Add a cursor use bit to MESA_drm_image | Kristian Høgsberg | 2011-05-06 | 1 | -1/+4 |
| | |||||
* | egl/wayland-drm: Generalize interface | Benjamin Franzke | 2011-05-06 | 1 | -17/+54 |
| | | | | Do not depend on _EGLDisplay and _EGLImage. | ||||
* | egl/wayland: Fix possible lockup in drm initialization | Benjamin Franzke | 2011-04-29 | 1 | -1/+1 |
| | | | | Lockup happens when wl_drm interface is not available. | ||||
* | egl/wayland: Update to buffer.damage addition | Benjamin Franzke | 2011-04-22 | 1 | -0/+2 |
| | |||||
* | egl_dri2: Create wl_buffers for pixmap surfaces | Benjamin Franzke | 2011-04-22 | 1 | -12/+21 |
| | | | | Needed since wayland-egl doesnt do this anymore. | ||||
* | egl/wayland: Fix prefixes for interface names | Benjamin Franzke | 2011-04-22 | 1 | -2/+2 |
| |