Revision 7c72e798
Added by Leszek Koltunski almost 5 years ago
| src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java | ||
|---|---|---|
| 146 | 146 |
FragmentEffectChroma.enable(); |
| 147 | 147 |
FragmentEffectContrast.enable(); |
| 148 | 148 |
|
| 149 |
DistortedLibrary.onCreate(mView.getContext(),this);
|
|
| 149 |
DistortedLibrary.onSurfaceCreated(mView.getContext(),this);
|
|
| 150 | 150 |
} |
| 151 | 151 |
|
| 152 | 152 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/bean/BeanRenderer.java | ||
|---|---|---|
| 162 | 162 |
|
| 163 | 163 |
VertexEffectDistort.enable(); |
| 164 | 164 |
|
| 165 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 165 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 166 | 166 |
} |
| 167 | 167 |
|
| 168 | 168 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/blur/BlurRenderer.java | ||
|---|---|---|
| 170 | 170 |
|
| 171 | 171 |
PostprocessEffectBlur.enable(); |
| 172 | 172 |
|
| 173 |
DistortedLibrary.onCreate(mView.getContext(),this);
|
|
| 173 |
DistortedLibrary.onSurfaceCreated(mView.getContext(),this);
|
|
| 174 | 174 |
} |
| 175 | 175 |
|
| 176 | 176 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/catanddog/CatAndDogRenderer.java | ||
|---|---|---|
| 158 | 158 |
FragmentEffectChroma.enable(); |
| 159 | 159 |
FragmentEffectAlpha.enable(); |
| 160 | 160 |
|
| 161 |
DistortedLibrary.onCreate(mView.getContext(),this);
|
|
| 161 |
DistortedLibrary.onSurfaceCreated(mView.getContext(),this);
|
|
| 162 | 162 |
} |
| 163 | 163 |
|
| 164 | 164 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/check/CheckRenderer.java | ||
|---|---|---|
| 201 | 201 |
mDeform1.set( 0, 0, 0); |
| 202 | 202 |
mDeform2.set( 0, mObjHeight, 0); |
| 203 | 203 |
|
| 204 |
DistortedLibrary.onCreate(mView.getContext(),this);
|
|
| 204 |
DistortedLibrary.onSurfaceCreated(mView.getContext(),this);
|
|
| 205 | 205 |
} |
| 206 | 206 |
|
| 207 | 207 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/deferredjob/DeferredJobRenderer.java | ||
|---|---|---|
| 135 | 135 |
DistortedLibrary.setMax(EffectType.VERTEX, 11); |
| 136 | 136 |
VertexEffectRotate.enable(); |
| 137 | 137 |
|
| 138 |
DistortedLibrary.onCreate(mView.getContext(),this);
|
|
| 138 |
DistortedLibrary.onSurfaceCreated(mView.getContext(),this);
|
|
| 139 | 139 |
} |
| 140 | 140 |
|
| 141 | 141 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/deform/DeformRenderer.java | ||
|---|---|---|
| 232 | 232 |
VertexEffectDistort.enable(); |
| 233 | 233 |
VertexEffectDeform.enable(); |
| 234 | 234 |
|
| 235 |
DistortedLibrary.onCreate(mView.getContext(),this);
|
|
| 235 |
DistortedLibrary.onSurfaceCreated(mView.getContext(),this);
|
|
| 236 | 236 |
} |
| 237 | 237 |
|
| 238 | 238 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/differentbitmaps/DifferentBitmapsRenderer.java | ||
|---|---|---|
| 168 | 168 |
VertexEffectSink.enable(); |
| 169 | 169 |
VertexEffectDistort.enable(); |
| 170 | 170 |
|
| 171 |
DistortedLibrary.onCreate(mView.getContext(),this);
|
|
| 171 |
DistortedLibrary.onSurfaceCreated(mView.getContext(),this);
|
|
| 172 | 172 |
} |
| 173 | 173 |
|
| 174 | 174 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java | ||
|---|---|---|
| 188 | 188 |
VertexEffectDistort.enable(); |
| 189 | 189 |
FragmentEffectChroma.enable(); |
| 190 | 190 |
|
| 191 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 191 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 192 | 192 |
} |
| 193 | 193 |
|
| 194 | 194 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/dynamic/DynamicRenderer.java | ||
|---|---|---|
| 106 | 106 |
|
| 107 | 107 |
public void onSurfaceCreated(GL10 glUnused, EGLConfig config) |
| 108 | 108 |
{
|
| 109 |
DistortedLibrary.onCreate(mView.getContext(),this);
|
|
| 109 |
DistortedLibrary.onSurfaceCreated(mView.getContext(),this);
|
|
| 110 | 110 |
} |
| 111 | 111 |
|
| 112 | 112 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/earth/EarthRenderer.java | ||
|---|---|---|
| 281 | 281 |
DistortedLibrary.setMax(EffectType.VERTEX , MAX_EFF); |
| 282 | 282 |
DistortedLibrary.setMax(EffectType.FRAGMENT, MAX_EFF); |
| 283 | 283 |
|
| 284 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 284 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 285 | 285 |
} |
| 286 | 286 |
|
| 287 | 287 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/effectqueue/EffectQueueRenderer.java | ||
|---|---|---|
| 141 | 141 |
FragmentEffectChroma.enable(); |
| 142 | 142 |
FragmentEffectSaturation.enable(); |
| 143 | 143 |
|
| 144 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 144 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 145 | 145 |
} |
| 146 | 146 |
|
| 147 | 147 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/flag/FlagRenderer.java | ||
|---|---|---|
| 191 | 191 |
VertexEffectScale.enable(); |
| 192 | 192 |
VertexEffectWave.enable(); |
| 193 | 193 |
|
| 194 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 194 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 195 | 195 |
} |
| 196 | 196 |
|
| 197 | 197 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/generic/GenericRenderer.java | ||
|---|---|---|
| 322 | 322 |
Effect.enableEffects(EffectType.FRAGMENT); |
| 323 | 323 |
Effect.enableEffects(EffectType.POSTPROCESS); |
| 324 | 324 |
|
| 325 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 325 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 326 | 326 |
} |
| 327 | 327 |
|
| 328 | 328 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/girl/GirlRenderer.java | ||
|---|---|---|
| 212 | 212 |
VertexEffectSink.enable(); |
| 213 | 213 |
VertexEffectSwirl.enable(); |
| 214 | 214 |
|
| 215 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 215 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 216 | 216 |
} |
| 217 | 217 |
|
| 218 | 218 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/glow/GlowRenderer.java | ||
|---|---|---|
| 147 | 147 |
|
| 148 | 148 |
PostprocessEffectGlow.enable(); |
| 149 | 149 |
|
| 150 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 150 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 151 | 151 |
} |
| 152 | 152 |
|
| 153 | 153 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/inflate/InflateRenderer.java | ||
|---|---|---|
| 154 | 154 |
VertexEffectScale.enable(); |
| 155 | 155 |
FragmentEffectAlpha.enable(); |
| 156 | 156 |
|
| 157 |
DistortedLibrary.onCreate(act,this);
|
|
| 157 |
DistortedLibrary.onSurfaceCreated(act,this);
|
|
| 158 | 158 |
} |
| 159 | 159 |
|
| 160 | 160 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/listener/ListenerRenderer.java | ||
|---|---|---|
| 183 | 183 |
DistortedLibrary.setMax(EffectType.VERTEX,NUM_CONCURRENT_BUBBLES+1); |
| 184 | 184 |
VertexEffectDistort.enable(); |
| 185 | 185 |
|
| 186 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 186 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 187 | 187 |
} |
| 188 | 188 |
|
| 189 | 189 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java | ||
|---|---|---|
| 43 | 43 |
import org.distorted.library.type.DynamicQuat; |
| 44 | 44 |
import org.distorted.library.type.Static3D; |
| 45 | 45 |
import org.distorted.library.type.Static4D; |
| 46 |
import org.distorted.examples.meshfile.FactoryCubit; |
|
| 47 | 46 |
|
| 48 | 47 |
import java.io.DataInputStream; |
| 49 | 48 |
import java.io.IOException; |
| ... | ... | |
| 138 | 137 |
|
| 139 | 138 |
DistortedLibrary.setMax(EffectType.VERTEX, 16); |
| 140 | 139 |
|
| 141 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 140 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 142 | 141 |
} |
| 143 | 142 |
|
| 144 | 143 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/meshjoin/MeshJoinRenderer.java | ||
|---|---|---|
| 132 | 132 |
DistortedLibrary.setMax(EffectType.VERTEX, 11); |
| 133 | 133 |
VertexEffectSink.enable(); |
| 134 | 134 |
|
| 135 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 135 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 136 | 136 |
} |
| 137 | 137 |
|
| 138 | 138 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/mirror/MirrorRenderer.java | ||
|---|---|---|
| 219 | 219 |
VertexEffectScale.enable(); |
| 220 | 220 |
FragmentEffectBrightness.enable(); |
| 221 | 221 |
|
| 222 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 222 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 223 | 223 |
} |
| 224 | 224 |
|
| 225 | 225 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/monalisa/MonaLisaRenderer.java | ||
|---|---|---|
| 161 | 161 |
// before the call to DistortedLibrary.onCreate(). Best done here. |
| 162 | 162 |
VertexEffectDistort.enable(); |
| 163 | 163 |
|
| 164 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 164 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 165 | 165 |
} |
| 166 | 166 |
|
| 167 | 167 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/movingeffects/MovingEffectsRenderer.java | ||
|---|---|---|
| 178 | 178 |
FragmentEffectChroma.enable(); |
| 179 | 179 |
FragmentEffectAlpha.enable(); |
| 180 | 180 |
|
| 181 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 181 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 182 | 182 |
} |
| 183 | 183 |
|
| 184 | 184 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/movingglow/MovingGlowRenderer.java | ||
|---|---|---|
| 202 | 202 |
FragmentEffectChroma.enable(); |
| 203 | 203 |
PostprocessEffectGlow.enable(); |
| 204 | 204 |
|
| 205 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 205 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 206 | 206 |
} |
| 207 | 207 |
|
| 208 | 208 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/multiblur/MultiblurRenderer.java | ||
|---|---|---|
| 196 | 196 |
|
| 197 | 197 |
PostprocessEffectBlur.enable(); |
| 198 | 198 |
|
| 199 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 199 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 200 | 200 |
} |
| 201 | 201 |
|
| 202 | 202 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/objecttree/ObjectTreeRenderer.java | ||
|---|---|---|
| 201 | 201 |
VertexEffectSink.enable(); |
| 202 | 202 |
FragmentEffectChroma.enable(); |
| 203 | 203 |
|
| 204 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 204 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 205 | 205 |
} |
| 206 | 206 |
|
| 207 | 207 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java | ||
|---|---|---|
| 207 | 207 |
|
| 208 | 208 |
FragmentEffectChroma.enable(); |
| 209 | 209 |
|
| 210 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 210 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 211 | 211 |
} |
| 212 | 212 |
|
| 213 | 213 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/postprocesstree/PostprocessTreeRenderer.java | ||
|---|---|---|
| 185 | 185 |
FragmentEffectChroma.enable(); |
| 186 | 186 |
PostprocessEffectBlur.enable(); |
| 187 | 187 |
|
| 188 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 188 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 189 | 189 |
} |
| 190 | 190 |
|
| 191 | 191 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/predeform/PredeformRenderer.java | ||
|---|---|---|
| 180 | 180 |
|
| 181 | 181 |
Effect.enableEffects(EffectType.VERTEX); |
| 182 | 182 |
|
| 183 |
DistortedLibrary.onCreate(act, this);
|
|
| 183 |
DistortedLibrary.onSurfaceCreated(act, this);
|
|
| 184 | 184 |
} |
| 185 | 185 |
|
| 186 | 186 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/projection/ProjectionRenderer.java | ||
|---|---|---|
| 146 | 146 |
{
|
| 147 | 147 |
VertexEffectDeform.enable(); |
| 148 | 148 |
|
| 149 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 149 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 150 | 150 |
} |
| 151 | 151 |
|
| 152 | 152 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/quaternion/QuaternionRenderer.java | ||
|---|---|---|
| 132 | 132 |
|
| 133 | 133 |
mTexture.setTexture(bitmap); |
| 134 | 134 |
|
| 135 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 135 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 136 | 136 |
} |
| 137 | 137 |
|
| 138 | 138 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/rubik/RubikRenderer.java | ||
|---|---|---|
| 112 | 112 |
{
|
| 113 | 113 |
createNextCube(); |
| 114 | 114 |
VertexEffectSink.enable(); |
| 115 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 115 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 116 | 116 |
} |
| 117 | 117 |
|
| 118 | 118 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/save/SaveRenderer.java | ||
|---|---|---|
| 249 | 249 |
VertexEffectScale.enable(); |
| 250 | 250 |
VertexEffectSink.enable(); |
| 251 | 251 |
|
| 252 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 252 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 253 | 253 |
} |
| 254 | 254 |
|
| 255 | 255 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/singlemesh/SingleMeshRenderer.java | ||
|---|---|---|
| 185 | 185 |
DistortedLibrary.setMax(EffectType.VERTEX, 15); |
| 186 | 186 |
VertexEffectRotate.enable(); |
| 187 | 187 |
|
| 188 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 188 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 189 | 189 |
} |
| 190 | 190 |
|
| 191 | 191 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/sink/SinkRenderer.java | ||
|---|---|---|
| 125 | 125 |
mScreen.attach(mTexture,mEffects,mMesh); |
| 126 | 126 |
|
| 127 | 127 |
VertexEffectSink.enable(); |
| 128 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 128 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 129 | 129 |
} |
| 130 | 130 |
|
| 131 | 131 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/starwars/StarWarsRenderer.java | ||
|---|---|---|
| 187 | 187 |
{
|
| 188 | 188 |
setupBitmaps(); |
| 189 | 189 |
FragmentEffectAlpha.enable(); |
| 190 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 190 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 191 | 191 |
} |
| 192 | 192 |
|
| 193 | 193 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/stencil/StencilRenderer.java | ||
|---|---|---|
| 226 | 226 |
|
| 227 | 227 |
VertexEffectScale.enable(); |
| 228 | 228 |
FragmentEffectBrightness.enable(); |
| 229 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 229 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 230 | 230 |
} |
| 231 | 231 |
|
| 232 | 232 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/surfaceview/RenderThread.java | ||
|---|---|---|
| 253 | 253 |
mScreen.attach(mTexture,mEffects,mMesh); |
| 254 | 254 |
|
| 255 | 255 |
VertexEffectDistort.enable(); |
| 256 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 256 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 257 | 257 |
} |
| 258 | 258 |
|
| 259 | 259 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/transparency/TransparencyRenderer.java | ||
|---|---|---|
| 215 | 215 |
VertexEffectScale.enable(); |
| 216 | 216 |
PostprocessEffectBlur.enable(); |
| 217 | 217 |
FragmentEffectAlpha.enable(); |
| 218 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 218 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 219 | 219 |
} |
| 220 | 220 |
|
| 221 | 221 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/triblur/TriblurRenderer.java | ||
|---|---|---|
| 211 | 211 |
VertexEffectScale.enable(); |
| 212 | 212 |
PostprocessEffectBlur.enable(); |
| 213 | 213 |
FragmentEffectChroma.enable(); |
| 214 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 214 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 215 | 215 |
} |
| 216 | 216 |
|
| 217 | 217 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/wind/WindRenderer.java | ||
|---|---|---|
| 166 | 166 |
VertexEffectScale.enable(); |
| 167 | 167 |
VertexEffectDeform.enable(); |
| 168 | 168 |
VertexEffectWave.enable(); |
| 169 |
DistortedLibrary.onCreate(mView.getContext(), this);
|
|
| 169 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
|
|
| 170 | 170 |
} |
| 171 | 171 |
|
| 172 | 172 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
1) Beginnings of support for using the library from more than one activity
2) rename DistortedLibrary.onCreate() to onSurfaceCreated()
3) (rubik) add Cambodia's flag.