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

RE: [XaraXtreme-dev] Debugging View::RenderOptimalView - request for assistance



 

> -----Original Message-----
> From: owner-dev@xxxxxxxxxxxxxxxx 
> [mailto:owner-dev@xxxxxxxxxxxxxxxx] On Behalf Of Gerry Iles
> Sent: 16 June 2006 15:04
> To: dev@xxxxxxxxxxxxxx
> Subject: RE: [XaraXtreme-dev] Debugging 
> View::RenderOptimalView - request for assistance
> 
> Hi Alex,
> 
> I'm not exactly sure 
> where the code is that decides whether to use bitmap caching. 
>  It may be in the base RenderRegion class.  Phil...?

Turning off caching at the global level (from the Debug menu) would
simplify your testing.

There are places where the caching is disabled within the scope of a
function using a "ScopedFlagSetter".

The first action of the NodeRenderableBounded::RenderCached function is
to test the global caching flag and jump out if it's not set. (But note
that some objects /require/ caching and so override parts of the
NodeRenderableBounded functionality.)

Phil