Merge branch 'Plasma/5.3'
This commit is contained in:
commit
0258748eb5
3 changed files with 5 additions and 0 deletions
|
@ -230,6 +230,8 @@ void ContrastEffect::uploadRegion(QVector2D *&map, const QRegion ®ion)
|
|||
void ContrastEffect::uploadGeometry(GLVertexBuffer *vbo, const QRegion ®ion)
|
||||
{
|
||||
const int vertexCount = region.rectCount() * 6;
|
||||
if (!vertexCount)
|
||||
return;
|
||||
|
||||
QVector2D *map = (QVector2D *) vbo->map(vertexCount * sizeof(QVector2D));
|
||||
uploadRegion(map, region);
|
||||
|
|
|
@ -236,6 +236,8 @@ void BlurEffect::uploadRegion(QVector2D *&map, const QRegion ®ion)
|
|||
void BlurEffect::uploadGeometry(GLVertexBuffer *vbo, const QRegion &horizontal, const QRegion &vertical)
|
||||
{
|
||||
const int vertexCount = (horizontal.rectCount() + vertical.rectCount()) * 6;
|
||||
if (!vertexCount)
|
||||
return;
|
||||
|
||||
QVector2D *map = (QVector2D *) vbo->map(vertexCount * sizeof(QVector2D));
|
||||
uploadRegion(map, horizontal);
|
||||
|
|
|
@ -135,6 +135,7 @@ void PresentWindowsEffect::reconfigure(ReconfigureFlags)
|
|||
if (m_doNotCloseWindows) {
|
||||
delete m_closeView;
|
||||
m_closeView = nullptr;
|
||||
m_closeWindow = nullptr;
|
||||
}
|
||||
m_ignoreMinimized = PresentWindowsConfig::ignoreMinimized();
|
||||
m_accuracy = PresentWindowsConfig::accuracy() * 20;
|
||||
|
|
Loading…
Reference in a new issue