Skip to content

GLKit workaround #trivial#54

Merged
nguyenhuy merged 4 commits into
TextureGroup:masterfrom
stephenkopylov:master
Apr 22, 2017
Merged

GLKit workaround #trivial#54
nguyenhuy merged 4 commits into
TextureGroup:masterfrom
stephenkopylov:master

Conversation

@stephenkopylov

Copy link
Copy Markdown
Contributor

canClearContentsOfLayer now turned off for views with CAEAGLLayer

more:
#53

canClearContentsOfLayer now turned off for views with CAEAGLLayer
@CLAassistant

CLAassistant commented Apr 21, 2017

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@nguyenhuy nguyenhuy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nits aside, LGTM although I'd prefer another approval from a core maintainer before merging.

Comment thread Source/ASDisplayNode.mm Outdated

// CAEAGLLayer
if([view.layer.class isSubclassOfClass:[CAEAGLLayer class]]){
_flags.canClearContentsOfLayer = NO;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: Indentation is off

Comment thread Source/ASDisplayNode.mm Outdated
}

// CAEAGLLayer
if([view.layer.class isSubclassOfClass:[CAEAGLLayer class]]){

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: [view.layer class] for consistency.

@stephenkopylov

Copy link
Copy Markdown
Contributor Author

Fxd

@maicki maicki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We may should start now thinking about a better structure around specific classes that need special handling as there are quite a couple different cases now. But this looks good to me.

@nguyenhuy

Copy link
Copy Markdown
Member

@maicki Agreed!

@nguyenhuy

nguyenhuy commented Apr 21, 2017

Copy link
Copy Markdown
Member

@stephenkopylov Would you mind signing the CLA?
@maicki Can you kick off CI build?

@stephenkopylov

Copy link
Copy Markdown
Contributor Author

@nguyenhuy
I signed it, but notification is still here...

2017-04-21 22 34 19

@nguyenhuy

nguyenhuy commented Apr 21, 2017

Copy link
Copy Markdown
Member

@stephenkopylov Could you try to add the email to your account?

Stepan Kopylov seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

@stephenkopylov

Copy link
Copy Markdown
Contributor Author

@nguyenhuy hooray! that was because I pushed PR from office, where I use different email.

@stephenkopylov

Copy link
Copy Markdown
Contributor Author

Sry guys, I missed one square bracket. Fxd

@ghost

ghost commented Apr 22, 2017

Copy link
Copy Markdown
2 Errors
🚫 Any source code changes should have an entry in CHANGELOG.md or have #trivial in their title.
🚫 Please ensure new source files begin with:

//
//  ASDisplayNode.mm
//  Texture
//
//  Copyright (c) 2014-present, Facebook, Inc.  All rights reserved.
//  This source code is licensed under the BSD-style license found in the
//  LICENSE file in the root directory of this source tree. An additional grant
//  of patent rights can be found in the PATENTS file in the same directory.
//  Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
//  Pinterest, Inc.  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//  
//      http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//

    

Generated by 🚫 Danger

@stephenkopylov stephenkopylov changed the title GLKit workaround: GLKit workaround #trivial Apr 22, 2017
Comment thread Source/ASDisplayNode.mm
//
// ASDisplayNode.mm
// AsyncDisplayKit
// Texture

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice catch!

@nguyenhuy

nguyenhuy commented Apr 22, 2017

Copy link
Copy Markdown
Member

@stephenkopylov Thanks for being patient and working through all of the hurdles. Hope to see more PRs from you!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants