From: Keith W. <ke...@tu...> - 2002-05-31 14:04:06
|
Karl Rasche wrote: >>The most appropriate way to do this is with a single copy from the user's data >>to a dma buffer and then fire off the blit from agp->screen. >> > > Keith, > > Thanks for answering all my questions, i think i have this working in a > somewhat proper mannor.. > > >>When that's working, you can consider fancy stuff to get agp memory to the user. >> > > It seems like the easy way to do this would be to grab a > series of the dma buffers we're copying into and hand those to the user. > But this doesn't seem all that great of an idea... > > The faq mentions a bit on allocating chunks of agp memory from agpgart. Is > this the right way to proceed, or is there already mechanisms for this > sort of thing in place elsewhere? I think the best way to do this is to implement the memory allocator part of GL_NV_vertex_array_range (look on opengl.org for link to the extension specs). Keith |