~afrantzis/mir/buffer-bind-to-render-image

Viewing all changes in revision 2839.

  • Committer: Daniel van Vugt
  • Author(s): Cemil Azizoglu
  • Date: 2015-08-12 09:38:05 UTC
  • mfrom: (2795.7.13 mir-dev)
  • Revision ID: daniel.van.vugt@canonical.com-20150812093805-n5xj1wjcs47ksftf
- Separate out platform graphics entry points from platform.cpp into its
  own graphics.cpp file (consistent with input.cpp).
- Only create_host_platform() and create_input_platform() functions
  access the x11_connection global.
- They then pass it as a ctor parameter to other objects that need it
  instead of these objects accessing it as a global.
- Tighten abstractions (struct->class, public->private, use of const on
  some objects/members).
- Do away with the redundant 'extern "C"' specifiers in function
  definitions, which messes up the compliance checker.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: