Skip to content

Commit

Permalink
Force disable the hardware compositor.
Browse files Browse the repository at this point in the history
  • Loading branch information
adenexter committed Jul 24, 2018
1 parent 89f267b commit 1c61fb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rpm/lipstick-qt5.spec
Expand Up @@ -154,11 +154,11 @@ mkdir -p %{buildroot}/%{icondirectory}

%files doc
%defattr(-,root,root,-)
#%{_datadir}/doc/lipstick/*
%{_datadir}/doc/lipstick/*

%files notification-doc
%defattr(-,root,root,-)
#%{_datadir}/doc/lipstick-notification/*
%{_datadir}/doc/lipstick-notification/*

%files ts-devel
%defattr(-,root,root,-)
Expand Down
3 changes: 2 additions & 1 deletion src/compositor/hwcrenderstage.cpp
Expand Up @@ -118,7 +118,8 @@ bool HwcRenderStage::m_hwcEnabled = false;

void HwcRenderStage::initialize(LipstickCompositor *lipstick)
{
static bool enabled = qgetenv("LIPSTICK_HARDWARE_COMPOSITOR").toInt() != 0;
// JB#42170 Force off for now.
static bool enabled = false && qgetenv("LIPSTICK_HARDWARE_COMPOSITOR").toInt() != 0;
QPlatformNativeInterface *iface = QGuiApplicationPrivate::platform_integration->nativeInterface();
if (!enabled) {
qDebug() << "Hardware Compositor support is disabled";
Expand Down

0 comments on commit 1c61fb3

Please sign in to comment.