[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kwin] libkwineffects: Added missing image format
From:       Fredrik_Höglund <null () kde ! org>
Date:       2018-02-14 22:24:44
Message-ID: E1em5To-0008N9-Ej () code ! kde ! org
[Download RAW message or body]

Git commit 627b11ce495ab564ea67aef9a0cd90a3ee441cdd by Fredrik H=C3=B6glund=
, on behalf of Alex Nemeth.
Committed on 14/02/2018 at 22:23.
Pushed by fredrik into branch 'master'.

Added missing image format

Summary:
`QImage::Format_ARGB6666_Premultiplied` was missing from the image format t=
able.
This might have caused some bugs later on.
See: http://doc.qt.io/qt-5/qimage.html#Format-enum

Reviewers: fredrik, #kwin

Reviewed By: fredrik

Subscribers: cfeck, kwin, #kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D10497

M  +1    -0    libkwineffects/kwingltexture.cpp

https://commits.kde.org/kwin/627b11ce495ab564ea67aef9a0cd90a3ee441cdd

diff --git a/libkwineffects/kwingltexture.cpp b/libkwineffects/kwingltextur=
e.cpp
index 8b9652028..d876d0d76 100644
--- a/libkwineffects/kwingltexture.cpp
+++ b/libkwineffects/kwingltexture.cpp
@@ -113,6 +113,7 @@ GLTexture::GLTexture(const QImage& image, GLenum target)
             { GL_RGB8,     GL_BGR,  GL_UNSIGNED_SHORT_5_6_5_REV    }, // Q=
Image::Format_RGB16
             { 0,           0,       0                              }, // Q=
Image::Format_ARGB8565_Premultiplied
             { 0,           0,       0                              }, // Q=
Image::Format_RGB666
+            { 0,           0,       0                              }, // Q=
Image::Format_ARGB6666_Premultiplied
             { GL_RGB5,     GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV  }, // Q=
Image::Format_RGB555
             { 0,           0,       0                              }, // Q=
Image::Format_ARGB8555_Premultiplied
             { GL_RGB8,     GL_RGB,  GL_UNSIGNED_BYTE               }, // Q=
Image::Format_RGB888
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic