Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | android: build core EGL | Chia-I Wu | 2011-08-21 | 1 | -0/+64 |
| | | | | | | This builds the static library libmesa_egl from core EGL. Reviewed-by: Chad Versace <[email protected]> | ||||
* | egl: add Android-specific extensions | Chia-I Wu | 2011-08-21 | 4 | -0/+39 |
| | | | | | | | | Add EGL_ANDROID_image_native_buffer and EGL_ANDROID_swap_rectangle. There is no spec for them though. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Chad Versace <[email protected]> | ||||
* | egl: add _EGL_PLATFORM_ANDROID | Chia-I Wu | 2011-08-21 | 2 | -1/+3 |
| | | | | | | | This is Android Gingerbread platform. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Chad Versace <[email protected]> | ||||
* | egl: Add include paths for platform autodetection | Benjamin Franzke | 2011-08-16 | 1 | -0/+2 |
| | | | | | | Needed since commit 85fe9484. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40145 | ||||
* | 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. | ||||
* | egl: Log (debug) native platform type | Benjamin Franzke | 2011-08-15 | 1 | -12/+25 |
| | | | | Reviewed-by: Kristian Høgsberg <[email protected]> | ||||
* | egl: Native Display autodetection | Benjamin Franzke | 2011-08-15 | 4 | -8/+115 |
| | | | | | | | | | | | | | | | | | | | | | | | | EGL doesnt define howto manage different native platforms. So mesa has a builtime configurable default platform, whith non-standard envvar (EGL_PLATFORM) overwrites. This caused unneeded bugreports, when EGL_PLATFORM was forgotten. Detection is grouped into basic types of NativeDisplays (which itself needs to be detected). The final decision is based on characteristcs of these basic types: File Desciptor based platforms (fbdev): - fstat(2) to check for being a fd that belongs to a character device - check kernel subsystem (todo) Pointer to structuctures (x11, wayland, drm/gbm): - mincore(2) to check whether its valid pointer to some memory. - magic elements (e.g. pointers to exported symbols): o wayland display stores interface type pointer (first elm.) o gbm stores pointer to its constructor (first elm.) o x11 as a fallback (FIXME?) Reviewed-by: Kristian Høgsberg <[email protected]> | ||||
* | 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 |
| | |||||
* | egl: EGL_MATCH_NATIVE_NATIVE_PIXMAP cannot be EGL_DONT_CARE | Chia-I Wu | 2011-07-29 | 1 | -2/+3 |
| | |||||
* | egl: make pixmaps and pbuffers EGL_BUFFER_PRESERVED | Chia-I Wu | 2011-07-29 | 1 | -1/+3 |
| | | | | eglSwapBuffers is no-op to these surface types anyway. | ||||
* | wayland-drm: Add copyright notice to protocol | Benjamin Franzke | 2011-07-27 | 1 | -0/+27 |
| | | | | Fixes build since wayland 986703ac7365bc87a5501714adb9fc73157c62b7. | ||||
* | 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 | 3 | -2/+8 |
| | |||||
* | 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 | 38 | -49/+1054 |
| | | | | | The list of copyright holders could be incomplete. Please update directly or notify me if your name is missing. | ||||
* | egl: fix a compiler warning | Chia-I Wu | 2011-07-01 | 1 | -0/+1 |
| | |||||
* | 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: fix EGL_MATCH_NATIVE_PIXMAP | Chia-I Wu | 2011-06-25 | 1 | -2/+10 |
| | | | | | EGL_MATCH_NATIVE_PIXMAP is valid for eglChooseConfig, but invalid for eglGetConfigAttrib. | ||||
* | egl: make implementing eglChooseConfig easier | Chia-I Wu | 2011-06-25 | 2 | -27/+57 |
| | | | | | Add a new helper function, _eglFilterConfigArray, for drivers and hide _eglSortConfigs. | ||||
* | 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 | 5 | -61/+131 |
| | |||||
* | egl_dri2/wayland: Hook up new buffer.release event | Benjamin Franzke | 2011-06-21 | 3 | -18/+129 |
| | |||||
* | 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. | ||||
* | wayland-drm: remove depend on "make clean" | Chia-I Wu | 2011-06-13 | 1 | -0/+1 |
| | |||||
* | 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]> | ||||
* | wayland-drm: Check visual for being NULL | Benjamin Franzke | 2011-05-31 | 1 | -1/+1 |
| | |||||
* | egl_dri2: Fix usage of bool values | Benjamin Franzke | 2011-05-31 | 1 | -3/+3 |
| | |||||
* | wayland-egl: Remove left-over headers and struct | Benjamin Franzke | 2011-05-31 | 2 | -27/+1 |
| | |||||
* | egl_dri2: add new cayman pci ids | Alex Deucher | 2011-05-25 | 1 | -0/+15 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | wayland-drm: Use new generic error event | Kristian Høgsberg | 2011-05-19 | 2 | -16/+17 |
| | |||||
* | wayland: Fix link order for libwayland-drm.a | Kristian Høgsberg | 2011-05-18 | 1 | -4/+4 |
| | |||||
* | 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: Compile wayland-drm.a into libEGL independent of egl_dri2 | Benjamin Franzke | 2011-05-16 | 1 | -3/+4 |
| | | | | Fixes egl_gallium when egl_dri2 is not enabled. | ||||
* | 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 | 4 | -7/+28 |
| | |||||
* | 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 | 4 | -5/+5 |
| | | | | Based on zhigang gong <[email protected]>'s patch. | ||||
* | egl/wayland: Follow wl_resource_destroy changes | Benjamin Franzke | 2011-05-06 | 1 | -1/+1 |
| | |||||
* | Add pci id for FirePro 2270 | Kostas Georgiou | 2011-05-06 | 1 | -0/+1 |
| | | | | Signed-off-by: Kostas Georgiou <[email protected]> |