android-gpuimage icon indicating copy to clipboard operation
android-gpuimage copied to clipboard

GpuImageView Flickering when using Group Filters

Open devarsh-mavani-19 opened this issue 5 years ago • 1 comments

the gpuimageview is flickering when i try to update one of the filter using seekbar. the below code of onProgress change method of seekbar shows my approach. Please Help how can I remove flickering .

onProgress:

if(current == BRIGHTNESS) { arrayList.set(0, new GPUImageBrightnessFilter(BRIGHTNESS.getCurrent())); } else if(current == CONTRAST) { arrayList.set(1, new GPUImageContrastFilter(CONTRAST.getCurrent())); } filters= new GPUImageFilterGroup(arrayList); gpuImageView.setFilter(filters);

Please help me to find better approach if any. and provide suggestions to remove flickering

devarsh-mavani-19 avatar Jan 02 '21 19:01 devarsh-mavani-19

@devarsh-mavani-19 I'm also getting the same issue while using GPUImageFilterGroup

Did you get the solution?

sz32 avatar Jul 14 '21 19:07 sz32