octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44478] test __osmesa_print__.cc-tst crashes w


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #44478] test __osmesa_print__.cc-tst crashes with Nvidia drivers
Date: Thu, 12 May 2016 07:49:27 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #101, bug #44478 (project octave):

I understand what you've done as far as linking.  However, as far as I
understand, OpenGL routines are slightly different.  All the glGetIntegerv(),
etc. are not directly callable functions from the application.  One has to
create a valid context and then the OpenGL routines are mapped somehow so they
can be called by the application.

I would think for OpenGL linking order shouldn't matter in theory (but of
course, that's currently the case).


  OSMesaContext ctx = OSMesaCreateContextExt (OSMESA_RGBA, 16, 0, 0, NULL);


should know the GL routines to map into the context.

Anyway, I have Mesa (with OSMesa) compiling, so I'm able to make modifications
to OSMesa, print out variables, etc. under the various scenarios.  If you have
something in mind I should try, let me know.

All I can add right now is a confirmation that the OSMesaCreateContext() seems
to go through the same program flow no matter the order of library linking. 
But, when it is -lGL -lOSMesa it's clear that the Mesa glGetIntegerv is not
being called.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44478>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]