Project

General

Profile

« Previous | Next » 

Revision 5f35f1cb

Added by Leszek Koltunski almost 4 years ago

Only insert the 'Mali r12' FBO queue fix if we actually are running on a Mali GPU with driver version <22. (then FBOQueue=4 - unless we manually overide this down to 1 - else, always 1)

View differences:

src/main/java/org/distorted/library/main/DistortedFramebuffer.java
37 37

  
38 38
  void create()
39 39
    {
40
    if( mNumFBOs==DistortedLibrary.WAIT_FOR_FBO_QUEUE_SIZE )
41
      {
42
      // only now we know how many FBOs there should be
43
      mNumFBOs = DistortedLibrary.getQueueSize();
44
      allocateColor();
45
      allocateStuffDependantOnNumFBOS();
46
      }
47

  
40 48
    //////////////////////////////////////////////////////////////
41 49
    // COLOR
42 50

  

Also available in: Unified diff