Why is CGLFlushDrawable so slow? (I use VBOs)

Information about my application:

Works: Macbook pro with 4 GB RAM, ATI Radeon X1600 with 128 MB VRAM, Opengl version: 2.1 ATI-7.0.52

Using Vertical Sync (Via CVDisplay): YES

Programming Language: Lisp (Lispworks) with FFI for Opengl

Pixel Format Information

  • ns-open-gl-pfa-depth-size 32
  • ns-open-gl-pfa-sample-buffers 1
  • ns-open-gl-pfa-samples 6
  • ns-open-gl-pfa-accelerated 1
  • ns-open-gl-pfa-no-recovery 1
  • ns-open-gl-pfa-backing-store 0
  • ns-open-gl-pfa-virtual-screen-count 1

[1 = YES, 0 = NO] for Boolean attributes

I have the following cells in my application:

14 static grids (which do not change). I defined a VBO for each grid with a static drawing type.

2 ( ). VBO .

, , , .

Opengl: ( ) :

CGLFlushDrawable:

  • ( ): 52990,63 = 52,990
  • % GL : 98.55
  • % : 43.96

, FPS 6-7 FPS.

CGLFlushDrawable, flushBuffer, , , CGLFlushBuffer, .

+1
1

, , ATI Radeon X1600.

- , 13- MacBook Pro Intel HD 3000 384 DDR3 SDRAM, 30 FPS, , , .

, CGLFlushDrawable, MBP. VRAM, VBO, ( , ). , MBP.

, , MBP- ( ), - , .

@Brad, .

+1

All Articles