Auto merge of #21921 - servo:jdm-patch-6-1, r=gw3583

Use a depth buffer when embedding Servo on android.

Webrender uses the z-buffer but does not check that it's present. We need to provide one for pages to render correctly.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21807
- [x] These changes do not require tests because there are no automated tests for embedding Servo in Firefox Reality.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21921)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-10-12 08:15:23 -04:00 committed by GitHub
commit 2d8cef30fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@ public class ServoSurface {
EGL14.EGL_GREEN_SIZE, 8,
EGL14.EGL_BLUE_SIZE, 8,
EGL14.EGL_ALPHA_SIZE, 8,
EGL14.EGL_DEPTH_SIZE, 0,
EGL14.EGL_DEPTH_SIZE, 24,
EGL14.EGL_STENCIL_SIZE, 0,
EGL14.EGL_NONE
};