Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OMG! OMG! OMG! I found QB64's lost HOLY GRAIL!!
#9
(09-21-2024, 11:13 AM)RhoSigma Wrote: But how are these two playing together? Seems to me as they could badly interfere with each other regarding the software and opengl layers.

https://qb64phoenix.com/qb64wiki/index.php/DISPLAYORDER
https://qb64phoenix.com/qb64wiki/index.php/GLRENDER

EDIT:
And how's about efficiency? If I only use the software layer in my program, does it make sense to place a
_DISPLAYORDER _SOFTWARE on top of my program to disable the hardware and opengl layers for the sake to make the _DISPLAY refresh more efficient and maybe allowing for somewhat higher FPS rates?
Or is the refresh smart enough to know in which layers content was rendered and needs to be updated?

I makes a helluva difference if you just use _DISPLAYORDER _HARDWARE and skip the software layer completely.  Like several thousand times faster.

But, with the speed which a blank _HARDWARE screen would be rendered, would it make any noticeable difference to use _DISPLAYORDER _SOFTWARE only?   Not that I've noticed.

Think of it like a fellow walking down the highway with a car keeping pace with them.   If that guy walking goes away, that car can zoom on down the road freely.   If the car goes away?  That's still just a fellow walking down the highway.

That said, It wouldn't hurt anything to just use a _DISPLAYORDER _SOFTWARE in your code.  Heck, after you average out the speed to draw 100,000 frames, you might actually save 0.001 seconds rendering or something.  It'd not going to make it any slower on you.  I just don't think it's going to make any sort of real increase in speed for you.  Any gains are going to be minimal at best, nonexistent at worst.
Reply


Messages In This Thread
RE: OMG! OMG! OMG! I found QB64's lost HOLY GRAIL!! - by SMcNeill - 09-21-2024, 02:04 PM



Users browsing this thread: 21 Guest(s)