Confirmed users
770
edits
| Line 78: | Line 78: | ||
==The Impact to Current Gecko Camera Design== | ==The Impact to Current Gecko Camera Design== | ||
In current Gecko camera design, we directly create a GonkNativeWindow for camera preview. When the preview frame is updated, the Gecko gets current buffer in GonkNativeWindow and update the GrallocImage in ImageContainer in |nsGonkCameraControl::OnNewPreviewFrame|. We need to insert the Mosaic Render into this work flow. | |||
<p> | |||
So we might need to extend the abilities of GonkNativeWindow including binding textures and update textures. Also we need to create EGLImage from EGLSurface and set this data to image container. | |||
=Design= | =Design= | ||