Revision 4bf6e175
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/main/EffectQueueFragment.java | ||
---|---|---|
53 | 53 |
|
54 | 54 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
55 | 55 |
|
56 |
synchronized void compute(long currTime,float halfX, float halfY)
|
|
56 |
void compute(long currTime,float halfX, float halfY) |
|
57 | 57 |
{ |
58 | 58 |
if( currTime==mTime ) return; |
59 | 59 |
if( mTime==0 ) mTime = currTime; |
... | ... | |
85 | 85 |
|
86 | 86 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
87 | 87 |
|
88 |
synchronized void send()
|
|
88 |
void send() |
|
89 | 89 |
{ |
90 | 90 |
GLES30.glUniform1i( mNumEffectsH, mNumEffects); |
91 | 91 |
|
src/main/java/org/distorted/library/main/EffectQueueVertex.java | ||
---|---|---|
53 | 53 |
|
54 | 54 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
55 | 55 |
|
56 |
synchronized void compute(long currTime,float halfX, float halfY, float halfZ)
|
|
56 |
void compute(long currTime,float halfX, float halfY, float halfZ) |
|
57 | 57 |
{ |
58 | 58 |
if( currTime==mTime ) return; |
59 | 59 |
if( mTime==0 ) mTime = currTime; |
... | ... | |
86 | 86 |
|
87 | 87 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
88 | 88 |
|
89 |
synchronized void send()
|
|
89 |
void send() |
|
90 | 90 |
{ |
91 | 91 |
GLES30.glUniform1i( mNumEffectsH, mNumEffects); |
92 | 92 |
|
Also available in: Unified diff
Minor