nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Anyone else find glPixelZoom(1,-1) reeeeealy slow? (http://www.nvnews.net/vbulletin/showthread.php?t=6085)

grmoc 01-08-03 10:36 AM

Anyone else find glPixelZoom(1,-1) reeeeealy slow?
I'm finding glPixelZoom(1,-1) to be incredible slow under 4192.

Anyone else experiencing this?

(setup 1:1 pixel->vertex correspondence for the proj matrix, etc)

That takes nealy half a second to complete!


grmoc 01-08-03 11:09 AM

From bad to worse
Hmm, it wasn't any better under 3123.


grmoc 01-09-03 03:15 AM

On even further inspection,
glCopyPixels is DOG slow with glPixelZoom(1,-1),
but glDrawPixels is fast as ever.

Hey Nvidia- FIX IT! Arg! This one should really be easy!

The following should -not- run with software fallback:

// assume glOrtho set up for 720,486.
glXMakeContextCurrent(display,writeDrawable,readDr awable, glxcontext );
// where writeDrawable!=readDrawable, but you should be able to fast-blit vertical-flipped in the same drawable

As it stands, there is currently no easy way to blit in video (right-side-up), render on top of it, and blit it out (upside-down).

Fixing glCopyPixels would make it possible to do this at framerate (29.97 fps) instead of at 2 fps.

All times are GMT -5. The time now is 12:49 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.