| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
"modifierMask" is more correct English.
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
|
|
| |
Returning the input argument in a function can lead to confusion and
serves no purpose here. Instead, we'll mirror the API from
QMenu::addAction() overloads, where the overload that takes a
preconstructed object has a void return type.
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
| |
Using the abbreviated "Dont" is consistent with other negated enum
names in Qt.
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
| |
The name "animated" is consistent with naming in Qt otherwise, as in
QTreeView::animated and QMainWindow::animated.
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
| |
Fix some examples and wording, and add some clarification based on
comments in documentation review session.
Reviewed-by: Kent Hansen
|
|
|
|
| |
Reviewed-by: Sarah Smith
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When stroking small paths with a thick pen, it looked like the winding
fill rule was ignored. The bug was in the stroke generator which
generated paths where the winding number could incorrectly become zero.
Task-number: QTBUG-1537
Reviewed-by: Gunnar
|
| |
| |
| |
| | |
Reviewed-by: Gunnar Sletta
|
| | |
|
| |
| |
| |
| |
| |
| | |
Small optimization for the case where the source pixmap is cached.
Reviewed-by: Gunnar Sletta
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We add an internal cache which keeps four half-scaled versions of the
source pixmap at different blur radii, then we simply interpolate
between the two pixmaps around the desired blur radius, or between the
base source pixmap and the first blurred version.
Reviewed-by: Gunnar Sletta
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added AnimationHint, which didn't make too much sense in a generic enum,
so Qt::RenderHint was moved back into QGraphicsBlurEffect as
QGraphicsBlurEffect::BlurHint.
Reviewed-by: Gunnar Sletta
|
| |
| |
| |
| |
| |
| |
| | |
The strict size parameter can be used when it's critical that we get the
exact size we ask for.
Reviewed-by: Gunnar Sletta
|
| |
| |
| |
| |
| |
| |
| | |
When the effect rect changes we only need to invalidate the cache if the
mode is ExpandToEffectRectPadMode.
Reviewed-by: Gunnar Sletta
|
| |
| |
| |
| | |
Reviewed-by: Trond
|
| |
| |
| |
| | |
Reviewed-By: Samuel
|
| |
| |
| |
| | |
Reviewed-by: Samuel
|
|/
|
|
| |
Reviewed-by: TrustMe
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
|
|
|
| |
These tests are designed to run in 24 or 32 bit mode, and won't work
unless they do..
Reviewed-by: Samuel
|
|
|
|
|
|
|
|
|
|
| |
When the number of programs held in the cache exceeds a threshold, the
least frequantly used programs get deleted. This also covers programs
with custom snippets of code. As a conequence, when a
QGLCustomShaderStage gets deleted, any programs using that code will
(eventually) be freed.
Reviewed-By: Samuel Rødal
|
|
|
|
| |
This patch also adds a "snippetNameStr" helper for debugging.
|
|
|
|
|
|
|
|
|
| |
This is a first step towards supporting binary shaders.
Note: This change will introduce a (rare) leak of shader objects, as the
shaders will never be kicked out from the cache (because the cache is
still a QList) :-) This will be corrected by the next patch.
Reviewed-By: Samuel
|
|
|
|
| |
Reviewed-by: Trond
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the stringToCMap() fails, it can be because it did not have enough
space in the layout, or it can because of other errors. In order to
implement "try-again" processing in a simple way, we had an infinite
loop which assumed that stringToCMap() would always succeed in the
second run (which would be the case if the only possible error was
"not enough space".)
Since there are other possible failures not related to the number of
glyphs, you could easily get into an infinite loop here, e.g. when
laying out text that contains the Byte Order Mark.
The fix changes the implementation to explictly try stringToCMap()
twice at max, and is also how it's implemented in the default
qtextengine.cpp.
Task-number: QTBUG-4680
Reviewed-by: Trond
|
| |
| |
| |
| |
| |
| |
| | |
Better than having to befriend QPixmapData and setting is_cached
manually.
Reviewed-by: Tom Cooksey
|
|\ \
| |/
|/| |
|
| |\ |
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The drawCursorPixmap() function is more efficient and can render
the QImage form of the QPixmap directly if necessary.
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The QT_VG_SWAP_INTERVAL environment variable can be used to
specify a value for eglSwapInterval().
Task-number: QT-2409
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | | |
Task-number: QT-1522
Reviewed-by: kh
|
| | | |
|
| | | |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Calling QWidget::setCursor() outside of the event loop causes a memory
leak in Cocoa. Adding an autorelease pool plugs it.
Merge-request: 1791
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Cherry-picked from d8a2e52e
Merge-request: 419
Reviewed-by: Olivier
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
No need to publicise real sites and email addresses.
Also, don't use 8-bit data. C escape sequences are ok.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Imported from http://github.com/icefox/guessurlfromstring
Licensed under the 3-clause BSD license by the copyright holder.
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Trust Me
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
are generated
Reviewed-By: Daniel Molkentin
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-By: Trust Me
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Daniel Molkentin
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is the QtCore part of the timebomb.
Reviewed-by: Daniel Molkentin
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
QAbstractState::parentState() is called heavily by the state machine
algorithm. The parent state is obtained by qobject_cast'ing
QObject::parent(). qobject_cast() is expensive. This commit introduces
caching of the result in order to improve performance.
We expect that the cache won't be invalidated much since the parent-child
relationship of states usually doesn't change after the state machine is
started.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This function is useful for debugging, if nothing else, and has been
requested by users. We also refer to it in one of our blog posts, so
there's little point in trying to hide it any longer.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|