Marcel Taeumel uploaded a new version of ToolBuilder-MVC to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-MVC-mt.44.mcz==================== Summary ====================
Name: ToolBuilder-MVC-mt.44
Author: mt
Time: 18 February 2016, 1:26:13.923715 pm
UUID: 81cb2641-e405-4ced-b563-5ee6884e7e66
Ancestors: ToolBuilder-MVC-topa.43
Removes two-tone cache optimization for system windows because produces drawing glitches to font rendering.
=============== Diff against ToolBuilder-MVC-topa.43 ===============
Item was changed:
----- Method: MVCUIManager>>newDisplayDepthNoRestore: (in category 'display') -----
newDisplayDepthNoRestore: pixelSize
"Change depths. Check if there is enough space!! , di"
| area need |
pixelSize = Display depth ifTrue: [^ self "no change"].
pixelSize abs < Display depth ifFalse:
["Make sure there is enough space"
area := Display boundingBox area. "pixels"
ScheduledControllers scheduledWindowControllers do:
+ [:aController | area := area + aController view windowBox area].
- [:aController | "This should be refined..."
- aController view cacheBitsAsTwoTone ifFalse:
- [area := area + aController view windowBox area]].
need := (area * (pixelSize abs - Display depth) // 8) "new bytes needed"
+ Smalltalk lowSpaceThreshold.
(Smalltalk garbageCollectMost <= need
and: [Smalltalk garbageCollect <= need])
ifTrue: [self error: 'Insufficient free space']].
Display setExtent: Display extent depth: pixelSize.
ScheduledControllers updateGray.
DisplayScreen startUp!