Revision d58407a8
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/library/main/InternalOutputSurface.java | ||
---|---|---|
43 | 43 |
static final float DEFAULT_NEAR= 0.1f; |
44 | 44 |
|
45 | 45 |
private float mFOV; |
46 |
private int mTmpFBO; |
|
46 |
private final int mTmpFBO;
|
|
47 | 47 |
|
48 | 48 |
private long[] mTime; |
49 | 49 |
private float mClearR, mClearG, mClearB, mClearA, mClearDepth; |
50 | 50 |
private int mClear, mClearStencil; |
51 | 51 |
private boolean mRenderWayOIT; |
52 |
private InternalChildrenList mChildren; |
|
52 |
private final InternalChildrenList mChildren;
|
|
53 | 53 |
|
54 | 54 |
// Global buffers used for postprocessing |
55 |
private static DistortedFramebuffer[] mBuffer= new DistortedFramebuffer[EffectQuality.LENGTH]; |
|
55 |
private final static DistortedFramebuffer[] mBuffer= new DistortedFramebuffer[EffectQuality.LENGTH];
|
|
56 | 56 |
|
57 | 57 |
float mDistance, mNear, mMipmap; |
58 | 58 |
float[] mProjectionMatrix; |
... | ... | |
456 | 456 |
|
457 | 457 |
buffer= mBuffer[currQuality]; |
458 | 458 |
bucketChange= i; |
459 |
renderDirectly = currQueue.getRender(); |
|
459 |
renderDirectly = currQueue.getRenderDirectly();
|
|
460 | 460 |
} |
461 | 461 |
|
462 | 462 |
if( renderDirectly ) |
Also available in: Unified diff
New postprocess effect 'Border' (not working yet) and adding it to the testing app 'Triblur'.