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

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

[Octave-bug-tracker] [bug #53186] Without osmesa it is not possible to p


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #53186] Without osmesa it is not possible to print/getframe invisible figures
Date: Sun, 18 Feb 2018 17:41:24 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?53186>

                 Summary: Without osmesa it is not possible to print/getframe
invisible figures
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: Sun 18 Feb 2018 10:41:22 PM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

I attached a very preliminary cset (no configure time checks at least ...)
that makes "getframe" and "print" work without osmesa when figures are
invible. Basically, using QOffscreenSurface (Qt5.1+), we can create a valid
opengl context without the need of a visible QOpenGLWidget.

I also made use (for getframe) of QOpenGLFramebufferObject, in order to have
suitably sized render buffers when the figure is invisible.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 18 Feb 2018 10:41:22 PM UTC  Name: qt_print_invible.patch  Size:
9KiB   By: pantxo

<http://savannah.gnu.org/bugs/download.php?file_id=43351>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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