<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi All,</tt><tt><br>
</tt><tt><br>
</tt><tt>on Mac OSX 10.8.2 with a recent pull from master I'm
encountering OpenGL errors from the pqColorScale editor dialog. I
don't have much experience with the Mac so I'm hoping someone out
there can take a look?</tt><tt><br>
</tt><tt><br>
</tt><tt>To reproduce: start paraview (and attach to ParaView using
Apple's OpenGL Profiler with "break on open gl errors" set),
create a wavelet source, slice, color by RTData, open the color
scale editor. At this point in the terminal:</tt><tt><br>
</tt>
<blockquote><tt>2013-03-16 14:39:04.866 paraview[28716:707] invalid
drawable</tt><tt><br>
</tt><tt>
2013-03-16 14:39:04.867 paraview[28716:707] invalid drawable</tt><tt><br>
</tt></blockquote>
<tt>The profiler shows the following back trace:</tt><tt><br>
</tt>
<blockquote><tt>glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) </tt><tt><br>
</tt><tt>
Error: GL_INVALID_FRAMEBUFFER_OPERATION</tt><tt><br>
</tt><tt>
Context: 0x7fb7f998dc00</tt><tt><br>
</tt><tt>
Virtual Screen: 0/2</tt><tt><br>
</tt><tt>
kCGLCPCurrentRendererID: 16915206 (0x01021b06)</tt><tt><br>
</tt><tt>
GL_RENDERER: AMD Radeon HD 6750M OpenGL Engine</tt><tt><br>
</tt><tt>
GL_VENDOR: ATI Technologies Inc.</tt><tt><br>
</tt><tt>
GL_VERSION: 2.1 ATI-1.0.29</tt><tt><br>
</tt><tt>
kCGLCPGPUFragmentProcessing: GL_TRUE</tt><tt><br>
</tt><tt>
kCGLCPGPUVertexProcessing: GL_TRUE</tt><tt><br>
</tt>
<tt><br>
</tt><tt>Function call stack: </tt><tt><br>
</tt><tt>
0: 0x10f4ec40c in vtkOpenGLRenderer::Clear() at
vtkOpenGLRenderer.cxx: 1080 </tt><tt><br>
</tt><tt>
1: 0x10f472cc8 in vtkOpenGLCamera::Render(vtkRenderer*) at
vtkOpenGLCamera.cxx: 159 </tt><tt><br>
</tt><tt>
2: 0x10f8a172d in vtkRenderer::UpdateCamera() at
vtkRenderer.cxx: 402 </tt><tt><br>
</tt><tt>
3: 0x10f4e5da7 in vtkOpenGLRenderer::DeviceRender() at
vtkOpenGLRenderer.cxx: 250 </tt><tt><br>
</tt><tt>
4: 0x10f8a0f9e in vtkRenderer::Render() at vtkRenderer.cxx: 301 </tt><tt><br>
</tt><tt>
5: 0x10f89f19b in vtkRendererCollection::Render() at
vtkRendererCollection.cxx: 53 </tt><tt><br>
</tt><tt>
6: 0x10f8bb398 in vtkRenderWindow::DoStereoRender() at
vtkRenderWindow.cxx: 773 </tt><tt><br>
</tt><tt>
7: 0x10f8bb29a in vtkRenderWindow::DoFDRender() at
vtkRenderWindow.cxx: 739 </tt><tt><br>
</tt><tt>
8: 0x10f8bac1d in vtkRenderWindow::DoAARender() at
vtkRenderWindow.cxx: 618 </tt><tt><br>
</tt><tt>
9: 0x10f8ba1c5 in vtkRenderWindow::Render() at
vtkRenderWindow.cxx: 433 </tt><tt><br>
</tt><tt>
10: 0x104e477d8 in
pqTransferFunctionChartViewWidget::renderView() at
pqTransferFunctionChartViewWidget.cxx: 837 </tt><tt><br>
</tt>
<tt><span class="" style="white-space:pre"></span></tt><tt>11:
0x104e4777f in pqTransferFunctionChartViewWidget::resetView() at
pqTransferFunctionChartViewWidget.cxx: 832 </tt><tt><br>
</tt><tt>
12: 0x104be17a3 in pqColorScaleEditor::updateScalarRange(double,
double) at pqColorScaleEditor.cxx: 2253 </tt><tt><br>
</tt><tt>
13: 0x104bdd401 in pqColorScaleEditor::initColorScale() at
pqColorScaleEditor.cxx: 2099 </tt><tt><br>
</tt><tt>
14: 0x104bdb153 in
pqColorScaleEditor::setRepresentation(pqDataRepresentation*) at
pqColorScaleEditor.cxx: 574 </tt><tt><br>
</tt><tt>
15: 0x104977cef in pqEditColorMapReaction::editColorMap() at
pqEditColorMapReaction.cxx: 130 </tt><tt><br>
</tt><tt>
16: 0x1049cba31 in pqEditColorMapReaction::onTriggered() at
pqEditColorMapReaction.h: 59 </tt><tt><br>
</tt><tt>
17: 0x1049d0880 in pqReaction::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) at moc_pqReaction.cxx: 57 </tt><tt><br>
</tt><tt>
18: 0x11383e1ee in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) in <QtCore> </tt><tt><br>
</tt><tt>
19: 0x1128da431 in QAction::triggered(bool) in <QtGui> </tt><tt><br>
</tt><tt>
20: 0x1128db7c4 in QAction::activate(QAction::ActionEvent) in
<QtGui> </tt><tt><br>
</tt><tt>21: 0x112c857b9 in QAbstractButtonPrivate::click() in
<QtGui> </tt><tt><br>
</tt>
<tt><span class="" style="white-space:pre"></span></tt><tt>22:
0x112c85a51 in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
in <QtGui> </tt><tt><br>
</tt><tt>
23: 0x112d53cd2 in QToolButton::mouseReleaseEvent(QMouseEvent*)
in <QtGui> </tt><tt><br>
</tt><tt>
24: 0x11293d355 in QWidget::event(QEvent*) in <QtGui> </tt><tt><br>
</tt><tt>
25: 0x112c84848 in QAbstractButton::event(QEvent*) in
<QtGui> </tt><tt><br>
</tt><tt>
26: 0x112d560df in QToolButton::event(QEvent*) in <QtGui> </tt><tt><br>
</tt><tt>
27: 0x1128e09ed in QApplicationPrivate::notify_helper(QObject*,
QEvent*) in <QtGui> </tt><tt><br>
</tt><tt>
28: 0x1128e7590 in QApplication::notify(QObject*, QEvent*) in
<QtGui> </tt><tt><br>
</tt><tt>
29: 0x11382620c in QCoreApplication::notifyInternal(QObject*,
QEvent*) in <QtCore> </tt><tt><br>
</tt><tt>
30: 0x1128e4fdd in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**,
QPointer<QWidget>&, bool) in <QtGui> </tt><tt><br>
</tt><tt>
31: 0x112894acb in qt_mac_handleMouseEvent(NSEvent*,
QEvent::Type, Qt::MouseButton, QWidget*, bool) in <QtGui> </tt><tt><br>
</tt><tt>
32: 0x7fff89e966d6 in -[NSWindow sendEvent:] in <AppKit> </tt><tt><br>
</tt><tt>
33: 0x112889bb7 in -[QCocoaWindow sendEvent:] in <QtGui> </tt><tt><br>
</tt><tt>
34: 0x7fff89e92744 in -[NSApplication sendEvent:] in
<AppKit> </tt><tt><br>
</tt><tt>
35: 0x11288ebf4 in -[QNSApplication sendEvent:] in
<QtGui> </tt><tt><br>
</tt><tt>
36: 0x7fff89da82fa in -[NSApplication run] in <AppKit> </tt><tt><br>
</tt><tt>
37: 0x112899a80 in
QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
in <QtGui> </tt><tt><br>
</tt><tt>
38: 0x113825114 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
in <QtCore> </tt><tt><br>
</tt><tt>
39: 0x1138254c4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in
<QtCore> </tt><tt><br>
</tt><tt>
40: 0x113827bac in QCoreApplication::exec() in <QtCore> </tt><tt><br>
</tt><tt>
41: 0x1044c0625 in main at paraview_main.cxx: 81 </tt><tt><br>
</tt><tt>
42: 0x7fff8c5c87e1 in start in <libdyld.dylib> </tt><tt><br>
</tt>
</blockquote>
<tt>It's causing me problems because it's reported when I check for
gl errors in my code. I'd really like to leave the error checking
enabled. I filed a bug report : </tt>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<tt><a href="http://paraview.org/Bug/view.php?id=13947">http://paraview.org/Bug/view.php?id=13947</a></tt><tt><br>
</tt><tt><br>
</tt><tt>Thanks</tt><tt><br>
</tt><tt>Burlen</tt><br>
</body>
</html>