Really Big NSOpenGLView
Really Big NSOpenGLView
- Subject: Really Big NSOpenGLView
- From: Brent Gulanowski <email@hidden>
- Date: Thu, 3 Jul 2003 00:53:08 -0400
Hello,
I'm apparently pushing the limit of my video memory with a context
attached to a pretty large view -- seven million pixels (it's an image
viewer which takes a bit of a cue from iPhoto -- a really long, narrow
view with texture-wrapped polygons that can be scrolled up and down).
Since only about seven percent of the view is actually visible at one
time, this is quite wasteful. I'll start by trying to find a Cocoa
solution.
I think I might be able to make only the clipview the size needed to
get the scroll bars to work properly. I might be able to just change
the frame of a small, custom GLView so that it always lines up with the
bounds of the clipview. Does that sound feasible? Problem is that I
have to then manage the scrolling myself so that I can update the views
in real time. I'm not sure how to do that.
Any insights would be much appreciated.
Now, this might all be a waste of time, since I'm already limiting the
viewport of the GL context to exactly the bounds of the clipview, but
that wouldn't explain some other issues that I'm getting with GL.
--
Brent Gulanowski email@hidden
We've heard that a million monkeys at a million keyboards could produce
the Complete Works of Shakespeare; now, thanks to the Internet, we know
this is not true.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.