[squeak-dev] The Trunk: Morphic-mt.1957.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 5 13:30:40 UTC 2022


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1957.mcz

==================== Summary ====================

Name: Morphic-mt.1957
Author: mt
Time: 5 April 2022, 3:30:34.499949 pm
UUID: cc3da8b2-65c1-4045-8227-46b2545f5c63
Ancestors: Morphic-ul.1956

Enable image-side composition buffer for Morphic on all macOS platforms. See commentary in #startUpActions.

=============== Diff against Morphic-ul.1956 ===============

Item was changed:
  ----- Method: MorphicProject>>startUpActions (in category 'enter') -----
  startUpActions
  	
  	super startUpActions.
  	
  	self world install.
+ 	self world firstHand position: 100 at 100.
+ 	
+ 	"April 2022: None of the currently supported graphics backends on macOS (i.e., -metal -core-graphics, -opengl) in the OSVM supports an extra display buffer at the VM side, which may result in flickering during compositing or an expensive (over-)committing at vsync boundaries. Thus, use an image-side buffer for compositing to mitigate (or avoid) these issues."
+ 	WorldState disableDeferredUpdates: Smalltalk platformName = 'Mac OS'.!
- 	self world firstHand position: 100 at 100.!

Item was changed:
  ----- Method: PasteUpMorph>>installFlaps (in category 'world state') -----
  installFlaps
  	"Get flaps installed within the bounds of the receiver"
  
  	| localFlapTabs |
  	Project current assureFlapIntegrity.
  	self addGlobalFlaps.
  	localFlapTabs := self localFlapTabs.
  	localFlapTabs do: [:each | each visible: false].
  
+ 	localFlapTabs keysAndValuesDo: [:i :each |
+ 		each adaptToWorld.
+ 		each visible: true.
+ 		self changed].
- 	Preferences eToyFriendly ifTrue: [
- 		ProgressInitiationException display: 'Building Viewers...' translated
- 			during: [:bar |
- 				localFlapTabs keysAndValuesDo: [:i :each |
- 					each adaptToWorld.
- 					each visible: true.
- 					each unhibernate.
- 					self changed.
- 					bar value: i / self localFlapTabs size]].
- 	] ifFalse: [
- 		localFlapTabs keysAndValuesDo: [:i :each |
- 			each adaptToWorld.
- 			each visible: true.
- 			self changed]].
  
  	self assureFlapTabsFitOnScreen.
  	self bringTopmostsToFront!

Item was changed:
+ (PackageInfo named: 'Morphic') postscript: 'Preferences maxBalloonHelpLineLength: 45.
+ 
+ "See commentary in MorphicProject >> #startUpActions."
+ WorldState disableDeferredUpdates: Smalltalk platformName = ''Mac OS''.'!
- (PackageInfo named: 'Morphic') postscript: 'Preferences maxBalloonHelpLineLength: 45.'!



More information about the Squeak-dev mailing list