Win32 - bad performance with maximized window

Toni Cavalheiro toni at textodigital.com.br
Mon Sep 12 17:31:38 BST 2005


Hello again,

I tried 1400x1050 with 16-bit colour and everything is perfect!
You are right: the problem is 1400x1050 using 32-bit colour.

Here is the system information:

----
Windows XP (build 2600, Service Pack 2)
wxWidgets 2.6.0
Display Depth: 32 bpp (colour)
OpenGL 1.3.4145 WinXP Release
ATI Technologies Inc.
MOBILITY RADEON 7500 DDR x86/SSE2
GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array
GL_S3_s3tc GL_ARB_occlusion_query GL_ARB_texture_border_clamp
GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add
GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat
GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object
GL_ARB_window_pos GL_ATI_envmap_bumpmap GL_ATI_map_object_buffer
GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once
GL_ATI_vertex_array_object GL_ATI_vertex_streams
GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_EXT_abgr
GL_EXT_bgra GL_EXT_clip_volume_hint GL_EXT_draw_range_elements
GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels
GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color
GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_texgen_reflection
GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias
GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array
GL_HP_occlusion_test GL_NV_texgen_reflection GL_NV_blend_square
GL_NV_occlusion_query GL_SGI_color_matrix GL_SGIS_texture_edge_clamp
GL_SGIS_texture_border_clamp GL_SGIS_texture_lod GL_SGIS_generate_mipmap
GL_SGIS_multitexture GL_SUN_multi_draw_arrays GL_WIN_swap_hint
WGL_EXT_extensions_string WGL_EXT_swap_control 
R8G8B8
Max Texture size: 2048x2048
Max Viewport size: 2048x2048
Point Size 0.500-64.000 (granularity 0.125)
---

Thanks.

Regards,
-Toni




-----Original Message-----
From: Olly Betts [mailto:olly at survex.com] 
Sent: Monday, September 12, 2005 10:07 AM
To: Toni Cavalheiro
Cc: survex at survex.com
Subject: Re: Win32 - bad performance with maximized window

On Mon, Sep 12, 2005 at 09:33:51AM -0300, Toni Cavalheiro wrote:
> The cause is the resolution. The same IBM ThinkPad can manage .3D 
> files in
> 1280x1024 perfectly, but the performance is really bad in 1400x1050 
> (this is the standard resolution for this machine). I'm sure that the 
> problem is not the machine, once the old Survex version was running OK in
all resolutions.

There's a major internal difference between how 1.0.X and 1.1.X work though
- 1.1.X uses OpenGL for all the 3D rendering.  OpenGL is sort of similar to
Direct3D, except it's an open standard whereas Direct3D is proprietary to
Microsoft.

The benefits are that we can easily draw 3D models with polygons and
lighting and shading and all sorts of fancy effects, and get the benefits of
3D acceleration from your graphics card.  Thanks to the driving force of
gamers buying ever newer and faster cards, you can buy midrange graphics
cards which offer lots of power for a very modest price and new machines
typically have 3D capabilities which would have been top-end a few years
ago.

Anyway, because of this major architectural difference, the old version
working OK doesn't really mean a lot.

> If you can check the problem, it would be great. If not, don't 
> worry... this is not a critical problem. :-)

I suspect the issue is that 1400x1050 with 32 bit colour is a lot of data to
deal with and this causes the 3D acceleration hardware to struggle.
Unfortunately I suspect there may not be much we can do about this.

If you go to the "Help->About" dialog, there is some "System Information"
you can cut and paste.  That might be interesting to see.

Cheers,
    Olly




More information about the Survex mailing list