v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Problems building or running the engine, queries about how to use features etc.
longer
Kobold
Posts: 37
Joined: Tue Aug 19, 2014 10:46 am
x 5

v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by longer »

When i use ogre for load cegui TaharezLook.png file.The logger report:

Code: Select all

2017/12/05 20:21:05-001 7 I ogre Texture: TaharezLook.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) Internal format is PF_A8R8G8B8,256x256x1.
2017/12/05 20:32:38-264 7 I ogre GLES2TextureBuffer::upload - ID: 1 Target: 3553 Format: PF_A8R8G8B8 Origin format: 0x80e1 Data type: 0x1401
(Error) in function: glTexSubImage2D GL: 502 (GL_INVALID_OPERATION) VF: A0119 (the combination of internalFormat, format and type is not supported)
I debug that,the OgreFreeImageCodec decode file format is PF_A8R8G8B8.
at old version the logger is:

Code: Select all

2017/11/17 17:15:16-934 7 I ogre GLES2Texture::create - Mip: 0 Name: TaharezLook.png ID: 2 Width: 256 Height: 256 Internal Format: 0x1908 Format: 0x1908 Datatype: 0x1401
2017/11/17 17:15:16-938 7 I ogre Texture: TaharezLook.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) Internal format is PF_A8B8G8R8,256x256x1.
2017/11/17 17:15:16-941 7 I ogre GLES2TextureBuffer::upload - ID: 2 Target: 3553 Format: PF_A8B8G8R8 Origin format: 6408 Data type: 0x1401
look different format PF_A8B8G8R8 and PF_A8R8G8B8.The upload process report glTexSubImage2D 502.

The version change is 11449:GLES2: blitFromMemory - remove needless bulkPixelConversion

Code: Select all

RenderSystems\GLES2\src\OgreGLES2HardwarePixelBuffer.cpp
-#if OGRE_PLATFORM != OGRE_PLATFORM_APPLE_IOS
-            if (src.format == PF_A8R8G8B8)
-            {
-                scaled.format = PF_A8B8G8R8;
-                PixelUtil::bulkPixelConversion(src, scaled);
-            }
-#endif
old version conversion the format here.

And when i use PF_A8B8G8R8 format force load the file "TaharezLook.png".It's success.

Code: Select all

	Ogre::TextureManager* manager = Ogre::TextureManager::getSingletonPtr();
	d_texture = manager->load(_filename, resourceGroup.c_str(), Ogre::TEX_TYPE_2D, 0, 1.0f, false, Ogre::PF_A8B8G8R8, false);
The other change at gles2 RenderSystem:

Code: Select all

    GLenum GLES2PixelUtil::getGLOriginFormat(PixelFormat mFormat)
use const map replace switch.but the version 11392.

Code: Select all

            case PF_A8R8G8B8:
            case PF_A4R4G4B4:
            case PF_A1R5G5B5:
            case PF_B8G8R8A8:
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE_IOS
                return GL_BGRA_EXT;
#else
                return GL_RGBA;
#endif
PF_A8R8G8B8 return GL_RGBA the right format.

Code: Select all

#if OGRE_ENDIAN == OGRE_ENDIAN_BIG
            {GL_RGB, GL_UNSIGNED_BYTE, GL_RGB},                  // PF_R8G8B8
            {GL_NONE},                                           // PF_B8G8R8
            {GL_NONE},                                           // PF_A8R8G8B8
            {GL_NONE},                                           // PF_A8B8G8R8
            {GL_BGRA_EXT, GL_UNSIGNED_BYTE, GL_BGRA_EXT},        // PF_B8G8R8A8
#else
            {GL_NONE},                                           // PF_R8G8B8
            {GL_RGB, GL_UNSIGNED_BYTE, GL_RGB},                  // PF_B8G8R8
            {GL_BGRA_EXT, GL_UNSIGNED_BYTE, GL_BGRA_EXT},        // PF_A8R8G8B8
            {GL_RGBA, GL_UNSIGNED_BYTE, GL_RGBA},                // PF_A8B8G8R8
            {GL_NONE},                                           // PF_B8G8R8A8
#endif
PF_A8R8G8B8 return GL_BGRA_EXT the trouble format.

Any help?
paroj
OGRE Team Member
OGRE Team Member
Posts: 2141
Joined: Sun Mar 30, 2014 2:51 pm
x 1151

Re: v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by paroj »

freeimage needlessly converts everything into BGRA. Disable it in CMake and STB Image will be used which does not have this issue.

Also which device are you using? I could not find anything that does not support GL_EXT_texture_format_BGRA8888.
longer
Kobold
Posts: 37
Joined: Tue Aug 19, 2014 10:46 am
x 5

Re: v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by longer »

I use PowerVR\GraphicsSDK\SDK_3.3 at windows system,compile and debug the RenderSystem_GLES2.
The machine info:
system:NMK windows 10
type: PC
CPU ID: GenuineIntel: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Host: Intel(R) HD Graphics 630
gles2 environment:PowerVR\GraphicsSDK\SDK_3.3

I pay special attention that: PF_A8R8G8B8 format not at FBO support list.

The application is run success but not cegui image.

I tast all render system.Only gles2 have this issue.
"Direct3D9 Rendering Subsystem"
"Direct3D11 Rendering Subsystem"
"OpenGL Rendering Subsystem"
"OpenGL 3+ Rendering Subsystem"
"OpenGL ES 2.x Rendering Subsystem"

Force load it can work.
d_texture = manager->load(_filename, resourceGroup.c_str(), Ogre::TEX_TYPE_2D, 0, 1.0f, false, Ogre::PF_A8B8G8R8, false);

My part of logger file.
The last logger info in fact is printf not in the logger file.

Code: Select all

2017/12/06 09:36:20-973 7 I ogre Loading library plugins/RenderSystem_GLES2_d
2017/12/06 09:36:21-035 7 I ogre Installing plugin: OpenGL ES 2.0 RenderSystem
2017/12/06 09:36:21-037 7 I ogre OpenGL ES 2.x Rendering Subsystem created.
2017/12/06 09:36:21-712 7 I ogre Plugin successfully installed
2017/12/06 09:36:21-712 7 I mm mm::mm_ogre_plugin_loader::acquire_plugin 80 plugin:plugins/RenderSystem_GLES2_d succeed.
2017/12/06 09:36:21-714 7 I ogre CPU Identifier & Features
2017/12/06 09:36:21-714 7 I ogre -------------------------
2017/12/06 09:36:21-715 7 I ogre  *   CPU ID: GenuineIntel: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
2017/12/06 09:36:21-715 7 I ogre  *          SSE: yes
2017/12/06 09:36:21-716 7 I ogre  *         SSE2: yes
2017/12/06 09:36:21-716 7 I ogre  *         SSE3: yes
2017/12/06 09:36:21-717 7 I ogre  *        SSE41: yes
2017/12/06 09:36:21-717 7 I ogre  *        SSE42: yes
2017/12/06 09:36:21-718 7 I ogre  *          MMX: yes
2017/12/06 09:36:21-718 7 I ogre  *       MMXEXT: yes
2017/12/06 09:36:21-719 7 I ogre  *        3DNOW: no
2017/12/06 09:36:21-719 7 I ogre  *     3DNOWEXT: no
2017/12/06 09:36:21-720 7 I ogre  *         CMOV: yes
2017/12/06 09:36:21-720 7 I ogre  *          TSC: yes
2017/12/06 09:36:21-721 7 I ogre  *INVARIANT TSC: yes
2017/12/06 09:36:21-722 7 I ogre  *          FPU: yes
2017/12/06 09:36:21-722 7 I ogre  *          PRO: yes
2017/12/06 09:36:21-723 7 I ogre  *           HT: no
2017/12/06 09:36:21-723 7 I ogre -------------------------
2017/12/06 09:36:21-724 7 I ogre ******************************
*** Starting EGL Subsystem ***
******************************
2017/12/06 09:36:21-725 7 I ogre EGL_VERSION = 1.4(PVRVFrame 9.8 (SDK 3.3@2850019))
2017/12/06 09:36:21-725 7 I ogre EGL_EXTENSIONS = EGL_KHR_fence_sync EGL_KHR_create_context EGL_IMG_context_priority EGL_KHR_image_base EGL_KHR_gl_image EGL_ANDROID_image_native_buffer
2017/12/06 09:36:21-727 7 I ogre Registering ResourceManager for type Texture
2017/12/06 09:36:21-762 7 I ogre Created Win32Window '' : 400x679, 32bpp
2017/12/06 09:36:22-271 7 I ogre EGLWindow::create used FBConfigID = 4
2017/12/06 09:36:22-278 7 I ogre GL_VERSION = 3.0.4.0
2017/12/06 09:36:22-278 7 I ogre GL_VENDOR = Imagination Technologies (Host: Intel)
2017/12/06 09:36:22-278 7 I ogre GL_RENDERER = PVRVFrame 9.8 - None (Host : Intel(R) HD Graphics 630) (SDK Build: 3.3@2850019)
2017/12/06 09:36:22-284 7 I ogre GL_EXTENSIONS = GL_APPLE_copy_texture_levels GL_APPLE_texture_2D_limited_npot GL_EXT_blend_minmax GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_buffers GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_occlusion_query_boolean GL_EXT_shader_texture_lod GL_ GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_texture_type_2_10_10_10_REV GL_IMG_multisampled_render_to_texture GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_env_enhanced_fixed_function GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot GL_IMG_texture_stream GL_IMG_texture_stream2 GL_IMG_uniform_buffer_object GL_IMG_user_clip_plane GL_IMG_vertex_array_object GL_KHR_debug GL_KHR_blend_equation_advanced GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_byte_coordinates GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_draw_texture GL_OES_EGL_image_external GL_OES_egl_sync GL_OES_element_index_uint GL_OES_extended_matrix_palette GL_OES_fixed_point GL_OES_fragment_precision_high GL_OES_framebuffer_object GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_matrix_get GL_OES_matrix_palette GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_query_matrix GL_OES_read_format GL_OES_required_internalformat GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation GL_OES_single_precision GL_OES_standard_derivatives GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_mirrored_repeat GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object 
2017/12/06 09:36:22-285 7 I ogre **************************************
2017/12/06 09:36:22-285 7 I ogre *** OpenGL ES 2.x Renderer Started ***
2017/12/06 09:36:22-286 7 I ogre **************************************
2017/12/06 09:36:22-286 7 I ogre Shading language version: OpenGL ES GLSL ES 1.00 (Host: Intel(R) HD Graphics 630)
2017/12/06 09:36:22-294 7 I ogre Registering ResourceManager for type GpuProgram
2017/12/06 09:36:22-301 7 I ogre GL ES 2: Using FBOs for rendering to textures
2017/12/06 09:36:22-315 7 I ogre FBO PF_L8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-332 7 I ogre FBO PF_BYTE_LA depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-346 7 I ogre FBO PF_R5G6B5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-359 7 I ogre FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-375 7 I ogre FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-393 7 I ogre FBO PF_B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-410 7 I ogre FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-424 7 I ogre FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-438 7 I ogre FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-451 7 I ogre FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-467 7 I ogre FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-480 7 I ogre FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-493 7 I ogre FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-511 7 I ogre FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-522 7 I ogre FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-537 7 I ogre FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-549 7 I ogre FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-563 7 I ogre FBO PF_R11G11B10_FLOAT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-577 7 I ogre FBO PF_R8_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-589 7 I ogre FBO PF_R8G8_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-601 7 I ogre FBO PF_R8G8B8_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-614 7 I ogre FBO PF_R8G8B8A8_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-626 7 I ogre FBO PF_R16_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-640 7 I ogre FBO PF_R16G16_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-652 7 I ogre FBO PF_R16G16B16_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-664 7 I ogre FBO PF_R16G16B16A16_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-676 7 I ogre FBO PF_R32_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-689 7 I ogre FBO PF_R32G32_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-702 7 I ogre FBO PF_R32G32B32_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-714 7 I ogre FBO PF_R32G32B32A32_UINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-727 7 I ogre FBO PF_R8_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-739 7 I ogre FBO PF_R8G8_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-751 7 I ogre FBO PF_R8G8B8_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-764 7 I ogre FBO PF_R8G8B8A8_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-777 7 I ogre FBO PF_R16_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-789 7 I ogre FBO PF_R16G16_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-802 7 I ogre FBO PF_R16G16B16_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-814 7 I ogre FBO PF_R16G16B16A16_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-828 7 I ogre FBO PF_R32_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-840 7 I ogre FBO PF_R32G32_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-852 7 I ogre FBO PF_R32G32B32_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-864 7 I ogre FBO PF_R32G32B32A32_SINT depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-878 7 I ogre FBO PF_R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-892 7 I ogre FBO PF_RG8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 D32S0 D32S8 Packed-D24S8 Packed-D32S8 
2017/12/06 09:36:22-909 7 I ogre [GLES2] : Valid FBO targets PF_L8 PF_BYTE_LA PF_R5G6B5 PF_A4R4G4B4 PF_A1R5G5B5 PF_B8G8R8 PF_A8B8G8R8 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8B8G8R8 PF_FLOAT16_R PF_FLOAT32_R PF_FLOAT16_GR PF_FLOAT32_GR PF_R11G11B10_FLOAT PF_R8_UINT PF_R8G8_UINT PF_R8G8B8_UINT PF_R8G8B8A8_UINT PF_R16_UINT PF_R16G16_UINT PF_R16G16B16_UINT PF_R16G16B16A16_UINT PF_R32_UINT PF_R32G32_UINT PF_R32G32B32_UINT PF_R32G32B32A32_UINT PF_R8_SINT PF_R8G8_SINT PF_R8G8B8_SINT PF_R8G8B8A8_SINT PF_R16_SINT PF_R16G16_SINT PF_R16G16B16_SINT PF_R16G16B16A16_SINT PF_R32_SINT PF_R32G32_SINT PF_R32G32B32_SINT PF_R32G32B32A32_SINT PF_R8 PF_RG8 
2017/12/06 09:36:22-910 7 I ogre RenderSystem capabilities
2017/12/06 09:36:22-910 7 I ogre -------------------------
2017/12/06 09:36:22-911 7 I ogre RenderSystem Name: OpenGL ES 2.x Rendering Subsystem
2017/12/06 09:36:22-912 7 I ogre GPU Vendor: unknown
2017/12/06 09:36:22-913 7 I ogre Device Name: PVRVFrame 9.8 - None (Host : Intel(R) HD Graphics 630) (SDK Build: 3.3@2850019)
2017/12/06 09:36:22-914 7 I ogre Driver Version: 3.0.4.0
2017/12/06 09:36:22-915 7 I ogre  * Fixed function pipeline: no
2017/12/06 09:36:22-916 7 I ogre  * Anisotropic texture filtering: yes
2017/12/06 09:36:22-917 7 I ogre  * Cube mapping: yes
2017/12/06 09:36:22-917 7 I ogre  * Hardware stencil buffer: yes
2017/12/06 09:36:22-918 7 I ogre    - Stencil depth: 8
2017/12/06 09:36:22-919 7 I ogre    - Two sided stencil support: yes
2017/12/06 09:36:22-919 7 I ogre    - Wrap stencil values: yes
2017/12/06 09:36:22-919 7 I ogre  * 32-bit index buffers: yes
2017/12/06 09:36:22-920 7 I ogre  * Vertex programs: yes
2017/12/06 09:36:22-921 7 I ogre  * Number of floating-point constants for vertex programs: 1024
2017/12/06 09:36:22-922 7 I ogre  * Number of integer constants for vertex programs: 1024
2017/12/06 09:36:22-923 7 I ogre  * Number of boolean constants for vertex programs: 1024
2017/12/06 09:36:22-923 7 I ogre  * Fragment programs: yes
2017/12/06 09:36:22-924 7 I ogre  * Number of floating-point constants for fragment programs: 1024
2017/12/06 09:36:22-924 7 I ogre  * Number of integer constants for fragment programs: 1024
2017/12/06 09:36:22-925 7 I ogre  * Number of boolean constants for fragment programs: 1024
2017/12/06 09:36:22-926 7 I ogre  * Geometry programs: no
2017/12/06 09:36:22-926 7 I ogre  * Number of floating-point constants for geometry programs: 0
2017/12/06 09:36:22-927 7 I ogre  * Number of integer constants for geometry programs: 0
2017/12/06 09:36:22-928 7 I ogre  * Number of boolean constants for geometry programs: 0
2017/12/06 09:36:22-929 7 I ogre  * Tessellation Hull programs: no
2017/12/06 09:36:22-930 7 I ogre  * Number of floating-point constants for tessellation hull programs: 0
2017/12/06 09:36:22-932 7 I ogre  * Number of integer constants for tessellation hull programs: 0
2017/12/06 09:36:22-934 7 I ogre  * Number of boolean constants for tessellation hull programs: 0
2017/12/06 09:36:22-934 7 I ogre  * Tessellation Domain programs: no
2017/12/06 09:36:22-938 7 I ogre  * Number of floating-point constants for tessellation domain programs: 0
2017/12/06 09:36:22-938 7 I ogre  * Number of integer constants for tessellation domain programs: 0
2017/12/06 09:36:22-939 7 I ogre  * Number of boolean constants for tessellation domain programs: 0
2017/12/06 09:36:22-940 7 I ogre  * Compute programs: no
2017/12/06 09:36:22-941 7 I ogre  * Number of floating-point constants for compute programs: 0
2017/12/06 09:36:22-942 7 I ogre  * Number of integer constants for compute programs: 0
2017/12/06 09:36:22-947 7 I ogre  * Number of boolean constants for compute programs: 0
2017/12/06 09:36:22-947 7 I ogre  * Supported Shader Profiles: glsles
2017/12/06 09:36:22-948 7 I ogre  * Texture Compression: yes
2017/12/06 09:36:22-948 7 I ogre    - DXT: no
2017/12/06 09:36:22-949 7 I ogre    - VTC: no
2017/12/06 09:36:22-950 7 I ogre    - PVRTC: yes
2017/12/06 09:36:22-951 7 I ogre    - ATC: no
2017/12/06 09:36:22-951 7 I ogre    - ETC1: yes
2017/12/06 09:36:22-952 7 I ogre    - ETC2: yes
2017/12/06 09:36:22-952 7 I ogre    - BC4/BC5: no
2017/12/06 09:36:22-953 7 I ogre    - BC6H/BC7: no
2017/12/06 09:36:22-954 7 I ogre    - ASTC: no
2017/12/06 09:36:22-954 7 I ogre    - Mipmaps for compressed formats: no
2017/12/06 09:36:22-955 7 I ogre  * Hardware Occlusion Query: yes
2017/12/06 09:36:22-955 7 I ogre  * User clip planes: no
2017/12/06 09:36:22-956 7 I ogre  * VET_UBYTE4 vertex element type: yes
2017/12/06 09:36:22-956 7 I ogre  * Infinite far plane projection: yes
2017/12/06 09:36:22-957 7 I ogre  * Hardware render-to-texture: yes
2017/12/06 09:36:22-957 7 I ogre  * Floating point textures: yes
2017/12/06 09:36:22-958 7 I ogre  * Non-power-of-two textures: yes
2017/12/06 09:36:22-958 7 I ogre  * 1d textures: yes
2017/12/06 09:36:22-959 7 I ogre  * Volume textures: yes
2017/12/06 09:36:22-962 7 I ogre  * Multiple Render Targets: 8
2017/12/06 09:36:22-963 7 I ogre    - With different bit depths: yes
2017/12/06 09:36:22-964 7 I ogre  * Point Sprites: yes
2017/12/06 09:36:22-964 7 I ogre  * Hardware Gamma: yes
2017/12/06 09:36:22-965 7 I ogre  * Extended point parameters: yes
2017/12/06 09:36:22-966 7 I ogre  * Max Point Size: 0
2017/12/06 09:36:22-967 7 I ogre  * Vertex texture fetch: no
2017/12/06 09:36:22-971 7 I ogre  * Number of texture units: 16
2017/12/06 09:36:22-972 7 I ogre  * Number of vertex attributes: 16
2017/12/06 09:36:22-976 7 I ogre  * Stencil buffer depth: 8
2017/12/06 09:36:22-977 7 I ogre  * Number of vertex blend matrices: 0
2017/12/06 09:36:22-978 7 I ogre  * Render to Vertex Buffer : yes
2017/12/06 09:36:22-979 7 I ogre  * Hardware Atomic Counters: no
2017/12/06 09:36:22-981 7 I ogre  * PBuffer support: no
2017/12/06 09:36:22-982 7 I ogre  * Vertex Array Objects: yes
2017/12/06 09:36:22-982 7 I ogre  * Separate shader objects: no
2017/12/06 09:36:22-983 7 I ogre  * GLSL SSO redeclare interface block: no
2017/12/06 09:36:22-984 7 I ogre  * Debugging/ profiling events: no
2017/12/06 09:36:22-985 7 I ogre  * Map buffer storage: yes
2017/12/06 09:36:22-988 7 I ogre DefaultWorkQueue('Root') initialising on thread 14768.
2017/12/06 09:36:22-990 7 I ogre DefaultWorkQueue('Root')::WorkerFunc - thread 1800 starting.
2017/12/06 09:36:22-991 7 I ogre DefaultWorkQueue('Root')::WorkerFunc - thread 23580 starting.
2017/12/06 09:36:22-993 7 I ogre DefaultWorkQueue('Root')::WorkerFunc - thread 6192 starting.
2017/12/06 09:36:23-009 7 I ogre DefaultWorkQueue('Root')::WorkerFunc - thread 19088 starting.
2017/12/06 09:36:23-010 7 I ogre Particle Renderer Type 'billboard' registered
2017/12/06 09:36:23-029 7 I mm mm::mm_flake_surface_windows::on_surface_native_acquire 181 name:mm_bomber window size 384x640.
2017/12/06 09:36:23-047 7 I ogre Creating resource group mm_ogre_system
2017/12/06 09:36:23-055 7 I ogre Added resource location 'media/RTShaderLib/materials' of type 'mm_file_system' to resource group 'mm_ogre_system'
2017/12/06 09:36:23-065 7 I ogre Added resource location 'media/RTShaderLib/GLSLES' of type 'mm_file_system' to resource group 'mm_ogre_system'
2017/12/06 09:36:23-066 7 I ogre Initialising resource group mm_ogre_system
2017/12/06 09:36:23-067 7 I ogre Parsing scripts for resource group mm_ogre_system
2017/12/06 09:36:23-075 7 I ogre Parsing script DualQuaternionSkinning_Shadow.material
2017/12/06 09:36:24-263 7 I ogre Parsing script HardwareSkinningShadow.material
2017/12/06 09:36:25-165 7 I ogre Parsing script RTShaderSystem.material
2017/12/06 09:36:25-630 7 I ogre Parsing script TriplanarTexturing.material
2017/12/06 09:36:25-675 7 I ogre Finished parsing scripts for resource group mm_ogre_system
2017/12/06 09:36:25-675 7 I ogre Creating resources for group mm_ogre_system
2017/12/06 09:36:25-676 7 I ogre All done
2017/12/06 09:36:25-681 7 I cegui 
2017/12/06 09:36:25-681 7 I cegui ********************************************************************************
2017/12/06 09:36:25-682 7 I cegui * Important:                                                                   *
2017/12/06 09:36:25-683 7 I cegui *     To get support at the CEGUI forums, you must post _at least_ the section *
2017/12/06 09:36:25-684 7 I cegui *     of this log file indicated below.  Failure to do this will result in no  *
2017/12/06 09:36:25-685 7 I cegui *     support being given; please do not waste our time.                       *
2017/12/06 09:36:25-686 7 I cegui ********************************************************************************
2017/12/06 09:36:25-687 7 I cegui ********************************************************************************
2017/12/06 09:36:25-688 7 I cegui * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
2017/12/06 09:36:25-688 7 I cegui ********************************************************************************
2017/12/06 09:36:25-689 7 I cegui ---- Version: 0.8.7 (Build: Nov 30 2017 Debug Microsoft Windows MSVC++ 11.0 (2012) 32 bit) ----
2017/12/06 09:36:25-690 7 I cegui ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
2017/12/06 09:36:25-690 7 I cegui ---- XML Parser module is: CEGUI::TinyXMLParser - Official tinyXML based parser module for CEGUI ----
2017/12/06 09:36:25-691 7 I cegui ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
2017/12/06 09:36:25-691 7 I cegui ---- Scripting module is: None ----
2017/12/06 09:36:25-692 7 I cegui ********************************************************************************
2017/12/06 09:36:25-693 7 I cegui * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
2017/12/06 09:36:25-694 7 I cegui ********************************************************************************
2017/12/06 09:36:25-696 7 I cegui 
2017/12/06 09:36:25-697 7 I cegui ---- Begining CEGUI System initialisation ----
2017/12/06 09:36:25-698 7 I cegui [CEGUI::ImageManager] Singleton created (0B7F99F8)
2017/12/06 09:36:25-698 7 I cegui [CEGUI::ImageManager] Registered Image type: BasicImage
2017/12/06 09:36:25-699 7 I cegui CEGUI::FontManager singleton created. (0B7FBA70)
2017/12/06 09:36:25-700 7 I cegui CEGUI::WindowFactoryManager singleton created
2017/12/06 09:36:25-701 7 I cegui CEGUI::WindowManager singleton created (0B833CA8)
2017/12/06 09:36:25-702 7 I cegui CEGUI::SchemeManager singleton created. (0B813D88)
2017/12/06 09:36:25-702 7 I cegui CEGUI::GlobalEventSet singleton created. (0B814158)
2017/12/06 09:36:25-703 7 I cegui CEGUI::AnimationManager singleton created (0B8142E0)
2017/12/06 09:36:25-705 7 I cegui CEGUI::WidgetLookManager singleton created. (0B8146A0)
2017/12/06 09:36:25-705 7 I cegui CEGUI::WindowRendererManager singleton created (0B8A2EF8)
2017/12/06 09:36:25-705 7 I cegui CEGUI::RenderEffectManager singleton created (0B7FDF38)
2017/12/06 09:36:25-708 7 I cegui Created WindowFactory for 'DefaultWindow' windows.
2017/12/06 09:36:25-709 7 I cegui WindowFactory for 'DefaultWindow' windows added. (0B8352B8)
2017/12/06 09:36:25-711 7 I cegui Created WindowFactory for 'DragContainer' windows.
2017/12/06 09:36:25-712 7 I cegui WindowFactory for 'DragContainer' windows added. (0B8354B8)
2017/12/06 09:36:25-712 7 I cegui Created WindowFactory for 'ScrolledContainer' windows.
2017/12/06 09:36:25-713 7 I cegui WindowFactory for 'ScrolledContainer' windows added. (0B8356C0)
2017/12/06 09:36:25-714 7 I cegui Created WindowFactory for 'ClippedContainer' windows.
2017/12/06 09:36:25-714 7 I cegui WindowFactory for 'ClippedContainer' windows added. (0B8358C8)
2017/12/06 09:36:25-715 7 I cegui Created WindowFactory for 'CEGUI/PushButton' windows.
2017/12/06 09:36:25-715 7 I cegui WindowFactory for 'CEGUI/PushButton' windows added. (0B835AD8)
2017/12/06 09:36:25-716 7 I cegui Created WindowFactory for 'CEGUI/RadioButton' windows.
2017/12/06 09:36:25-717 7 I cegui WindowFactory for 'CEGUI/RadioButton' windows added. (0B835CF0)
2017/12/06 09:36:25-718 7 I cegui Created WindowFactory for 'CEGUI/Combobox' windows.
2017/12/06 09:36:25-719 7 I cegui WindowFactory for 'CEGUI/Combobox' windows added. (0B80F938)
2017/12/06 09:36:25-719 7 I cegui Created WindowFactory for 'CEGUI/ComboDropList' windows.
2017/12/06 09:36:25-720 7 I cegui WindowFactory for 'CEGUI/ComboDropList' windows added. (0B80FAF8)
2017/12/06 09:36:25-720 7 I cegui Created WindowFactory for 'CEGUI/Editbox' windows.
2017/12/06 09:36:25-721 7 I cegui WindowFactory for 'CEGUI/Editbox' windows added. (0B80FCB8)
2017/12/06 09:36:25-721 7 I cegui Created WindowFactory for 'CEGUI/FrameWindow' windows.
2017/12/06 09:36:25-723 7 I cegui WindowFactory for 'CEGUI/FrameWindow' windows added. (0B80FE78)
2017/12/06 09:36:25-723 7 I cegui Created WindowFactory for 'CEGUI/ItemEntry' windows.
2017/12/06 09:36:25-724 7 I cegui WindowFactory for 'CEGUI/ItemEntry' windows added. (0B8100A8)
2017/12/06 09:36:25-724 7 I cegui Created WindowFactory for 'CEGUI/Listbox' windows.
2017/12/06 09:36:25-725 7 I cegui WindowFactory for 'CEGUI/Listbox' windows added. (0B810268)
2017/12/06 09:36:25-725 7 I cegui Created WindowFactory for 'CEGUI/ListHeader' windows.
2017/12/06 09:36:25-726 7 I cegui WindowFactory for 'CEGUI/ListHeader' windows added. (0B810428)
2017/12/06 09:36:25-726 7 I cegui Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
2017/12/06 09:36:25-727 7 I cegui WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (0B8105E8)
2017/12/06 09:36:25-727 7 I cegui Created WindowFactory for 'CEGUI/Menubar' windows.
2017/12/06 09:36:25-728 7 I cegui WindowFactory for 'CEGUI/Menubar' windows added. (0B8107A8)
2017/12/06 09:36:25-728 7 I cegui Created WindowFactory for 'CEGUI/PopupMenu' windows.
2017/12/06 09:36:25-730 7 I cegui WindowFactory for 'CEGUI/PopupMenu' windows added. (0B810968)
2017/12/06 09:36:25-731 7 I cegui Created WindowFactory for 'CEGUI/MenuItem' windows.
2017/12/06 09:36:25-731 7 I cegui WindowFactory for 'CEGUI/MenuItem' windows added. (0B810B28)
2017/12/06 09:36:25-733 7 I cegui Created WindowFactory for 'CEGUI/MultiColumnList' windows.
2017/12/06 09:36:25-734 7 I cegui WindowFactory for 'CEGUI/MultiColumnList' windows added. (0B810CE8)
2017/12/06 09:36:25-734 7 I cegui Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
2017/12/06 09:36:25-735 7 I cegui WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (0B810EA8)
2017/12/06 09:36:25-735 7 I cegui Created WindowFactory for 'CEGUI/ProgressBar' windows.
2017/12/06 09:36:25-736 7 I cegui WindowFactory for 'CEGUI/ProgressBar' windows added. (0B811068)
2017/12/06 09:36:25-736 7 I cegui Created WindowFactory for 'CEGUI/ScrollablePane' windows.
2017/12/06 09:36:25-737 7 I cegui WindowFactory for 'CEGUI/ScrollablePane' windows added. (0B8112D8)
2017/12/06 09:36:25-737 7 I cegui Created WindowFactory for 'CEGUI/Scrollbar' windows.
2017/12/06 09:36:25-738 7 I cegui WindowFactory for 'CEGUI/Scrollbar' windows added. (0B811498)
2017/12/06 09:36:25-739 7 I cegui Created WindowFactory for 'CEGUI/Slider' windows.
2017/12/06 09:36:25-739 7 I cegui WindowFactory for 'CEGUI/Slider' windows added. (0B811658)
2017/12/06 09:36:25-740 7 I cegui Created WindowFactory for 'CEGUI/Spinner' windows.
2017/12/06 09:36:25-740 7 I cegui WindowFactory for 'CEGUI/Spinner' windows added. (0B811818)
2017/12/06 09:36:25-741 7 I cegui Created WindowFactory for 'CEGUI/TabButton' windows.
2017/12/06 09:36:25-743 7 I cegui WindowFactory for 'CEGUI/TabButton' windows added. (0B8119D8)
2017/12/06 09:36:25-744 7 I cegui Created WindowFactory for 'CEGUI/TabControl' windows.
2017/12/06 09:36:25-745 7 I cegui WindowFactory for 'CEGUI/TabControl' windows added. (0B811B98)
2017/12/06 09:36:25-745 7 I cegui Created WindowFactory for 'CEGUI/Thumb' windows.
2017/12/06 09:36:25-746 7 I cegui WindowFactory for 'CEGUI/Thumb' windows added. (0B811D58)
2017/12/06 09:36:25-746 7 I cegui Created WindowFactory for 'CEGUI/Titlebar' windows.
2017/12/06 09:36:25-747 7 I cegui WindowFactory for 'CEGUI/Titlebar' windows added. (0B811F18)
2017/12/06 09:36:25-747 7 I cegui Created WindowFactory for 'CEGUI/ToggleButton' windows.
2017/12/06 09:36:25-748 7 I cegui WindowFactory for 'CEGUI/ToggleButton' windows added. (0B8120D8)
2017/12/06 09:36:25-748 7 I cegui Created WindowFactory for 'CEGUI/Tooltip' windows.
2017/12/06 09:36:25-749 7 I cegui WindowFactory for 'CEGUI/Tooltip' windows added. (0B812380)
2017/12/06 09:36:25-750 7 I cegui Created WindowFactory for 'CEGUI/ItemListbox' windows.
2017/12/06 09:36:25-750 7 I cegui WindowFactory for 'CEGUI/ItemListbox' windows added. (0B812540)
2017/12/06 09:36:25-751 7 I cegui Created WindowFactory for 'CEGUI/GroupBox' windows.
2017/12/06 09:36:25-751 7 I cegui WindowFactory for 'CEGUI/GroupBox' windows added. (0B812700)
2017/12/06 09:36:25-753 7 I cegui Created WindowFactory for 'CEGUI/Tree' windows.
2017/12/06 09:36:25-753 7 I cegui WindowFactory for 'CEGUI/Tree' windows added. (0B8128C0)
2017/12/06 09:36:25-754 7 I cegui Created WindowFactory for 'LayoutCell' windows.
2017/12/06 09:36:25-755 7 I cegui WindowFactory for 'LayoutCell' windows added. (0B80C7E0)
2017/12/06 09:36:25-755 7 I cegui Created WindowFactory for 'HorizontalLayoutContainer' windows.
2017/12/06 09:36:25-757 7 I cegui WindowFactory for 'HorizontalLayoutContainer' windows added. (0B80C9A0)
2017/12/06 09:36:25-758 7 I cegui Created WindowFactory for 'VerticalLayoutContainer' windows.
2017/12/06 09:36:25-759 7 I cegui WindowFactory for 'VerticalLayoutContainer' windows added. (0B80CB60)
2017/12/06 09:36:25-760 7 I cegui Created WindowFactory for 'GridLayoutContainer' windows.
2017/12/06 09:36:25-760 7 I cegui WindowFactory for 'GridLayoutContainer' windows added. (0B80CD20)
2017/12/06 09:36:25-761 7 I cegui CEGUI::System singleton created. (0B7FBD78)
2017/12/06 09:36:25-761 7 I cegui ---- CEGUI System initialisation completed ----
2017/12/06 09:36:25-763 7 I cegui 
2017/12/06 09:36:25-763 7 I mm mm::mm_cegui_system::init 117 renderer display size:0 x 0 first time succeed.
2017/12/06 09:36:25-764 7 I cegui ---- mm_cegui_system initialize ----
2017/12/06 09:36:25-765 7 I ogre Creating resource group animations
2017/12/06 09:36:25-767 7 I ogre Creating resource group imagesets
2017/12/06 09:36:25-769 7 I ogre Creating resource group fonts
2017/12/06 09:36:25-770 7 I ogre Creating resource group layouts
2017/12/06 09:36:25-772 7 I ogre Creating resource group schemes
2017/12/06 09:36:25-774 7 I ogre Creating resource group looknfeels
2017/12/06 09:36:25-776 7 I ogre Creating resource group lua_scripts
2017/12/06 09:36:25-778 7 I ogre Creating resource group schemas
2017/12/06 09:36:25-779 7 I ogre Creating resource group shader
2017/12/06 09:36:25-786 7 I ogre Added resource location 'cegui/animations' of type 'mm_file_system' to resource group 'animations'
2017/12/06 09:36:25-789 7 I ogre Added resource location 'cegui/imagesets' of type 'mm_file_system' to resource group 'imagesets'
2017/12/06 09:36:25-796 7 I ogre Added resource location 'cegui/fonts' of type 'mm_file_system' to resource group 'fonts'
2017/12/06 09:36:25-805 7 I ogre Added resource location 'cegui/layouts' of type 'mm_file_system' to resource group 'layouts'
2017/12/06 09:36:25-808 7 I ogre Added resource location 'cegui/schemes' of type 'mm_file_system' to resource group 'schemes'
2017/12/06 09:36:25-810 7 I ogre Added resource location 'cegui/looknfeel' of type 'mm_file_system' to resource group 'looknfeels'
2017/12/06 09:36:25-813 7 I ogre Added resource location 'cegui/lua_scripts' of type 'mm_file_system' to resource group 'lua_scripts'
2017/12/06 09:36:25-820 7 I ogre Added resource location 'cegui/xml_schemas' of type 'mm_file_system' to resource group 'schemas'
2017/12/06 09:36:25-823 7 I ogre Added resource location 'cegui/shader/GLSLES' of type 'mm_file_system' to resource group 'shader'
2017/12/06 09:36:25-825 7 I ogre Added resource location 'C:/Windows/Fonts' of type 'mm_file_system' to resource group 'fonts'
2017/12/06 09:36:25-826 7 I ogre Initialising resource group animations
2017/12/06 09:36:25-827 7 I ogre Parsing scripts for resource group animations
2017/12/06 09:36:25-830 7 I ogre Finished parsing scripts for resource group animations
2017/12/06 09:36:25-831 7 I ogre Creating resources for group animations
2017/12/06 09:36:25-831 7 I ogre All done
2017/12/06 09:36:25-832 7 I ogre Initialising resource group imagesets
2017/12/06 09:36:25-833 7 I ogre Parsing scripts for resource group imagesets
2017/12/06 09:36:25-836 7 I ogre Finished parsing scripts for resource group imagesets
2017/12/06 09:36:25-837 7 I ogre Creating resources for group imagesets
2017/12/06 09:36:25-837 7 I ogre All done
2017/12/06 09:36:25-838 7 I ogre Initialising resource group fonts
2017/12/06 09:36:25-839 7 I ogre Parsing scripts for resource group fonts
2017/12/06 09:36:25-842 7 I ogre Finished parsing scripts for resource group fonts
2017/12/06 09:36:25-842 7 I ogre Creating resources for group fonts
2017/12/06 09:36:25-843 7 I ogre All done
2017/12/06 09:36:25-843 7 I ogre Initialising resource group layouts
2017/12/06 09:36:25-844 7 I ogre Parsing scripts for resource group layouts
2017/12/06 09:36:25-847 7 I ogre Finished parsing scripts for resource group layouts
2017/12/06 09:36:25-847 7 I ogre Creating resources for group layouts
2017/12/06 09:36:25-848 7 I ogre All done
2017/12/06 09:36:25-849 7 I ogre Initialising resource group schemes
2017/12/06 09:36:25-850 7 I ogre Parsing scripts for resource group schemes
2017/12/06 09:36:25-853 7 I ogre Finished parsing scripts for resource group schemes
2017/12/06 09:36:25-854 7 I ogre Creating resources for group schemes
2017/12/06 09:36:25-854 7 I ogre All done
2017/12/06 09:36:25-856 7 I ogre Initialising resource group looknfeels
2017/12/06 09:36:25-856 7 I ogre Parsing scripts for resource group looknfeels
2017/12/06 09:36:25-859 7 I ogre Finished parsing scripts for resource group looknfeels
2017/12/06 09:36:25-859 7 I ogre Creating resources for group looknfeels
2017/12/06 09:36:25-860 7 I ogre All done
2017/12/06 09:36:25-860 7 I ogre Initialising resource group lua_scripts
2017/12/06 09:36:25-861 7 I ogre Parsing scripts for resource group lua_scripts
2017/12/06 09:36:25-863 7 I ogre Finished parsing scripts for resource group lua_scripts
2017/12/06 09:36:25-863 7 I ogre Creating resources for group lua_scripts
2017/12/06 09:36:25-865 7 I ogre All done
2017/12/06 09:36:25-866 7 I ogre Initialising resource group schemas
2017/12/06 09:36:25-867 7 I ogre Parsing scripts for resource group schemas
2017/12/06 09:36:25-870 7 I ogre Finished parsing scripts for resource group schemas
2017/12/06 09:36:25-870 7 I ogre Creating resources for group schemas
2017/12/06 09:36:25-870 7 I ogre All done
2017/12/06 09:36:25-871 7 I ogre Initialising resource group shader
2017/12/06 09:36:25-872 7 I ogre Parsing scripts for resource group shader
2017/12/06 09:36:25-874 7 I ogre Finished parsing scripts for resource group shader
2017/12/06 09:36:25-875 7 I ogre Creating resources for group shader
2017/12/06 09:36:25-875 7 I ogre All done
2017/12/06 09:36:25-922 7 I mm mm::mm_bomber::on_finish_launching 74 1.
2017/12/06 09:36:25-923 7 I ogre Loading library plugins/Plugin_ParticleFX_d
2017/12/06 09:36:25-941 7 I ogre Installing plugin: ParticleFX
2017/12/06 09:36:25-942 7 I ogre Particle Emitter Type 'Point' registered
2017/12/06 09:36:25-944 7 I ogre Particle Emitter Type 'Box' registered
2017/12/06 09:36:25-945 7 I ogre Particle Emitter Type 'Ellipsoid' registered
2017/12/06 09:36:25-946 7 I ogre Particle Emitter Type 'Cylinder' registered
2017/12/06 09:36:25-947 7 I ogre Particle Emitter Type 'Ring' registered
2017/12/06 09:36:25-948 7 I ogre Particle Emitter Type 'HollowEllipsoid' registered
2017/12/06 09:36:25-949 7 I ogre Particle Affector Type 'LinearForce' registered
2017/12/06 09:36:25-950 7 I ogre Particle Affector Type 'ColourFader' registered
2017/12/06 09:36:25-952 7 I ogre Particle Affector Type 'ColourFader2' registered
2017/12/06 09:36:25-952 7 I ogre Particle Affector Type 'ColourImage' registered
2017/12/06 09:36:25-954 7 I ogre Particle Affector Type 'ColourInterpolator' registered
2017/12/06 09:36:25-955 7 I ogre Particle Affector Type 'Scaler' registered
2017/12/06 09:36:25-956 7 I ogre Particle Affector Type 'Rotator' registered
2017/12/06 09:36:25-957 7 I ogre Particle Affector Type 'DirectionRandomiser' registered
2017/12/06 09:36:25-958 7 I ogre Particle Affector Type 'DeflectorPlane' registered
2017/12/06 09:36:25-958 7 I ogre Plugin successfully installed
2017/12/06 09:36:25-959 7 I mm mm::mm_ogre_plugin_loader::acquire_plugin 80 plugin:plugins/Plugin_ParticleFX_d succeed.
2017/12/06 09:36:25-961 7 I ogre Loading library plugins/Plugin_OctreeSceneManager_d
2017/12/06 09:36:25-976 7 I ogre Installing plugin: Octree Scene Manager
2017/12/06 09:36:25-977 7 I ogre SceneManagerFactory for type 'OctreeSceneManager' registered.
2017/12/06 09:36:25-977 7 I ogre Plugin successfully installed
2017/12/06 09:36:25-978 7 I mm mm::mm_ogre_plugin_loader::acquire_plugin 80 plugin:plugins/Plugin_OctreeSceneManager_d succeed.
2017/12/06 09:36:25-978 7 I mm mm::mm_bomber::on_finish_launching 79 2.
2017/12/06 09:36:25-986 7 I cegui Started creation of Scheme from XML specification:
2017/12/06 09:36:25-986 7 I cegui ---- CEGUI GUIScheme name: TaharezLook
2017/12/06 09:36:26-031 7 I cegui [ImageManager] Started creation of Imageset from XML specification:
2017/12/06 09:36:26-031 7 I cegui [ImageManager] ---- CEGUI Imageset name: TaharezLook
2017/12/06 09:36:26-032 7 I cegui [ImageManager] ---- Source texture file: TaharezLook.png
2017/12/06 09:36:26-034 7 I cegui [ImageManager] ---- Source texture resource group: (Default)
2017/12/06 09:36:32-693 7 I ogre GLES2Texture::create - Name: TaharezLook.png ID: 1 Width: 256 Height: 256 Internal Format: 0x93a1
2017/12/06 09:36:32-696 7 I ogre Texture: TaharezLook.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) Internal format is PF_A8R8G8B8,256x256x1.
2017/12/06 09:36:34-864 7 I ogre GLES2TextureBuffer::upload - ID: 1 Target: 3553 Format: PF_A8R8G8B8 Origin format: 0x80e1 Data type: 0x1401
(Error) in function: glTexSubImage2D GL: 502 (GL_INVALID_OPERATION) VF: A0119 (the combination of internalFormat, format and type is not supported)
paroj
OGRE Team Member
OGRE Team Member
Posts: 2141
Joined: Sun Mar 30, 2014 2:51 pm
x 1151

Re: v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by paroj »

BGRA_EXT support is signalled via GL_EXT_texture_format_BGRA8888. If it does not work, this is a bug in the PVR SDK.
longer
Kobold
Posts: 37
Joined: Tue Aug 19, 2014 10:46 am
x 5

Re: v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by longer »

https://www.khronos.org/registry/OpenGL ... ec_2.0.pdf

I'm not find the standard gles2 support BGRA.
GL_RGBA look always support.My final solution is load image alway desired format PF_A8B8G8R8.
In fact it is not work at my mobile.

Code: Select all

oppo x9000
12-07 16:06:10.879: I/ogre(30208): 7 I GPU Vendor: qualcomm
12-07 16:06:10.879: I/ogre(30208): 7 I Device Name: Adreno (TM) 330
12-07 16:06:10.879: I/ogre(30208): 7 I Driver Version: 3.0.0.0

12-07 16:06:10.949: W/Adreno-ES20(30208): <core_glTexStorage2D:331>: GL_INVALID_VALUE
12-07 16:06:10.949: I/ogre(30208): 7 I Texture: TaharezLook.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) Internal format is PF_A8R8G8B8,256x256x1.
some is work perfect.

Code: Select all

samsung GT-S7568

01-01 06:26:11.440: I/ogre(2968): 7 I GPU Vendor: arm
01-01 06:26:11.440: I/ogre(2968): 7 I Device Name: Mali-300
01-01 06:26:11.440: I/ogre(2968): 7 I Driver Version: 2.0.0.0

01-01 06:26:11.640: I/cegui(2968): 7 I [ImageManager] ---- Source texture resource group: (Default)
01-01 06:26:11.660: I/ogre(2968): 7 I Texture: TaharezLook.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) Internal format is PF_A8R8G8B8,256x256x1.
01-01 06:26:11.660: I/cegui(2968): 7 I [OgreRenderer] Created texture: TaharezLook

Code: Select all

d_texture = manager->load(_filename, resourceGroup.c_str(), Ogre::TEX_TYPE_2D, 0, 1.0f, false, Ogre::PF_A8B8G8R8, false);
At least for now working.
paroj
OGRE Team Member
OGRE Team Member
Posts: 2141
Joined: Sun Mar 30, 2014 2:51 pm
x 1151

Re: v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by paroj »

longer wrote: Thu Dec 07, 2017 8:28 am https://www.khronos.org/registry/OpenGL ... ec_2.0.pdf

I'm not find the standard gles2 support BGRA.
https://www.khronos.org/registry/OpenGL ... RA8888.txt

I could not find any gles2 capable device, that does not support this.
longer wrote: Thu Dec 07, 2017 8:28 am GL_RGBA look always support.My final solution is load image alway desired format PF_A8B8G8R8.
as said, if you switch to STB Image, this will happen automatically and you spare the conversion on the CPU.
longer
Kobold
Posts: 37
Joined: Tue Aug 19, 2014 10:46 am
x 5

Re: v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by longer »

Thanks.

https://www.khronos.org/registry/OpenGL ... RA8888.txt
It's standard gles2 support BGRA.

But i find some android machine not work.Mabe the machine company not support this extensions.

Code: Select all

oppo x900
xiaomi MIUI 8.5
logger like that:

Code: Select all

12-08 13:36:03.544: I/ogre(17315): 7 I GL_VERSION = 3.0.0.0
12-08 13:36:03.544: I/ogre(17315): 7 I GL_VENDOR = Qualcomm
12-08 13:36:03.544: I/ogre(17315): 7 I GL_RENDERER = Adreno (TM) 330

12-08 13:36:03.924: W/Adreno-ES20(17315): <core_glTexStorage2D:330>: GL_INVALID_VALUE
12-08 13:36:03.924: I/ogre(17315): 7 I Texture: TaharezLook.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) Internal format is PF_A8R8G8B8,256x256x1.
and UI not at view it is black or transparent.

Maximum compatible is conversion on the CPU.
Whisperd130
Halfling
Posts: 77
Joined: Wed Feb 01, 2017 4:02 pm
x 1

Re: v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by Whisperd130 »

Actually, I met the same problem about load png in my android phone which with Adreno (TM) 720.
And it shows fine under Mali GPU.

So do you have the solution about it?
Thanks.
longer
Kobold
Posts: 37
Joined: Tue Aug 19, 2014 10:46 am
x 5

Re: v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by longer »

The special loader for PF_A8R8G8B8, use Ogre::TextureManager load function the seventh parameter desired format PF_A8B8G8R8 by cpu.
If the format is PF_A8B8G8R8 it wil do nothing.
Change the FREEIMAGE_COLORORDER is not recommend.

Code: Select all

			// At gles2 default support PF_A8B8G8R8 format.Some machine not support PF_A8R8G8B8.
			// Here we instead the alway desired format PF_A8B8G8R8.
			this->d_texture = _texture_manager->load(_filename, _resource, Ogre::TEX_TYPE_2D, 0, 1.0f, false, Ogre::PF_A8B8G8R8, false);
paroj
OGRE Team Member
OGRE Team Member
Posts: 2141
Joined: Sun Mar 30, 2014 2:51 pm
x 1151

Re: v1-10-9 gles2 load png glTexSubImage2D GL: 502 error for file format.

Post by paroj »

longer wrote: Thu Dec 14, 2017 7:02 am Change the FREEIMAGE_COLORORDER is not recommend.
switching to STB Image is ;)