~mir-team/mir/cursor-spike-phase-2

« back to all changes in this revision

Viewing changes to src/server/graphics/nested/nested_display.h

Add CursorImage and CursorRepository interfaces. Port the builtin cursor to these and port the GBM cursor to use them

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
    void pause() override;
118
118
    void resume() override;
119
119
 
120
 
    std::shared_ptr<Cursor> create_hardware_cursor() override;
 
120
    std::shared_ptr<Cursor> create_hardware_cursor(std::shared_ptr<CursorImage> const& initial_image) override;
121
121
    std::unique_ptr<graphics::GLContext> create_gl_context() override;
122
122
 
123
123
private: