Jump to content


Photo

Solo4K opengles and egl


  • Please log in to reply
4 replies to this topic

#1 serdeliuk

  • Senior Member
  • 167 posts

+5
Neutral

Posted 13 February 2020 - 16:21

Hello,

 

I wonder if anyone tried to figure out how this can be used on those vuplus machines, i know that this is under NDA and mostly nobody has access to resources, but worth to ask :)

Kodi it seems to be supported by vuplus and they provided some precompiled libraries for kodi which have some headers as well, but not enough....

 

So far i was able to init the gles display from C++ code using vuplus_gles.h and libvugles2.so which are provided by vuplus but OpenPli does not include in any distributions, i wonder why?

http://code.vuplus.c...phics/libvugles

 

Following code works on my Solo4K using above libvugles2 and header

 

gles_open();

 

and use 

 

   printf("Vendor: %s\n", glGetString( GL_VENDOR ) );
    printf("Renderer: %s\n", glGetString( GL_RENDERER ) );
    printf("Version: %s\n", glGetString( GL_VERSION ) );
    printf("Shading language version: %s\n", glGetString( GL_SHADING_LANGUAGE_VERSION ) );
    printf("Extensions: %s\n", glGetString( GL_EXTENSIONS ) );
 
The output is 
 
NXPL_RegisterNexusDisplayPlatform data->hwInterface 0x2b040
Vendor: Broadcom
Renderer: VideoCore IV HW (V3D-425)
Version: OpenGL ES 2.0
Shading language version: OpenGL ES GLSL ES 1.00
Extensions: GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_APPLE_rgb_422 GL_OES_packed_depth_stencil GL_EXT_debug_marker GL_EXT_multisampled_render_to_texture GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_EGL_sync 
 

I am trying to use SDL2 with opengles2 but for now seems impossible, the SDL2 is compiled with opgles2 support, list the video driver as available but if i try to init video tell that no available video device, probably i am missing something, any clues?

 

 

Best regards,

 

 

Marc


init 2 && init 3


Re: Solo4K opengles and egl #2 serdeliuk

  • Senior Member
  • 167 posts

+5
Neutral

Posted 13 February 2020 - 16:58

This is a nice to have too :)


init 2 && init 3


Re: Solo4K opengles and egl #3 serdeliuk

  • Senior Member
  • 167 posts

+5
Neutral

Posted 13 February 2020 - 17:47

 

This is a nice to have too :)

 

And this too :)
http://archive.vuplu...180124p0.tar.gz


init 2 && init 3


Re: Solo4K opengles and egl #4 WanWizard

  • Forum Moderator
    PLi® Core member
  • 50,750 posts

+926
Excellent

Posted 13 February 2020 - 19:31

which are provided by vuplus but OpenPli does not include in any distributions, i wonder why?

 

That means nothing lists that recipe as a dependency, so it isn't build. Or it is listed as a dependency, but the recipe it depends on isn't included in the build.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H9.2H ©, Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Solo4K opengles and egl #5 serdeliuk

  • Senior Member
  • 167 posts

+5
Neutral

Posted 14 February 2020 - 07:05

Wow... this is all that is required to work with EGL and OpenGLES on VU machines...  http://archive.vuplu...80502.r1.tar.gz

And they  have a demo too :) http://code.vuplus.c...ibvupl-examples

 

I have attached all required ipk to spin a cube on screen from plugins  :)

 

 

Attached Files


Edited by serdeliuk, 14 February 2020 - 07:06.

init 2 && init 3





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users