~vanvugt/mir/fix-1226139

« back to all changes in this revision

Viewing changes to src/server/graphics/android/android_display.cpp

  • Committer: Tarmac
  • Author(s): Robert Carr, Daniel van Vugt
  • Date: 2013-09-06 22:35:09 UTC
  • mfrom: (985.4.17 dpms-support-api)
  • Revision ID: tarmac-20130906223509-70pwrb4hkfnz2ary
Add DPMS configuration API. Fixes: https://bugs.launchpad.net/bugs/1193222.

Approved by PS Jenkins bot, Alan Griffiths, Robert Ancell.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
                        true,
65
65
                        true,
66
66
                        geom::Point{0,0},
67
 
                        0, 0},
 
67
                        0, 0, mir_power_mode_on},
68
68
          card{mg::DisplayConfigurationCardId{0}, 1}
69
69
    {
70
70
    }
79
79
        f(configuration);
80
80
    }
81
81
 
82
 
    void configure_output(mg::DisplayConfigurationOutputId, bool, geom::Point, size_t)
 
82
    void configure_output(mg::DisplayConfigurationOutputId, bool, geom::Point, size_t, MirPowerMode /* power_mode */)
83
83
    {
84
84
        BOOST_THROW_EXCEPTION(std::runtime_error("cannot configure output\n"));
85
85
    }