pixel buffers ???

The strange thing about lwjgl : it seems pixel-buffers are supported (wglCreatePBufferARB is provided), but the following methods are missing, making pixel-buffers not work :

wglGetCurrentDC()
wglCreateContext()
wglMakeCurrent()

I’ve searched the forum and asked many times, but it appears that even the lwjgl developers can’t (or don’t want to ?) help me…

So can i use pixel-buffers optimizations in java? and render to texture???

thanks!

I really don’t know about those calls on windows, so you’d have to ask princec about getting it implemented. I do recall him talking about another (easier and lwjgl implemented) extension to render to texture. If that is the case, it might be the reason those calls you specified aren’t implemented, as they’re both platform dependent and probably not that trivial to implement (like e.g. a straight up glColor3f call).

  • elias

Hi, sorry we haven’t sorted it yet, but I’m seriously busy right now and won’t have time to play for a month or two. I’m sure it’s pretty trivial stuff to add though.

Cas :slight_smile: