[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer ove
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing |
Date: |
Thu, 26 Nov 2015 23:04:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 |
Follow-up Comment #7, bug #46417 (project octave):
@Rik: the structure we are using now in default is the same as in gl2psTest.c,
that is why you observe the same behavior in Octave and this example. As you
noted "gl2psEndPage ()" always returns GL2PS_NO_FEEDBACK because we just ended
the viewport using "gl2psEndViewport ()". The latter returns what we used to
expect (see comments in
http://hg.savannah.gnu.org/hgweb/octave/rev/395140e53656):
gl2psBeginPage ()
// First axes
gl2psBeginViewport ()
// draw_axes
state = gl2psEndViewport () // Check this one for errors and warnings
...
// Nth axes
gl2psBeginViewport ()
// draw_axes
state = gl2psEndViewport () // Check this one for errors and warnings
state = gl2psEndPage () // Not meaningful
Detecting the overflow from "gl2psEndViewport ()" works well (see attached
patch), the problem is how to handle corrupted processes: at the time we
detect the overflow, the stream (a file or a process to which we pipe gl2ps
output) is already corrupted. We can't simply rewind and overwrite it ...
(file #35569)
_______________________________________________________
Additional Item Attachment:
File name: overflow.patch Size:3 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46417>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46417] Error using print, anonymous, 2015/11/10
- [Octave-bug-tracker] [bug #46417] Error using print, ederag, 2015/11/10
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, Rik, 2015/11/10
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, Rik, 2015/11/19
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, ederag, 2015/11/19
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, Rik, 2015/11/25
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, Rik, 2015/11/25
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, Rik, 2015/11/27
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, Pantxo Diribarne, 2015/11/27
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, Rik, 2015/11/29
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, Pantxo Diribarne, 2015/11/30
- [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing, Rik, 2015/11/30