WebView makes NSOpenGLView glitchy on MacBook
WebView makes NSOpenGLView glitchy on MacBook
- Subject: WebView makes NSOpenGLView glitchy on MacBook
- From: Dave Hayden <email@hidden>
- Date: Mon, 15 Jan 2007 15:30:16 -0800
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. (!?) Here's a demonstration project:
http://www.panic.com/~dave/GLGlitch.zip
Click "Zoom!", and the GL view resizes cleanly. Click "Load!" to load
a web page, then "Zoom!" again and the resizing is now glitchy.
Note that the view is in a floating transparent window, and I'm
running the animation from a separate thread, calling
lockFocusIfCanDraw/drawRect:/unlockFocus. There's likely other ways
I'm abusing and misusing GL as well.
Any ideas? I thought I'd post here first before going over to the
OpenGL and WebKit lists.
Thanks!
-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