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

platform/egl: Fix EGL texture implementation #47

Merged
merged 1 commit into from Dec 22, 2015
Merged

platform/egl: Fix EGL texture implementation #47

merged 1 commit into from Dec 22, 2015

Conversation

@emilio
Copy link
Member

emilio commented Dec 22, 2015

The EGL test failures where provoked by two things:

  • GLES 2.0 deprecates gl::TEXTURE_2D as a valid parameter to
    gl::enable, which was provoking an unexpected INVALID_ENUM error.
  • GLES 2.0 doesn't have glGetTexImage, so to test that writing to a
    texture actually works we have to bind it to another FBO. We do it on
    the sharing test.

Also, added a no-op feature to easily run egl tests on linux. Too bad we can't test it on Travis :(

The EGL test failures where provoked by two things:
 * GLES 2.0 deprecates `gl::TEXTURE_2D` as a valid parameter to
   `gl::enable`, which was provoking an unexpected INVALID_ENUM error.
 * GLES 2.0 doesn't have `glGetTexImage`, so to test that writing to a
   texture actually works we have to bind it to another FBO. We do it on
   the sharing test.

Also, added a no-op feature to easily run egl tests on linux.
@emilio
Copy link
Member Author

emilio commented Dec 22, 2015

Merging it directly since it only affects with the removal of one LoC of non-tests.

emilio added a commit that referenced this pull request Dec 22, 2015
platform/egl: Fix EGL texture implementation
@emilio emilio merged commit 0677179 into master Dec 22, 2015
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.