Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix GeometryInstanceAttribute memory pressure #1176

Merged
merged 1 commit into from
Sep 23, 2013

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Sep 23, 2013

Make Color.toBytes, ColorGeometryInstanceAttribute.toValue, and ShowGeometryInstanceAttribute.toValue take an optional result parameter. This avoids very costly TypedArray allocations each frame the attribute is modified.

Make `Color.toBytes`, `ColorGeometryInstanceAttribute.toValue`, and `ShowGeometryInstanceAttribute.toValue` take an optional result parameter.  This avoids very costly TypedArray allocations each frame.
bagnell added a commit that referenced this pull request Sep 23, 2013
…ressure

Fix GeometryInstanceAttribute memory pressure
@bagnell bagnell merged commit c7b3a80 into master Sep 23, 2013
@bagnell bagnell deleted the geometry-memory-pressure branch September 23, 2013 20:22
@pjcozzi
Copy link
Contributor

pjcozzi commented Sep 24, 2013

Thanks. CC #1161

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants