summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/support/glrenderer/Texture.java
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2013-08-09 14:55:20 -0700
committerAngus Kong <shkong@google.com>2013-08-09 17:12:11 -0700
commitb50b5cbfbc0a67db6fc43373363b10381c9c61a3 (patch)
treeb66054bcd1fbbae3ccf4f79d82c29ea1fb643ebf /src/com/android/camera/support/glrenderer/Texture.java
parent4b2cb93c3f652734c41b4eb7449215178c586e8a (diff)
downloadandroid_packages_apps_Snap-b50b5cbfbc0a67db6fc43373363b10381c9c61a3.tar.gz
android_packages_apps_Snap-b50b5cbfbc0a67db6fc43373363b10381c9c61a3.tar.bz2
android_packages_apps_Snap-b50b5cbfbc0a67db6fc43373363b10381c9c61a3.zip
Clean up Gallery codes.
bug:10263696 Change-Id: I3a16dba3aabe52b8103a2c591cfa39907265a263
Diffstat (limited to 'src/com/android/camera/support/glrenderer/Texture.java')
-rw-r--r--src/com/android/camera/support/glrenderer/Texture.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/com/android/camera/support/glrenderer/Texture.java b/src/com/android/camera/support/glrenderer/Texture.java
deleted file mode 100644
index 4d1a49d2b..000000000
--- a/src/com/android/camera/support/glrenderer/Texture.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.android.camera.support.glrenderer;
-
-//Texture is a rectangular image which can be drawn on GLCanvas.
-//The isOpaque() function gives a hint about whether the texture is opaque,
-//so the drawing can be done faster.
-//
-//This is the current texture hierarchy:
-//
-//Texture
-//-- ColorTexture
-//-- FadeInTexture
-//-- BasicTexture
-// -- UploadedTexture
-// -- BitmapTexture
-// -- Tile
-// -- ResourceTexture
-// -- NinePatchTexture
-// -- CanvasTexture
-// -- StringTexture
-//
-public interface Texture {
- public int getWidth();
- public int getHeight();
- public void draw(GLCanvas canvas, int x, int y);
- public void draw(GLCanvas canvas, int x, int y, int w, int h);
- public boolean isOpaque();
-}