diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-05-23 15:44:07 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-25 07:50:17 +0100 |
commit | b5fe46044ea6324d66a7387c4f0d1d42fb418a70 (patch) | |
tree | a94aa707c4c2736287d9b12dd92d5d87566bdacd /meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch | |
parent | 6ec08043dcabf62d0be9cfb43063b6a336c3ece3 (diff) | |
download | poky-b5fe46044ea6324d66a7387c4f0d1d42fb418a70.tar.gz |
mesa-demos: Upgrade 8.2.0 -> 8.3.0
Drop patches included in upstream and the EGL_MESA_screen_surface
extension fixes as the relevant code was removed.
Rebase other patches.
(From OE-Core rev: 747762233ee21eaaf480f19b85cd1d6543c7ca51)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch | 119 |
1 files changed, 36 insertions, 83 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch b/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch index 6b58c2b776..f6b59a11fe 100644 --- a/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch +++ b/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch | |||
@@ -1,8 +1,7 @@ | |||
1 | From b25e9c675cf560b8b037dc855c6b3b1d09957867 Mon Sep 17 00:00:00 2001 | 1 | From 779438770bedf3d53e6ad8f7cd6889b7f50daf3b Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Wed, 9 Jul 2014 14:23:41 +0200 | 3 | Date: Wed, 9 Jul 2014 14:23:41 +0200 |
4 | Subject: [PATCH 3/9] configure: Allow to disable demos which require GLEW or | 4 | Subject: [PATCH] configure: Allow to disable demos which require GLEW or GLU |
5 | GLU | ||
6 | 5 | ||
7 | * in some systems without X11 support we don't have GLEW, but | 6 | * in some systems without X11 support we don't have GLEW, but |
8 | mesa-demos are still useful | 7 | mesa-demos are still useful |
@@ -10,17 +9,20 @@ Subject: [PATCH 3/9] configure: Allow to disable demos which require GLEW or | |||
10 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
11 | 10 | ||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
12 | |||
13 | Port to 8.3.0 | ||
14 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
13 | --- | 15 | --- |
14 | configure.ac | 49 ++++++++++++++++++++--------- | 16 | configure.ac | 49 ++++++++++++++++++++--------- |
15 | src/Makefile.am | 14 ++++++--- | 17 | src/Makefile.am | 18 ++++++++--- |
16 | src/demos/Makefile.am | 73 ++++++++++++++++++++++++------------------- | 18 | src/demos/Makefile.am | 73 ++++++++++++++++++++++++------------------- |
17 | src/egl/Makefile.am | 8 +++-- | 19 | src/egl/Makefile.am | 8 +++-- |
18 | src/egl/opengles1/Makefile.am | 44 +++++++++++++++----------- | 20 | src/egl/opengles1/Makefile.am | 10 ++++-- |
19 | src/egl/opengles2/Makefile.am | 33 ++++++++++--------- | 21 | src/egl/opengles2/Makefile.am | 29 ++++++++--------- |
20 | 6 files changed, 135 insertions(+), 86 deletions(-) | 22 | 6 files changed, 117 insertions(+), 70 deletions(-) |
21 | 23 | ||
22 | diff --git a/configure.ac b/configure.ac | 24 | diff --git a/configure.ac b/configure.ac |
23 | index 9445424..bc4c8d1 100644 | 25 | index 0525b09..28834cd 100644 |
24 | --- a/configure.ac | 26 | --- a/configure.ac |
25 | +++ b/configure.ac | 27 | +++ b/configure.ac |
26 | @@ -93,25 +93,44 @@ AC_EGREP_HEADER([glutInitContextProfile], | 28 | @@ -93,25 +93,44 @@ AC_EGREP_HEADER([glutInitContextProfile], |
@@ -92,10 +94,11 @@ index 9445424..bc4c8d1 100644 | |||
92 | AM_CONDITIONAL(HAVE_GLESV1, test "x$glesv1_enabled" = "xyes") | 94 | AM_CONDITIONAL(HAVE_GLESV1, test "x$glesv1_enabled" = "xyes") |
93 | AM_CONDITIONAL(HAVE_GLESV2, test "x$glesv2_enabled" = "xyes") | 95 | AM_CONDITIONAL(HAVE_GLESV2, test "x$glesv2_enabled" = "xyes") |
94 | diff --git a/src/Makefile.am b/src/Makefile.am | 96 | diff --git a/src/Makefile.am b/src/Makefile.am |
95 | index 1647d64..754c47c 100644 | 97 | index 1647d64..8b89dee 100644 |
96 | --- a/src/Makefile.am | 98 | --- a/src/Makefile.am |
97 | +++ b/src/Makefile.am | 99 | +++ b/src/Makefile.am |
98 | @@ -23,14 +23,18 @@ | 100 | @@ -22,15 +22,19 @@ |
101 | # Authors: | ||
99 | # Eric Anholt <eric@anholt.net> | 102 | # Eric Anholt <eric@anholt.net> |
100 | 103 | ||
101 | +if HAVE_GLEW | 104 | +if HAVE_GLEW |
@@ -116,7 +119,7 @@ index 1647d64..754c47c 100644 | |||
116 | objviewer \ | 119 | objviewer \ |
117 | osdemos \ | 120 | osdemos \ |
118 | perf \ | 121 | perf \ |
119 | @@ -40,8 +39,12 @@ SUBDIRS = \ | 122 | @@ -40,8 +44,12 @@ SUBDIRS = \ |
120 | slang \ | 123 | slang \ |
121 | tests \ | 124 | tests \ |
122 | tools \ | 125 | tools \ |
@@ -289,10 +292,10 @@ index d64a49e..4fe1ca8 100644 | |||
289 | + openvg | 292 | + openvg |
290 | +endif | 293 | +endif |
291 | diff --git a/src/egl/opengles1/Makefile.am b/src/egl/opengles1/Makefile.am | 294 | diff --git a/src/egl/opengles1/Makefile.am b/src/egl/opengles1/Makefile.am |
292 | index 7a9828d..3455e75 100644 | 295 | index fa397c2..21853e8 100644 |
293 | --- a/src/egl/opengles1/Makefile.am | 296 | --- a/src/egl/opengles1/Makefile.am |
294 | +++ b/src/egl/opengles1/Makefile.am | 297 | +++ b/src/egl/opengles1/Makefile.am |
295 | @@ -36,28 +36,43 @@ AM_LDFLAGS = \ | 298 | @@ -36,9 +36,12 @@ AM_LDFLAGS = \ |
296 | $(EGL_LIBS) \ | 299 | $(EGL_LIBS) \ |
297 | -lm | 300 | -lm |
298 | 301 | ||
@@ -301,42 +304,13 @@ index 7a9828d..3455e75 100644 | |||
301 | if HAVE_EGL | 304 | if HAVE_EGL |
302 | if HAVE_GLESV1 | 305 | if HAVE_GLESV1 |
303 | -noinst_PROGRAMS = \ | 306 | -noinst_PROGRAMS = \ |
304 | - bindtex \ | ||
305 | - clear \ | ||
306 | +noinst_PROGRAMS += \ | ||
307 | drawtex_screen \ | ||
308 | + gears_screen \ | ||
309 | + torus_screen \ | ||
310 | + tri_screen | ||
311 | + | ||
312 | +drawtex_screen_SOURCES = drawtex.c | ||
313 | +gears_screen_SOURCES = gears.c | ||
314 | +torus_screen_SOURCES = torus.c | ||
315 | +tri_screen_SOURCES = tri.c | ||
316 | + | ||
317 | +drawtex_screen_LDADD = ../eglut/libeglut_screen.la | ||
318 | +gears_screen_LDADD = ../eglut/libeglut_screen.la | ||
319 | +torus_screen_LDADD = ../eglut/libeglut_screen.la | ||
320 | +tri_screen_LDADD = ../eglut/libeglut_screen.la | ||
321 | + | ||
322 | +if HAVE_X11 | 307 | +if HAVE_X11 |
323 | +noinst_PROGRAMS += \ | ||
324 | + clear | ||
325 | + | ||
326 | +bin_PROGRAMS = \ | 308 | +bin_PROGRAMS = \ |
327 | + bindtex \ | 309 | bindtex \ |
310 | clear \ | ||
328 | drawtex_x11 \ | 311 | drawtex_x11 \ |
329 | eglfbdev \ | 312 | @@ -52,8 +55,6 @@ noinst_PROGRAMS = \ |
330 | es1_info \ | ||
331 | - gears_screen \ | ||
332 | gears_x11 \ | ||
333 | msaa \ | ||
334 | pbuffer\ | ||
335 | render_tex \ | ||
336 | texture_from_pixmap \ | ||
337 | - torus_screen \ | ||
338 | torus_x11 \ | 313 | torus_x11 \ |
339 | - tri_screen \ | ||
340 | tri_x11 \ | 314 | tri_x11 \ |
341 | two_win | 315 | two_win |
342 | -endif | 316 | -endif |
@@ -344,26 +318,7 @@ index 7a9828d..3455e75 100644 | |||
344 | 318 | ||
345 | bindtex_LDADD = $(X11_LIBS) | 319 | bindtex_LDADD = $(X11_LIBS) |
346 | es1_info_LDADD = $(X11_LIBS) | 320 | es1_info_LDADD = $(X11_LIBS) |
347 | @@ -71,22 +86,15 @@ two_win_LDADD = $(X11_LIBS) | 321 | @@ -76,3 +77,6 @@ drawtex_x11_LDADD = ../eglut/libeglut_x11.la |
348 | clear_LDADD = ../eglut/libeglut_x11.la $(EGL_LIBS) $(X11_LIBS) | ||
349 | clear_LDFLAGS = | ||
350 | |||
351 | -drawtex_screen_SOURCES = drawtex.c | ||
352 | -gears_screen_SOURCES = gears.c | ||
353 | -torus_screen_SOURCES = torus.c | ||
354 | -tri_screen_SOURCES = tri.c | ||
355 | - | ||
356 | drawtex_x11_SOURCES = drawtex.c | ||
357 | gears_x11_SOURCES = gears.c | ||
358 | torus_x11_SOURCES = torus.c | ||
359 | tri_x11_SOURCES = tri.c | ||
360 | |||
361 | -drawtex_screen_LDADD = ../eglut/libeglut_screen.la | ||
362 | -gears_screen_LDADD = ../eglut/libeglut_screen.la | ||
363 | -torus_screen_LDADD = ../eglut/libeglut_screen.la | ||
364 | -tri_screen_LDADD = ../eglut/libeglut_screen.la | ||
365 | - | ||
366 | drawtex_x11_LDADD = ../eglut/libeglut_x11.la | ||
367 | gears_x11_LDADD = ../eglut/libeglut_x11.la | 322 | gears_x11_LDADD = ../eglut/libeglut_x11.la |
368 | torus_x11_LDADD = ../eglut/libeglut_x11.la | 323 | torus_x11_LDADD = ../eglut/libeglut_x11.la |
369 | tri_x11_LDADD = ../eglut/libeglut_x11.la | 324 | tri_x11_LDADD = ../eglut/libeglut_x11.la |
@@ -371,35 +326,35 @@ index 7a9828d..3455e75 100644 | |||
371 | +endif | 326 | +endif |
372 | +endif | 327 | +endif |
373 | diff --git a/src/egl/opengles2/Makefile.am b/src/egl/opengles2/Makefile.am | 328 | diff --git a/src/egl/opengles2/Makefile.am b/src/egl/opengles2/Makefile.am |
374 | index 41c1b80..74af460 100644 | 329 | index b80ba50..17f8d49 100644 |
375 | --- a/src/egl/opengles2/Makefile.am | 330 | --- a/src/egl/opengles2/Makefile.am |
376 | +++ b/src/egl/opengles2/Makefile.am | 331 | +++ b/src/egl/opengles2/Makefile.am |
377 | @@ -36,26 +36,29 @@ AM_LDFLAGS = \ | 332 | @@ -33,27 +33,28 @@ AM_LDFLAGS = \ |
333 | $(EGL_LIBS) \ | ||
334 | -lm | ||
335 | |||
336 | +bin_PROGRAMS = | ||
337 | + | ||
378 | if HAVE_EGL | 338 | if HAVE_EGL |
379 | if HAVE_GLESV2 | 339 | if HAVE_GLESV2 |
380 | bin_PROGRAMS = \ | 340 | -bin_PROGRAMS = |
341 | -if HAVE_X11 | ||
342 | -bin_PROGRAMS += \ | ||
381 | - es2_info \ | 343 | - es2_info \ |
382 | - es2gears_screen \ | ||
383 | - es2gears_x11 \ | 344 | - es2gears_x11 \ |
384 | - es2tri | 345 | - es2tri |
385 | + es2gears_screen | 346 | -endif |
386 | + | ||
387 | +es2gears_screen_SOURCES = es2gears.c | ||
388 | +es2gears_screen_LDADD = ../eglut/libeglut_screen.la | ||
389 | + | ||
390 | if HAVE_WAYLAND | 347 | if HAVE_WAYLAND |
391 | bin_PROGRAMS += es2gears_wayland | 348 | bin_PROGRAMS += es2gears_wayland |
392 | -endif | 349 | -endif |
393 | -endif | 350 | -endif |
394 | -endif | 351 | + |
395 | |||
396 | -es2_info_LDADD = $(X11_LIBS) | ||
397 | -es2tri_LDADD = $(X11_LIBS) | ||
398 | +es2gears_wayland_SOURCES = es2gears.c | 352 | +es2gears_wayland_SOURCES = es2gears.c |
399 | +es2gears_wayland_LDADD = ../eglut/libeglut_wayland.la | 353 | +es2gears_wayland_LDADD = ../eglut/libeglut_wayland.la |
400 | +endif | 354 | endif |
401 | 355 | ||
402 | -es2gears_screen_SOURCES = es2gears.c | 356 | -es2_info_LDADD = $(X11_LIBS) |
357 | -es2tri_LDADD = $(X11_LIBS) | ||
403 | +if HAVE_X11 | 358 | +if HAVE_X11 |
404 | +bin_PROGRAMS += \ | 359 | +bin_PROGRAMS += \ |
405 | + es2tri \ | 360 | + es2tri \ |
@@ -409,8 +364,6 @@ index 41c1b80..74af460 100644 | |||
409 | +es2_info_LDADD = $(X11_LIBS) | 364 | +es2_info_LDADD = $(X11_LIBS) |
410 | es2gears_x11_SOURCES = es2gears.c | 365 | es2gears_x11_SOURCES = es2gears.c |
411 | - | 366 | - |
412 | -es2gears_screen_LDADD = ../eglut/libeglut_screen.la | ||
413 | - | ||
414 | es2gears_x11_LDADD = ../eglut/libeglut_x11.la | 367 | es2gears_x11_LDADD = ../eglut/libeglut_x11.la |
415 | +es2tri_LDADD = $(X11_LIBS) | 368 | +es2tri_LDADD = $(X11_LIBS) |
416 | +endif | 369 | +endif |
@@ -420,5 +373,5 @@ index 41c1b80..74af460 100644 | |||
420 | -es2gears_wayland_SOURCES = es2gears.c | 373 | -es2gears_wayland_SOURCES = es2gears.c |
421 | -es2gears_wayland_LDADD = ../eglut/libeglut_wayland.la | 374 | -es2gears_wayland_LDADD = ../eglut/libeglut_wayland.la |
422 | -- | 375 | -- |
423 | 2.0.0 | 376 | 2.1.4 |
424 | 377 | ||