26 Commits

Author SHA1 Message Date
James Robinson
b2008eb540 Remove GLX code from //ui/gl, simplify build a bit
This removes the now unused GLX binding code from //ui/gl and simplifies
the build files a bit, removing unused configs and includes and such.
2015-09-01 17:02:43 -07:00
James Robinson
7872f50465 include build/build_config.h in gl_bindings.h for macro checks to work 2015-09-01 16:33:58 -07:00
James Robinson
c84cf45d66 Use //third_party/khronos headers only on linux+android 2015-09-01 16:10:57 -07:00
James Robinson
fc40cce704 Merge pull request #989 from jamesr/rm_gl_fence
Remove unused Ozone and GLFence/GLImage abstractions
2015-09-01 14:40:40 -07:00
James Robinson
1785ea4a45 Remove unused Ozone and GLFence/GLImage abstractions 2015-09-01 11:23:45 -07:00
James Robinson
519e7b25a2 Link sky_shell on linux statically against osmesa instead of runtime switch 2015-09-01 11:09:11 -07:00
James Robinson
b716f1f7d0 Revert //ui/gl changes, will need more thought 2015-08-31 11:02:16 -07:00
James Robinson
7114178aaf Merge pull request #959 from jamesr/fix_linux_build
Fix Linux build - only use EGL on Android
2015-08-31 10:33:52 -07:00
James Robinson
b05b5c2c66 Fix Linux build - only use EGL on Android 2015-08-31 10:27:02 -07:00
James Robinson
997722db17 Fix android build
The OS_FOO macros are set by build/build_config.h, so be sure to
include that before testing the macros.
2015-08-31 10:24:39 -07:00
James Robinson
04344ddb27 Trim unused code from //ui/gl
This deletes lots of unused code from //ui/gl:

*) GLImage and GLFence are not used or likely to be used soon

*) GLX/X11/Ozone are not used, Sky doesn't draw to screen on these platforms

*) EGL code is used exclusively on Android

This also restricts the use of the third_party/khronos headers to only Android
builds, where they are used to pick up a few enum values from EGL not present
in the NDK's copy of the headers.
2015-08-31 10:00:42 -07:00
Adam Barth
a7b862ce00 Fix build on Mac 2015-08-27 20:34:41 -07:00
James Robinson
ac393ede71 Remove //gpu and other unused code
Oneline diffstat: 489 files changed, 4 insertions(+), 186980
deletions(-)

This deletes all of //gpu (except for one export header) and
various bits of //mojo/{gpu,gles2} that are
not used. SkyShell on Android/iOS/etc bind to the system's GL
driver via //ui/gl. sky_viewer.mojo
binds to the Mojo C entry points.
2015-08-27 16:38:20 -07:00
Chinmay Garde
2ee8102343 Avoid warnings on iOS due to surface resize events not being handled 2015-08-18 15:33:02 -07:00
Chinmay Garde
ea03166466 Fix issue caught by Chrome Clang plugin 2015-08-17 15:54:56 -07:00
Chinmay Garde
ba2fe445fa Avoid manually setting up in-process GL bindings for Skia 2015-07-27 14:30:14 -07:00
Chinmay Garde
cb75ca645d Add bindings for "GL_NV_texture_barrier" required on Mac 2015-07-27 12:15:18 -07:00
Chinmay Garde
26a7bd7087 Complete OpenGL setup and input event handling on Mac 2015-07-27 10:56:34 -07:00
Chinmay Garde
821135a95b Merge pull request #177 from chinmaygarde/sky/shell
Extract and reuse common sky/shell components on Mac and iOS
2015-07-21 15:05:52 -07:00
Chinmay Garde
2c1db4b8e4 Add GL bindings for extensions "GL_KHR_blend_equation" and "GL_KHR_debug" 2015-07-21 13:42:23 -07:00
Chinmay Garde
c44eaa4144 Extract and reuse common sky/shell components on Mac and iOS 2015-07-21 10:17:50 -07:00
Adam Barth
798a88d9e2 Update Sky code to account for changes in Chromium
- Add missing dependencies caught by gn's new stricter checker
- Update opentype code to use new OTS API. This code is updated from HEAD
  Blink.
- Add base dependency to wtf to avoid redefining marcos from base/macros.h
- Update callers of various base string utility functions to use base
  namespace.
2015-07-16 22:14:27 -07:00
Adam Barth
0679c31b68 Add back some of the ui/android Java files
Apparently these files are needed to build for Android.
2015-07-16 14:51:13 -07:00
Adam Barth
a1c2e48c53 Remove unused code in //ui and //gpu/gles2_conform_support
We don't use this code and therefore can remove it.
2015-07-16 13:54:52 -07:00
Adam Barth
d2650414b8 Remove dependencies on Skia and the prebuilt network library 2015-07-16 11:44:27 -07:00
Adam Barth
ad9b135217 Update to mojo 5f5dfcc9af8b40a14dd76e34c60a5766b9f58bb4 2015-07-16 11:44:14 -07:00