Revision 586b5fa1
Added by Leszek Koltunski almost 6 years ago
src/main/java/org/distorted/library/main/Distorted.java | ||
---|---|---|
78 | 78 |
*/ |
79 | 79 |
public static final int CLONE_CHILDREN= 0x20; |
80 | 80 |
|
81 |
/** |
|
82 |
* Work around bugs in ARM Mali driver by, instead to a single FBO, rendering to a circular queue |
|
83 |
* of FBO_QUEUE_SIZE FBOs. (otherwise we sometimes get a 'full pipeline flush' and the end result |
|
84 |
* might be missing part of the Objects) |
|
85 |
*/ |
|
86 |
public static final int FBO_QUEUE_SIZE = 4; |
|
87 |
|
|
81 | 88 |
private static boolean mInitialized=false; |
82 | 89 |
|
83 | 90 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Port another commit from master.
I spoke too soon, the ARM Mali flashing is of course not fixed yet. The previous commit fixed Triblur, but the bug is still reproducible elsewhere (only in the 'postprocessed' apps though).
This commit introduces a circular queue in case of the postprocessing FBOs - with little success though.