Lines Matching refs:EffectContext
26 * <p>An EffectContext keeps all necessary state information to run Effects within a Open GL ES 2.0
29 * <p>Every EffectContext is bound to one GL context. The application is responsible for creating
31 * destroyed, the EffectContext becomes invalid and any effects bound to this context can no longer
32 * be used. If you switch to another EGL context, you must create a new EffectContext. Each Effect
33 * is bound to a single EffectContext, and can only be executed in that context.</p>
35 public class EffectContext {
51 * <p>Binds the EffectContext to the current OpenGL context. All subsequent calls to the
52 * EffectContext must be made in the GL context that was active during creation.
56 public static EffectContext createWithCurrentGlContext() {
57 EffectContext result = new EffectContext();
77 * <p>Releases all the resources and effects associated with the EffectContext. This renders the
82 * EffectContext and its effects may release internal GL resources.</p>
89 private EffectContext() {
97 throw new RuntimeException("Attempting to initialize EffectContext with no active "