Update mojo surfaces bindings and mojo/cc/ glue
commit3a29ee299da15e9cd97edf3cf84dc32602a5854f
authorjamesr <jamesr@chromium.org>
Mon, 25 Aug 2014 20:54:14 +0000 (25 13:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 25 Aug 2014 21:00:53 +0000 (25 21:00 +0000)
tree544964b56ebb308e83bda1e16c85c0cb7250028c
parente6ecfd8f595f7df1a9b1ac055851f7bf691dbc9c
Update mojo surfaces bindings and mojo/cc/ glue

This provides a SurfacesService that can provide SurfacePtr and id
namespaces in one call, since both are needed to do anything useful. This
also updates the mojo/cc/ bindings to get closer to binding a cc using
client (like html_viewer) with surfaces, although it's not 100% there.

R=sky@chromium.org

Review URL: https://codereview.chromium.org/504443002

Cr-Commit-Position: refs/heads/master@{#291759}
22 files changed:
mojo/cc/BUILD.gn
mojo/cc/context_provider_mojo.h
mojo/cc/output_surface_mojo.cc [new file with mode: 0644]
mojo/cc/output_surface_mojo.h [new file with mode: 0644]
mojo/examples/surfaces_app/child_gl_app.cc
mojo/examples/surfaces_app/child_gl_impl.cc
mojo/examples/surfaces_app/child_gl_impl.h
mojo/examples/surfaces_app/child_impl.cc
mojo/examples/surfaces_app/child_impl.h
mojo/examples/surfaces_app/surfaces_app.cc
mojo/mojo.gyp
mojo/mojo_services.gypi
mojo/services/public/interfaces/surfaces/BUILD.gn
mojo/services/public/interfaces/surfaces/surfaces.mojom
mojo/services/public/interfaces/surfaces/surfaces_service.mojom [new file with mode: 0644]
mojo/services/surfaces/surfaces_impl.cc
mojo/services/surfaces/surfaces_impl.h
mojo/services/surfaces/surfaces_service_application.cc
mojo/services/surfaces/surfaces_service_application.h
mojo/services/surfaces/surfaces_service_impl.cc [new file with mode: 0644]
mojo/services/surfaces/surfaces_service_impl.h [new file with mode: 0644]
mojo/shell/in_process_dynamic_service_runner.cc