~ci-train-bot/mir/mir-ubuntu-xenial-landing-000

« back to all changes in this revision

Viewing changes to src/server/compositor/screencast_display_buffer.cpp

Fix screencast orientation for WiFi Display support.

This is just a hack for the moment and needs to be redone properly.
Approved by: PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
 
105
105
MirOrientation mc::ScreencastDisplayBuffer::orientation() const
106
106
{
 
107
    // FIXME for the purpose of getting buffers correctly orientated
 
108
    // for hardware encoding
 
109
#if 0
107
110
    return mir_orientation_normal;
 
111
#else
 
112
    return mir_orientation_vertical_flip;
 
113
#endif
108
114
}
109
115
 
110
116
mg::NativeDisplayBuffer* mc::ScreencastDisplayBuffer::native_display_buffer()