glCheckFramebufferStatus / GL_FRAMEBUFFER_UNDEFINED

I try to port an GLES 3.1 application from a host Linux/Ubuntu to an arm Linux/Yocto. Suddenly the function glCheckFramebufferStatus fails with error code GL_FRAMEBUFFER_UNDEFINED as well as glClear and glDrawArrays.

https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glCheckFramebufferStatus.xhtml

The API says that this happens "if target is the default framebuffer, but the default framebuffer does not exist. "

There apparently is no problem with FBOs index >= 1. I configure the attachments for these explicitly with glRenderbufferFramebuffer.

The problem only arises on the Yocto board, not on the Ubuntu desktop.

What can cause a default frame buffer to disappear or not getting created, but its FBOs are still intact?

What is Yocto, and what is a “Yocto board”?

Also, the nature of the default framebuffer is defined by the mechanism you use to create the OpenGL context. So we’d have to know what that is to be able to explain it. However, if this “Yocto board” doesn’t have a display attached to it, it is likely that the OpenGL context won’t have a default framebuffer, since the default framebuffer is usually expected to represent some portion of the display.

Greetings, the Yocto board is a Linux embedded system with an Aarch64 ARM cpu, a PowerVR GPU and Yocto Linux. It does have a display attached to it which makes this so weird.
If you give me a sec I will see if I can get a full gl/egl command dump up until the error.

NoCalls:411650
NoFrames:207

Writing to file:

Frame:0/206
-----------------------------------------------------------------------------
#1 eglGetDisplay(EGLNativeDisplayType(0x07627810)) ==> EGLDisplay(0x00000001) Error: EGL_SUCCESS
#2 eglInitialize(EGLDisplay(0x00000001),1,4) ==> EGL_TRUE Error: EGL_SUCCESS
#3 (Display information)()
#4 eglQueryString(EGLDisplay(0x00000001),EGL_VERSION) ==> 1.4 build 1.10@5187610 + PVRTrace v3.12 (18.2@5236813) Error: EGL_SUCCESS
#5 eglQueryString(EGLDisplay(0x00000001),EGL_VENDOR) ==> Imagination Technologies Error: EGL_SUCCESS
#6 eglQueryString(EGLDisplay(0x00000001),EGL_CLIENT_APIS) ==> OpenGL_ES  Error: EGL_SUCCESS
#7 eglQueryString(EGLDisplay(0x00000001),EGL_EXTENSIONS) ==> EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_EXT_pixel_format_float EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs EGL_EXT_swap_buffers_with_damage EGL_KHR_swap_buffers_with_damage EGL_KHR_partial_update EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_IMG_context_priority EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_REL_get_spm_event EGL_REL_create_context EGL_REL_query_context EGL_REL_get_meminfo EGL_REL_get_pds_fragbuffer_info EGL_WL_bind_wayland_display Error: EGL_SUCCESS
#8 eglBindAPI(EGL_OPENGL_ES_API) ==> EGL_TRUE Error: EGL_SUCCESS
#9 eglQueryString(EGLDisplay(0x00000001),EGL_EXTENSIONS) ==> EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_EXT_pixel_format_float EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs EGL_EXT_swap_buffers_with_damage EGL_KHR_swap_buffers_with_damage EGL_KHR_partial_update EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_IMG_context_priority EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_REL_get_spm_event EGL_REL_create_context EGL_REL_query_context EGL_REL_get_meminfo EGL_REL_get_pds_fragbuffer_info EGL_WL_bind_wayland_display Error: EGL_SUCCESS
#10 eglChooseConfig(EGLDisplay(0x00000001),{ EGL_RED_SIZE : 5, EGL_GREEN_SIZE : 6, EGL_BLUE_SIZE : 5, EGL_ALPHA_SIZE : 0, EGL_DEPTH_SIZE : 24, EGL_STENCIL_SIZE : 8, EGL_SURFACE_TYPE : EGL_WINDOW_BIT, EGL_SAMPLE_BUFFERS : 0, EGL_SAMPLES : -1, EGL_RENDERABLE_TYPE : EGL_OPENGL_ES3_BIT, EGL_NONE },EGLConfig(9),1,1) ==> EGL_TRUE Error: EGL_SUCCESS
#11 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_RENDERABLE_TYPE,EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT) ==> EGL_TRUE Error: EGL_SUCCESS
#12 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_NATIVE_RENDERABLE,EGL_FALSE) ==> EGL_TRUE Error: EGL_SUCCESS
#13 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_SURFACE_TYPE,EGL_PBUFFER_BIT | EGL_PIXMAP_BIT | EGL_WINDOW_BIT) ==> EGL_TRUE Error: EGL_SUCCESS
#14 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_RED_SIZE,8) ==> EGL_TRUE Error: EGL_SUCCESS
#15 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_GREEN_SIZE,8) ==> EGL_TRUE Error: EGL_SUCCESS
#16 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_BLUE_SIZE,8) ==> EGL_TRUE Error: EGL_SUCCESS
#17 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_ALPHA_SIZE,0) ==> EGL_TRUE Error: EGL_SUCCESS
#18 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_BUFFER_SIZE,24) ==> EGL_TRUE Error: EGL_SUCCESS
#19 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_DEPTH_SIZE,24) ==> EGL_TRUE Error: EGL_SUCCESS
#20 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_STENCIL_SIZE,8) ==> EGL_TRUE Error: EGL_SUCCESS
#21 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_SAMPLE_BUFFERS,0) ==> EGL_TRUE Error: EGL_SUCCESS
#22 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_SAMPLES,0) ==> EGL_TRUE Error: EGL_SUCCESS
#23 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_BIND_TO_TEXTURE_RGB,EGL_TRUE) ==> EGL_TRUE Error: EGL_SUCCESS
#24 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_BIND_TO_TEXTURE_RGBA,EGL_FALSE) ==> EGL_TRUE Error: EGL_SUCCESS
#25 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_MAX_PBUFFER_WIDTH,8192) ==> EGL_TRUE Error: EGL_SUCCESS
#26 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_MAX_PBUFFER_HEIGHT,8192) ==> EGL_TRUE Error: EGL_SUCCESS
#27 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_MAX_PBUFFER_PIXELS,67108864) ==> EGL_TRUE Error: EGL_SUCCESS
#28 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_MIN_SWAP_INTERVAL,0) ==> EGL_TRUE Error: EGL_SUCCESS
#29 eglGetConfigAttrib(EGLDisplay(0x00000001),EGLConfig(9),EGL_MAX_SWAP_INTERVAL,1) ==> EGL_TRUE Error: EGL_SUCCESS
#30 eglCreateContext(EGLDisplay(0x00000001),EGLConfig(9)
{ EGL_ALPHA_SIZE : 0, EGL_ALPHA_MASK_SIZE : 0, EGL_BIND_TO_TEXTURE_RGB : EGL_TRUE, EGL_BIND_TO_TEXTURE_RGBA : EGL_FALSE, EGL_BLUE_SIZE : 8, EGL_BUFFER_SIZE : 24, EGL_COLOR_BUFFER_TYPE : EGL_RGB_BUFFER, EGL_CONFIG_CAVEAT : EGL_NONE, EGL_CONFIG_ID : 9, EGL_CONFORMANT : EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT, EGL_DEPTH_SIZE : 24, EGL_GREEN_SIZE : 8, EGL_LEVEL : 0, EGL_LUMINANCE_SIZE : 0, EGL_MAX_PBUFFER_WIDTH : 8192, EGL_MAX_PBUFFER_HEIGHT : 8192, EGL_MAX_PBUFFER_PIXELS : 67108864, EGL_MAX_SWAP_INTERVAL : 1, EGL_MIN_SWAP_INTERVAL : 0, EGL_NATIVE_RENDERABLE : EGL_FALSE, EGL_NATIVE_VISUAL_ID : 875713112, EGL_NATIVE_VISUAL_TYPE : 0, EGL_RED_SIZE : 8, EGL_RENDERABLE_TYPE : EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT, EGL_SAMPLE_BUFFERS : 0, EGL_SAMPLES : 0, EGL_STENCIL_SIZE : 8, EGL_SURFACE_TYPE : EGL_PBUFFER_BIT | EGL_PIXMAP_BIT | EGL_WINDOW_BIT, EGL_TRANSPARENT_TYPE : EGL_NONE, EGL_TRANSPARENT_RED_VALUE : 0, EGL_TRANSPARENT_GREEN_VALUE : 0, EGL_TRANSPARENT_BLUE_VALUE : 0, EGL_NONE },EGL_NO_CONTEXT,{ EGL_CONTEXT_CLIENT_VERSION : 3, EGL_CONTEXT_MINOR_VERSION : 1, EGL_NONE }) ==> EGLContext(0x7f9007d360) Error: EGL_SUCCESS
#31 eglMakeCurrent(EGLDisplay(0x00000001),EGL_NO_SURFACE,EGL_NO_SURFACE,EGLContext(0x7f9007d360)) ==> EGL_TRUE Error: EGL_SUCCESS
#32 (Context information)()
#33 eglMakeCurrent(EGLDisplay(0x00000001),EGL_NO_SURFACE,EGL_NO_SURFACE,EGL_NO_CONTEXT) ==> EGL_TRUE Error: EGL_SUCCESS
#34 eglCreatePbufferSurface(EGLDisplay(0x00000001),EGLConfig(9)
{ EGL_ALPHA_SIZE : 0, EGL_ALPHA_MASK_SIZE : 0, EGL_BIND_TO_TEXTURE_RGB : EGL_TRUE, EGL_BIND_TO_TEXTURE_RGBA : EGL_FALSE, EGL_BLUE_SIZE : 8, EGL_BUFFER_SIZE : 24, EGL_COLOR_BUFFER_TYPE : EGL_RGB_BUFFER, EGL_CONFIG_CAVEAT : EGL_NONE, EGL_CONFIG_ID : 9, EGL_CONFORMANT : EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT, EGL_DEPTH_SIZE : 24, EGL_GREEN_SIZE : 8, EGL_LEVEL : 0, EGL_LUMINANCE_SIZE : 0, EGL_MAX_PBUFFER_WIDTH : 8192, EGL_MAX_PBUFFER_HEIGHT : 8192, EGL_MAX_PBUFFER_PIXELS : 67108864, EGL_MAX_SWAP_INTERVAL : 1, EGL_MIN_SWAP_INTERVAL : 0, EGL_NATIVE_RENDERABLE : EGL_FALSE, EGL_NATIVE_VISUAL_ID : 875713112, EGL_NATIVE_VISUAL_TYPE : 0, EGL_RED_SIZE : 8, EGL_RENDERABLE_TYPE : EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT, EGL_SAMPLE_BUFFERS : 0, EGL_SAMPLES : 0, EGL_STENCIL_SIZE : 8, EGL_SURFACE_TYPE : EGL_PBUFFER_BIT | EGL_PIXMAP_BIT | EGL_WINDOW_BIT, EGL_TRANSPARENT_TYPE : EGL_NONE, EGL_TRANSPARENT_RED_VALUE : 0, EGL_TRANSPARENT_GREEN_VALUE : 0, EGL_TRANSPARENT_BLUE_VALUE : 0, EGL_NONE },{ EGL_WIDTH : 8, EGL_HEIGHT : 8, EGL_NONE }) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#35 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_WIDTH,8) ==> EGL_TRUE Error: EGL_SUCCESS
#36 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_HEIGHT,8) ==> EGL_TRUE Error: EGL_SUCCESS
#37 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_HORIZONTAL_RESOLUTION,-1) ==> EGL_TRUE Error: EGL_SUCCESS
#38 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_VERTICAL_RESOLUTION,-1) ==> EGL_TRUE Error: EGL_SUCCESS
#39 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_SWAP_BEHAVIOR,EGL_BUFFER_DESTROYED) ==> EGL_TRUE Error: EGL_SUCCESS
#40 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_RENDER_BUFFER,EGL_BACK_BUFFER) ==> EGL_TRUE Error: EGL_SUCCESS
#41 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_TEXTURE_FORMAT,EGL_NO_TEXTURE) ==> EGL_TRUE Error: EGL_SUCCESS
#42 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_TEXTURE_TARGET,EGL_NO_TEXTURE) ==> EGL_TRUE Error: EGL_SUCCESS
#43 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_MIPMAP_TEXTURE,0) ==> EGL_TRUE Error: EGL_SUCCESS
#44 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_MIPMAP_LEVEL,0) ==> EGL_TRUE Error: EGL_SUCCESS
#45 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_MULTISAMPLE_RESOLVE,EGL_MULTISAMPLE_RESOLVE_DEFAULT) ==> EGL_TRUE Error: EGL_SUCCESS
#46 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_PIXEL_ASPECT_RATIO,-1) ==> EGL_TRUE Error: EGL_SUCCESS
#47 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGL_LARGEST_PBUFFER,0) ==> EGL_TRUE Error: EGL_SUCCESS
#48 eglMakeCurrent(EGLDisplay(0x00000001),EGLSurface(0x7f9009b600),EGLSurface(0x7f9009b600),EGLContext(0x7f9007d360)) ==> EGL_TRUE Error: EGL_SUCCESS
#49 eglSwapInterval(EGLDisplay(0x00000001),0) ==> EGL_TRUE Error: EGL_SUCCESS
#50 glGetIntegerv(GL_BLEND_EQUATION,32774) Error: GL_NO_ERROR
#51 glGetIntegerv(GL_BLEND_EQUATION_ALPHA,32774) Error: GL_NO_ERROR
#52 glGetFloatv(GL_BLEND_COLOR,0.000000
0.000000
0.000000
0.000000) Error: GL_NO_ERROR
#53 glGetIntegerv(GL_BLEND_SRC_RGB,1) Error: GL_NO_ERROR
#54 glGetIntegerv(GL_BLEND_SRC_ALPHA,1) Error: GL_NO_ERROR
#55 glGetIntegerv(GL_BLEND_DST_RGB,0) Error: GL_NO_ERROR
#56 glGetIntegerv(GL_BLEND_DST_ALPHA,0) Error: GL_NO_ERROR
#57 glIsEnabled(GL_BLEND) ==> GL_FALSE Error: GL_NO_ERROR
#58 glIsEnabled(GL_CULL_FACE) ==> GL_FALSE Error: GL_NO_ERROR
#59 glGetIntegerv(GL_FRONT_FACE,2305) Error: GL_NO_ERROR
#60 glGetIntegerv(GL_VIEWPORT,0
0
0
0) Error: GL_NO_ERROR
#61 glGetIntegerv(GL_DEPTH_FUNC,513) Error: GL_NO_ERROR
#62 glIsEnabled(GL_DEPTH_TEST) ==> GL_FALSE Error: GL_NO_ERROR
#63 glGetBooleanv(GL_DEPTH_WRITEMASK,GL_TRUE) Error: GL_NO_ERROR
#64 glGetFloatv(GL_DEPTH_RANGE,0.000000
1.000000) Error: GL_NO_ERROR
#65 glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS,72) Error: GL_NO_ERROR
#66 glGetIntegerv(GL_NUM_EXTENSIONS,110) Error: GL_NO_ERROR
#67 glGetStringi(GL_EXTENSIONS,0) ==> GL_ANDROID_extension_pack_es31a Error: GL_NO_ERROR
#68 glGetStringi(GL_EXTENSIONS,1) ==> GL_EXT_blend_minmax Error: GL_NO_ERROR
#69 glGetStringi(GL_EXTENSIONS,2) ==> GL_EXT_buffer_storage Error: GL_NO_ERROR
#70 glGetStringi(GL_EXTENSIONS,3) ==> GL_EXT_clear_texture Error: GL_NO_ERROR
#71 glGetStringi(GL_EXTENSIONS,4) ==> GL_EXT_clip_control Error: GL_NO_ERROR
#72 glGetStringi(GL_EXTENSIONS,5) ==> GL_EXT_color_buffer_float Error: GL_NO_ERROR
#73 glGetStringi(GL_EXTENSIONS,6) ==> GL_EXT_conservative_depth Error: GL_NO_ERROR
#74 glGetStringi(GL_EXTENSIONS,7) ==> GL_EXT_copy_image Error: GL_NO_ERROR
#75 glGetStringi(GL_EXTENSIONS,8) ==> GL_EXT_discard_framebuffer Error: GL_NO_ERROR
#76 glGetStringi(GL_EXTENSIONS,9) ==> GL_EXT_draw_buffers Error: GL_NO_ERROR
#77 glGetStringi(GL_EXTENSIONS,10) ==> GL_EXT_draw_buffers_indexed Error: GL_NO_ERROR
#78 glGetStringi(GL_EXTENSIONS,11) ==> GL_EXT_draw_elements_base_vertex Error: GL_NO_ERROR
#79 glGetStringi(GL_EXTENSIONS,12) ==> GL_EXT_EGL_image_array Error: GL_NO_ERROR
#80 glGetStringi(GL_EXTENSIONS,13) ==> GL_EXT_float_blend Error: GL_NO_ERROR
#81 glGetStringi(GL_EXTENSIONS,14) ==> GL_EXT_geometry_point_size Error: GL_NO_ERROR
#82 glGetStringi(GL_EXTENSIONS,15) ==> GL_EXT_geometry_shader Error: GL_NO_ERROR
#83 glGetStringi(GL_EXTENSIONS,16) ==> GL_EXT_gpu_shader5 Error: GL_NO_ERROR
#84 glGetStringi(GL_EXTENSIONS,17) ==> GL_EXT_memory_object Error: GL_NO_ERROR
#85 glGetStringi(GL_EXTENSIONS,18) ==> GL_EXT_memory_object_fd Error: GL_NO_ERROR
#86 glGetStringi(GL_EXTENSIONS,19) ==> GL_EXT_multi_draw_arrays Error: GL_NO_ERROR
#87 eglGetProcAddress(glMultiDrawArraysEXT) ==> 0xa16e5db8 Error: EGL_SUCCESS
#88 glGetIntegerv(GL_NUM_EXTENSIONS,110) Error: GL_NO_ERROR
#89 glGetStringi(GL_EXTENSIONS,0) ==> GL_ANDROID_extension_pack_es31a Error: GL_NO_ERROR
#90 glGetStringi(GL_EXTENSIONS,1) ==> GL_EXT_blend_minmax Error: GL_NO_ERROR
#91 glGetStringi(GL_EXTENSIONS,2) ==> GL_EXT_buffer_storage Error: GL_NO_ERROR
#92 glGetStringi(GL_EXTENSIONS,3) ==> GL_EXT_clear_texture Error: GL_NO_ERROR
#93 glGetStringi(GL_EXTENSIONS,4) ==> GL_EXT_clip_control Error: GL_NO_ERROR
#94 glGetStringi(GL_EXTENSIONS,5) ==> GL_EXT_color_buffer_float Error: GL_NO_ERROR
#95 glGetStringi(GL_EXTENSIONS,6) ==> GL_EXT_conservative_depth Error: GL_NO_ERROR
#96 glGetStringi(GL_EXTENSIONS,7) ==> GL_EXT_copy_image Error: GL_NO_ERROR
#97 glGetStringi(GL_EXTENSIONS,8) ==> GL_EXT_discard_framebuffer Error: GL_NO_ERROR
#98 glGetStringi(GL_EXTENSIONS,9) ==> GL_EXT_draw_buffers Error: GL_NO_ERROR
#99 glGetStringi(GL_EXTENSIONS,10) ==> GL_EXT_draw_buffers_indexed Error: GL_NO_ERROR
#100 glGetStringi(GL_EXTENSIONS,11) ==> GL_EXT_draw_elements_base_vertex Error: GL_NO_ERROR
#101 glGetStringi(GL_EXTENSIONS,12) ==> GL_EXT_EGL_image_array Error: GL_NO_ERROR
#102 glGetStringi(GL_EXTENSIONS,13) ==> GL_EXT_float_blend Error: GL_NO_ERROR
#103 glGetStringi(GL_EXTENSIONS,14) ==> GL_EXT_geometry_point_size Error: GL_NO_ERROR
#104 glGetStringi(GL_EXTENSIONS,15) ==> GL_EXT_geometry_shader Error: GL_NO_ERROR
#105 glGetStringi(GL_EXTENSIONS,16) ==> GL_EXT_gpu_shader5 Error: GL_NO_ERROR
#106 glGetStringi(GL_EXTENSIONS,17) ==> GL_EXT_memory_object Error: GL_NO_ERROR
#107 glGetStringi(GL_EXTENSIONS,18) ==> GL_EXT_memory_object_fd Error: GL_NO_ERROR
#108 glGetStringi(GL_EXTENSIONS,19) ==> GL_EXT_multi_draw_arrays Error: GL_NO_ERROR
#109 glGetStringi(GL_EXTENSIONS,20) ==> GL_EXT_multisampled_render_to_texture Error: GL_NO_ERROR
#110 glGetStringi(GL_EXTENSIONS,21) ==> GL_EXT_multisampled_render_to_texture2 Error: GL_NO_ERROR
#111 glGetStringi(GL_EXTENSIONS,22) ==> GL_EXT_occlusion_query_boolean Error: GL_NO_ERROR
#112 glGetStringi(GL_EXTENSIONS,23) ==> GL_EXT_polygon_offset_clamp Error: GL_NO_ERROR
#113 glGetStringi(GL_EXTENSIONS,24) ==> GL_EXT_primitive_bounding_box Error: GL_NO_ERROR
#114 glGetStringi(GL_EXTENSIONS,25) ==> GL_EXT_pvrtc_sRGB Error: GL_NO_ERROR
#115 glGetStringi(GL_EXTENSIONS,26) ==> GL_EXT_read_format_bgra Error: GL_NO_ERROR
#116 glGetStringi(GL_EXTENSIONS,27) ==> GL_EXT_robustness Error: GL_NO_ERROR
#117 glGetStringi(GL_EXTENSIONS,28) ==> GL_EXT_separate_shader_objects Error: GL_NO_ERROR
#118 glGetStringi(GL_EXTENSIONS,29) ==> GL_EXT_shader_framebuffer_fetch Error: GL_NO_ERROR
#119 glGetStringi(GL_EXTENSIONS,30) ==> GL_EXT_shader_group_vote Error: GL_NO_ERROR
#120 glGetStringi(GL_EXTENSIONS,31) ==> GL_EXT_shader_implicit_conversions Error: GL_NO_ERROR
#121 glGetStringi(GL_EXTENSIONS,32) ==> GL_EXT_shader_io_blocks Error: GL_NO_ERROR
#122 glGetStringi(GL_EXTENSIONS,33) ==> GL_EXT_shader_non_constant_global_initializers Error: GL_NO_ERROR
#123 glGetStringi(GL_EXTENSIONS,34) ==> GL_EXT_shader_pixel_local_storage Error: GL_NO_ERROR
#124 glGetStringi(GL_EXTENSIONS,35) ==> GL_EXT_shader_pixel_local_storage2 Error: GL_NO_ERROR
#125 glGetStringi(GL_EXTENSIONS,36) ==> GL_EXT_shader_texture_lod Error: GL_NO_ERROR
#126 glGetStringi(GL_EXTENSIONS,37) ==> GL_EXT_shadow_samplers Error: GL_NO_ERROR
#127 glGetStringi(GL_EXTENSIONS,38) ==> GL_EXT_sparse_texture Error: GL_NO_ERROR
#128 glGetStringi(GL_EXTENSIONS,39) ==> GL_EXT_sRGB_write_control Error: GL_NO_ERROR
#129 glGetStringi(GL_EXTENSIONS,40) ==> GL_EXT_tessellation_point_size Error: GL_NO_ERROR
#130 glGetStringi(GL_EXTENSIONS,41) ==> GL_EXT_tessellation_shader Error: GL_NO_ERROR
#131 glGetStringi(GL_EXTENSIONS,42) ==> GL_EXT_texture_border_clamp Error: GL_NO_ERROR
#132 glGetStringi(GL_EXTENSIONS,43) ==> GL_EXT_texture_buffer Error: GL_NO_ERROR
#133 glGetStringi(GL_EXTENSIONS,44) ==> GL_EXT_texture_cube_map_array Error: GL_NO_ERROR
#134 glGetStringi(GL_EXTENSIONS,45) ==> GL_EXT_texture_filter_anisotropic Error: GL_NO_ERROR
#135 glGetStringi(GL_EXTENSIONS,46) ==> GL_EXT_texture_format_BGRA8888 Error: GL_NO_ERROR
#136 glGetStringi(GL_EXTENSIONS,47) ==> GL_EXT_texture_rg Error: GL_NO_ERROR
#137 glGetStringi(GL_EXTENSIONS,48) ==> GL_EXT_texture_sRGB_decode Error: GL_NO_ERROR
#138 glGetStringi(GL_EXTENSIONS,49) ==> GL_EXT_texture_sRGB_R8 Error: GL_NO_ERROR
#139 glGetStringi(GL_EXTENSIONS,50) ==> GL_EXT_texture_sRGB_RG8 Error: GL_NO_ERROR
#140 glGetStringi(GL_EXTENSIONS,51) ==> GL_EXT_YUV_target Error: GL_NO_ERROR
#141 glGetStringi(GL_EXTENSIONS,52) ==> GL_IMG_bindless_texture Error: GL_NO_ERROR
#142 glGetStringi(GL_EXTENSIONS,53) ==> GL_IMG_framebuffer_downsample Error: GL_NO_ERROR
#143 glGetStringi(GL_EXTENSIONS,54) ==> GL_IMG_multisampled_render_to_texture Error: GL_NO_ERROR
#144 glGetStringi(GL_EXTENSIONS,55) ==> GL_IMG_program_binary Error: GL_NO_ERROR
#145 glGetStringi(GL_EXTENSIONS,56) ==> GL_IMG_read_format Error: GL_NO_ERROR
#146 glGetStringi(GL_EXTENSIONS,57) ==> GL_IMG_shader_binary Error: GL_NO_ERROR
#147 glGetStringi(GL_EXTENSIONS,58) ==> GL_IMG_texture_compression_pvrtc Error: GL_NO_ERROR
#148 glGetStringi(GL_EXTENSIONS,59) ==> GL_IMG_texture_compression_pvrtc2 Error: GL_NO_ERROR
#149 glGetStringi(GL_EXTENSIONS,60) ==> GL_IMG_texture_filter_cubic Error: GL_NO_ERROR
#150 glGetStringi(GL_EXTENSIONS,61) ==> GL_IMG_texture_format_BGRA8888 Error: GL_NO_ERROR
#151 glGetStringi(GL_EXTENSIONS,62) ==> GL_IMG_texture_npot Error: GL_NO_ERROR
#152 glGetStringi(GL_EXTENSIONS,63) ==> GL_KHR_blend_equation_advanced Error: GL_NO_ERROR
#153 glGetStringi(GL_EXTENSIONS,64) ==> GL_KHR_blend_equation_advanced_coherent Error: GL_NO_ERROR
#154 glGetStringi(GL_EXTENSIONS,65) ==> GL_KHR_debug Error: GL_NO_ERROR
#155 eglGetProcAddress(glDebugMessageInsertKHR) ==> 0xa16e48e0 Error: EGL_SUCCESS
#156 glEnable(0x92E0) Error: GL_NO_ERROR
#157 glGetString(GL_VERSION) ==> OpenGL ES 3.2 build 1.10@5187610 Error: GL_NO_ERROR
#158 glGetString(GL_VENDOR) ==> Imagination Technologies Error: GL_NO_ERROR
#159 glGetString(GL_RENDERER) ==> PowerVR Rogue GX6250 + PVRTrace v3.12 (18.2@5236813) Error: GL_NO_ERROR
#160 glGetString(GL_SHADING_LANGUAGE_VERSION) ==> OpenGL ES GLSL ES 3.20 build 1.10@5187610 Error: GL_NO_ERROR
#161 glGetString(GL_EXTENSIONS) ==> GL_ANDROID_extension_pack_es31a GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control GL_EXT_color_buffer_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_discard_framebuffer GL_EXT_draw_buffers GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_EGL_image_array GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_pixel_local_storage GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target GL_IMG_bindless_texture GL_IMG_framebuffer_downsample GL_IMG_multisampled_render_to_texture GL_IMG_program_binary GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_filter_cubic GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fragment_precision_high GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_get_program_binary GL_OES_gpu_shader5 GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_required_internalformat GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_REL_texture_format_ARGB1555 Error: GL_NO_ERROR
#162 glGetIntegerv(GL_RED_BITS,8) Error: GL_NO_ERROR
#163 glGetIntegerv(GL_GREEN_BITS,8) Error: GL_NO_ERROR
#164 glGetIntegerv(GL_BLUE_BITS,8) Error: GL_NO_ERROR
#165 glGetIntegerv(GL_ALPHA_BITS,0) Error: GL_NO_ERROR
#166 glGetIntegerv(GL_DEPTH_BITS,24) Error: GL_NO_ERROR
#167 glGetIntegerv(GL_STENCIL_BITS,8) Error: GL_NO_ERROR
#168 glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT,32993) Error: GL_NO_ERROR
#169 glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_TYPE,5121) Error: GL_NO_ERROR
#170 glGetFloatv(GL_ALIASED_POINT_SIZE_RANGE,1.000000
511.000000) Error: GL_NO_ERROR
#171 glGetFloatv(GL_ALIASED_LINE_WIDTH_RANGE,1.000000
16.000000) Error: GL_NO_ERROR
#172 glGetIntegerv(GL_SUBPIXEL_BITS,4) Error: GL_NO_ERROR
#173 glGetIntegerv(GL_SAMPLE_BUFFERS,0) Error: GL_NO_ERROR
#174 glGetIntegerv(GL_MAX_SAMPLES,8) Error: GL_NO_ERROR
#175 glGetIntegerv(GL_MAX_TEXTURE_SIZE,8192) Error: GL_NO_ERROR
#176 glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE,2048) Error: GL_NO_ERROR
#177 glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE,8192) Error: GL_NO_ERROR
#178 glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS,2048) Error: GL_NO_ERROR
#179 glGetIntegerv(GL_MAX_TEXTURE_LOD_BIAS,15) Error: GL_NO_ERROR
#180 glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS,16) Error: GL_NO_ERROR
#181 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS,45) Error: GL_NO_ERROR
#182 glGetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS,35841
35843
35840
35842
37175
37176
36196
37492
37493
37496
37497
37494
37495
37489
37488
37491
37490
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850
37851
37852
37853) Error: GL_NO_ERROR
#183 glGetIntegerv(GL_MAX_RENDERBUFFER_SIZE,8192) Error: GL_NO_ERROR
#184 glGetIntegerv(GL_MAX_VIEWPORT_DIMS,8192
8192) Error: GL_NO_ERROR
#185 glGetIntegerv(GL_MAX_COLOR_ATTACHMENTS,8) Error: GL_NO_ERROR
#186 glGetIntegerv(GL_MAX_DRAW_BUFFERS,8) Error: GL_NO_ERROR
#187 glGetIntegerv(GL_MAX_ELEMENT_INDEX,2147483647) Error: GL_NO_ERROR
#188 glGetIntegerv(GL_MAX_ELEMENTS_INDICES,65536) Error: GL_NO_ERROR
#189 glGetIntegerv(GL_MAX_ELEMENTS_VERTICES,65536) Error: GL_NO_ERROR
#190 glGetInteger64v(GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS,402654208) Error: GL_NO_ERROR
#191 glGetInteger64v(GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS,402654208) Error: GL_NO_ERROR
#192 glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS,96) Error: GL_NO_ERROR
#193 glGetIntegerv(GL_MAX_COMBINED_UNIFORM_BLOCKS,72) Error: GL_NO_ERROR
#194 glGetIntegerv(GL_MAX_VERTEX_ATTRIBS,16) Error: GL_NO_ERROR
#195 glGetIntegerv(GL_MAX_VERTEX_OUTPUT_COMPONENTS,64) Error: GL_NO_ERROR
#196 glGetIntegerv(GL_MAX_VERTEX_UNIFORM_COMPONENTS,1024) Error: GL_NO_ERROR
#197 glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS,256) Error: GL_NO_ERROR
#198 glGetIntegerv(GL_MAX_VERTEX_UNIFORM_BLOCKS,12) Error: GL_NO_ERROR
#199 glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS,16) Error: GL_NO_ERROR
#200 glGetIntegerv(GL_MAX_FRAGMENT_INPUT_COMPONENTS,60) Error: GL_NO_ERROR
#201 glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS,1024) Error: GL_NO_ERROR
#202 glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS,256) Error: GL_NO_ERROR
#203 glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_BLOCKS,12) Error: GL_NO_ERROR
#204 glGetIntegerv(GL_MAX_VARYING_COMPONENTS,60) Error: GL_NO_ERROR
#205 glGetIntegerv(GL_MAX_VARYING_VECTORS,15) Error: GL_NO_ERROR
#206 glGetFloatv(GL_MIN_PROGRAM_TEXEL_OFFSET,-8.000000) Error: GL_NO_ERROR
#207 glGetFloatv(GL_MAX_PROGRAM_TEXEL_OFFSET,7.000000) Error: GL_NO_ERROR
#208 glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE,134217728) Error: GL_NO_ERROR
#209 glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS,0) Error: GL_NO_ERROR
#210 glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS,1) Error: GL_NO_ERROR
#211 glGetIntegerv(GL_PROGRAM_BINARY_FORMATS,37168) Error: GL_NO_ERROR
#212 glGetIntegerv(GL_SHADER_COMPILER,1) Error: GL_NO_ERROR
#213 glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS,72) Error: GL_NO_ERROR
#214 glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT,64) Error: GL_NO_ERROR
#215 glGetIntegerv(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS,128) Error: GL_NO_ERROR
#216 glGetIntegerv(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS,4) Error: GL_NO_ERROR
#217 glGetIntegerv(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS,4) Error: GL_NO_ERROR
#218 glGetInteger64v(GL_MAX_SERVER_WAIT_TIMEOUT,1000000) Error: GL_NO_ERROR
#219 eglGetCurrentSurface(EGL_READ) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#220 eglGetCurrentSurface(EGL_DRAW) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#221 eglGetCurrentContext() ==> EGLContext(0x7f9007d360) Error: EGL_SUCCESS
#222 eglCreateWindowSurface(EGLDisplay(0x00000001),EGLConfig(9)
{ EGL_ALPHA_SIZE : 0, EGL_ALPHA_MASK_SIZE : 0, EGL_BIND_TO_TEXTURE_RGB : EGL_TRUE, EGL_BIND_TO_TEXTURE_RGBA : EGL_FALSE, EGL_BLUE_SIZE : 8, EGL_BUFFER_SIZE : 24, EGL_COLOR_BUFFER_TYPE : EGL_RGB_BUFFER, EGL_CONFIG_CAVEAT : EGL_NONE, EGL_CONFIG_ID : 9, EGL_CONFORMANT : EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT, EGL_DEPTH_SIZE : 24, EGL_GREEN_SIZE : 8, EGL_LEVEL : 0, EGL_LUMINANCE_SIZE : 0, EGL_MAX_PBUFFER_WIDTH : 8192, EGL_MAX_PBUFFER_HEIGHT : 8192, EGL_MAX_PBUFFER_PIXELS : 67108864, EGL_MAX_SWAP_INTERVAL : 1, EGL_MIN_SWAP_INTERVAL : 0, EGL_NATIVE_RENDERABLE : EGL_FALSE, EGL_NATIVE_VISUAL_ID : 875713112, EGL_NATIVE_VISUAL_TYPE : 0, EGL_RED_SIZE : 8, EGL_RENDERABLE_TYPE : EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT, EGL_SAMPLE_BUFFERS : 0, EGL_SAMPLES : 0, EGL_STENCIL_SIZE : 8, EGL_SURFACE_TYPE : EGL_PBUFFER_BIT | EGL_PIXMAP_BIT | EGL_WINDOW_BIT, EGL_TRANSPARENT_TYPE : EGL_NONE, EGL_TRANSPARENT_RED_VALUE : 0, EGL_TRANSPARENT_GREEN_VALUE : 0, EGL_TRANSPARENT_BLUE_VALUE : 0, EGL_NONE },EGLNativeWindowType(0x7f900bfdc0),{ EGL_NONE }) ==> EGLSurface(0x7f900e0060) Error: EGL_SUCCESS
#223 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_WIDTH,1280) ==> EGL_TRUE Error: EGL_SUCCESS
#224 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_HEIGHT,640) ==> EGL_TRUE Error: EGL_SUCCESS
#225 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_WIDTH,1280) ==> EGL_TRUE Error: EGL_SUCCESS
#226 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_HEIGHT,640) ==> EGL_TRUE Error: EGL_SUCCESS
#227 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_HORIZONTAL_RESOLUTION,-1) ==> EGL_TRUE Error: EGL_SUCCESS
#228 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_VERTICAL_RESOLUTION,-1) ==> EGL_TRUE Error: EGL_SUCCESS
#229 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_SWAP_BEHAVIOR,EGL_BUFFER_DESTROYED) ==> EGL_TRUE Error: EGL_SUCCESS
#230 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_RENDER_BUFFER,EGL_BACK_BUFFER) ==> EGL_TRUE Error: EGL_SUCCESS
#231 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_TEXTURE_FORMAT,EGL_FALSE) ==> EGL_TRUE Error: EGL_SUCCESS
#232 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_TEXTURE_TARGET,EGL_FALSE) ==> EGL_TRUE Error: EGL_SUCCESS
#233 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_MIPMAP_TEXTURE,0) ==> EGL_TRUE Error: EGL_SUCCESS
#234 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_MIPMAP_LEVEL,0) ==> EGL_TRUE Error: EGL_SUCCESS
#235 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_MULTISAMPLE_RESOLVE,EGL_MULTISAMPLE_RESOLVE_DEFAULT) ==> EGL_TRUE Error: EGL_SUCCESS
#236 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_PIXEL_ASPECT_RATIO,-1) ==> EGL_TRUE Error: EGL_SUCCESS
#237 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900e0060),EGL_LARGEST_PBUFFER,0) ==> EGL_TRUE Error: EGL_SUCCESS
#238 eglGetError() ==> EGL_SUCCESS Error: EGL_SUCCESS
#239 eglGetCurrentSurface(EGL_READ) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#240 eglGetCurrentSurface(EGL_DRAW) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#241 eglGetCurrentContext() ==> EGLContext(0x7f9007d360) Error: EGL_SUCCESS
#242 glGetError() ==> GL_NO_ERROR Error: GL_NO_ERROR
#243 eglGetCurrentSurface(EGL_READ) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#244 eglGetCurrentSurface(EGL_DRAW) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#245 eglGetCurrentContext() ==> EGLContext(0x7f9007d360) Error: EGL_SUCCESS
#246 glGetError() ==> GL_NO_ERROR Error: GL_NO_ERROR
#247 eglGetCurrentSurface(EGL_READ) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#248 eglGetCurrentSurface(EGL_DRAW) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#249 eglGetCurrentContext() ==> EGLContext(0x7f9007d360) Error: EGL_SUCCESS
#250 eglCreatePbufferSurface(EGLDisplay(0x00000001),EGLConfig(9)
{ EGL_ALPHA_SIZE : 0, EGL_ALPHA_MASK_SIZE : 0, EGL_BIND_TO_TEXTURE_RGB : EGL_TRUE, EGL_BIND_TO_TEXTURE_RGBA : EGL_FALSE, EGL_BLUE_SIZE : 8, EGL_BUFFER_SIZE : 24, EGL_COLOR_BUFFER_TYPE : EGL_RGB_BUFFER, EGL_CONFIG_CAVEAT : EGL_NONE, EGL_CONFIG_ID : 9, EGL_CONFORMANT : EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT, EGL_DEPTH_SIZE : 24, EGL_GREEN_SIZE : 8, EGL_LEVEL : 0, EGL_LUMINANCE_SIZE : 0, EGL_MAX_PBUFFER_WIDTH : 8192, EGL_MAX_PBUFFER_HEIGHT : 8192, EGL_MAX_PBUFFER_PIXELS : 67108864, EGL_MAX_SWAP_INTERVAL : 1, EGL_MIN_SWAP_INTERVAL : 0, EGL_NATIVE_RENDERABLE : EGL_FALSE, EGL_NATIVE_VISUAL_ID : 875713112, EGL_NATIVE_VISUAL_TYPE : 0, EGL_RED_SIZE : 8, EGL_RENDERABLE_TYPE : EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT, EGL_SAMPLE_BUFFERS : 0, EGL_SAMPLES : 0, EGL_STENCIL_SIZE : 8, EGL_SURFACE_TYPE : EGL_PBUFFER_BIT | EGL_PIXMAP_BIT | EGL_WINDOW_BIT, EGL_TRANSPARENT_TYPE : EGL_NONE, EGL_TRANSPARENT_RED_VALUE : 0, EGL_TRANSPARENT_GREEN_VALUE : 0, EGL_TRANSPARENT_BLUE_VALUE : 0, EGL_NONE },{ EGL_WIDTH : 0, EGL_HEIGHT : 0, EGL_NONE }) ==> EGLSurface(0x7f900d4dd0) Error: EGL_SUCCESS
#251 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_WIDTH,0) ==> EGL_TRUE Error: EGL_SUCCESS
#252 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_HEIGHT,0) ==> EGL_TRUE Error: EGL_SUCCESS
#253 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_HORIZONTAL_RESOLUTION,-1) ==> EGL_TRUE Error: EGL_SUCCESS
#254 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_VERTICAL_RESOLUTION,-1) ==> EGL_TRUE Error: EGL_SUCCESS
#255 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_SWAP_BEHAVIOR,EGL_BUFFER_DESTROYED) ==> EGL_TRUE Error: EGL_SUCCESS
#256 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_RENDER_BUFFER,EGL_BACK_BUFFER) ==> EGL_TRUE Error: EGL_SUCCESS
#257 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_TEXTURE_FORMAT,EGL_NO_TEXTURE) ==> EGL_TRUE Error: EGL_SUCCESS
#258 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_TEXTURE_TARGET,EGL_NO_TEXTURE) ==> EGL_TRUE Error: EGL_SUCCESS
#259 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_MIPMAP_TEXTURE,0) ==> EGL_TRUE Error: EGL_SUCCESS
#260 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_MIPMAP_LEVEL,0) ==> EGL_TRUE Error: EGL_SUCCESS
#261 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_MULTISAMPLE_RESOLVE,EGL_MULTISAMPLE_RESOLVE_DEFAULT) ==> EGL_TRUE Error: EGL_SUCCESS
#262 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_PIXEL_ASPECT_RATIO,-1) ==> EGL_TRUE Error: EGL_SUCCESS
#263 eglQuerySurface(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGL_LARGEST_PBUFFER,0) ==> EGL_TRUE Error: EGL_SUCCESS
#264 eglGetError() ==> EGL_SUCCESS Error: EGL_SUCCESS
#265 eglGetCurrentSurface(EGL_READ) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#266 eglGetCurrentSurface(EGL_DRAW) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#267 eglGetCurrentContext() ==> EGLContext(0x7f9007d360) Error: EGL_SUCCESS
#268 glGetError() ==> GL_NO_ERROR Error: GL_NO_ERROR
#327 eglGetCurrentSurface(EGL_READ) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#328 eglGetCurrentSurface(EGL_DRAW) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#329 eglGetCurrentContext() ==> EGLContext(0x7f9007d360) Error: EGL_SUCCESS
#330 eglGetCurrentSurface(EGL_READ) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#331 eglGetCurrentSurface(EGL_DRAW) ==> EGLSurface(0x7f9009b600) Error: EGL_SUCCESS
#332 eglGetCurrentContext() ==> EGLContext(0x7f9007d360) Error: EGL_SUCCESS
#333 eglMakeCurrent(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGLSurface(0x7f900d4dd0),EGLContext(0x7f9007d360)) ==> EGL_TRUE Error: EGL_SUCCESS
#334 glGetIntegerv(GL_FRAMEBUFFER_BINDING,0) Error: GL_NO_ERROR
#335 glGetIntegerv(GL_FRAMEBUFFER_BINDING,0) Error: GL_NO_ERROR
#336 glGetError() ==> GL_NO_ERROR Error: GL_NO_ERROR
#337 glClearColor(0.713726,0.882353,0.980392,1.000000) Error: GL_NO_ERROR
#338 glGetError() ==> GL_NO_ERROR Error: GL_NO_ERROR
#339 glCheckFramebufferStatus(GL_FRAMEBUFFER) ==> GL_FRAMEBUFFER_UNDEFINED Error: GL_NO_ERROR
#340 glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT) Error: GL_INVALID_FRAMEBUFFER_OPERATION

Ok, so eglMakeCurrent sets the PBuffer 0x7f900d4dd0 as default framebuffer index 0, right? And if this PBuffer has 0 dimensions this is represented as GL_FRAMEBUFFER_UNDEFINED?

Just before the errors, you create a PBuffer with dimensions (0,0) and bound it as the default framebuffer.

Why?

// #250
eglCreatePbufferSurface(EGLDisplay(0x00000001),EGLConfig(9)
{ EGL_WIDTH : 0,
  EGL_HEIGHT : 0,
...
// #333
eglMakeCurrent(EGLDisplay(0x00000001),EGLSurface(0x7f900d4dd0),EGLSurface(0x7f900d4dd0),EGLContext(0x7f9007d360)) ==> EGL_TRUE Error: EGL_SUCCESS

Ok, so eglMakeCurrent sets the PBuffer 0x7f900d4dd0 as default framebuffer index 0, right? And if this PBuffer has 0 dimensions this is represented as GL_FRAMEBUFFER_UNDEFINED?

That last eglMakeCurrent()? (there are multiple) Yes, I believe so.

You could add a glBindFramebuffer( GL_FRAMEBUFFER, 0 ) after that last eglMakeCurrent(), but if you haven’t previously called glBindFramebuffer() before, then that binding is already active.

That I don’t know. I’m just speculating as to what that GL-ES implementation might be having problems with.

It seems odd that it returns success for the creation of a 0 x 0 PBuffer, but then seems to have a problem when you clear it or query its status. That said, I don’t see anything in the specs about a width or height of 0 being invalid.

But even so, what’s the point of clearing a 0x0 framebuffer?

I don’t know. I didn’t write the code, I just have to debug it.