android links to EGL extension functions directly
Bug #1189938 reported by
Kevin DuBois
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Kevin DuBois |
Bug Description
Android links to eglCreateImageKHR and eglTargetTextur
This in turn breaks the saucy/android build as detailed in bug 1190894.
Related branches
lp:~kdub/mir/android-egl-extensions
- Robert Carr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 1220 lines (+348/-258)21 files modifiedexamples/demo_client_accelerated.cpp (+0/-3)
include/server/mir/graphics/egl_extensions.h (+43/-0)
include/test/mir_test_doubles/mock_egl.h (+4/-1)
include/test/mir_test_doubles/mock_gl.h (+0/-5)
src/server/graphics/CMakeLists.txt (+1/-0)
src/server/graphics/android/android_buffer_allocator.cpp (+5/-2)
src/server/graphics/android/android_graphic_buffer_allocator.h (+2/-0)
src/server/graphics/android/buffer.cpp (+10/-20)
src/server/graphics/android/buffer.h (+4/-3)
src/server/graphics/egl_extensions.cpp (+42/-0)
src/server/graphics/gbm/gbm_buffer_allocator.cpp (+4/-39)
src/server/graphics/gbm/gbm_buffer_allocator.h (+1/-2)
tests/mir_test_doubles/mock_egl.cpp (+38/-10)
tests/mir_test_doubles/mock_gl.cpp (+0/-9)
tests/unit-tests/graphics/CMakeLists.txt (+1/-0)
tests/unit-tests/graphics/android/test_android_buffer_allocator.cpp (+2/-0)
tests/unit-tests/graphics/android/test_buffer.cpp (+10/-21)
tests/unit-tests/graphics/android/test_buffer_tex_bind.cpp (+105/-95)
tests/unit-tests/graphics/gbm/test_gbm_buffer.cpp (+1/-10)
tests/unit-tests/graphics/gbm/test_gbm_buffer_allocator.cpp (+0/-38)
tests/unit-tests/graphics/test_egl_extensions.cpp (+75/-0)
Changed in mir: | |
status: | New → Confirmed |
Changed in mir: | |
assignee: | Kevin DuBois (kdub) → Daniel van Vugt (vanvugt) |
importance: | Low → High |
status: | Confirmed → In Progress |
Changed in mir: | |
importance: | High → Undecided |
Changed in mir: | |
importance: | Undecided → High |
Changed in mir: | |
assignee: | Daniel van Vugt (vanvugt) → Kevin DuBois (kdub) |
status: | In Progress → Fix Committed |
milestone: | none → 0.0.4 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Even worse... saucy's /usr/lib/ arm-linux- gnueabihf/ libhybris- egl/libEGL. so.1
is missing the function eglCreateImageKHR
It only has eglDestroyImageKHR. Something is fishy and we can't cross-compile for saucy because of this... libmirserver. so libmirplatformg raphics. a(buffer. cpp.o): In function `mir::graphics: :android: :Buffer: :bind_to_ texture( )': bzr/mir/ toy/src/ server/ graphics/ android/ buffer. cpp:93: undefined reference to `eglCreateImageKHR'
Linking CXX shared library ../../lib/
../../lib/
/home/dan/