android-openGL-canvas
android-openGL-canvas copied to clipboard
An Android library that provides views using openGL canvas to draw things on SurfaceView or TextureView.
When I set FilterGroup as texture filter for CameraPreviewTextureView or PreviewConsumerTextureView, camera preview becomes rotated and scaled down when compared to original camera preview. This only happens when FilterGroup is...
在视频播放器上叠加画板,使用 AndroidCanvasHelper来画path,没有纯View使用canvas画path那么跟手,跟踪发现canvas.isHardwareAccelerated是false。 是否是与硬件加速有关?或是双线程影响呢。 如果AndroidCanvasHelper需要开启硬件加速,还需要设置bitmap配置为HARDWARE,好像比较麻烦
请问在exoplayer 中使用BaseGLTextureView 第一次播放的时候会有透明闪烁一下的情况,是什么原因哦 ?
I checked in example in MultiTexOffScreenActivity . I only you show one draw bitmap when tap on screen ? How to use MultiTexOffScreenCanvas with one consumedTextures ? I try modify...
viewport应该设置为fbo的宽高
Hey there i get Cannot create GL program: 0 at drawBitmap Code: ``` override fun onGLDraw(canvas: ICanvasGL?) { Log.d("framework", canvas.toString()) if (canvas != null) { this.canvas = canvas Thread {...
I am trying to use sceneform's startMirroringtoSurface method on the GLSurfaceTextureProducerView inherited views following MediaPlayer exmple. But I am getting single color results when using canvas.drawSurfaceTexture Please help me to...