-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for GLES on Windows over angle #16
Conversation
find_package(kodi-angle REQUIRED) | ||
set(OPENGLES_LIBRARIES kodi::angle::libGLESv2 | ||
kodi::angle::libEGL) | ||
set(OPENGLES_FOUND ${kodi-angle_FOUND}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrong, use find_package_handle_standard_args
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you an example, has tried now and also on begin and not becomed it working with find_package_handle_standard_args
?
current CMakeLists.txt for angle is wrong, build will fail for uwp |
@afedchin have you a log? |
I haven't the log, but I'm sure win32 sources shouldn't be included in uwp build.
|
Is updated and now works also on Kodi for WindowsStore |
239eaf1
to
94a572e
Compare
Angles CMakeLists.txt is updated and cleaned up. Furthermore, I tested it under Linux and ran there after a few changes. The addon in GLES with angle forced and operated with Kodi. About set to enable or disable d3d11 usage. Unfortunately it is not possible without code changes in angle since he uses a d3d11 header in a global part. |
it's an issue of angle itself otherwise why for introduce |
2c03a2d
to
33d9372
Compare
It report not supported "GL_EXT_texture_cube_map" and not supported "GL_EXT_texture_cube_map_array". But by test the addon worked normal with this check prevented.
This changes allow the addon to use on windows and all other OS's
without add of different code.
The request can not enter now. But already created to have an example, where it is needed.
For this to work, the following changes must be included in Kodi:
APP_RENDER_SYSTEM
value setAfter Kodi himself has these changes, this request could also come in.
Here a test Picture:
![juhu-picture2](https://user-images.githubusercontent.com/6879739/53697540-76f98000-3dd2-11e9-946e-292f31e5787b.jpg)
Here is a minimal addon, where support this way https://github.com/AlwinEsch/screensaver.example.windows.gles (Maybe good to have better overview)