Mir
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
platform
mir
graphics
null_display_report.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2012 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License version 3,
6
* as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Alan Griffiths <alan@octopull.co.uk>
17
*/
18
19
20
#ifndef MIR_TEST_GRAPHICS_DISPLAY_REPORT_H_
21
#define MIR_TEST_GRAPHICS_DISPLAY_REPORT_H_
22
23
24
#include "
mir/graphics/display_report.h
"
25
26
27
namespace
mir
28
{
29
namespace
graphics
30
{
31
class
NullDisplayReport
:
public
graphics::DisplayReport
32
{
33
public
:
34
35
virtual
void
report_successful_setup_of_native_resources
();
36
virtual
void
report_successful_egl_make_current_on_construction
();
37
virtual
void
report_successful_egl_buffer_swap_on_construction
();
38
virtual
void
report_successful_drm_mode_set_crtc_on_construction
();
39
virtual
void
report_successful_display_construction
();
40
virtual
void
report_drm_master_failure
(
int
error);
41
virtual
void
report_vt_switch_away_failure
();
42
virtual
void
report_vt_switch_back_failure
();
43
virtual
void
report_hwc_composition_in_use
(
int
major,
int
minor);
44
virtual
void
report_gpu_composition_in_use
();
45
virtual
void
report_egl_configuration
(EGLDisplay disp, EGLConfig cfg);
46
};
47
}
48
}
49
50
#endif
/* MIR_TEST_GRAPHICS_DISPLAY_REPORT_H_ */
Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Oct 15 00:23:28 UTC 2013