Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #408 - mmatyas:arm_support, r=glennw
Add ARM support This PR adds ARM support to Webrender: - Fixes int-to-float conversions, causing shader compile errors - Instead of using OS name/`android` to determine OpenGL/GLES version, uses the architecture; use GLES if the target arch is ARM or AArch64 A screenshot of Servo running on Odroid XU3: ![servo-wr2-arm](https://cloud.githubusercontent.com/assets/4354863/18553633/6f8ddc7a-7b61-11e6-8c96-7a95525fc66f.png) (running as `./servo -G es2 -w -Z wr-stats https://en.wikipedia.org/wiki/Rust`) As you can see, there are still some bugs, eg. missing hover effects or font drawing problems of `wr-stats`, but the rendering itself seems ok, and the performance is really good. Also I'm not 100% sure about the GL parameters like `GL_FORMAT_A` and the `GpuProfile`, I'd be happy if someone could review them. CC @glennw, @larsbergstrom <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/408) <!-- Reviewable:end -->
- Loading branch information
Showing
3 changed files
with
22 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters