ChillingVan
ChillingVan
EglHelperAPI17换了Android的新的EGL相关API,那套API跟之前的差不多,具体差别忘了,我当时也只是抱着官方提供了新的API去用吧这样加进去的。 一般来说 EGL_BAD_CONFIG 是通常是config的问题,可以参考这个issue: https://github.com/ChillingVan/android-openGL-canvas/issues/44 可能不同版本需要用不同config.
可以使用AndroidCanvasHelper,也可以自己参照画圆的fragment shader自己实现一个
如果有实现到一个新的shader,欢迎提Pull Request
The getDrawingBitmap is just for showing what is drawn in this example. If you want to use what the MultiTexOffScreenCanvas draws, you can use a consumer view or OffScreenCanvas to...
> > > I modify MultiTexOffScreenCanvas flow recomend of you , but nothing showing >  > > Maybe me wrong ? and can using one consumer show all produces...
不是很明白,可以在demo里复现吗?
``` /** * Calls glTexSubImage2D() on the current OpenGL context. If no context is * current the behavior is the same as calling glTexSubImage2D() with no * current context, that...
可以直接调用CanvasGL.drawBitmap()方法。如果要文字的话可以看可以看这个项目的例子:https://github.com/ChillingVan/android-openGL-canvas:参考DrawTextTextureView绘制文字的方法,本质是把文字变成Bitmap。
I try your demo but the video seems good. Have you try to remove the draw text? And are the samples in this project working well for your device? And...
[test_mp4_encode.mp4_20180728_091235.mp4.zip](https://github.com/ChillingVan/AndroidInstantVideo/files/2237571/test_mp4_encode.mp4_20180728_091235.mp4.zip) I compress it from 9MB to 300KB