summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/glrenderer/GLCanvas.java
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2013-05-09 13:30:39 -0700
committerGeorge Mount <mount@google.com>2013-05-09 13:30:39 -0700
commitcaa77af0d12fa40418a342385bc47b8db6267e6c (patch)
treefde8041f08ed006d158ac4f41aed8fcee9418649 /src/com/android/gallery3d/glrenderer/GLCanvas.java
parentb5530eae0732be37a7685e646c5dd9726dc73caf (diff)
downloadandroid_packages_apps_Snap-caa77af0d12fa40418a342385bc47b8db6267e6c.tar.gz
android_packages_apps_Snap-caa77af0d12fa40418a342385bc47b8db6267e6c.tar.bz2
android_packages_apps_Snap-caa77af0d12fa40418a342385bc47b8db6267e6c.zip
Remove GL dependency on unused stencil buffers.
Bug 8884435 Change-Id: I8e7f0563a4a901953e3e2b14e35457b4fefe2e34
Diffstat (limited to 'src/com/android/gallery3d/glrenderer/GLCanvas.java')
-rw-r--r--src/com/android/gallery3d/glrenderer/GLCanvas.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/com/android/gallery3d/glrenderer/GLCanvas.java b/src/com/android/gallery3d/glrenderer/GLCanvas.java
index 941002e8d..305e90521 100644
--- a/src/com/android/gallery3d/glrenderer/GLCanvas.java
+++ b/src/com/android/gallery3d/glrenderer/GLCanvas.java
@@ -197,37 +197,6 @@ public interface GLCanvas {
public abstract int uploadBuffer(java.nio.ByteBuffer buffer);
/**
- * Enable stencil test
- */
- public abstract void enableStencil();
-
- /**
- * Disable stencil.
- */
- public abstract void disableStencil();
-
- /**
- * Clears the stencil so that a new stencil can be generated.
- */
- public abstract void clearStencilBuffer();
-
- /**
- * Start/stop updating the stencil buffer.
- *
- * @param update True if the stencil should be updated, false otherwise.
- */
- public abstract void updateStencil(boolean update);
-
- /**
- * Changes how the stencil buffer is used.
- *
- * @param onlyOutside If true, only the area outside the stencil can be
- * changed. If false, the area inside the stencil can be drawn to
- * as well.
- */
- public abstract void drawOnlyOutsideStencil(boolean onlyOutside);
-
- /**
* After LightCycle makes GL calls, this method is called to restore the GL
* configuration to the one expected by GLCanvas.
*/