Jump to content
Posted 02 July 2012 - 12:20 PM
Posted 02 July 2012 - 12:46 PM
Posted 02 July 2012 - 03:31 PM
Posted 02 July 2012 - 06:28 PM
Posted 02 July 2012 - 07:20 PM
Posted 03 July 2012 - 03:19 AM
Posted 03 July 2012 - 06:25 AM
Posted 03 July 2012 - 07:43 AM
1. No, it doesn't. It's a completely different thing.
The graphics card (driver?) does the same exact thing.
Also note that SDL 1.3 (now known as 2) renders with OpenGL
Edited by samoth, 03 July 2012 - 07:44 AM.
Posted 03 July 2012 - 07:55 AM
“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”
Posted 03 July 2012 - 07:59 AM
Neither is deprecared, and with GPU-side pixel buffers I can imagine that drawing pixel rectangles are much more efficient than before. I have not looked into pixel drawing in the modern era though, so I would like to know how modern use of pixel rectangles actually perform.
2. Yes, but as I am trying to point out, there is a huge difference between e.g. glDrawPixels and glDrawElements.
One is deprecated OpenGL 1.2 functionality, which is an entirely different pipeline (with kernels, color matrix and whatnot, see imaging subset) that has always been kind of of half-heartedly supported.
The other is the fully accelerated, native way of drawing textured geometry (such as a quad) using dedicated hardware.
Which, on my system, makes a difference of roughly 1 to 10. Your mileage may vary.
Edited by Brother Bob, 03 July 2012 - 08:09 AM.
Posted 03 July 2012 - 12:42 PM