[squeak-dev] The Trunk: Balloon-nice.33.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 10 19:46:19 UTC 2020


Nicolas Cellier uploaded a new version of Balloon to project The Trunk:
http://source.squeak.org/trunk/Balloon-nice.33.mcz

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

Name: Balloon-nice.33
Author: nice
Time: 10 May 2020, 9:46:17.536227 pm
UUID: e222eaef-65e7-4c46-99c1-72fc91ddb6f8
Ancestors: Balloon-dtl.32

Move PointArray one level higher.
It is usefull if we want to deprecate IntegerArray...
Also, it shall not reply itself to asIntegerArray.

Provide a correct bytesPerElement taking the two slots occupied by each element into account.

=============== Diff against Balloon-dtl.32 ===============

Item was changed:
+ SignedWordArray variableWordSubclass: #PointArray
- IntegerArray variableWordSubclass: #PointArray
  	instanceVariableNames: ''
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'Balloon-Collections'!
  
  !PointArray commentStamp: '<historical>' prior: 0!
  This class stores 32bit Integer points in place. It is used to pass data efficiently to the primitive level during high-bandwidth 2D graphics operations.!

Item was added:
+ ----- Method: PointArray>>bytesPerElement (in category 'accessing') -----
+ bytesPerElement
+ 	"Each element occupy two slots"
+ 	^ 8!



More information about the Squeak-dev mailing list