View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003995ParaView(No Category)public2006-10-27 18:592006-11-08 16:00
ReporterClinton Stimpson 
Assigned ToBerk Geveci 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003995: glReadPixels on X11 sometimes returns wrong pixels
DescriptionSo I tracked down the reason why I didn't turn image caching on in the QVTKWidget yet.

glReadPixels() is returning the wrong pixel data.

glXSwapBuffers() is called, then the next gl/glx call is glReadPixels().
Apparently, glXSwapBuffers() doesn't really happen in time for glReadPixels() to be called (client/server X11 involved).

If I add a call to glXWaitX() or glXWaitGL() before the call to glReadPixels() I get the correct pixel data.

I'm not sure where the right place is to make this gl/glx synchronization happen.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0005681)
Clinton Stimpson (developer)
2006-11-08 15:52

Actually, let me re-confirm this.
Image caching in the QVTKWidget doesn't work right.
And that's probably what I saw.

 Issue History
Date Modified Username Field Change
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team