Remember me

Lost Password?

Register now!


Who's Online
57 user(s) are online (45 user(s) are browsing Forums)

Members: 1
Guests: 56

salass00, more...


Report message:*

Re: The OpenGL ES 2.0 thread

Subject: Re: The OpenGL ES 2.0 thread
by Daytona675x on 2020/7/21 13:18:55

It should be possible if you use glTexImage2D and then call glFramebufferTexture2D again to explicitely update / notify the FBO accordingly.
I have to admit that I'm not sure about what the specs say here, whether a call to glFramebufferTexture2D is required or not / whether glTexImage2D should internally take care by itself that an FBO the texture is attached to gets updated.
But at this time our ogles2 wants you to call glFramebufferTexture2D again, unless Nova internally readjusts things (if you got garbage that could be an indicator that Nova doesn't care neither without an explicit FBBindBuffer or so).

EDIT: woops, apparently our last postings overlapped
EDIT2: from what I read now so far it seems that this is a standard violation in my ogles2 implementation, it should be enough to call glFramebufferTexture2D once to establish the connection. A resize of the texture via glTexture2D should from then on automatically trigger eventual FBO updates under the hood. I'm going to fix this asap.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project