~andreas-pokorny/mir/activate-pointer-acceleration

« back to all changes in this revision

Viewing changes to src/platforms/android/server/buffer.cpp

  • Committer: Tarmac
  • Author(s): Cemil Azizoglu
  • Date: 2015-02-18 03:04:18 UTC
  • mfrom: (2317.2.5 mir-dev)
  • Revision ID: tarmac-20150218030418-o84yyon2ea2ijcdj
Implement bypass using flags in the native handle.

Approved by Chris Halse Rogers, Kevin DuBois, PS Jenkins bot, Daniel van Vugt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    return mga::to_mir_format(anwb->format);
71
71
}
72
72
 
73
 
bool mga::Buffer::can_bypass() const
74
 
{
75
 
    return false;
76
 
}
77
 
 
78
73
void mga::Buffer::gl_bind_to_texture()
79
74
{
80
75
    std::unique_lock<std::mutex> lk(content_lock);