19 #ifndef MIR_SURFACES_SURFACE_DATA_STORAGE_H_
20 #define MIR_SURFACES_SURFACE_DATA_STORAGE_H_
37 std::function<
void()> change_cb,
44 bool shaped()
const override;
47 std::string
const&
name()
const;
58 void set_input_region(std::vector<geometry::Rectangle>
const& input_rectangles);
61 std::mutex
mutable guard;
62 std::function<void()> notify_change;
63 std::string surface_name;
65 glm::mat4 rotation_matrix;
66 mutable glm::mat4 transformation_matrix;
68 mutable bool transformation_dirty;
70 bool first_frame_posted;
72 const bool nonrectangular;
73 std::vector<geometry::Rectangle> input_rectangles;