From: Pepijn V. E. <pep...@lu...> - 2002-04-01 10:04:21
|
Yep that seems like a better idea :) Compatibility was also my concern for the pbuffers. I've found that only nvidia, ati radeon and intel i810 have implemented it in their drivers. And then some high-end gl cards. I'll drop the pbuffer and see if I can implement the clip thing. BTW any news on the bug fixes I sent? Pepijn Van Eeckhoudt Kenneth B. Russell wrote: >>Has anyone tried using the WGL_ARB_pbuffer extension to do hw >>accelerated offscreen rendering? Maybe this could be used to get make >>the swing component hw accelerated on win32. If nobody has tried this >>before I'll probably put some time into this... > > > Personally haven't tried it, though I think a more portable > approach is to walk up the component hierarchy to determine the > bounds of the Swing widget within its parent container and to > clip the hardware rendering to that region. This is what the > Magician OpenGL binding used to do, to the best of my knowledge. > |