Remove useless branching on EGL/GLX in GLPlatform
ClosedPublic

Authored by graesslin on Nov 22 2016, 6:46 AM.

Details

Summary

The code for EGL and GLX platform did the same checks, just with the
difference that the EGL check has another check for isGLES.

So let's just do the branching on whether isGLES or GL.

Diff Detail

Repository
R108 KWin
Branch
glplatform-init-glsl
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin updated this revision to Diff 8370.Nov 22 2016, 6:46 AM
graesslin retitled this revision from to Remove useless branching on EGL/GLX in GLPlatform.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma.
Restricted Application added a project: KWin. · View Herald TranscriptNov 22 2016, 6:46 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
mart accepted this revision.Nov 22 2016, 10:02 AM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Nov 22 2016, 10:02 AM
This revision was automatically updated to reflect the committed changes.