Apache OpenOffice (AOO) Bugzilla – Issue 21114
SubTask: Avoid creating too many system bitmap ressources for handles
Last modified: 2005-01-12 18:53:20 UTC
.
AW: In this SubTask i want to reduce the amount of system bitmaps created to prepahe the handles for painting. This will no longer prepare all the single handle types as syetem bitmaps to be able to paint them quickly, but prepare the handle bitmap allways from one big ressource bitmap. This will dramatically reduce system ressourecs needed.
AW: This is not as easy as i thought first. The current system relies on the global handle provider to hold real BitmapEx instances and the whole sub-system is working with pointers on these, relying on the original handles never to disappear. This needs to be changed now to return ad remember real instances of BitmapEx. Doing changes in goodies and svx...
AW: OK, adding files. Changed files are: /goodies/inc/b2dmbase.hxx /goodies/inc/b2dmbmp.hxx /goodies/source/base2d/b2dmbase.cxx /goodies/source/base2d/b2dmbmp.cxx /goodies/source/base2d/b2dmtri.cxx /svx/inc/svdhdl.hxx /svx/source/svdraw/svdhdl.cxx
AW: Due to removing B2dIAOBitmapExReference i have to do another change in SW, more precise in sw/source/core/draw/dview.cxx.
AW: B2dIAOBitmapExReference is also used from extensions, i have to change it there, too. Files are: /extensions/source/scenner/grid.cxx /extensions/source/scanner/grid.hxx Checking compilation... AW: OK, checked in.
AW: Done.
AW: This works and does not cost tooo much runtime. In fact, it is much faster then i feared. In normal operation no speed difference can be noticed.
*** Issue 27492 has been marked as a duplicate of this issue. ***
AW: Closing.