~mir-team/mir/in-process-egl+input-conglomeration

« back to all changes in this revision

Viewing changes to include/shared/mir_toolkit/mesa/native_display.h

Merged trunk and fixed issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#ifndef MIR_TOOLKIT_MESA_NATIVE_DISPLAY_H
19
19
#define MIR_TOOLKIT_MESA_NATIVE_DISPLAY_H
20
20
 
 
21
#include "mir_toolkit/mir_native_buffer.h"
21
22
#include "mir_toolkit/client_types.h"
22
23
 
23
24
#ifdef __cplusplus
47
48
    void *context;
48
49
};
49
50
 
 
51
typedef enum mir_display_type
 
52
{
 
53
    MIR_DISPLAY_TYPE_CLIENT,
 
54
    MIR_DISPLAY_TYPE_SERVER_INTERNAL
 
55
} mir_display_type;
 
56
 
 
57
mir_display_type mir_get_display_type(MirMesaEGLNativeDisplay* display);
 
58
 
50
59
int mir_egl_mesa_display_is_valid(MirMesaEGLNativeDisplay* display);
 
60
int mir_server_internal_display_is_valid(MirMesaEGLNativeDisplay* display);
51
61
 
52
62
#ifdef __cplusplus
53
63
} // extern "C"