Ehsan Akhgari
a1e25b9548
Backout changeset ef4557011ad3 (bug 539356) because of performance and correctness regressions
2012-07-03 20:13:38 -04:00
Ehsan Akhgari
521cc06e7d
Backout changeset 3f8e99e92344 (bug 539356) because of performance and correctness regressions
2012-07-03 20:11:59 -04:00
Ehsan Akhgari
42ecdb2eac
Backout changeset a9ae09d4f1d8 (bug 539356 part 30) because DLBI is being backed out
2012-07-03 19:41:27 -04:00
Jonathan Kew
0604d2f511
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
99de89ed3c
bug 765906 - don't ignore boldness when using system fallback fonts. r=jdaggett
2012-07-03 11:35:18 +01:00
Robert O'Callahan
ddbee0e9d9
Backout bug 768775 for now
2012-07-02 14:43:37 +12:00
Robert O'Callahan
221cda4051
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
7252675cc8
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
dc904caff5
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
04016edac8
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
0868198bb0
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
066a7a9687
Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc
2012-06-30 15:06:13 +12:00
Oleg Romashin
95b7a73ba9
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
ffcd727240
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
cbd39105d9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
9193c41326
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
36717ce675
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
0b0abe97ec
Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
8f789d0418
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-06-30 15:06:09 +12:00
Matt Woodrow
62341f0c3b
Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc
2012-06-30 15:06:09 +12:00
Jonathan Kew
7ee339db6d
bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett
2012-06-29 12:39:44 +01:00
Nicholas Cameron
c064eb870f
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
b372d82d77
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
ddc356125d
Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt
2012-06-27 20:15:32 -04:00
Chris Lord
6a63c42f88
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
9fd49ed93f
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
45fe6d3ae2
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
ec4082e8bb
Bug 768079; mask layers force an intermediate surface for their containers. r=roc
2012-06-27 08:06:32 +12:00
Nicholas Cameron
205bca3553
Bug 768079; test for patch. r=roc
2012-06-27 08:06:32 +12:00
Ed Morley
ef4179d2d4
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
b05770560f
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
1448e862c1
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
486d6a7bf5
bug 763873 - avoid repeatedly accessing aRanges.Length() within ComputeRanges. r=jdaggett
2012-06-26 09:51:37 +01:00
Nicholas Cameron
6be9877aaf
Bug 757347; checking the format of images. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
88e40f4fe1
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
9f19c1a23a
Bug 757346; Use A8 textures (DX9). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
03e8305815
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
34289b5948
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
dde00bf60b
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 14:43:30 +12:00
Bas Schouten
d8b7729753
Bug 765845: Reduce calling frequency of SetTextRenderingParams. r=jrmuizel
2012-06-26 02:59:18 +02:00
Nicholas Cameron
549b63d97d
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
bb0ad1299c
Bug 757346 followup, actually compile
2012-06-26 10:15:15 +12:00
Nicholas Cameron
e0a38b326b
Bug 757347; checking the format of images. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
14b8ef1f95
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
ac7e54e7fc
Bug 757346; Use A8 textures (DX9). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
aae4ecb5d0
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
f7821afd6f
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
6f0ff4bb34
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 09:44:41 +12:00
David Zbarsky
85d3d4ef59
Bug 766017 - Fix some skia warnings r=gw280
2012-06-22 13:16:31 -07:00
Nicolas Silva
b8baec98b5
Bug 761849 - D[OGL] Don't convert video texture to RGBA for better performance on desktoop. r=joe
2012-06-21 16:58:49 -04:00