[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41819] Qt plotting toolkit anti-aliasing supp
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #41819] Qt plotting toolkit anti-aliasing support lacking on some graphics cards |
Date: |
Tue, 29 Apr 2014 19:27:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 |
Update of bug #41819 (project octave):
Status: Confirmed => Ready For Test
_______________________________________________________
Follow-up Comment #9:
Is there a Qt wizard who knows how to turn on GL_MULTISAMPLE? This should be
an easy argument to OR in to the list of properties when a window is created.
The corresponding lines from __init_fltk__.cc are
class OpenGL_fltk : public Fl_Gl_Window
{
public:
OpenGL_fltk (int xx, int yy, int ww, int hh, double num)
: Fl_Gl_Window (xx, yy, ww, hh, 0), number (num), renderer (),
in_zoom (false), zoom_box (), print_mode (false)
{
// Ask for double buffering and a depth buffer.
mode (FL_DEPTH | FL_DOUBLE | FL_MULTISAMPLE);
}
and
canvas->mode (FL_DEPTH | FL_DOUBLE | FL_MULTISAMPLE);
I'm attaching a changeset that I think does the right thing, but I don't have
a good way to verify it. It may be that we not only need to turn on
SampleBuffers (a.ka. multisampling), but also set the SampleBuffer size to 4
or 8. Someone who knows more than I do should look at this patch and decide.
(file #31274)
_______________________________________________________
Additional Item Attachment:
File name: qt_multisample.cset Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41819>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #41819] Qt plotting toolkit anti-aliasing support lacking on some graphics cards,
Rik <=