Re: WebView makes NSOpenGLView glitchy on MacBook
Re: WebView makes NSOpenGLView glitchy on MacBook
- Subject: Re: WebView makes NSOpenGLView glitchy on MacBook
- From: Dave Hayden <email@hidden>
- Date: Mon, 29 Jan 2007 17:33:18 -0800
On Jan 15, 2007, at 3:30 PM, Dave Hayden wrote:
Here's a weird one. We were having problems with an NSOpenGLView
subclass, where resizing the view filled the delta area with
garbage--but only on MacBooks, both Pro and.. Amateur? After
further poking and prodding, I found that it only happens after we
load a web page into a WebView. (!?)
FWIW:
DTS says it's a driver bug. Not too surprised there, with the
platform dependency.
The bug is easy to work around, though, if you have a clue about GL,
unlike me. Suggestion is to use glOrtho() to resize the viewport
instead of resizing the view. And make sure to call [[self
openGLContext] makeCurrentContext] before drawing if you're doing it
in a different thread.
-Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden