Revision 7a52f457
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/EffectQueuePostprocess.java | ||
---|---|---|
310 | 310 |
buffer2.setAsInput(); |
311 | 311 |
buffer1.setAsOutput(); |
312 | 312 |
|
313 |
GLES30.glStencilMask(0xff); |
|
314 |
GLES30.glDepthMask(true); |
|
315 | 313 |
GLES30.glColorMask(true,true,true,true); |
316 | 314 |
GLES30.glClearColor(0.0f,0.0f,0.0f,0.0f); |
317 |
GLES30.glClearDepthf(1.0f); |
|
318 |
GLES30.glClearStencil(0); |
|
319 |
GLES30.glClear(GLES30.GL_COLOR_BUFFER_BIT|GLES30.GL_DEPTH_BUFFER_BIT|GLES30.GL_STENCIL_BUFFER_BIT); |
|
315 |
GLES30.glClear(GLES30.GL_COLOR_BUFFER_BIT); |
|
320 | 316 |
|
321 | 317 |
GLES30.glUniform1fv( mWeights2H, radius+1, weightsCache,offset); |
322 | 318 |
GLES30.glUniform1i( mRadius2H, radius); |
Also available in: Unified diff
Minor speedup.