Re: [Mesa-dev] Mesa 19.2.0 release plan

2019-08-21 Thread Emil
ou have noticed I've rolled our RC1 just after your email went out. From a quick look we are talking about 20 or so patches. I'm fine with cherry-picking the work for RC2 if we get a couple of acks. We had the odd exception in the past, I see no reason why we cannot do one here GL4.6 is a wo

Re: [Mesa-dev] Mesa 19.2.0 release plan

2019-08-21 Thread Emil
one here - GL4.6 is a worthy addition :-) Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 5/7] targets/nine: link against libnir/libglsl_util

2015-06-10 Thread Emil Velikov
Based on commit 101142c4010(xa: support for drivers which use NIR) Cc: "10.6" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90466 Signed-off-by: Emil Velikov --- src/gallium/targets/d3dadapter9/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/galli

[Mesa-dev] [PATCH 2/7] gallium: use $(top_builddir) when referencing static archives

2015-06-10 Thread Emil Velikov
Just like every other place in gallium. Signed-off-by: Emil Velikov --- src/gallium/drivers/freedreno/Makefile.am | 2 +- src/gallium/drivers/nouveau/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/freedreno/Makefile.am b/src/gallium

[Mesa-dev] [PATCH 6/7] mesa: build xmlconfig to a separate static library

2015-06-10 Thread Emil Velikov
t -Wl,--allow-multiple-definition. v2: [Emil Velikov] - Fix the Scons/Android build. - Resolve libgbm build issues (bring back the missing -lm) Cc: Julien Isorce Cc: "10.5 10.6" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90310 Bugzilla: https://bugs.freedesktop.org/show_b

[Mesa-dev] [PATCH 1/7] freedreno: use CXX linker rather than explicit link against libstdc++

2015-06-10 Thread Emil Velikov
Cc: Rob Clark Cc: "10.6" Signed-off-by: Emil Velikov --- src/gallium/drivers/freedreno/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/Makefile.am b/src/gallium/drivers/freedreno/Makefile.am index 4b2629f..e798e44 10

[Mesa-dev] [PATCH 4/7] pipe-loader: add libnir and libglsl_util to the link

2015-06-10 Thread Emil Velikov
Based on commit 101142c4010(xa: support for drivers which use NIR) Cc: Rob Clark Cc: "10.6" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90466 Signed-off-by: Emil Velikov --- src/gallium/targets/pipe-loader/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff -

[Mesa-dev] [PATCH 3/7] mesa; add a dummy _mesa_error_no_memory() symbol to libglsl_util

2015-06-10 Thread Emil Velikov
Rather than forcing everyone to provide their own definition of the symbol provide a common (dummy) one. This helps us resolve the build of the standalone pipe-drivers (amongst others), which are missing the symbol. Cc: Rob Clark Cc: "10.6" Signed-off-by: Emil Velikov --- src/M

[Mesa-dev] [PATCH 7/7] vc4: automake: enable subdir-objects

2015-06-10 Thread Emil Velikov
Silence the warnings about the future incompatibility with automake 2.0 Cc: Eric Anholt Signed-off-by: Emil Velikov --- src/gallium/drivers/vc4/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/vc4/Makefile.am b/src/gallium/drivers/vc4/Makefile.am index

Re: [Mesa-dev] Request for Mentorship

2015-06-10 Thread Emil Velikov
days :-) I even recall naggin' on Dylan when things broke on an occasion or two. -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v3] egl/dri2: implement platform_surfaceless (v3)

2015-06-10 Thread Emil Velikov
i + 1, EGL_WINDOW_BIT, attr_list, NULL); > + } > + > + disp->Extensions.KHR_image_base = EGL_TRUE; > + > + /* we're supporting EGL 1.4 */ > + disp->VersionMajor = 1; > + disp->VersionMinor = 4; > + Marek had a patch that drops these

Re: [Mesa-dev] Request for Mentorship

2015-06-10 Thread Emil Velikov
On 10 June 2015 at 23:56, Rob Clark wrote: > On Wed, Jun 10, 2015 at 7:28 PM, Emil Velikov > wrote: >> On 5 June 2015 at 22:08, Rob Clark wrote: >>> so, maybe a bit off topic (and maybe doesn't really help with the >>> whole finding a mentor thing).

Re: [Mesa-dev] [PATCH v3] egl/dri2: implement platform_surfaceless (v3)

2015-06-11 Thread Emil Velikov
On 11 June 2015 at 10:02, Marek Olšák wrote: > On Thu, Jun 11, 2015 at 1:59 AM, Emil Velikov > wrote: >> Hi gents, >> >> On 10 June 2015 at 23:20, Zach Reizner wrote: >>> From: Haixia Shi >>> >>> The surfaceless platform is for off-scr

Re: [Mesa-dev] [PATCH v3] egl/dri2: implement platform_surfaceless

2015-06-11 Thread Emil Velikov
tribs *attrs) > { > @@ -1862,7 +1869,7 @@ dri2_create_image_khr(_EGLDriver *drv, _EGLDisplay > *disp, > case EGL_WAYLAND_BUFFER_WL: >return dri2_create_image_wayland_wl_buffer(disp, ctx, buffer, > attr_list); > #endif > -#ifdef HAVE_LIBDRM > +#if

[Mesa-dev] [PATCH 01/10] egl/haiku: use correct version variable

2015-06-11 Thread Emil Velikov
Earlier commitfolded the two separate variables into one, but forgot to update the haiku driver. Fixes: 0e4b564ef28(egl: combine VersionMajor and VersionMinor into one variable) Cc: Marek Olšák > Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/egl_haiku.cpp

[Mesa-dev] [PATCH 04/10] egl/haiku: handle memory allocation failure

2015-06-11 Thread Emil Velikov
Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/egl_haiku.cpp | 35 --- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index 36e1277

[Mesa-dev] [PATCH 05/10] egl/haiku: remove unused variables in struct haiku_egl_driver

2015-06-11 Thread Emil Velikov
Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/egl_haiku.cpp | 4 1 file changed, 4 deletions(-) diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index 760ee45..cfe8817 100644 --- a/src/egl/drivers/haiku

[Mesa-dev] [PATCH 06/10] egl/haiku: we don't use src/loader, drop all the references to it

2015-06-11 Thread Emil Velikov
Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/SConscript| 5 - src/egl/drivers/haiku/egl_haiku.cpp | 3 --- 2 files changed, 8 deletions(-) diff --git a/src/egl/drivers/haiku/SConscript b/src/egl/drivers/haiku/SConscript index 9dd2f70..ec6020e 100644

[Mesa-dev] [PATCH 09/10] egl/haiku: plug some obvious memory leaks

2015-06-11 Thread Emil Velikov
Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/egl_haiku.cpp | 32 +--- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index 154b3af..da72895

[Mesa-dev] [PATCH 08/10] egl/haiku: minor surface management cleanups

2015-06-11 Thread Emil Velikov
Drop the stub/unused function haiku_create_surface() and add some basic implementation for destroy_surface() Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/egl_haiku.cpp | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src

[Mesa-dev] [PATCH 02/10] egl/haiku: remove commented out code

2015-06-11 Thread Emil Velikov
It serves little to no purpose. As the driver gets updated, one can look at the existing implementation (dri2) for reference rather than letting the commented functions bitrot. Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/egl_haiku.cpp | 93

[Mesa-dev] [PATCH 10/10] egl/haiku: coding style fixes

2015-06-11 Thread Emil Velikov
Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/egl_haiku.cpp | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index da72895..3d00e47 100644 --- a/src/egl

[Mesa-dev] [PATCH 07/10] egl/haiku: kill off haiku_log()

2015-06-11 Thread Emil Velikov
It's an incompletecopy of the default _eglLog() implementation. Just use the default logger. Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/egl_haiku.cpp | 24 1 file changed, 24 deletions(-) diff --git a/src/egl/drivers/

[Mesa-dev] [PATCH 03/10] egl/haiku: use CALL/TRACE/ERROR over _eglLog() for haiku specifics

2015-06-11 Thread Emil Velikov
Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/egl/drivers/haiku/egl_haiku.cpp | 64 ++--- 1 file changed, 39 insertions(+), 25 deletions(-) diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index b09239c

Re: [Mesa-dev] [PATCH 01/10] egl/haiku: use correct version variable

2015-06-11 Thread Emil Velikov
missing parts are welcome :-) -Emil On 11 June 2015 at 13:15, Emil Velikov wrote: > Earlier commitfolded the two separate variables into one, but forgot to > update the haiku driver. > > Fixes: 0e4b564ef28(egl: combine VersionMajor and VersionMinor into one > variable) > Cc:

Re: [Mesa-dev] [PATCH 6/7] mesa: build xmlconfig to a separate static library

2015-06-12 Thread Emil Velikov
On 11 June 2015 at 00:19, Matt Turner wrote: > On Wed, Jun 10, 2015 at 3:54 PM, Emil Velikov > wrote: >> From: Erik Faye-Lund >> >> As we use the file from both the dri modules and loader, we end up with >> multiple definition of the symbols provid

Re: [Mesa-dev] [PATCH] egl/drm: Try to use CLOEXEC for drm fds

2015-06-12 Thread Emil Velikov
gt; > + flags = fcntl(dri2_dpy->fd, F_GETFD); > + if (flags >= 0 && !(flags & FD_CLOEXEC)) > + fcntl(fd, F_SETFD, flags | FD_CLOEXEC); > + In other places in mesa we explicitly check for EINVAL if open() fails, and use that as indication that O_CLOEXEC is not s

Re: [Mesa-dev] [PATCH 3/4] vc4: Add support for building on Android.

2015-06-12 Thread Emil Velikov
c4, $(MESA_GPU_DRIVERS)),) > +SUBDIRS += winsys/vc4/drm drivers/vc4 > +endif > + > # vmwgfx > ifneq ($(filter vmwgfx, $(MESA_GPU_DRIVERS)),) > SUBDIRS += winsys/svga/drm drivers/svga > diff --git a/src/gallium/drivers/vc4/Android.mk > b/src/gallium/drivers/vc4/Android.mk > new fil

Re: [Mesa-dev] [PATCH 4/4] gallium: Drop the gallium-specific Android sw winsys.

2015-06-12 Thread Emil Velikov
ressed, the series is Reviewed-by: Emil Velikov /me now runs to updates the "die gallium_dri.so, die" patches -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] egl/drm: Try to use CLOEXEC for drm fds

2015-06-12 Thread Emil Velikov
On 12/06/15 19:05, Derek Foreman wrote: > On 12/06/15 11:29 AM, Emil Velikov wrote: >> Hi Derek, > > Hi, thanks for looking at this. :) > Props goes to Matt, for the reminder. It kind of fell of my radar. >> On 1 May 2015 at 18:34, Derek Foreman wrote: >>>

Re: [Mesa-dev] [PATCH v6] egl/dri2: implement platform_surfaceless

2015-06-12 Thread Emil Velikov
nimum requirement (kernel 2.6.23 and glibc 2.7) were released in 2007. I'm finding it hard to believe that anyone uses older kernel/glibc than that, although I don't know AMD/Intel's POV on supporting such setups. Whereas for other platforms - *BSD, Solaris, Haiku, Darwin/MacOS, Cygwin... we can check/confirm as we fold the duplication. -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v5] egl/dri2: implement platform_surfaceless

2015-06-12 Thread Emil Velikov
ture work, although feel free to add, fwiw Reviewed-by: Emil Velikov > --- > configure.ac| 6 ++ > src/egl/drivers/dri2/Makefile.am| 5 + > src/egl/drivers/dri2/egl_dri2.c | 7 ++ > src/egl/drivers/dr

Re: [Mesa-dev] [PATCH 2/2] egl/glx: Use helper function to open devices to ensure CLOEXEC is set

2015-06-12 Thread Emil Velikov
"surfaceless" will land on Monday, so better wait for that one to land as well) 3) Use in libGL I'll throw in with similar patches for VL (for the video targets/drivers) and pipe-loader (OpenCL). Thank you Emil ___ mesa-dev mailing list

[Mesa-dev] Mesa 10.6.0

2015-06-15 Thread Emil Velikov
: ftp://ftp.freedesktop.org/pub/mesa/10.6.0/mesa-10.6.0.tar.xz.sig -- -Emil signature.asc Description: OpenPGP digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] Mesa 10.6.0

2015-06-15 Thread Emil Velikov
: ftp://ftp.freedesktop.org/pub/mesa/10.6.0/mesa-10.6.0.tar.xz.sig -- -Emil signature.asc Description: OpenPGP digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] configure.ac: rename LLVM_VERSION_PATCH to avoid conflict with llvm-config.h

2015-06-16 Thread Emil Velikov
lready sets LLVM_VERSION_PATCH shouldn't we be using it, rather than setting our own ? Perhaps we can drop the define altogether, considering that we're not using it ? Cheers, Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 5/6] mesa: don't rebind constant buffers after every state change if GS is active

2015-06-16 Thread Emil Velikov
Hi Marek, Out of curiosity: Any rough idea of how much of a perf. improvement this might bring ? Would the hardware ignore the newly (re)bound const. bufs, when the values are unchanged ? Thanks Emil ___ mesa-dev mailing list mesa-dev

Re: [Mesa-dev] [Mesa-stable] [PATCH] egl/x11: Set version of swrastLoader to 2

2015-06-18 Thread Emil Velikov
ents instead of the newest version defined in >> dri_interface.h >> >> Cc: "10.5 10.6" >> Signed-off-by: Boyan Ding Reviewed-by: Emil Velikov and committed to master. Thanks ! Emil ___ mesa-dev mailing list mesa-de

Re: [Mesa-dev] [Mesa-stable] [PATCH] egl/x11: Remove duplicate call to dri2_x11_add_configs_for_visuals

2015-06-18 Thread Emil Velikov
believe you're bang on the spot here. The latter commit mentions only about the renaming, so it seems that the hunk got back in as the patch was rebased. Adding Chad to the Cc list, just in case we've missed something :-) Fwiw the patch is Reviewed

Re: [Mesa-dev] [PATCH 5/6] mesa: don't rebind constant buffers after every state change if GS is active

2015-06-18 Thread Emil Velikov
ot; in the pipeline, due to the "new" values being flushed/fetched/etc. Now that I think about it, only a few of the HW guys may know the answer on this one, so don't bother with this. Thanks Emil On 16 June 2015 at 20:56, Marek Olšák wrote: > There are probably 0 apps using GS,

Re: [Mesa-dev] [PATCH] configure.ac: rename LLVM_VERSION_PATCH to avoid conflict with llvm-config.h

2015-06-18 Thread Emil Velikov
On 16 June 2015 at 20:18, Tom Stellard wrote: > On Tue, Jun 16, 2015 at 08:07:57PM +0100, Emil Velikov wrote: >> On 13 June 2015 at 19:16, Marek Olšák wrote: >> > From: Marek Olšák >> > >> > --- >> > configure.ac | 2 +- >> > 1 file changed

[Mesa-dev] New stable-branch 10.5 candidate pushed

2015-06-18 Thread Emil Velikov
his Friday(19th of June). If you have any questions or comments that you would like to share before the release, please go ahead. Cheers, Emil Mesa stable queue - Nominated (10) == Boyan Ding (2): egl/x11: Remove duplicate call to dri2_x11_add_configs_for_vis

Re: [Mesa-dev] [PATCH] configure.ac: rename LLVM_VERSION_PATCH to avoid conflict with llvm-config.h

2015-06-18 Thread Emil Velikov
On 18 June 2015 at 13:32, Marek Olšák wrote: > We'll need to check the patch version for tessellation and amdgpu. > Did not see that one. Thanks ! -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.

Re: [Mesa-dev] [PATCH 1/5] darwin: Suppress type conversion warnings for GLhandleARB

2015-06-18 Thread Emil Velikov
rc) was that it will break the libglapi ABI. As Jeremy did not see that as a concern perhaps we can revive them and make sure that the ABI change does not happen in the non-Mac world. -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 2/5] applegl: Provide requirements of _SET_DrawBuffers

2015-06-18 Thread Emil Velikov
eglx.la > +libglx_la_LIBADD += \ > + $(builddir)/apple/libappleglx.la \ > + $(top_builddir)/src/mesa/libmesa.la > +nodist_EXTRA_lib@GL_LIB@_la_SOURCES = dummy.cpp Pulling hunks of mesa into libGL does not sounds like a reasonable thing

Re: [Mesa-dev] [PATCH 3/5] egl/dri2: load libglapi.0.dylib on osx

2015-06-18 Thread Emil Velikov
just drop the whole thing. Haven't really looked but do we use glFlush() as a workaround or it's something required by the EGL standard ? Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 4/5] egl: use unix defines on osx with clang

2015-06-18 Thread Emil Velikov
On 18 June 2015 at 06:53, Julien Isorce wrote: > CC egl_dri2.lo > include/EGL/eglplatform.h:135:2: > error: "Platform not recognized" > include/EGL/eglplatform.h:140:9: > error: unknown type name 'EGLNativeDisplayType' > typedef EGLNativeDisplayType NativeDisplayType; > > Bugzilla: https

Re: [Mesa-dev] [PATCH 4/5] egl: use unix defines on osx with clang

2015-06-18 Thread Emil Velikov
On 18 June 2015 at 19:29, Emil Velikov wrote: Sorry about that. Unintentionally hit send ;-\ > On 18 June 2015 at 06:53, Julien Isorce wrote: >> CC egl_dri2.lo >> include/EGL/eglplatform.h:135:2: >> error: "Platform not recognized" >> include/EGL/egl

Re: [Mesa-dev] [PATCH 5/5] osx: fix asm support on darwin

2015-06-18 Thread Emil Velikov
d(SVR4)) && > !defined(ACK_ASSEMBLER) || defined(__ELF__) || defined(__GNU__) || > defined(__GNUC__) && !defined(__MINGW32__) > +#if defined(__QNX__) || defined(Lynx) || (defined(SYSV) || defined(SVR4)) && > !defined(ACK_AS

Re: [Mesa-dev] [PATCH 0/4] CLOEXEC fix-ups

2015-06-18 Thread Emil Velikov
src/loader/loader.c | 6 +++--- > src/loader/loader.h | 3 +++ > 7 files changed, 14 insertions(+), 45 deletions(-) Series looks great. Thanks for the help Derek. Reviewed-by: Emil Velikov Will give it a couple of days, and b

Re: [Mesa-dev] [PATCH] EGL: Add pbuffer support for drm platform

2015-06-18 Thread Emil Velikov
As you come back, please look closer at in dri2_drm_create_surface(). Matt did mention that the !dri2_dpy->dri2 case hasn't been updated, albeit used by swrast. So as-is things will end up pretty bad. Cheers, Emil ___ mesa-dev mailing list mesa-dev@

Re: [Mesa-dev] [PATCH 3/5] egl/dri2: load libglapi.0.dylib on osx

2015-06-19 Thread Emil Velikov
On 19 June 2015 at 00:14, Julien Isorce wrote: > On 18 June 2015 at 19:29, Emil Velikov wrote: >> >> On 18 June 2015 at 06:53, Julien Isorce wrote: >> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90903 >> > Signed-off-by: Julien Isorce >> >

Re: [Mesa-dev] [PATCH 4/5] egl: use unix defines on osx with clang

2015-06-19 Thread Emil Velikov
On 19 June 2015 at 00:23, Julien Isorce wrote: > On 18 June 2015 at 19:33, Emil Velikov wrote: >> >> On 18 June 2015 at 19:29, Emil Velikov wrote: >> Sorry about that. Unintentionally hit send ;-\ >> >> > On 18 June 2015 at 06:53, Julien Isorce wrote: >

Re: [Mesa-dev] [PATCH 2/5] applegl: Provide requirements of _SET_DrawBuffers

2015-06-19 Thread Emil Velikov
change made the regression. > That's one way to get to the bottom of it. Alternatively we can take a look at how other glx (indirect, xlib) handle it. As is, the patch gets a big fat NACK, sorry. Emil ___ mesa-dev mailing list mesa-dev@lis

[Mesa-dev] [PATCH 1/2] glapi: gl_table.py: remove unused variable 'es'

2015-06-19 Thread Emil Velikov
None of the three build systems ever set it, as such we can clear things up a bit. Cc: Dylan Baker Cc: Jose Fonseca Signed-off-by: Emil Velikov --- src/mapi/glapi/gen/gl_table.py | 57 ++ 1 file changed, 8 insertions(+), 49 deletions(-) diff --git a

[Mesa-dev] [PATCH 2/2] glapi: remap_helper.py: remove unused argument 'es'

2015-06-19 Thread Emil Velikov
Identical to the previous commit - unused by neither the Autotools, Android or SCons build. XXX: There are no more users of gl_api.filter_functions_by_api(). Should we just nuke it ? Cc: Dylan Baker Cc: Jose Fonseca Signed-off-by: Emil Velikov --- src/mapi/glapi/gen/remap_helper.py | 8

Re: [Mesa-dev] New stable-branch 10.5 candidate pushed

2015-06-19 Thread Emil Velikov
I've missed them :-( It's a bit late for 10.5.8, but I will scoop them up immediately after the release. Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gbm: dlopen libglapi so gbm_create_device works

2015-06-19 Thread Emil Velikov
Hi Franks, On 9 November 2014 at 15:17, Frank Henigman wrote: > On Sat, Nov 8, 2014 at 7:13 PM, Emil Velikov wrote: >> On 06/11/14 21:29, Frank Henigman wrote: >>> From: Frank Henigman >>> >>> Dri driver libs are not linked to pull in libglapi so gbm_create

Re: [Mesa-dev] [PATCH v2 1/3] nv50/ir: support different unordered_set implementations

2015-06-19 Thread Emil Velikov
_LIBCXX) \ > + $(if $(filter true,$(MESA_LOLLIPOP_BUILD)),-std=c++11) \ Please expand like elsewhere in the build. Additionally this is a C++ only flag, so LOCAL_CPPFLAGS does not sound like the right place. Shame that the Android folk did not like (f'd up) the standard CXXF

Re: [Mesa-dev] [PATCH 3/3] egl/main: expose the EGL_RECORDABLE_ANDROID extension

2015-06-19 Thread Emil Velikov
GL_CHECK_EXTENSION() _eglCreateExtensionsString and making use of the value, rather than just accepting the new token. If you write a piglit test or two that would be amazing :-) Cheers, Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] bugzilla_mesa.sh: sort the bugs list by number

2015-06-19 Thread Emil Velikov
Cc: "10.5 10.6" Suggested-by: Ilia Mirkin Signed-off-by: Emil Velikov --- bin/bugzilla_mesa.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bugzilla_mesa.sh b/bin/bugzilla_mesa.sh index 491ca0e..9b0cbbc 100755 --- a/bin/bugzilla_mesa.sh +++ b/bin/bugzil

[Mesa-dev] [PATCH 00/11] glapi fixes - build whole of mesa with

2015-06-19 Thread Emil Velikov
- libEGL 2) how about other platforms (scons) ? - currently the scons uses static glapi, - would we need the dlopen(...) on windows ? Hope everyone is excited about this one as I am :-) Cheers, Emil ___ mesa-dev mailing lis

[Mesa-dev] [PATCH 02/11] drivers/x11: fix the build against shared_glapi

2015-06-19 Thread Emil Velikov
Cc: Brian Paul Signed-off-by: Emil Velikov --- src/mesa/drivers/x11/Makefile.am | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am index c0596f8..a8847e8 100644 --- a/src/mesa/drivers/x11/Makefile.am +++ b/src/mesa

[Mesa-dev] [PATCH 04/11] configure: allow building shared-glapi powered libgl-xlib

2015-06-19 Thread Emil Velikov
Fonseca Cc: Adam Jackson Signed-off-by: Emil Velikov --- configure.ac | 6 -- 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 5161361..677fb5b 100644 --- a/configure.ac +++ b/configure.ac @@ -941,12 +941,6 @@ x*yes*yes*) ;; esac -# Building Xlib-GLX

[Mesa-dev] [PATCH 06/11] configure: error out when building backend-less libEGL

2015-06-19 Thread Emil Velikov
Signed-off-by: Emil Velikov --- configure.ac | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 677fb5b..8e62bd8 100644 --- a/configure.ac +++ b/configure.ac @@ -1542,8 +1542,12 @@ if test "x$enable_egl" = xyes; then

[Mesa-dev] [PATCH 07/11] configure: error out when building libEGL without shared-glapi

2015-06-19 Thread Emil Velikov
The latter is a hard requirement and without it we'll error out later on in the build. Cc: "10.5 10.6" Signed-off-by: Emil Velikov --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 8e62bd8..56095ba 100644 --- a/con

[Mesa-dev] [PATCH 11/11] android: egl: do not link against libglapi

2015-06-19 Thread Emil Velikov
) I'm all ears. Cc: Chih-Wei Huang Cc: Eric Anholt Signed-off-by: Emil Velikov --- 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

[Mesa-dev] [PATCH 10/11] gbm: do not (over)link against libglapi.so

2015-06-19 Thread Emil Velikov
The whole of GBM does not rely on even a single symbol from the GL dispatch library, unsuprisingly. The only need for it comes from the unresolved symbols in the DRI modules, which are now correctly handled with Frank's commit. Cc: "10.5 10.6" Signed-off-by: Emil Veliko

[Mesa-dev] [PATCH 09/11] gbm: dlopen libglapi so gbm_create_device works

2015-06-19 Thread Emil Velikov
dlopen them. Cc: "10.5 10.6" Signed-off-by: Frank Henigman [Emil Velikov: Drop misleading bugzilla link, mention that libname differs] Reviewed-by: Emil Velikov --- src/gbm/backends/dri/gbm_dri.c | 8 1 file changed, 8 insertions(+) diff --git a/src/gbm/backends/dri/gbm_dri.c

[Mesa-dev] [PATCH 08/11] confiigure: drop unused variable GBM_BACKEND_DIRS

2015-06-19 Thread Emil Velikov
Signed-off-by: Emil Velikov --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 56095ba..ddc757e 100644 --- a/configure.ac +++ b/configure.ac @@ -1507,7 +1507,6 @@ if test "x$enable_gbm" = xyes; then fi if test "x$ena

[Mesa-dev] [PATCH 03/11] targets/libgl-xlib: fix the build against shared_glapi

2015-06-19 Thread Emil Velikov
Cc: Brian Paul Cc: Jose Fonseca Signed-off-by: Emil Velikov --- src/gallium/targets/libgl-xlib/Makefile.am | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/gallium/targets/libgl-xlib/Makefile.am b/src/gallium/targets/libgl-xlib/Makefile.am index 33b0d13..d99caae 100644 --- a/src

[Mesa-dev] [PATCH 01/11] configure: warn about shared_glapi & xlib-glx only when both are set

2015-06-19 Thread Emil Velikov
Printing out the message when shared_glapi is disabled only leads to confusion. Cc: "10.5 10.6" Signed-off-by: Emil Velikov --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3c763c2..5161361 100644 --- a/configur

[Mesa-dev] [PATCH 05/11] drivers/x11: drop unneeded HAVE_X11_DRIVER check

2015-06-19 Thread Emil Velikov
Already handled in the Makefile which includes the drivers/x11 subdir. Signed-off-by: Emil Velikov --- src/mesa/drivers/x11/Makefile.am | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am index a8847e8..ba79f69 100644 --- a

Re: [Mesa-dev] [PATCH 00/11] glapi fixes - build whole of mesa with

2015-06-19 Thread Emil Velikov
On 19 June 2015 at 21:26, Jose Fonseca wrote: > On 19/06/15 20:56, Emil Velikov wrote: >> >> Hi all, >> >> A lovely series inspired (more like 'was awaken to send these out') by >> Pal Rohár, who was having issues when building xlib-libgl (plus the no

[Mesa-dev] Mesa 10.5.8

2015-06-20 Thread Emil Velikov
sages Boyan Ding (1): egl/x11: Set version of swrastLoader to 2 Emil Velikov (3): docs: Add sha256sums for the 10.5.7 release Update version to 10.5.8 Add release notes for the 10.5.8 release Erik Faye-Lund (1): mesa: build xmlconfig to a separate static library Fran

Re: [Mesa-dev] [PATCH 2/2] glapi: remap_helper.py: remove unused argument 'es'

2015-06-21 Thread Emil Velikov
to the upstream XML, or you'll be able to do some cleanup alongside it ? Would you happen to have any wip branches publicly available ? If these two hinder that work in any way we can drop it. Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.fre

Re: [Mesa-dev] [PATCH 2/2] glapi: remap_helper.py: remove unused argument 'es'

2015-06-21 Thread Emil Velikov
iewed-by: Jose Fonseca > Thanks Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 04/11] configure: allow building shared-glapi powered libgl-xlib

2015-06-21 Thread Emil Velikov
On 19/06/15 19:56, Emil Velikov wrote: > XXX: With this one done, we can finally transition with enforcing > shared-glapi, and > > - link the dri modules against libglapi.so, add --no-undefined to the > LDFLAGS > - drop the dlopen(libglapi.so/libGL.so, RTLD_GLOBAL) workaround

Re: [Mesa-dev] [PATCH 08/11] confiigure: drop unused variable GBM_BACKEND_DIRS

2015-06-21 Thread Emil Velikov
On 19/06/15 22:00, Eric Anholt wrote: > Emil Velikov writes: >> Signed-off-by: Emil Velikov > > s/confiigure/configure/ in the subject. > Will fix. > After that, and some cleanup of the commit message in 4, patches 1-8 > will be: > > Reviewed-by: Eric Anholt &

Re: [Mesa-dev] abundance of branches in mesa.git

2015-06-21 Thread Emil Velikov
commit of the branch) and have an 'archive' repo that contains everything else (minus the stable branches). On a mildly related topic - does anyone know what the 'mesa-test' repo is all about ? There is a similar one for xorg-server, both of which

Re: [Mesa-dev] [PATCH 11/11] android: egl: do not link against libglapi

2015-06-22 Thread Emil Velikov
combination out there ? Emil On 21 June 2015 at 10:22, Marek Olšák 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

[Mesa-dev] [RFC] Compatibility between old dri modules and new loaders, and vice verse

2015-06-22 Thread Emil Velikov
ould we consider mesa X (10.6 ?) as the last one that supports such old modules in it's libGL and give it a much needed cleanup ? How would people feel about this - do we have any strong ack/nack about the idea ? Are there many people/companies that support distros where the xserver <&g

Re: [Mesa-dev] [PATCH 00/11] glapi fixes - build whole of mesa with

2015-06-22 Thread Emil Velikov
On 22 June 2015 at 15:01, Jose Fonseca wrote: > On 19/06/15 23:09, Emil Velikov wrote: >> >> On 19 June 2015 at 21:26, Jose Fonseca wrote: >>> >>> On 19/06/15 20:56, Emil Velikov wrote: >>>> >>>> >>>> Hi all, >>>

Re: [Mesa-dev] [PATCH] u_vbuf: fix src_offset alignment in u_vbuf_create_vertex_elements()

2015-06-24 Thread Emil Velikov
ing to the comment in the piglit test, the spec does not explicitly state what should happen in the particular case, but I'd assume that we want to provide some safe behaviour ? -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://l

Re: [Mesa-dev] [PATCH] mesa: move ARB_gs5 enums to core, EXT_polygon_offset_clamp to desktop

2015-06-24 Thread Emil Velikov
; Would this be worthy for 10.6 ? Afaict without it, attempting to query POLYGON_OFFSET_CLAMP_EXT will return an error. -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] mesa: fold duplicated GL/GL_CORE/GLES3 entry in get_hash_params.py

2015-06-24 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/mesa/main/get_hash_params.py | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 74ff3ba..c25e1b6 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa

Re: [Mesa-dev] [PATCH] configure: use $target_cpu, not $host_cpu when setting asm_arch

2015-06-24 Thread Emil Velikov
/lib/$dir" On Arch/Gentoo (and maybe others) don't need the LDFLAGS, but I'd suspect it's essential for Debian based distros. If any anyone has some tips that might be I'll appreciate the input :-) Thanks Emil ___ mesa-dev

Re: [Mesa-dev] [Mesa-stable] [PATCH 2/6] clover: Call clBuildProgram() notification function when build completes v2

2015-06-25 Thread Emil Velikov
On 3 June 2015 at 14:27, Francisco Jerez wrote: > Emil Velikov writes: > >> Hi Tom, >> >> On 31 March 2015 at 15:29, Francisco Jerez wrote: >>> Tom Stellard writes: >>> >>>> v2: >>>> - Only call notification for bu

Re: [Mesa-dev] [Mesa-stable] [PATCH 4/4] glsl: validate sampler array indexing for 'constant-index-expression'

2015-06-25 Thread Emil Velikov
cally a kind of non-constant >> expression. >> >>> + /* Backend has indicated that it has no dynamic indexing support. >>> */ >>> + if (no_dynamic_indexing) { >>> +linker_error(prog, msg, prog->IsES ? "ES" : &q

[Mesa-dev] New stable-branch 10.6 candidate pushed

2015-06-25 Thread Emil Velikov
se, please go ahead. Cheers, Emil Mesa stable queue - Nominated (19) == Anuj Phogat (8): mesa: Turn get_readpixels_transfer_ops() in to a global function meta: Fix transfer operations check in meta pbo path for readpixels mesa: Fix conditions to t

Re: [Mesa-dev] [PATCH] configure: use $target_cpu, not $host_cpu when setting asm_arch

2015-06-26 Thread Emil Velikov
g, and I failed to squese any hints about "why" or "how to get things working without nuking the .la files". -Emil P.S. I'm guessing you have other ones (libdrm) that caused your earlier problem ? ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] mesa: Enable subdir-objects globally.

2015-06-26 Thread Emil Velikov
On 11 June 2015 at 00:30, Matt Turner wrote: > --- > Emil, > > With your series, I think we can enable subdir-objects globally! > > Please give it a test. > Thanks. I haven't noticed any problems with a few build permutations, plus a piglit run of the resulting binar

[Mesa-dev] [PATCH 1/4] egl/drm: plug memory leak

2015-06-26 Thread Emil Velikov
Free the memory for dri2_surf in the unlikely case that one provides NULL for native_window. Also set the relevant EGL_ERROR to provide feedback to the user. Signed-off-by: Emil Velikov --- src/egl/drivers/dri2/platform_drm.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

[Mesa-dev] [PATCH 2/4] egl/wayland: handle NULL native_window in create_surface

2015-06-26 Thread Emil Velikov
Rise EGL_BAD_NATIVE_WINDOW instead of crashing. Signed-off-by: Emil Velikov --- src/egl/drivers/dri2/platform_wayland.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 1c98552..052b0e9 100644 --- a

[Mesa-dev] [PATCH 4/4] egl/x11: handle when invalid drawable is passed in create_surface

2015-06-26 Thread Emil Velikov
0 is not used as a valid drawable id, as such there is no point in attempting to query it's geometry. Just bail out early and provide the more meaningful EGL_BAD_NATIVE_WINDOW to the user. Signed-off-by: Emil Velikov --- src/egl/drivers/dri2/platform_x11.c | 4 1 file changed, 4 inser

[Mesa-dev] [PATCH 3/4] egl/wayland: cleanup dri2_wl_create_surface error path

2015-06-26 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/egl/drivers/dri2/platform_wayland.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 052b0e9..5b3a155 100644 --- a/src/egl/drivers/dri2

Re: [Mesa-dev] [PATCH v2 0/7] port _mesa_strto[df] to C

2015-06-26 Thread Emil Velikov
ey are fixed now we can drop the patch. I'm fairly confident that the offline compilers (i965?, nouveau and freedreno) and the i965 tests do not use _mesa_strto{d,f} (either directly or not). I'm believe that you've already checked ? Cheers Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] egl_dri2: Remove trailing whitespaces

2015-06-26 Thread Emil Velikov
On 26 June 2015 at 13:54, Boyan Ding wrote: > Can someone help me push this please? > Added Marek's r-b and pushed to master. Thanks for the patch ! -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.

[Mesa-dev] Mesa 10.6.1

2015-06-29 Thread Emil Velikov
Widawsky (1): i965/gen9: Implement Push Constant Buffer workaround Boyan Ding (2): egl/x11: Set version of swrastLoader to 2 egl/x11: Remove duplicate call to dri2_x11_add_configs_for_visuals Emil Velikov (7): docs: Add sha256sums for the 10.6.0 release configure: warn

Re: [Mesa-dev] git fsck errors on mesa repo

2015-06-30 Thread Emil Velikov
.4) there are 68 "error in tag $sha: unterminated header" messages. By the looks of it most/all of those are old tags (which we don't care too much nowdays) and they are lacking the trailing \n. Afaict other projects have the same "problem", and the git devs are working on a

  1   2   3   4   5   6   7   8   9   10   >