Issue 21114 - SubTask: Avoid creating too many system bitmap ressources for handles
Summary: SubTask: Avoid creating too many system bitmap ressources for handles
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Windows 98
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: Armin Le Grand
QA Contact: issues@framework
URL:
Keywords:
: 27492 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-10-13 11:30 UTC by Armin Le Grand
Modified: 2005-01-12 18:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Armin Le Grand 2003-10-13 11:30:08 UTC
.
Comment 1 Armin Le Grand 2003-10-13 11:32:48 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.
Comment 2 Armin Le Grand 2003-10-13 11:36:59 UTC
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...
Comment 3 Armin Le Grand 2003-10-13 11:42:10 UTC
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


Comment 4 Armin Le Grand 2003-10-22 09:55:46 UTC
AW: Due to removing B2dIAOBitmapExReference i have to do another
change in SW, more precise in sw/source/core/draw/dview.cxx.
Comment 5 Armin Le Grand 2003-10-22 12:35:18 UTC
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.
Comment 6 Armin Le Grand 2003-10-23 09:56:12 UTC
AW: Done.
Comment 7 Armin Le Grand 2003-10-23 09:56:31 UTC
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.
Comment 8 stephan_schaefer 2004-04-08 14:58:28 UTC
*** Issue 27492 has been marked as a duplicate of this issue. ***
Comment 9 Armin Le Grand 2005-01-12 18:53:20 UTC
AW: Closing.