Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opengl buffer cleanups #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Opengl buffer cleanups #126

wants to merge 1 commit into from

Conversation

c42f
Copy link
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