Add support for pausing/resuming composition from Java.

This commit is contained in:
Ali Juma
2012-02-05 13:33:38 -05:00
parent 99dac3d363
commit 2bde4e095d
8 changed files with 94 additions and 5 deletions

View File

@@ -171,6 +171,8 @@ public class GeckoAppShell
public static native void freeDirectBuffer(ByteBuffer buf);
public static native void bindWidgetTexture();
public static native void scheduleComposite();
public static native void schedulePauseComposition();
public static native void scheduleResumeComposition();
// A looper thread, accessed by GeckoAppShell.getHandler
private static class LooperThread extends Thread {