Skip to content

Conversation

@alexanderGugel
Copy link
Member

No description provided.

@michaelobriena
Copy link
Member

@alexanderGugel this is very broad. Can you factor this into smaller prs?

@alexanderGugel
Copy link
Member Author

@michaelobriena The commits mostly heavily depend on each other. It might look like a big change, but it's really not that much. The commit messages have been updated to reflect the changes.

@michaelobriena
Copy link
Member

This looks good.

@michaelobriena michaelobriena added this to the 0.6.0 milestone Jun 11, 2015
* Remove unused properties
* Move canvas resize to WebGLRenderer (like in DOMRenderer)
* Follow _-prefix convention for private properties
* Instantiate DOMRenderer in _initDOMRenderer method

The primary intent of those changes is to make the interface of
DOMRenderer and WebGLRenderer more consistent.

The above changes make it easier to make the DOMRenderer optional
(similar to WebGLRenderer).
The NEED_SIZE_FOR command is no longer needed since the CONTEXT_RESIZE
command is being send automatically after creating the Context.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer needed.

The DOM layer will always have the same size as the Context's root
element.
@alexanderGugel
Copy link
Member Author

@michaelobriena This removed DOMRenderer#getSize (redundant). IMO this has never been exposed to the user, but should this still be marked as a breaking change?

@michaelobriena
Copy link
Member

@alexanderGugel Yea I would still consider it breaking.

@alexanderGugel
Copy link
Member Author

Ok, will change.

Update: Actually the commit in question is already marked as breaking.

@michaelobriena
Copy link
Member

@alexanderGugel landed as e8a96d3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants