Code: Select all
m_root->installPlugin(new Ogre::OctreePlugin());
m_root->installPlugin(new Ogre::GLESPlugin());
//m_root->installPlugin(new Ogre::GLES2Plugin());
Code: Select all
Render System=OpenGL ES 1.x Rendering Subsystem
[OpenGL ES 2.x Rendering Subsystem]
FSAA=0
Full Screen=Yes
RTT Preferred Mode=FBO
Video Mode=1024 x 768
[OpenGL ES 1.x Rendering Subsystem]
Content Scaling Factor=1
FSAA=0
Full Screen=Yes
RTT Preferred Mode=FBO
Video Mode=768 x 1024
If I run exactly the same but with that line uncommented:220:34:14: Installing plugin: OpenGL ES 1.x RenderSystem
20:34:14: OpenGL ES 1.x Rendering Subsystem created.
...
20:34:14: iOS: Window created 768 x 1024 with backing store size 1024 x 768 using content scaling factor 1.0
20:34:14: GL_VERSION = OpenGL ES-CM 1.1 APPLE
20:34:14: GL_VENDOR = Apple Computer, Inc.
20:34:14: GL_RENDERER = Apple Software Renderer
20:34:14: GL_EXTENSIONS = GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_paletted_texture GL_OES_depth24 GL_OES_draw_texture GL_OES_fbo_render_mipmap GL_OES_framebuffer_object GL_OES_mapbuffer GL_OES_matrix_palette GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap GL_OES_stencil8 GL_OES_texture_mirrored_repeat GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_APPLE_framebuffer_multisample GL_APPLE_texture_2D_limited_npot GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc
20:34:14: EXT:GL_OES_blend_equation_separate
20:34:14: EXT:GL_OES_blend_func_separate
20:34:14: EXT:GL_OES_blend_subtract
20:34:14: EXT:GL_OES_compressed_paletted_texture
20:34:14: EXT:GL_OES_depth24
20:34:14: EXT:GL_OES_draw_texture
20:34:14: EXT:GL_OES_fbo_render_mipmap
20:34:14: EXT:GL_OES_framebuffer_object
20:34:14: EXT:GL_OES_mapbuffer
20:34:14: EXT:GL_OES_matrix_palette
20:34:14: EXT:GL_OES_packed_depth_stencil
20:34:14: EXT:GL_OES_point_size_array
20:34:14: EXT:GL_OES_point_sprite
20:34:14: EXT:GL_OES_read_format
20:34:14: EXT:GL_OES_rgb8_rgba8
20:34:14: EXT:GL_OES_stencil_wrap
20:34:14: EXT:GL_OES_stencil8
20:34:14: EXT:GL_OES_texture_mirrored_repeat
20:34:14: EXT:GL_OES_vertex_array_object
20:34:14: EXT:GL_EXT_blend_minmax
20:34:14: EXT:GL_EXT_discard_framebuffer
20:34:14: EXT:GL_EXT_read_format_bgra
20:34:14: EXT:GL_EXT_texture_filter_anisotropic
20:34:14: EXT:GL_EXT_texture_lod_bias
20:34:14: EXT:GL_APPLE_framebuffer_multisample
20:34:14: EXT:GL_APPLE_texture_2D_limited_npot
20:34:14: EXT:GL_APPLE_texture_format_BGRA8888
20:34:14: EXT:GL_APPLE_texture_max_level
20:34:14: EXT:GL_IMG_read_format
20:34:14: EXT:GL_IMG_texture_compression_pvrtc
20:34:14: **************************************
20:34:14: *** OpenGL ES 1.x Renderer Started ***
20:34:14: **************************************
20:34:14: Registering ResourceManager for type GpuProgram
20:34:14: GL ES: Using GL_OES_framebuffer_object for rendering to textures (best)
20:34:14: FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 Packed-D24S8
20:34:14: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
20:34:14: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
20:34:14: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
20:34:14: FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
20:34:14: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
20:34:14: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
20:34:14: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 Packed-D24S8
20:34:14: [GLES] : Valid FBO targets PF_UNKNOWN PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8 PF_X8R8G8B8 PF_X8B8G8R8
20:34:14: RenderSystem capabilities
20:34:14: -------------------------
20:34:14: RenderSystem Name: OpenGL ES 1.x Rendering Subsystem
20:34:14: GPU Vendor: apple
20:34:15: Device Name: Apple Software Renderer
20:34:15: Driver Version: 0.0.0.0
20:34:15: * Fixed function pipeline: yes
20:34:15: * Hardware generation of mipmaps: yes
20:34:15: * Texture blending: yes
20:34:15: * Anisotropic texture filtering: yes
20:34:15: * Dot product texture operation: yes
20:34:15: * Cube mapping: no
20:34:15: * Hardware stencil buffer: no
20:34:15: * Hardware vertex / index buffers: yes
20:34:15: * Vertex programs: no
20:34:15: * Number of floating-point constants for vertex programs: 0
20:34:15: * Number of integer constants for vertex programs: 0
20:34:15: * Number of boolean constants for vertex programs: 0
20:34:15: * Fragment programs: no
20:34:15: * Number of floating-point constants for fragment programs: 0
20:34:15: * Number of integer constants for fragment programs: 0
20:34:15: * Number of boolean constants for fragment programs: 0
20:34:15: * Geometry programs: no
20:34:15: * Number of floating-point constants for geometry programs: 0
20:34:15: * Number of integer constants for geometry programs: 0
20:34:15: * Number of boolean constants for geometry programs: 0
20:34:15: * Supported Shader Profiles:
20:34:15: * Texture Compression: yes
20:34:15: - DXT: no
20:34:15: - VTC: no
20:34:15: - PVRTC: yes
20:34:15: * Scissor Rectangle: yes
20:34:15: * Hardware Occlusion Query: no
20:34:15: * User clip planes: yes
20:34:15: * VET_UBYTE4 vertex element type: yes
20:34:15: * Infinite far plane projection: yes
20:34:15: * Hardware render-to-texture: yes
20:34:15: * Floating point textures: no
20:34:15: * Non-power-of-two textures: no
20:34:15: * Volume textures: no
20:34:15: * Multiple Render Targets: 1
20:34:15: - With different bit depths: no
20:34:15: * Point Sprites: yes
20:34:15: * Extended point parameters: yes
20:34:15: * Max Point Size: 511
20:34:15: * Vertex texture fetch: no
20:34:15: * Number of world matrices: 0
20:34:15: * Number of texture units: 8
20:34:15: * Stencil buffer depth: 0
20:34:15: * Number of vertex blend matrices: 0
20:34:15: * Render to Vertex Buffer : no
20:34:15: * GL 1.5 without VBO workaround: no
20:34:15: * Frame Buffer objects: yes
20:34:15: * Frame Buffer objects (ARB extension): no
20:34:15: * Frame Buffer objects (ATI extension): no
20:34:15: * PBuffer support: no
20:34:15: * GL 1.5 without HW-occlusion workaround: no
20:34:15: * Separate shader objects: no
It's like I've got GLES 1 running against GLES 2 libs or something? Is initing both rendersystems simply a bad idea or is there a different problem here?20:37:56: Installing plugin: OpenGL ES 1.x RenderSystem
20:37:56: OpenGL ES 1.x Rendering Subsystem created.
20:37:56: Plugin successfully installed
20:37:56: Installing plugin: OpenGL ES 2.0 RenderSystem
20:37:56: OpenGL ES 2.x Rendering Subsystem created.
20:37:56: Plugin successfully installed
20:37:56: CPU Identifier & Features
20:37:56: -------------------------
20:37:56: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU P7350 @ 2.00GHz
20:37:56: * SSE: yes
20:37:56: * SSE2: yes
20:37:56: * SSE3: yes
20:37:56: * MMX: yes
20:37:56: * MMXEXT: yes
20:37:56: * 3DNOW: no
20:37:56: * 3DNOWEXT: no
20:37:56: * CMOV: yes
20:37:56: * TSC: yes
20:37:56: * FPU: yes
20:37:56: * PRO: yes
20:37:56: * HT: no
20:37:56: -------------------------
20:37:56: Registering ResourceManager for type Texture
20:37:56: GLESRenderSystem::_createRenderWindow "Simed", 768x1024 fullscreen miscParams: FSAA=0 contentScalingFactor=1 displayFrequency=0 Hz
20:37:57: iOS: Window created 768 x 1024 with backing store size 1024 x 768 using content scaling factor 1.0
20:37:57: GL_VERSION = OpenGL ES 2.0 APPLE
20:37:57: GL_VENDOR = Apple Computer, Inc.
20:37:57: GL_RENDERER = Apple Software Renderer
20:37:57: GL_EXTENSIONS = GL_OES_depth_texture GL_OES_depth24 GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc
20:37:57: EXT:GL_OES_depth_texture
20:37:57: EXT:GL_OES_depth24
20:37:57: EXT:GL_OES_fbo_render_mipmap
20:37:57: EXT:GL_OES_mapbuffer
20:37:57: EXT:GL_OES_packed_depth_stencil
20:37:57: EXT:GL_OES_rgb8_rgba8
20:37:57: EXT:GL_OES_texture_float
20:37:57: EXT:GL_OES_texture_half_float
20:37:57: EXT:GL_OES_vertex_array_object
20:37:57: EXT:GL_EXT_blend_minmax
20:37:57: EXT:GL_EXT_discard_framebuffer
20:37:57: EXT:GL_EXT_read_format_bgra
20:37:57: EXT:GL_EXT_shader_texture_lod
20:37:57: EXT:GL_EXT_texture_filter_anisotropic
20:37:57: EXT:GL_APPLE_framebuffer_multisample
20:37:57: EXT:GL_APPLE_rgb_422
20:37:57: EXT:GL_APPLE_texture_format_BGRA8888
20:37:57: EXT:GL_APPLE_texture_max_level
20:37:57: EXT:GL_IMG_read_format
20:37:57: EXT:GL_IMG_texture_compression_pvrtc
20:37:57: **************************************
20:37:57: *** OpenGL ES 1.x Renderer Started ***
20:37:57: **************************************
20:37:57: Registering ResourceManager for type GpuProgram
20:37:57: GL ES: Using PBuffers for rendering to textures
20:37:57: RenderSystem capabilities
20:37:57: -------------------------
20:37:57: RenderSystem Name: OpenGL ES 1.x Rendering Subsystem
20:37:57: GPU Vendor: apple
20:37:57: Device Name: Apple Software Renderer
20:37:57: Driver Version: 0.0.0.0
20:37:57: * Fixed function pipeline: yes
20:37:57: * Hardware generation of mipmaps: yes
20:37:57: * Texture blending: yes
20:37:57: * Anisotropic texture filtering: yes
20:37:57: * Dot product texture operation: yes
20:37:57: * Cube mapping: no
20:37:57: * Hardware stencil buffer: no
20:37:57: * Hardware vertex / index buffers: yes
20:37:57: * Vertex programs: no
20:37:57: * Number of floating-point constants for vertex programs: 0
20:37:57: * Number of integer constants for vertex programs: 0
20:37:57: * Number of boolean constants for vertex programs: 0
20:37:57: * Fragment programs: no
20:37:57: * Number of floating-point constants for fragment programs: 0
20:37:57: * Number of integer constants for fragment programs: 0
20:37:57: * Number of boolean constants for fragment programs: 0
20:37:57: * Geometry programs: no
20:37:57: * Number of floating-point constants for geometry programs: 0
20:37:57: * Number of integer constants for geometry programs: 0
20:37:57: * Number of boolean constants for geometry programs: 0
20:37:57: * Supported Shader Profiles:
20:37:57: * Texture Compression: yes
20:37:57: - DXT: no
20:37:57: - VTC: no
20:37:57: - PVRTC: yes
20:37:57: * Scissor Rectangle: yes
20:37:57: * Hardware Occlusion Query: no
20:37:57: * User clip planes: yes
20:37:57: * VET_UBYTE4 vertex element type: yes
20:37:57: * Infinite far plane projection: yes
20:37:57: * Hardware render-to-texture: yes
20:37:57: * Floating point textures: no
20:37:57: * Non-power-of-two textures: no
20:37:57: * Volume textures: no
20:37:57: * Multiple Render Targets: 1
20:37:57: - With different bit depths: no
20:37:57: * Point Sprites: no
20:37:57: * Extended point parameters: yes
20:37:57: * Vertex texture fetch: no
20:37:57: * Number of world matrices: 0
20:37:57: * Number of texture units: 52952
20:37:57: * Stencil buffer depth: 0
20:37:57: * Number of vertex blend matrices: 0
20:37:57: * Render to Vertex Buffer : no
20:37:57: * GL 1.5 without VBO workaround: no
20:37:57: * Frame Buffer objects: no
20:37:57: * Frame Buffer objects (ARB extension): no
20:37:57: * Frame Buffer objects (ATI extension): no
20:37:57: * PBuffer support: yes
20:37:57: * GL 1.5 without HW-occlusion workaround: no
20:37:57: * Separate shader objects: no
...
20:37:57: WARNING: Couldn't create a suited DepthBufferfor RT: rtt/257162880/0x8079600_Canvas
CRASH