Hi, I am considering to speed-up of Skia's drawBitmap. I would like to consider using OpenGL for it. Is there a possibility of Skia's drawBitmap by OpenGL.
Normally, OpenGL needs loading texture before drawing. But loading texture takes a lot of times. So i hope to try a method of drawing texture without loading. SurfaceFlinger uses eglCreateImageKHR for registering surface as texture. It enables to draw texture without loading. But the function demand to input a argument of GraphicBuffer type, it casted to android_native_buffer_t. Skia don't have GraphicBuffer. Is there a way for inputting Bitmap to eglCreateImageKHR as GraphicBuffer? Or could you provide the new function that is like eglCreateImageKHR and could be input Bitmap? Any sample code or usage info would be great. To begin with, can OpenGL handle data out of GraphicBuffer? If so how. Regards, Shathiesh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

