Open kiah2008 opened 1 year ago
you are one expert in android programming. show me the code that use Android Native Buffers and EGLImage extensions to draw gl es object These are the rough steps:
Create an Android GraphicBuffer (Look here for the API) Use an EGL extension to create EGLImage that uses this GraphicBuffer Create a FBO and use the created EGLImage as the render target Bind to the framebuffer Do all the glcommands and glDrawArrays Unbind you can add "#" to the code where to Continue with other draw commands Read the rendering output by getting a pointer to the data in GraphicBuffer
Welcome to Quarto Quarto® is an open-source scientific and technical publishing system built on Pandoc: