Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support stencil buffering on iOS/OSX #40

Merged
merged 2 commits into from
Feb 10, 2016
Merged

Support stencil buffering on iOS/OSX #40

merged 2 commits into from
Feb 10, 2016

Conversation

sh-dave
Copy link
Contributor

@sh-dave sh-dave commented Feb 10, 2016

Not a particularly nice implementation, but it's working.

  • i used #ifdef (SYS_IOS) for now
  • maybe RenderTargetImpl.cpp should be split into a GL2 + GLES version and the specific file pulled in via kha/koremake depending on the target

Tested on

  • iPhone 4 (iOS 7.1.2)
  • iPad 3 (iOS 9.1.2)
  • iMac (OS X 10.10.5 Yosemite)
  • iMac (OS X 10.11 El Capitan)

Edit: includes a fix for #39 now as well. It uses the gles implementation for SYS_IOS and SYS_ANDROID

@sh-dave sh-dave mentioned this pull request Feb 10, 2016
@RobDangerous
Copy link
Member

Thanks again!

RobDangerous pushed a commit that referenced this pull request Feb 10, 2016
Support stencil buffering on iOS/OSX
@RobDangerous RobDangerous merged commit a1180e1 into Kode:master Feb 10, 2016
@sh-dave sh-dave deleted the ios-osx-stencil-support branch February 10, 2016 15:28
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.

2 participants