Exemplo n.º 1
0
gceSTATUS
gcoOS_FreeEGLLibrary(
    IN gctHANDLE Handle
    )
{
    if (screen_ctx)
    {
        screen_destroy_context(screen_ctx);
        screen_ctx = gcvNULL;
    }

    return gcoOS_FreeLibrary(gcvNULL, Handle);
}
Exemplo n.º 2
0
gceSTATUS
gcoOS_FreeEGLLibrary(
    IN gctHANDLE Handle
    )
{
    if (screen_ctx)
    {
        if (gcvNULL != s_window_list_mutex)
        {
            gcoOS_DeleteMutex(gcvNULL, s_window_list_mutex);
            s_window_list_mutex = gcvNULL;
        }

        screen_destroy_context(screen_ctx);
        screen_ctx = gcvNULL;
    }

    return gcoOS_FreeLibrary(gcvNULL, Handle);
}