Revision 568b29d8
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/library/EffectQueueVertex.java | ||
---|---|---|
22 | 22 |
import android.opengl.GLES20; |
23 | 23 |
|
24 | 24 |
import org.distorted.library.message.EffectMessage; |
25 |
import org.distorted.library.type.Float2D;
|
|
26 |
import org.distorted.library.type.Float4D;
|
|
27 |
import org.distorted.library.type.Interpolator;
|
|
28 |
import org.distorted.library.type.Interpolator2D;
|
|
25 |
import org.distorted.library.type.Dynamic;
|
|
26 |
import org.distorted.library.type.Dynamic2D;
|
|
27 |
import org.distorted.library.type.Static2D;
|
|
28 |
import org.distorted.library.type.Static4D;
|
|
29 | 29 |
|
30 | 30 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
31 | 31 |
|
... | ... | |
154 | 154 |
|
155 | 155 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
156 | 156 |
|
157 |
synchronized long add(EffectNames eln, Interpolator inter, Float4D region, Interpolator2D point)
|
|
157 |
synchronized long add(EffectNames eln, Dynamic inter, Static4D region, Dynamic2D point)
|
|
158 | 158 |
{ |
159 | 159 |
if( mMax[INDEX]>mNumEffects ) |
160 | 160 |
{ |
... | ... | |
171 | 171 |
|
172 | 172 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
173 | 173 |
|
174 |
synchronized long add(EffectNames eln, Interpolator inter, Float4D region, Float2D point)
|
|
174 |
synchronized long add(EffectNames eln, Dynamic inter, Static4D region, Static2D point)
|
|
175 | 175 |
{ |
176 | 176 |
if( mMax[INDEX]>mNumEffects ) |
177 | 177 |
{ |
... | ... | |
190 | 190 |
|
191 | 191 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
192 | 192 |
|
193 |
synchronized long add(EffectNames eln, float v1, float v2, float v3, Float4D region, Float2D point)
|
|
193 |
synchronized long add(EffectNames eln, float v1, float v2, float v3, Static4D region, Static2D point)
|
|
194 | 194 |
{ |
195 | 195 |
if( mMax[INDEX]>mNumEffects ) |
196 | 196 |
{ |
... | ... | |
212 | 212 |
|
213 | 213 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
214 | 214 |
|
215 |
private long addPriv(EffectNames eln, Float4D region)
|
|
215 |
private long addPriv(EffectNames eln, Static4D region)
|
|
216 | 216 |
{ |
217 | 217 |
if( region!=null ) |
218 | 218 |
{ |
Also available in: Unified diff
Major push towards simplifying DistortedObject's public API.
All MATRIX effects are using the new API - the 'DataND' marker interfaces.