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

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

[Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer ove


From: Rik
Subject: [Octave-bug-tracker] [bug #46417] GL2PS info: OpenGL feedback buffer overflow when printing
Date: Tue, 10 Nov 2015 23:35:35 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)

Update of bug #46417 (project octave):

                  Status:                    None => Confirmed              
                 Summary:       Error using print => GL2PS info: OpenGL
feedback buffer overflow when printing

    _______________________________________________________

Follow-up Comment #2:

Confirmed.  I used the pcolor example from comment #1 to verify.  The issue is
in gl2ps-renderer.cc.  


buffsize += 1024*1024;


Apparently each pixel in a surface object takes about 75 bytes so the current
buffer size can only handle 


sqrt (1024*1024 / 75) == 118


I verified that pcolor objects below this range work fine.

Ideally, we could use some property from the graphic object being drawn to
determine the size of the buffer.  Failing that, we could just increase this
value.  1024*1024 is only 1 MB which isn't all that much on most machines
these days.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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