NSOpenGLView overlap

  • I have an NSOpenGLView within a NSSplitView. Whenever i drag resize
    the splitView using the splitter, the oenGL view overlaps portions of
    other views. Has anyone ever seen this before and is there any known
    way to fix this?

    thanks

    AC
  • On Nov 8, 2007, at 6:59 AM, Alexander Cohen wrote:
    > I have an NSOpenGLView within a NSSplitView. Whenever i drag resize
    > the splitView using the splitter, the oenGL view overlaps portions
    > of other views. Has anyone ever seen this before and is there any
    > known way to fix this?

    Probably the hardware surface resize (which is immediate) is getting
    out of sync with the redraw of the SplitView and the other views in
    the window (which happens a bit later in the update cycle).

    Is the overlap only temporary?  i.e. Does it correct itself when you
    pause during the splitter drag, and/or when you let the mouse up at
    the end of the drag?

    --
    Troy Stephens
    Cocoa Frameworks
    Apple, Inc.
  • On 8-Nov-07, at 1:39 PM, Troy Stephens wrote:

    > On Nov 8, 2007, at 6:59 AM, Alexander Cohen wrote:
    >> I have an NSOpenGLView within a NSSplitView. Whenever i drag resize
    >> the splitView using the splitter, the oenGL view overlaps portions
    >> of other views. Has anyone ever seen this before and is there any
    >> known way to fix this?
    >
    > Probably the hardware surface resize (which is immediate) is getting
    > out of sync with the redraw of the SplitView and the other views in
    > the window (which happens a bit later in the update cycle).
    >
    > Is the overlap only temporary?  i.e. Does it correct itself when you
    > pause during the splitter drag, and/or when you let the mouse up at
    > the end of the drag?

    Yes the overlap is temporary. It corrects itself when i stop resizing.
    I've seen this in the past in other applications and i've even seen it
    in the finder in the CoverFlow view a while back.

    AC
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today