From: sguox002 on 18 Jun 2010 09:58 Hello, I am trying to plot some figures really fast using pcolor (which is an actually 2D surface). I tried to use the opengl hardware acceleration but got nothing improvement. using opengl software: K>> opengl software K>> opengl info Version = 1.1.0 Vendor = Microsoft Corporation Renderer = GDI Generic MaxTextureSize = 1024 Visual = 09 (RGB 32 bits(08 08 08 00) zdepth 32, Generic, Opengl, Double Buffered, Window) Software = true # of Extensions = 3 Driver Bug Workarounds: OpenGLBitmapZbufferBug = 1 OpenGLWobbleTesselatorBug = 0 OpenGLLineSmoothingBug = 0 OpenGLDockingBug = 0 OpenGLClippedImageBug = 0 OpenGLEraseModeBug = 0 K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.292876 seconds. K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.255865 seconds. K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.265222 seconds. try opengl hardware acceleration: K>> opengl hardware K>> opengl info Version = 1.4.0 - Build 7.14.10.4957 Vendor = Intel Renderer = Intel Bear Lake B MaxTextureSize = 2048 Visual = 04 (RGB 32 bits(08 08 08 08) zdepth 16, Hardware Accelerated, Opengl, Double Buffered, Window) Software = false # of Extensions = 50 Driver Bug Workarounds: OpenGLBitmapZbufferBug = 0 OpenGLWobbleTesselatorBug = 0 OpenGLLineSmoothingBug = 0 OpenGLDockingBug = 0 OpenGLClippedImageBug = 0 OpenGLEraseModeBug = 0 K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.295664 seconds. K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.272162 seconds. K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.267038 seconds. I did not see any improvement and I tried it on some other computers, nothing new is found. Anyone can give me some hints? Thanks
From: us on 18 Jun 2010 14:10 sguox002 <shangpingguo(a)gmail.com> wrote in message <1906172110.369147.1276883961535.JavaMail.root(a)gallium.mathforum.org>... > Hello, > I am trying to plot some figures really fast using pcolor (which is an actually 2D surface). I tried to use the opengl hardware acceleration but got nothing improvement. > > using opengl software: > K>> opengl software > K>> opengl info > > Version = 1.1.0 > Vendor = Microsoft Corporation > Renderer = GDI Generic > MaxTextureSize = 1024 > Visual = 09 (RGB 32 bits(08 08 08 00) zdepth 32, Generic, Opengl, Double Buffered, Window) > Software = true > # of Extensions = 3 > > Driver Bug Workarounds: > OpenGLBitmapZbufferBug = 1 > OpenGLWobbleTesselatorBug = 0 > OpenGLLineSmoothingBug = 0 > OpenGLDockingBug = 0 > OpenGLClippedImageBug = 0 > OpenGLEraseModeBug = 0 > > K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc > Elapsed time is 0.292876 seconds. > K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc > Elapsed time is 0.255865 seconds. > K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc > Elapsed time is 0.265222 seconds. > > try opengl hardware acceleration: > K>> opengl hardware > K>> opengl info > > Version = 1.4.0 - Build 7.14.10.4957 > Vendor = Intel > Renderer = Intel Bear Lake B > MaxTextureSize = 2048 > Visual = 04 (RGB 32 bits(08 08 08 08) zdepth 16, Hardware Accelerated, Opengl, Double Buffered, Window) > Software = false > # of Extensions = 50 > > Driver Bug Workarounds: > OpenGLBitmapZbufferBug = 0 > OpenGLWobbleTesselatorBug = 0 > OpenGLLineSmoothingBug = 0 > OpenGLDockingBug = 0 > OpenGLClippedImageBug = 0 > OpenGLEraseModeBug = 0 > > K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc > Elapsed time is 0.295664 seconds. > K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc > Elapsed time is 0.272162 seconds. > K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc > Elapsed time is 0.267038 seconds. > > I did not see any improvement and I tried it on some other computers, nothing new is found. > > Anyone can give me some hints? Thanks a hint: - play with the many wvisual options... - to see the possible settings/definitions, use set(gcf,'wvisual') us
|
Pages: 1 Prev: Memory Output Inside-> Help me understand my memory!? Next: FM demodulation |