[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overhaul FLTK toolkit resize/redraw functions
From: |
Ben Abbott |
Subject: |
Re: Overhaul FLTK toolkit resize/redraw functions |
Date: |
Fri, 25 Jul 2014 14:13:43 -0400 |
On Jul 25, 2014, at 10:45 AM, Andreas Weber <address@hidden> wrote:
> On 24.07.2014 17:34, Ben Abbott wrote:
>>
>> On Jul 24, 2014, at 10:51 AM, Andreas Weber <address@hidden> wrote:
>>> Then I would remove GL2PS_SILENT from gl2psBeginPage so that we see
>>> errors and check the return value of gl2psBeginPage. Perhaps gl2ps tries
>>> to tell us whats the problem but nobody listens?
>>>
>>> Btw, the draw command suggested before is needless, it's called right
>>> after gl2psBeginPage.
>>
>> I'm loaded with tasks at home and work (one month old twins at home and a
>> large production ramp at work). So, my time is very restricted. However, I
>> do end up with a few spare hours a day, and if you can provide a
>> diff/patch/changeset I'm happy to apply it, build, run, and report back.
>
> Hey Ben, congratulations :-) (for the twins, not the load of work)
Thanks
> I had a look at the gl2ps examples and they call glFlush() (force
> execution of GL commands in finite time) at the end of their drawing
> operations. I think could be a reason that not all primitives were drawn
> when we call print and Fl::check twice gives enough time.
>
> Could you please add glFlush() in gl2ps-renderer.cc after
> opengl_renderer::draw (go);?
That fixed it!
Ben
- Re: Overhaul FLTK toolkit resize/redraw functions, (continued)
Re: Overhaul FLTK toolkit resize/redraw functions, Ben Abbott, 2014/07/23
Re: Overhaul FLTK toolkit resize/redraw functions, Ben Abbott, 2014/07/24
Re: Overhaul FLTK toolkit resize/redraw functions, Ben Abbott, 2014/07/24
Re: Overhaul FLTK toolkit resize/redraw functions, sergey plotnikov, 2014/07/24
Re: Overhaul FLTK toolkit resize/redraw functions, Ben Abbott, 2014/07/24
Re: Overhaul FLTK toolkit resize/redraw functions, sergey plotnikov, 2014/07/25
Re: Overhaul FLTK toolkit resize/redraw functions, Andreas Weber, 2014/07/25
Re: Overhaul FLTK toolkit resize/redraw functions, sergey plotnikov, 2014/07/25
Re: Overhaul FLTK toolkit resize/redraw functions, sergey plotnikov, 2014/07/29
Re: Overhaul FLTK toolkit resize/redraw functions, Andreas Weber, 2014/07/29
Re: Overhaul FLTK toolkit resize/redraw functions, Andreas Weber, 2014/07/29