Project

General

Profile

« Previous | Next » 

Revision 375b3950

Added by Leszek Koltunski about 6 years ago

OIT: something starts working ('Blur' and 'Multiblur' work, 'Triblur' and 'Transparency' do not)

View differences:

src/main/java/org/distorted/library/main/DistortedOutputSurface.java
353 353

  
354 354
        if( lastBucket!=currBucket )
355 355
          {
356
          if( lastBucket!=0 )
356
          if( lastBucket==0 )
357
            {
358
            DistortedEffects.zeroOutAtomic();
359
            }
360
          else
357 361
            {
358 362
            for(int j=bucketChange; j<i; j++)
359 363
              {
......
386 390
          numRenders += currQueue.postprocess(mBuffer);
387 391
          numRenders += blitWithDepth(time, mBuffer[quality]);
388 392
          GLES31.glMemoryBarrier(GLES31.GL_ALL_BARRIER_BITS);
389
          //GLES31.glFinish();
390 393
          numRenders += blitWithDepthRender(time,mBuffer[quality]);  // merge the OIT linked list
391 394
          clearBuffer(mBuffer[quality]);
392
          //GLES31.glFinish();
393 395
          }
394 396
        }
395 397

  

Also available in: Unified diff