~vanvugt/mir/revert-r2288

« back to all changes in this revision

Viewing changes to src/include/client/mir/client_platform.h

client: Add set_gbm_device platform operation.

Approved by PS Jenkins bot, Robert Carr, Alan Griffiths.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
 
50
50
    virtual MirPlatformType platform_type() const = 0;
51
51
    virtual void populate(MirPlatformPackage& package) const = 0;
 
52
    /**
 
53
     * Perform a platform operation.
 
54
     *
 
55
     * The returned platform message is owned by the caller and should be
 
56
     * released with mir_platform_message_release().
 
57
     *
 
58
     *   \param [in] request      The platform operation request
 
59
     *   \return                  The platform operation reply, or a nullptr if the
 
60
     *                            requested operation is not supported
 
61
     */
 
62
    virtual MirPlatformMessage* platform_operation(MirPlatformMessage const* request) = 0;
52
63
    virtual std::shared_ptr<ClientBufferFactory> create_buffer_factory() = 0;
53
64
    virtual std::shared_ptr<EGLNativeWindowType> create_egl_native_window(EGLNativeSurface *surface) = 0;
54
65
    virtual std::shared_ptr<EGLNativeDisplayType> create_egl_native_display() = 0;