Commit Graph

10099 Commits

Author SHA1 Message Date
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
Bas Schouten
459b745b39 Bug 765845: Reduce calling frequency of SetTextRenderingParams. r=jrmuizel 2012-06-26 02:59:18 +02:00
Nicholas Cameron
1a825cc2d4 Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
00ede18308 Bug 757346 followup, actually compile 2012-06-26 10:15:15 +12:00
Nicholas Cameron
90e38cb124 Bug 757347; checking the format of images. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
52501aeb72 Bug 757346; Use A8 textures (OGL). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
c01cc308b0 Bug 757346; Use A8 textures (DX9). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
eabed73236 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
841c20e037 Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
4620356d60 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 09:44:41 +12:00
David Zbarsky
e440dca789 Bug 766017 - Fix some skia warnings r=gw280 2012-06-22 13:16:31 -07:00
Nicolas Silva
3de1510717 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
Jeff Muizelaar
1d94e6d617 Bug 764594. Remove some unneeded calls in the Azure CG backend. r=bgirard
Some old code that was copy-n-pasted but never used.
2012-06-12 21:15:32 -07:00
Jonathan Kew
41d102520b bug 766326 - try Roboto as well as Droid Sans for Android default font. r=blassey 2012-06-21 07:45:55 +01:00
Bas Schouten
8bff902af4 Bug 738189 - Followup: Properly move functions into #ifdef. r=bustage 2012-06-21 00:32:52 +02:00
Bas Schouten
a76e2ac169 Bug 761397 - Part 1: Cache ID2D1Layers for D2D Azure backend. r=jrmuizel 2012-06-20 23:41:16 +02:00
Bas Schouten
fecc69df4f Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel 2012-06-20 23:41:16 +02:00
Jonathan Kew
8d1e2dedbe bug 763693 - simplify the word-cache telemetry to reduce overhead. r=jdaggett 2012-06-20 20:58:19 +01:00
Jonathan Kew
b36614de01 bug 764005 - optimize gfxFontGroup::FindFontForChar for the most common case, and lift array Length() accesses out of other loops in font code. r=smontagu 2012-06-20 20:58:18 +01:00
Jonathan Kew
69145c8e73 bug 763703 - optimize Unicode property lookup and gfxScriptItemizer::Next. r=smontagu 2012-06-20 20:58:18 +01:00
Daniel Holbert
c66366d1bd Bug 766666: Remove unused variable 'found' in GLContext.cpp's "RemoveNamesFromArray" function. r=bjacob 2012-06-20 12:40:16 -07:00
David Zbarsky
8122047242 Bug 765989 - Add fail on warnings to some gfx directories r=benwa 2012-06-19 21:12:30 -07:00
Kan-Ru Chen
2f1e76a0a8 Bug 764752 - Choose optimal 2D format based on off-screen format. r=joe
--HG--
extra : rebase_source : 064638dfa5fa4324aa376f794ebf10bf4d6dd2c3
2012-06-20 12:03:24 +08:00
Brad Lassey
9c06940765 bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread, follow up to fix windows builders r=bustage 2012-06-19 17:11:38 -07:00
Brad Lassey
48b3dfcba7 bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread r=joe 2012-06-19 17:05:28 -04:00
Jonathan Watt
9472b0acf9 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Ehsan Akhgari
3d134cafa1 Bug 766000 - CompositionNotifySink needs a virtual destructor; r=roc 2012-06-18 21:19:06 -04:00
Ehsan Akhgari
65884fba1f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Brad Lassey
09ba9f583b bug 765388 - assertion: GL supports OES_EGL_image without supplying its functions r=jrmuizel 2012-06-15 15:06:35 -07:00
Jeff Gilbert
bce6d79d2e Bug 729726 - Use BGRA-texture-backed FBOs where available. r=bjacob 2012-06-16 10:01:24 -04:00
Nicholas Cameron
7759178cf7 Bug 765038; fix a Clang compilation bug in Skia; r=jwatt 2012-06-15 11:52:15 +01:00
Benoit Jacob
5530f6649a Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert 2012-06-14 23:16:21 -04:00
Andrew Quartey
9bfac59e1c Bug 764972: Fix typo in GLContext.cpp error message. r=jgilbert 2012-06-14 15:39:57 -07:00
Nicholas Cameron
997a3716ac Bug 746896. Fix a bug with printing Azure canvas. r=joe 2012-06-15 10:00:44 +12:00
David Zbarsky
877c2bf21e Bug 764704 - Reorder initializer list in gfxReusableSurfaceWrapper r=benwa 2012-06-14 14:08:12 -07:00