~ci-train-bot/mir/mir-ubuntu-yakkety-2783

« back to all changes in this revision

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

Publish new apis

- Renamed mir_surface_spec_add_render_surface() to mir_window_spec_add_render_surface()
- Deleted forgotten mir_surface_spec_set_cursor_name from symbols.map
- Renamed mir_surface_spec_set_cursor_render_surface() to mir_window_spec_set_cursor_render_surface()
- Fixed build failure I noticed in gbm_buffer.h (and included extension headers in c99 test)
- Fixed licensing on headers (GPL->LGPL)
- Included new APIs in mir_client_library.h
- Deprecated the RS API/types
- Left RS API in the original symbols.map stanza.
- Created a new stanza for the rest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef MIR_GRAPHICS_NESTED_HOST_CHAIN_H_
20
20
#define MIR_GRAPHICS_NESTED_HOST_CHAIN_H_
21
21
 
22
 
#include "mir_toolkit/client_types_nbs.h"
23
 
 
24
22
namespace mir
25
23
{
26
24
namespace graphics
41
39
    virtual void submit_buffer(NativeBuffer&) = 0;
42
40
    virtual void set_submission_mode(SubmissionMode mode) = 0;
43
41
    virtual MirPresentationChain* handle() = 0;
 
42
#pragma GCC diagnostic push
 
43
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
44
44
    virtual MirRenderSurface* rs() const = 0;
 
45
#pragma GCC diagnostic pop
45
46
protected:
46
47
    HostChain() = default;
47
48
    HostChain(HostChain const&) = delete;