- 03 Apr, 2012 1 commit
-
-
Benjamin Franzke authored
-
- 27 Mar, 2012 3 commits
-
-
Benjamin Franzke authored
As commit 03eca9d9 does for egl_dri2.
-
Benjamin Franzke authored
Also fixes the usage of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, which may be set to a BGRA format e.g. for a MESA_FORMAT_ARGB8888 fb. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
Benjamin Franzke authored
The extension is already exposed for GLES1, but the APIspec doesnt allow the usage of GL_BGRA_EXT in glTex(Sub)Image2D. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 07 Mar, 2012 1 commit
-
-
Benjamin Franzke authored
That is by making the dri extension variables static in gbm_dri.c. The image_lookup_extension is provided by egl_dri2 when using x11 or wayland platforms, when using the drm platform, gbm_dri has a wrapper for it. Both use the same variables name image_lookup_extension. Since -fvisibility=hidden was (probably by mistake) removed when converting to automake, the "image_lookup_extension" symbol from egl_dri2.c became exported in libEGL.so, so "image_lookup_extension" from gbm_dri.c was ignored. This resulted in calling incorrect callbacks. We cant make the image_lookup_extension static in egl_dri2.c right now, since its used across multiple files. Bugzilla: https://bugs.freedesktop.org/attachment.cgi?id=58099 Reviewed-by:
Kristian Høgsberg <krh@bitplanet.net>
-
- 05 Mar, 2012 3 commits
-
-
Benjamin Franzke authored
That is when building with --disable-opengl. Fix for commit cb045880 . CC: Paul Berry <stereotype441@gmail.com> Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
Benjamin Franzke authored
That is when building with --disable-opengl. Fix for commit c5f4024a . CC: Chad Versace <chad@chad-versace.us> Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
Benjamin Franzke authored
This replaces the previously used wl_display_destroy. wl_display_destroy was povided by wayland-client.so and wayland-server.so, to resolve that conflict its renamed client-side.
-
- 30 Jan, 2012 1 commit
-
-
Benjamin Franzke authored
Prior commit 57616128, the parameter format was bpp, thus both 24bit and 32bit formats were requested with format set to 32. Handle 24bit seperately now. Fixes RGBX formats in wayland platform for egl_dri2 (EGL_ALPHA_SIZE=0). Note: This is a candidate for the 8.0 branch.
-
- 26 Jan, 2012 3 commits
-
-
Benjamin Franzke authored
They were left out when migrating to automake.
-
Benjamin Franzke authored
This has the drawback that when creating configure for distribution, wayland needs to be available for the packager. Also the the macros has the wayland prefix hardcoded, so we cant copy it in mesa right now.
-
Benjamin Franzke authored
So we can use the wayland scanner makro, which is way better than our previous runtime-pkgconfig hack. Reviewed-by:
Matt Turner <mattst88@gmail.com>
-
- 25 Jan, 2012 1 commit
-
-
Benjamin Franzke authored
A current incomplete framebuffer was incorrectly used as a st_framebuffer. When accessing st_framebuffer childs bad things happen: e.g. st_framebuffer::iface was used to check whether its an incomplete fb, instead we need to compare st_framebuffer::Base against mesa_get_incomplete_framebuffer. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44919 Note: This is a candidate for the 8.0 branch. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 24 Jan, 2012 3 commits
-
-
Benjamin Franzke authored
GBM_BACKEND_INSTALL_DIR was deleted by commit 06ad64ad. Since we dont need this configurable, use $(INSTALL_LIB_DIR)/gbm now.
-
Benjamin Franzke authored
Builtins are handled by the main gbm Makefile since 06ad64ad.
-
Benjamin Franzke authored
Add src/gbm/.libs to ldflags. The gbm lib is src/gbm/.libs/ instead of lib/ as of commit 06ad64ad.
-
- 13 Dec, 2011 1 commit
-
-
Benjamin Franzke authored
Free the device_name, reported by Pekka Paalanen. Destroy wayland display and drm resources, if created by dri2_initialize_wayland.
-
- 02 Nov, 2011 4 commits
-
-
Benjamin Franzke authored
Missed one casting error due to rebase for commit 98aa2a8f.
-
Benjamin Franzke authored
This is a cleanup of commit 02f1b509. 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 <sabercrombie@chromium.org> CC: Stéphane Marchesin <marcheu@chromium.org>
-
Benjamin Franzke authored
This reverts commit 569bde1f. CC: Stuart Abercrombie <sabercrombie@chromium.org> CC: Stéphane Marchesin <marcheu@chromium.org>
-
Benjamin Franzke authored
This reverts commit 02f1b509. CC: Stuart Abercrombie <sabercrombie@chromium.org> CC: Stéphane Marchesin <marcheu@chromium.org>
-
- 08 Sep, 2011 2 commits
-
-
Benjamin Franzke authored
Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with alpha support premultiplied alpha. (Based on Chia-I Wu's patch) [olv: remove the use of param_premultiplied_alpha from the original patch]
-
Benjamin Franzke authored
Handle "format" events and return configs for the supported formats. (Based on Chia-I Wu's patch) [olv: update and explain why PIPE_FORMAT_B8G8R8A8_UNORM should not be enabled without HAS_ARGB32]
-
- 01 Sep, 2011 2 commits
-
-
Benjamin Franzke authored
-
Benjamin Franzke authored
c661ecce introduced some not-yet-upstream stuff.
-
- 31 Aug, 2011 1 commit
-
-
Benjamin Franzke authored
Was only used in platform_wayland, and the remaining egl stack uses _EGLSurface::Type with one of EGL_{WINDOW,PIXMAP,PBUFFER}_BIT.
-
- 29 Aug, 2011 1 commit
-
-
Benjamin Franzke authored
Since they are needed for display autodetection. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40443
-
- 16 Aug, 2011 2 commits
-
-
Benjamin Franzke authored
Needed since commit 85fe9484. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40145
-
Benjamin Franzke authored
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 4501a5d6.
-
- 15 Aug, 2011 2 commits
-
-
Benjamin Franzke authored
Reviewed-by:
Kristian Høgsberg <krh@bitplanet.net>
-
Benjamin Franzke authored
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 <krh@bitplanet.net>
-
- 04 Aug, 2011 2 commits
-
-
Benjamin Franzke authored
-
Benjamin Franzke authored
This avoids the following runtime error with EGL on platforms that require linking with libm for nontrivial math functions: failed to load module: /xorg/lib64/gbm/gbm_gallium_drm.so: undefined symbol: powf (Based on Kristóf RALOVICHs patch and Ian's suggestions in http://lists.freedesktop.org/archives/mesa-dev/2011-August/010036.html)
-
- 27 Jul, 2011 1 commit
-
-
Benjamin Franzke authored
Fixes build since wayland 986703ac7365bc87a5501714adb9fc73157c62b7.
-
- 25 Jul, 2011 1 commit
-
-
Benjamin Franzke authored
egl_dri2 built into libEGL depends on libgbm. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39515
-
- 02 Jul, 2011 4 commits
-
-
Benjamin Franzke authored
NOTE: This is a candidate for the 7.11 branch.
-
Benjamin Franzke authored
NOTE: This is a candidate for the 7.11 branch.
-
Benjamin Franzke authored
NOTE: This is a candidate for the 7.11 branch.
-
Benjamin Franzke authored
NOTE: This is a candidate for the 7.11 branch.
-
- 27 Jun, 2011 1 commit
-
-
Benjamin Franzke authored
NOTE: This is a candidate for the 7.11 branch.
-