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

« back to all changes in this revision

Viewing changes to include/platform/mir/graphics/buffer.h

  • 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:
42
42
    virtual geometry::Stride stride() const = 0;
43
43
    virtual MirPixelFormat pixel_format() const = 0;
44
44
    virtual void gl_bind_to_texture() = 0;
45
 
    /* TODO: remove this function, as it is specific to the mesa platform */
46
 
    virtual bool can_bypass() const = 0;
47
 
    
48
45
    virtual void write(unsigned char const* pixels, size_t size) = 0;
49
46
 
50
47
protected: