~vanvugt/mir/render-focus

« back to all changes in this revision

Viewing changes to src/platform/graphics/android/android_platform.cpp

  • Committer: Tarmac
  • Author(s): Alexandros Frantzis
  • Date: 2014-03-31 13:20:44 UTC
  • mfrom: (1513.1.1 android-gl-config)
  • Revision ID: tarmac-20140331132044-oxpv8kzzbn20f8i3
android: Respect GLConfig preferences.

Approved by Alan Griffiths, Kevin DuBois, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
 
85
85
std::shared_ptr<mg::Display> mga::AndroidPlatform::create_display(
86
86
    std::shared_ptr<graphics::DisplayConfigurationPolicy> const&,
87
 
    std::shared_ptr<mg::GLConfig> const& /*gl_config*/)
 
87
    std::shared_ptr<mg::GLConfig> const& gl_config)
88
88
{
89
 
    return std::make_shared<mga::AndroidDisplay>(display_builder, display_report);
 
89
    return std::make_shared<mga::AndroidDisplay>(
 
90
        display_builder, gl_config, display_report);
90
91
}
91
92
 
92
93
std::shared_ptr<mg::PlatformIPCPackage> mga::AndroidPlatform::get_ipc_package()