Chris Lord
221e96f84e
Bug 758620 - Fix abort caused by unchecked clamping. r=ajuma
...
The initial values set for the offset for fixed position layers could clamp
with a max < min. This was due to a slightly incorrect min, but also because
it should have set these values in the else block of a later if that did a
range check on these values.
2012-07-04 15:56:49 +01:00
Ehsan Akhgari
b6ed51525d
Merge backout of DLBI from mozilla-central
2012-07-03 20:53:08 -04:00
Ehsan Akhgari
78b833f61a
Backout changeset 89f35d1fea6c (bug 539356) because of performance and correctness regressions
2012-07-03 20:32:33 -04:00
Ehsan Akhgari
3c74e1a1e2
Backout changeset 75419010ac02 (bug 539356) because of performance and correctness regressions
2012-07-03 20:31:54 -04:00
Ehsan Akhgari
d7b5949095
Backout changeset 2c411daf6633 (bug 539356) because of performance and correctness regressions
2012-07-03 20:27:47 -04:00
Ehsan Akhgari
658ec4eb81
Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions
2012-07-03 20:26:18 -04:00
Ehsan Akhgari
94344ff460
Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions
2012-07-03 20:25:57 -04:00
Ehsan Akhgari
cf18ee9122
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
12c6e3a4cf
Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions
2012-07-03 20:19:18 -04:00
Ehsan Akhgari
8b3c1f653a
Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:11 -04:00
Ehsan Akhgari
4530eaefe9
Backout changeset ef4557011ad3 (bug 539356) because of performance and correctness regressions
2012-07-03 20:13:38 -04:00
Ehsan Akhgari
168fb8fc56
Backout changeset 3f8e99e92344 (bug 539356) because of performance and correctness regressions
2012-07-03 20:11:59 -04:00
Ehsan Akhgari
5eb5d76486
Backout changeset a9ae09d4f1d8 (bug 539356 part 30) because DLBI is being backed out
2012-07-03 19:41:27 -04:00
Oleg Romashin
f7eab872d9
Bug 763241 - Add double buffer EGL provider detection by define or permanently. r=jgilbert
2012-07-03 16:50:06 -07:00
Jonathan Kew
847da3363a
bug 754452 - use GDI synthetic italic rather than cairo font matrix when it's safe to do so, for better glyph spacing. r=jdaggett
2012-07-03 11:42:07 +01:00
Jonathan Kew
d05a119289
bug 765906 - don't ignore boldness when using system fallback fonts. r=jdaggett
2012-07-03 11:35:18 +01:00
Robert O'Callahan
cedd410a70
Backout bug 768775 for now
2012-07-02 14:43:37 +12:00
Robert O'Callahan
72530702d9
Bug 768348. Avoid ExtCreatePen failures by avoiding rounding widths and dash lengths down to zero. r=jrmuizel
...
--HG--
extra : rebase_source : 5231a02af67486dbd0e663d3756ad60fe1483157
2012-07-02 11:49:34 +12:00
Robert O'Callahan
7abd565f63
Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
...
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Nicolas Silva
8342254e9a
Bug 769294 - Fix crash when trying to dump layers in the console. r=joedrew
2012-06-28 11:23:40 -04:00
Robert O'Callahan
f486010303
Bug 539356. Part 30: Call correct HasShadowManager method. Fixing Win mochitest-2 bustage. r=the-wind
2012-07-01 00:21:39 +12:00
Matt Woodrow
f132718f0c
Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel
2012-06-30 15:06:13 +12:00
Matt Woodrow
3ea3ebe3ad
Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc
2012-06-30 15:06:13 +12:00
Oleg Romashin
5cbefb95a7
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
f4ee9e6284
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
31125260ee
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
46e6f3d27b
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
7aaf9816cd
Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
aecbb78694
Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
2c1238be89
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-06-30 15:06:09 +12:00
Matt Woodrow
f03cf41652
Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc
2012-06-30 15:06:09 +12:00
Jonathan Kew
a3f6b9f448
bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett
2012-06-29 12:39:44 +01:00
Nicholas Cameron
bc53af744f
Bug 768723; Reorganise BasicLayers.cpp into multiple files; r=roc
...
--HG--
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
extra : rebase_source : aff7ec0b95a70e00149d2d9ea2856f9192dbc7f6
2012-06-29 18:01:34 +12:00
Jonathan Kew
f541ef9791
bug 764805 - fix handling of src:local style properties in the GDI backend. r=jdaggett
2012-06-28 10:59:37 +01:00
Martin Stransky
ccc6f3119c
Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt
2012-06-27 20:15:32 -04:00
Chris Lord
4f6d3716b9
Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
...
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-27 16:44:22 +01:00
Chris Lord
737f39fdfa
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Ehsan Akhgari
f4b598bf08
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Nicholas Cameron
fd286a7d52
Bug 768079; mask layers force an intermediate surface for their containers. r=roc
2012-06-27 08:06:32 +12:00
Nicholas Cameron
d9405def30
Bug 768079; test for patch. r=roc
2012-06-27 08:06:32 +12:00
Ed Morley
46f74afdf1
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
26c38c2908
Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
...
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-26 14:43:18 +01:00
Chris Lord
d68b636b06
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Jonathan Kew
744969c088
bug 763873 - avoid repeatedly accessing aRanges.Length() within ComputeRanges. r=jdaggett
2012-06-26 09:51:37 +01:00
Nicholas Cameron
0e6b01bba2
Bug 757347; checking the format of images. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
65d2f251d1
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
df04b53eb1
Bug 757346; Use A8 textures (DX9). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
162bac1537
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
f1e0596d58
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
2b4e7781e6
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 14:43:30 +12:00