Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-08-03, 11:36 AM   #1
grmoc
.. Arg!!. Uh Pinky?
 
Join Date: Jan 2003
Posts: 38
Default Anyone else find glPixelZoom(1,-1) reeeeealy slow?

I'm finding glPixelZoom(1,-1) to be incredible slow under 4192.

Anyone else experiencing this?

example:
(setup 1:1 pixel->vertex correspondence for the proj matrix, etc)
glPixelZoom(1,-1);
glRasterPos2i(0,486);
glCopyPixels(0,0,720,486);


That takes nealy half a second to complete!

ACK!?
grmoc is offline   Reply With Quote
Old 01-08-03, 12:09 PM   #2
grmoc
.. Arg!!. Uh Pinky?
 
Join Date: Jan 2003
Posts: 38
Angry From bad to worse

Hmm, it wasn't any better under 3123.

grmoc is offline   Reply With Quote
Old 01-09-03, 04:15 AM   #3
grmoc
.. Arg!!. Uh Pinky?
 
Join Date: Jan 2003
Posts: 38
Default

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
glPixelZoom(1,-1);
glRasterPos(0,486);
glCopyPixels(0,0,720,486,GL_COLOR);


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.
grmoc is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome3 with composite is very slow on Geforce FX 5200 with 173.14.31 driver Artox NVIDIA Linux 0 05-26-12 11:33 AM
Very slow X startup Jeremy NVIDIA Linux 96 05-23-03 11:11 AM

All times are GMT -5. The time now is 10:37 PM.


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