Code example for ConditionVariable

Methods: open

0
                mTexture = null;
            } 
        } else { 
            mTexture = null;
        } 
        mResultReady.open();
        return false; 
    } 
 
    public static void prepareFadeOutTexture(AbstractGalleryActivity activity,
            GLView rootPane) {
        PreparePageFadeoutTexture task = new PreparePageFadeoutTexture(rootPane);
        if (task.isCancelled()) return;
        GLRoot root = activity.getGLRoot();
        RawTexture texture = null;
        root.unlockRenderThread();
        try { 
            root.addOnGLIdleListener(task);
            texture = task.get();
        } finally { 
            root.lockRenderThread();