Revision 22d3c4b4
Added by Leszek Koltunski over 5 years ago
| src/main/java/org/distorted/library/main/DistortedLibrary.java | ||
|---|---|---|
| 106 | 106 |
* |
| 107 | 107 |
* https://community.arm.com/graphics/f/discussions/10285/opengl-es-3-1-on-mali-t880-flashes |
| 108 | 108 |
*/ |
| 109 |
static final int FBO_QUEUE_SIZE = 4;
|
|
| 109 |
static final int FBO_QUEUE_SIZE = 3;
|
|
| 110 | 110 |
|
| 111 | 111 |
private static boolean mInitialized=false; |
| 112 | 112 |
|
| src/main/java/org/distorted/library/main/InternalChildrenList.java | ||
|---|---|---|
| 33 | 33 |
private static final int DETALL = 2; |
| 34 | 34 |
private static final int SORT = 3; |
| 35 | 35 |
|
| 36 |
private class Job |
|
| 36 |
private static class Job
|
|
| 37 | 37 |
{
|
| 38 | 38 |
int type; |
| 39 | 39 |
DistortedNode node; |
| src/main/java/org/distorted/library/main/InternalOutputSurface.java | ||
|---|---|---|
| 369 | 369 |
boolean renderDirectly=false; |
| 370 | 370 |
|
| 371 | 371 |
setCurrFBO(fbo); |
| 372 |
if( numChildren==0 ) setAsOutput(time); |
|
| 372 | 373 |
|
| 373 | 374 |
if( oit && numChildren>0 ) |
| 374 | 375 |
{
|
Also available in: Unified diff
- Decrease FBO queue size to 3
- do clean the output surface even if it doesn't have any children (in renderChildren)