Am Do, 9.09.2010, 15:55 schrieb François Revol:
The core only handles a single window at a time (it's not reentrant).
Maybe I was not so exact, but yes, I know that the core doesn't use
threads. But it can handle different browser windows. And I expect the
calls to the plotting function will come in unordered, example:
Plot arc for window 1
Plot text for window 2
Plot bitmap for window 1
Plot bitmap for window 2
and so on. NetSurf doesn't know about the windows above the currently
renderer browser window, and I don't know into which window I should
Most ports including the BeOS one store the currently active graphic
context (BView object for BeOS), and use it to draw each time.
cf. nsbeos_current_gc() and friends.
I will have a look at it, thanks.