Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
47 user(s) are online (41 user(s) are browsing Forums)

Members: 0
Guests: 47

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress

Subject: Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
by Daytona675x on 2019/9/18 10:10:32

@Hans
Quote:
That makes no sense whatsoever.

Yes, there's lots inside Nova which doesn't make sense

Quote:
That makes no sense whatsoever. The code in question literally compares the element sizes of all arrays in the VBO. If they're all the same, then it enables the global conversion mode.


Global conversion mode?! It should not do any conversion at all! That's the idea of having plain bytes

So now you are saying that what's important is that the element sizes of all arrays are identical?
That makes no sense once more.
Why should the size of the elements be of any interest when it comes to deciding whether to copy stuff with your no-endian-double-copier?!
The only thing that could matter is if they are tightly packed (which is the case for size/stride 0 btw.) and if they are all of endian-uncritical types (which is the case for NONE or UINT8 regardless of their element size).

Also, some minutes ago you were sure that W3DNEF_NONE would do the job, which clearly isn't the case. So the question is if your code actually does what you think it should do (it's called a "bug" if it doesn't ).

But let's see, let's make it easy, please just answer the question I had some posts ago:
is any special parameter combination required for VBOSetArray with W3DNEF_NONE (or W3DNEF_UINT8) to make it work as promised?
Let's asume I create a VBO with 2 arrays, VBO size is 1024 bytes, I want array #0 to be my uint8 raw data, so it's uint8, elem size 1, elem count 1024, and I want to disable array #1 temporarily. What's the correct VBOSetLayout command for that, so that the result is fast upload just as if the VBO had been created with just 1 array?

Quote:
Sorry, I cannot commit to fixing anything any time soon.

That's bad. Especially because more and more bug reports pile up for almost a year now Not to mention the famous -O0 story.
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project