int maxTextureSize = 0;glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
06-28 18:39:21.805: E/MaliEGL(1124): mali_surface* __egl_platform_create_surface_from_native_buffer(android_native_buffer_t*, mali_base_ctx_handle):546 [EGL-ERROR] failed to map physical memory (0x0 + 0)06-28 18:39:21.810: E/MaliEGL(1124): void __egl_platform_dequeue_buffer(egl_surface*):1136 [EGL-ERROR] Failed to create a surface from native buffer (0x5722c69c)06-28 18:39:21.880: E/MaliEGL(1124): mali_surface* __egl_platform_create_surface_from_native_buffer(android_native_buffer_t*, mali_base_ctx_handle):546 [EGL-ERROR] failed to map physical memory (0x0 + 0)06-28 18:39:21.880: E/MaliEGL(1124): void __egl_platform_dequeue_buffer(egl_surface*):1136 [EGL-ERROR] Failed to create a surface from native buffer (0x5722c69c)06-28 18:39:21.945: E/MaliEGL(1124): mali_surface* __egl_platform_create_surface_from_native_buffer(android_native_buffer_t*, mali_base_ctx_handle):546 [EGL-ERROR] failed to map physical memory (0x0 + 0)06-28 18:39:21.945: E/MaliEGL(1124): void __egl_platform_dequeue_buffer(egl_surface*):1136 [EGL-ERROR] Failed to create a surface from native buffer (0x5722c69c)06-28 18:39:21.980: E/MaliEGL(1124): mali_surface* __egl_platform_create_surface_from_native_buffer(android_native_buffer_t*, mali_base_ctx_handle):546 [EGL-ERROR] failed to map physical memory (0x0 + 0)06-28 18:39:21.980: E/MaliEGL(1124): void __egl_platform_dequeue_buffer(egl_surface*):1136 [EGL-ERROR] Failed to create a surface from native buffer (0x5722c69c)06-28 18:39:23.420: E/MaliEGL(1124): mali_surface* __egl_platform_create_surface_from_native_buffer(android_native_buffer_t*, mali_base_ctx_handle):546 [EGL-ERROR] failed to map physical memory (0x0 + 0)06-28 18:39:23.420: E/MaliEGL(1124): void __egl_platform_dequeue_buffer(egl_surface*):1136 [EGL-ERROR] Failed to create a surface from native buffer (0x58f62f04)06-28 18:39:23.425: E/libEGL(1124): eglMakeCurrent:534 error 3003 (EGL_BAD_ALLOC)