Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/hwcomposer/egl_hwcomposer_backend.cpp
Show All 24 Lines | |||||
25 | { | 25 | { | ||
26 | 26 | | |||
27 | EglHwcomposerBackend::EglHwcomposerBackend(HwcomposerBackend *backend) | 27 | EglHwcomposerBackend::EglHwcomposerBackend(HwcomposerBackend *backend) | ||
28 | : AbstractEglBackend() | 28 | : AbstractEglBackend() | ||
29 | , m_backend(backend) | 29 | , m_backend(backend) | ||
30 | { | 30 | { | ||
31 | // EGL is always direct rendering | 31 | // EGL is always direct rendering | ||
32 | setIsDirectRendering(true); | 32 | setIsDirectRendering(true); | ||
33 | setSyncsToVBlank(true); | | |||
34 | setBlocksForRetrace(true); | | |||
35 | } | 33 | } | ||
36 | 34 | | |||
37 | EglHwcomposerBackend::~EglHwcomposerBackend() | 35 | EglHwcomposerBackend::~EglHwcomposerBackend() | ||
38 | { | 36 | { | ||
39 | cleanup(); | 37 | cleanup(); | ||
40 | } | 38 | } | ||
41 | 39 | | |||
42 | bool EglHwcomposerBackend::initializeEgl() | 40 | bool EglHwcomposerBackend::initializeEgl() | ||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |