Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
display_report.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU 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 General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: Andreas Pokorny <andreas.pokorny@canonical.com>
17  */
18 
19 #ifndef MIR_REPORT_LTTNG_DISPLAY_REPORT_H_
20 #define MIR_REPORT_LTTNG_DISPLAY_REPORT_H_
21 
23 
25 
26 namespace mir
27 {
28 namespace report
29 {
30 namespace lttng
31 {
32 
34 {
35 public:
36  DisplayReport() = default;
37  virtual ~DisplayReport() noexcept(true) = default;
38 
43  virtual void report_egl_configuration(EGLDisplay disp, EGLConfig cfg);
45  virtual void report_drm_master_failure(int error);
46  virtual void report_vt_switch_away_failure();
47  virtual void report_vt_switch_back_failure();
48  virtual void report_hwc_composition_in_use(int major, int minor);
49  virtual void report_gpu_composition_in_use();
50 
51 private:
52  ServerTracepointProvider tp_provider;
53 };
54 
55 }
56 }
57 }
58 
59 #endif
60 
Definition: display_report.h:29
virtual void report_hwc_composition_in_use(int major, int minor)
Definition: display_report.cpp:53
virtual ~DisplayReport() noexcept(true)=default
virtual void report_drm_master_failure(int error)
Definition: display_report.cpp:47
input_rectangles report(report)
virtual void report_successful_egl_buffer_swap_on_construction()
Definition: display_report.h:33
virtual void report_successful_display_construction()
virtual void report_egl_configuration(EGLDisplay disp, EGLConfig cfg)
Definition: display_report.cpp:42
Definition: server_tracepoint_provider.h:31
virtual void report_successful_setup_of_native_resources()
virtual void report_vt_switch_away_failure()
error
Definition: connector_report_tp.h:60
virtual void report_vt_switch_back_failure()
virtual void report_successful_drm_mode_set_crtc_on_construction()
virtual void report_successful_egl_make_current_on_construction()
virtual void report_gpu_composition_in_use()

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014