Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to "render" texture to vertex buffer




On Nov 26, 2007, at 11:31, Mark wrote:

Thanks! One question though: won't the readpixels call (with bound VBO) start an asynchronous readback to main memory - consuming bandwidth?
Or does this not happen with VBOs?

It depends what and where is the source of the readback, but generally no it won't since a VBO or a PBO represent memory on the GPU. I couldn't find a specific reference to this in ARB_vertex_buffer_object however, so you should make sure. I would be very surprised if a readback with any bound buffer object would incur staging through main memory.




Mark


On 26.11.2007, at 17:03, Jean-Francois Roy wrote:

Render to vertex buffer object using framebuffer and pixel buffer objects. See http://developer.apple.com/samplecode/PBORenderToVertexArray/ for sample code.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Mac-opengl mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Best way to "render" texture to vertex buffer (From: Mark <email@hidden>)
 >Re: Best way to "render" texture to vertex buffer (From: Jean-Francois Roy <email@hidden>)
 >Re: Best way to "render" texture to vertex buffer (From: Mark <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.