| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Disable them if sizeof(qreal)==4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Qt used to store the GL extensions a particular implementation supported
in a global cache, which was initialized once and never updated.
This could cause problems because different types of context might
support different kinds of extensions (e.g. the difference between
sw and hw contexts). With this patch, the GL extensions are cached
and updated within each QGLContext. It also makes the extension
initialization lazy, which saves application initialization costs for
embedded platforms.
The patch introduces a internal cross platform QGLTemporaryContext
class that is used to create a light-weight GL context without going
via QGLWidget and friends (QWS and WinCE still have QGLWidget fallbacks
for now).
Reviewed-by: Kim
Reviewed-by: Samuel
|
| |
| |
| |
| | |
Reviewed-by: Trust me
|
| |
| |
| |
| | |
symbian headers on Linux are lowercase and this should work on Windows too.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This test is meant to check whether the grayscale operation is done
in-place or not.
Task-number: QTBUG-6901
Reviewed-by: Bjørn Erik Nilsen
|
| |
| |
| |
| |
| |
| |
| |
| | |
Don't invalidate the cache if we're only translating and the effect rect
is fully contained within the device rect of the painter.
Task-number: QTBUG-6901
Reviewed-by: Bjørn Erik Nilsen
|
| |
| |
| |
| |
| |
| |
| |
| | |
We need to clobber the vertex attribute pointers _before_ we call
setState() to regenerate the clip, or we'll use invalid vertex
pointers when writing the clip.
Reviewed-by: Paul
|
|/
|
|
|
|
|
|
|
|
|
|
| |
truncate did a qRound of the two numbers, which could cause two numbers
that were close to become far away (e.g. (0.000049 and 0.000051 would
become 0 and 1 respectively)
fuzzierCompare allows less precision than qFuzzyCompare. This is because
the anchor layout engine can sometimes do quite a lot of calculations,
and the error will be larger than what the qFuzzyCompare checks for.
Thus, the factor in fuzzierCompare is not chosen due to mathematical
proof but rather it is just chosen by what is acceptable.
(actually it can still be larger and still be acceptable)
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (23 commits)
My changes
Significant digits were lost in QDoubleSpinBox range when changing precision
My changelog for 4.6.1.
Added my changes to the 4.6.1 change log.
Put LinesHint into QVectorPath hints to enable further optimizations
Update changes file for 4.6.1
Avoid coordinate limitations in the raster engine.
Update changelog with my 4.6.1 changes.
4.6.1 changes
Fixed bug where QGLPixmapData::toImage() returned too dark image.
Update change log with Yoann Lopes work.
Fix completion in QFileDialog.
Fix point drawing on raster engine for flat and square caps
Update changes file with Rhys Weatherley's work.
warning fixes for platforms, where qreal == float
fix release mode crash in qfont.cpp initFontSubst() on Windows mobile
Fixed justify aligned text drawing with the GL1 engine.
Add odf-writer benchmark.
Fixed subpixel antialiased text drawing with the GL2 engine.
Fixes warning in the QMacStyle
...
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (23 commits)
My changes
Significant digits were lost in QDoubleSpinBox range when changing precision
My changelog for 4.6.1.
Added my changes to the 4.6.1 change log.
Put LinesHint into QVectorPath hints to enable further optimizations
Update changes file for 4.6.1
Avoid coordinate limitations in the raster engine.
Update changelog with my 4.6.1 changes.
4.6.1 changes
Fixed bug where QGLPixmapData::toImage() returned too dark image.
Update change log with Yoann Lopes work.
Fix completion in QFileDialog.
Fix point drawing on raster engine for flat and square caps
Update changes file with Rhys Weatherley's work.
warning fixes for platforms, where qreal == float
fix release mode crash in qfont.cpp initFontSubst() on Windows mobile
Fixed justify aligned text drawing with the GL1 engine.
Add odf-writer benchmark.
Fixed subpixel antialiased text drawing with the GL2 engine.
Fixes warning in the QMacStyle
...
|
| | |\
| | | |
| | | |
| | | |
| | | | |
Conflicts:
dist/changes-4.6.1
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When setting the range, the actual value precision was lost because the min
and max were saved after being formatted to the current precison (decimals
property), thus losing information. We now keep the user original values, and
use these whenever the decimals property is changed. Auto-test included.
Reviewed-by: leo
Task-number: QTBUG-6496
|
| | |/ / |
|
| | | | |
|
| | | | |
|
| | |\ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QGLPixmapData::toImage() called qt_gl_read_texture() which didn't take
into account that the texture was in a premultiplied format.
Task-number: QTBUG-7190
Reviewed-by: Trond
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Completing under the root directory was "eating" the first letter. On
windows under C:\ the completion was not working at all.
Task-number: QTBUG-4933
Reviewed-by:janarve
Reviewed-by:gabi
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: Samuel
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Lines that are longer than 2^15 will overflow in qgrayraster.c
so we need to clip them. Also, we need to clip the bounding
rectangle to avoid an endless clip-loop
Task: http://bugreports.qt.nokia.com/browse/QTBUG-6198
Reviewed-by: Samuel
|
| | |/ /
| | | |
| | | |
| | | |
| | | | |
Task: http://bugreports.qt.nokia.com/browse/QTBUG-6721
Reviewed-by: Samuel
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: thartman
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since we've disabled LTCG for Windows CE by default, the code in
initFontSubst() crashes on Windows mobile.
Adding the extra const solves this problem.
Task-number: QTBUG-6641
Reviewed-by: ossi
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fixed justify aligned text drawing with the GL1 engine.
Add odf-writer benchmark.
Fixed subpixel antialiased text drawing with the GL2 engine.
Fixes warning in the QMacStyle
Fix incorrect drawing of the hovered row on QTreeView with some styles.
Track the glVertexAttribPointer and only update it if it's changed
QTreeView::selectAll() wouldn't work when first column hidden
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The text was blurry because it wasn't pixel aligned. Fixed by
using nearest-neighbour texture filtering when using only
translations on the painter.
Reviewed-by: Trond
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixed bug where drawing subpixel antialiased glyphs on a
translucent surface would cause all the pixels in the glyphs'
bounding box to become opaque.
Task-number: QTBUG-7190
Reviewed-by: Trond
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Warning such as
QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0
because the font size might be specified in pixel, and pointSizeF
returns -1 if the font size is in pixel (as documented)
Reviewed-by: jbache
Task-number: QTBUG-7263
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Some styles such as oxygen, or gtk, require the whole row to be
redrawn in case of mouse hover the items.
There was special code that handle that in the MouseMove event of
the QTreeView, but that did not covered all the case (such as
scrolling with the mouse wheel)
Reviewed-by: Gabriel
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This removes a lot of unnecessary GL state changes resulting in an
18% performance boost on desktop and 5% on SGX for the 25920 3x3
solid rectangle test case.
Reviewed-By: Samuel
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QTreeView::selectAll() called QTreeView::select() on the first column, first
and last rows, and rows selection flags. As the first row was hidden, this
range spanned to void. We now pass the upper-left and lower-right indices to
select(). Auto-test included.
Reviewed-by: Olivier
Task-number: QTBUG-6450
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
QtWebKit changelog for Qt 4.6.1
Make compile on HPUX
Modifies the google chat example to use the DOM API
|
| | | | |
| | | | |
| | | | |
| | | | | |
From qtwebkit-4.6.0 to de77f8ee69c434bde9306c8f407ee2e443a00188
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: axis
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now that it's there, we might as well use it!
Reviewed-by: Benjamin Poulain
|
|\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Added absolute path to sqlite3.sis in s60installs.pro
Added changelog entries.
Added enable/disable parameter to each effect in Phonon MMF backend
Simplified error handling for audio effects
Implemented stereo widening effect in Phonon MMF backend
Implemented reverb effect in Phonon MMF backend
Implemented loudness effect in Phonon MMF backend
Implemented bass boost in Phonon MMF backend
Refactored AbstractAudioEffect to reduce redundancy in derived classes
Removed unnecessary check in Phonon MMF backend
Added a macro to reduce boilerplate code in Phonon MMF backend
Removed dependency of EffectFactory on native effect headers
Delayed creation of audio effect object until audio is initialized
Modified effect parameter handling to improve user experience
Added comments to clarify usage of Phonon::EffectParameter API
Shortened description of audio equalizer bands
Implemented audio effects capability querying in Phonon MMF backend
Corrected parameter name ordering in internal Phonon MMF function signatures
Fixed typo in Phonon::EffectWidget implementation
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Task-number: QTBUG-4659
Reviewed-by: Espen Riskedal
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Task-number: QTBUG-4659
Reviewed-by: Espen Riskedal
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Task-number: QTBUG-4659
Reviewed-by: Espen Riskedal
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Task-number: QTBUG-4659
Reviewed-by: Espen Riskedal
|