Jump to content
  • Advertisement
Sign in to follow this  
TheUntiedKnot

APPLE_pixel_buffer

This topic is 4857 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm new to development on OS X. I was wondering if anyone has used the APPLE_pixel_buffer extension, how it differs from the WGL implementation and if there are any pages with an example use. I've been searching for a bit now and the information seems sparse. Really I just want to know how to get pbuffers in OS X. I could glean a lot of information from a code segment ... Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Your best bet would be to check out the posted sample code, for some complete working examples. You should also subscribe to the mac-opengl mailing list at lists.apple.com.

Some Carbon code is here, it should be fairly easy to port to the CoreGraphics GL interface, if you are using Cocoa.
http://developer.apple.com/samplecode/GLCarbon1ContextPbuffer/GLCarbon1ContextPbuffer.html

The CoreGraphics documention for setting up contexts, including pbuffers, is here:
http://developer.apple.com/documentation/GraphicsImaging/Reference/CGL_OpenGL/index.html

Share this post


Link to post
Share on other sites
The apple extensions are optimized for apple. Not to mention you don't have to go through hoops to use the extenions! You don't have to the get the procedures address and use it yourself. rather than it being available to you off the bat as a regular function.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!