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); | 33 | setBlocksForRetrace(true); | ||
35 | } | 34 | } | ||
36 | 35 | | |||
37 | EglHwcomposerBackend::~EglHwcomposerBackend() | 36 | EglHwcomposerBackend::~EglHwcomposerBackend() | ||
38 | { | 37 | { | ||
39 | cleanup(); | 38 | cleanup(); | ||
40 | } | 39 | } | ||
41 | 40 | | |||
▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines |