diff options
author | Angus Kong <shkong@google.com> | 2013-12-05 14:19:15 -0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2013-12-05 14:24:16 -0800 |
commit | 4583f053f5f3205e6016e1cb6c2a5475e0588bdf (patch) | |
tree | 5e50a8de618e905ad4f5bd5f586975aa38e0e8ab /jni/feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.h | |
parent | aeaef40c8285e5c2c0c5e13a8f8229cdb531836c (diff) | |
download | android_packages_apps_Camera2-4583f053f5f3205e6016e1cb6c2a5475e0588bdf.tar.gz android_packages_apps_Camera2-4583f053f5f3205e6016e1cb6c2a5475e0588bdf.tar.bz2 android_packages_apps_Camera2-4583f053f5f3205e6016e1cb6c2a5475e0588bdf.zip |
Remove build target and codes for legacy panorama.
bug:11811982
Change-Id: I733e80511d8eecdd1dbc90daf9b7f9fb709a2766
Diffstat (limited to 'jni/feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.h')
-rwxr-xr-x | jni/feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/jni/feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.h b/jni/feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.h deleted file mode 100755 index ea2b81ade..000000000 --- a/jni/feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.h +++ /dev/null @@ -1,44 +0,0 @@ -#pragma once - -#include "FrameBuffer.h" -#include "Renderer.h" - -#include <GLES2/gl2.h> - -#include <stdint.h> -#include <stdio.h> -#include <stdlib.h> - -class SurfaceTextureRenderer: public Renderer { - public: - SurfaceTextureRenderer(); - virtual ~SurfaceTextureRenderer(); - - // Initialize OpenGL resources - // @return true if successful - bool InitializeGLProgram(); - - bool DrawTexture(GLfloat *affine); - - void SetViewportMatrix(int w, int h, int W, int H); - void SetScalingMatrix(float xscale, float yscale); - void SetSTMatrix(float *stmat); - - private: - // Source code for shaders. - const char* VertexShaderSource() const; - const char* FragmentShaderSource() const; - - // Attribute locations - GLint mScalingtransLoc; - GLint muSTMatrixHandle; - GLint maPositionHandle; - GLint maTextureHandle; - - GLfloat mViewportMatrix[16]; - GLfloat mScalingMatrix[16]; - - GLfloat mSTMatrix[16]; - -}; - |