diff options
author | Owen Lin <owenlin@google.com> | 2010-05-05 15:03:49 +0800 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2010-05-10 18:30:21 +0800 |
commit | 0d73bccf89870682007dd32d4a84bcdb812e2cc7 (patch) | |
tree | 75bab272e9b5757011624136f548ddd18806f995 /src/com/android/camera/ui/CanvasTexture.java | |
parent | cdf69cba3617c446e4fe9a92b4b4199c6ed36d01 (diff) | |
download | LegacyCamera-0d73bccf89870682007dd32d4a84bcdb812e2cc7.zip LegacyCamera-0d73bccf89870682007dd32d4a84bcdb812e2cc7.tar.gz LegacyCamera-0d73bccf89870682007dd32d4a84bcdb812e2cc7.tar.bz2 |
Handle events in the main thread and use GLThread only as a rendering thread.
Coordinate the two threads by synchronizing on the GLRootView instance.
Change-Id: I94459f6afeb468660df7219800bc48b621edecd4
Diffstat (limited to 'src/com/android/camera/ui/CanvasTexture.java')
-rw-r--r-- | src/com/android/camera/ui/CanvasTexture.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/ui/CanvasTexture.java b/src/com/android/camera/ui/CanvasTexture.java index fa0b76e..32ec8f1 100644 --- a/src/com/android/camera/ui/CanvasTexture.java +++ b/src/com/android/camera/ui/CanvasTexture.java @@ -5,7 +5,7 @@ import android.graphics.Canvas; import android.graphics.Bitmap.Config; /** Using a canvas to draw the texture */ -public abstract class CanvasTexture extends Texture { +abstract class CanvasTexture extends Texture { protected Canvas mCanvas; public CanvasTexture(int width, int height) { |