[Mesa-dev] [PATCH 11/11] android: egl: do not link against libglapi
maraeo at gmail.com
Mon Jun 22 11:46:54 PDT 2015
Yes, I think we need to support every loader/driver combination, but
I'm not sure.
Ian, please how much do we care about compatibility between loaders
(libGL, libEGL) and DRI drivers?
On Mon, Jun 22, 2015 at 8:04 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Niiice, thank you. For most drivers - gallium, i965 this is
> implemented, leaving nouveau_vieux, radeon, r200 and i915. From these
> i915 does work with EGL, while nouveau_vieux dies miserably (missing
> __DRI_IMAGE v7 iirc). How well does radeon/r200 fair ?
> So as a nice starter task one can, modify EGL to use flush_with_flags
> and fall-back do glFlush. Hmm... seems perfect for Google Code-In
> (junior GSoC). The application for mentoring org. is around October,
> perhaps we can give it a bash :-)
> You did bring a very nice topic though... up-to when are we going to
> support every loader/dri module combination out there ?
> On 21 June 2015 at 10:22, Marek Olšák <maraeo at gmail.com> wrote:
>> FWIW, flushing can be done through
>> flush_with_flags(__DRI2_FLUSH_CONTEXT), so glFlush shouldn't be
>> needed, but some drivers don't implement flush_with_flags and I've
>> heard libEGL and libGL need to support DRI drivers from older Mesas too.
>> On Fri, Jun 19, 2015 at 9:56 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> The only reason we touch glapi is to dlopen it to:
>>> - make sure that the unresolved _glapi* symbols in the dri modules are
>>> - fetch glFlush() and use it at various stages in the dri2 driver.
>>> XXX: If anyone has suggestions why the latter is required (or can
>>> recommend any reading material) I'm all ears.
>>> Cc: Chih-Wei Huang <cwhuang at linux.org.tw>
>>> Cc: Eric Anholt <eric at anholt.net>
>>> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
>>> src/egl/main/Android.mk | 1 -
>>> 1 file changed, 1 deletion(-)
>>> diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk
>>> index 8f687e9..0ba7295 100644
>>> --- a/src/egl/main/Android.mk
>>> +++ b/src/egl/main/Android.mk
>>> @@ -44,7 +44,6 @@ LOCAL_CFLAGS := \
>>> LOCAL_SHARED_LIBRARIES := \
>>> - libglapi \
>>> libdl \
>>> libhardware \
>>> liblog \
>>> mesa-dev mailing list
>>> mesa-dev at lists.freedesktop.org
More information about the mesa-dev