Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/common/eglonxbackend.cpp
Show First 20 Lines • Show All 457 Lines • ▼ Show 20 Line(s) | 457 | if (supportsBufferAge()) | |||
---|---|---|---|---|---|
458 | addToDamageHistory(damagedRegion); | 458 | addToDamageHistory(damagedRegion); | ||
459 | } | 459 | } | ||
460 | 460 | | |||
461 | bool EglOnXBackend::usesOverlayWindow() const | 461 | bool EglOnXBackend::usesOverlayWindow() const | ||
462 | { | 462 | { | ||
463 | return m_usesOverlayWindow; | 463 | return m_usesOverlayWindow; | ||
464 | } | 464 | } | ||
465 | 465 | | |||
466 | OverlayWindow* EglOnXBackend::overlayWindow() | 466 | OverlayWindow* EglOnXBackend::overlayWindow() const | ||
467 | { | 467 | { | ||
468 | return m_overlayWindow; | 468 | return m_overlayWindow; | ||
469 | } | 469 | } | ||
470 | 470 | | |||
471 | bool EglOnXBackend::makeContextCurrent(const EGLSurface &surface) | 471 | bool EglOnXBackend::makeContextCurrent(const EGLSurface &surface) | ||
472 | { | 472 | { | ||
473 | return eglMakeCurrent(eglDisplay(), surface, surface, context()) == EGL_TRUE; | 473 | return eglMakeCurrent(eglDisplay(), surface, surface, context()) == EGL_TRUE; | ||
474 | } | 474 | } | ||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |