History log of /packages/apps/LegacyCamera/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d32aa042a7d7fdb52cd8cec571e7c648f837eaff 19-Oct-2011 Wei-Ta Chen <weita@google.com> Make Panorama work in portrait layout.

Add the support of both portrait and landscape layout to the panorama library.
Add a step into the preview renderer that rotates the content in the
offscreen buffer by 90 degrees in the case of a portrait layout.

Change-Id: I879e3476daac522b0c8b27fe3ef5b17ebf0797e3
/packages/apps/LegacyCamera/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java
575b49275691f5b539fe2c6dfde1741645dc3e93 30-Sep-2011 Raji Reddy Kandi <rajireddy.k@samsung.com> Issue: panorama preview is rotated 90 deg after lock and unlock.

Fixed.panorama preview is rotated 90 deg after lock and unlock. Its fixed.

Change-Id: Ibc5e3d18a56b3900c0715a3aeb7f345ccc476fca
Signed-off-by: Raji Reddy Kandi <rajireddy.k@samsung.com>
/packages/apps/LegacyCamera/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java
2faf16a90a6a6d18e40faf45ced217b913b214b6 18-Aug-2011 Angus Kong <shkong@google.com> Refactor to decouple SurfaceTexture and renderer.

Change-Id: Icae3183f597fc64ab2f3ffc0868a12b878aabdf2
/packages/apps/LegacyCamera/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java
36839102e03107e3fb121197036365a58ec2686e 15-Aug-2011 Angus Kong <shkong@google.com> Fix NPE at PanoramaActivity.stopCapture()

bug: 5166705
Change-Id: Idbeeaef6981775303ebc324a0f004b6db45bcbf8
/packages/apps/LegacyCamera/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java
41a2e9735136f372de95652d0828600282c8e967 09-Aug-2011 mbansal <mayank.bansal@sri.com> Updates to allow using SurfaceTexture for reading the preview frames directly from GPU memory.

1) SurfaceTexture is now used to obtain the data processed by the mosaicing library.
2) SurfaceTexture in GPU memory is directly rendered using the transformation from the mosaicing library to generate the preview mosaic.
3) GPU is also used to generate the Low-Res frames from the High-res frames (was being done in CPU before).
4) SurfaceTexture is also used to render the viewfinder as soon as the mosaicing application starts (eliminating the need for a separate SurfaceHolder to render the camera).
5) Modified the XML layout during the preview state to be the same size as during the capture stage to accommodate the SurfaceTexture based viewfinder [this needs to be reviewed and adjusted].
6) Fixed the viewfinder and back button issues identified by Wei-Ta.
7) Round-1 of removing trailing spaces and tabs.
8) Added documentation to new Java side interfaces and cleaned up code in general.
9) Cleaned up redundant and commented out code from the native side.
10) Merged with latest updates from the main trunk.
11) Fixed issues identified in code review and also cleaned up and refactored some code.
12) Added layout-w1024dp/pano_capture.xml for tablet layout.

Change-Id: If8fb0116de6c7fc6652cc67ac453553726961c32
/packages/apps/LegacyCamera/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java
eeb94d4de94bfd4e01f3a716803f77a530f5b92c 02-Aug-2011 mbansal <mayank.bansal@sri.com> Updates for mosaic preview rendering to happen using native GLES2.0 code.

1) Added new subfolder mosaic_renderer in feature_mos/src with FrameBuffer and WarpRenderer classes.
2) Added mosaic_renderer_jni.h|cpp files to the jni folder to perform GL calls for rendering on the GL thread.
3) Updated code in feature_mos_jni.cpp to connect with mosaic_renderer_jni.cpp.
4) Added new java files in com.android.camera.panorama to encapsulate the GL JNI interface, a GLSurfaceView for display and a GLSurfaceView.Renderer for rendering.
5) Modified APP code to enable the new GL-based rendering and made relevant changes to the UI (in pano_views.xml).
6) Fixed a GL bug which was preventing the rendering from working properly after hitting the back button once.
7) Preview rendering now displays in the current frame coordinate system.
8) Fixed the ghost preview rendering bug.

Change-Id: Ieb64ee3fd4a9a2c6563a311a4930ddc85ce2247c
/packages/apps/LegacyCamera/src/com/android/camera/panorama/MosaicRendererSurfaceViewRenderer.java