Skip to content

Opengl buffer cleanups#126

Open
c42f wants to merge 1 commit intomasterfrom
opengl-buffer-cleanups
Open

Opengl buffer cleanups#126
c42f wants to merge 1 commit intomasterfrom
opengl-buffer-cleanups

Conversation

@c42f
Copy link
Copy Markdown
Owner

@c42f c42f commented Sep 4, 2016

A lot of cleanup in an attempt to fix #122

There was a segfault with Nvidia driver 346.82, inside
PointArray::drawPoints() after reloading a pair of files with the
keyboard shortcut F5 (see #122).  Commenting out the code associated
with initializing the bounding box vertex array inside Geometry.cpp
works around the segfault.  However, it's not clear that this is the
root cause and there was actually a bug in this part of the code.

For now, refactor things to send the bounding box vertices to the GPU
every frame in the hope that this will fix things.  I suppose this is a
bit inefficient, but the main point cloud data is already sent this way.
@c42f c42f force-pushed the opengl-buffer-cleanups branch from 3a33d74 to c661381 Compare September 6, 2016 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segfault on linux inside libnvidia-glcore.so

1 participant