Package: GL
authorsangjin3.kim <sangjin3.kim@samsung.com>
Mon, 28 Jan 2013 04:27:47 +0000 (13:27 +0900)
committersangjin3.kim <sangjin3.kim@samsung.com>
Mon, 28 Jan 2013 04:27:47 +0000 (13:27 +0900)
commit15f8617a72ccac098e2a2968a742b2f837853075
treeb3819f18abbb234a7e287ece7bd564c9d4fcf42b
parent56cefde2c93b8244622a810d4a9037683d354990
Package: GL
    Fix crash screen of webapp on Mac

    webkit rendering in this way:
    1. context A loaded textures with tiles of screen via glTexSubImage2D
    2. context B, sharing state with A, use these textures to render into a FBO,
        which was already linked as a texture via glFramebufferTexture2D
    3. finally the texture is composited with tool bars in main window

    The issue happend in step 2, where only some of texutres are shared
    successfully, and others are not initialized(Seems from previous application).
    Or in step 1, some textures are not really loaded by glTexSubImage2D

    This should be host Mac GL driver's issue. This work around use glGetTexImage
    to read texture back right after glTexSubImage2D, thus guarantee a synchronization.

Signed-off-by: edwin.zhai <edwin.zhai@intel.com>
tizen/src/hw/opengl_exec.c