Commit Graph

5055 Commits

Author SHA1 Message Date
Martin Stransky
9ed0cff815 Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt 2012-06-27 20:15:32 -04:00
Chris Lord
42df6b85a3 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
f52875b4e5 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
a95b6edeea 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
981db43603 Bug 768079; mask layers force an intermediate surface for their containers. r=roc 2012-06-27 08:06:32 +12:00
Nicholas Cameron
b14e3d7756 Bug 768079; test for patch. r=roc 2012-06-27 08:06:32 +12:00
Ed Morley
cd98097038 Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord
0bf73ca08d 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
7edca27f23 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
dfac15c4e8 bug 763873 - avoid repeatedly accessing aRanges.Length() within ComputeRanges. r=jdaggett 2012-06-26 09:51:37 +01:00
Nicholas Cameron
cae46babd1 Bug 757347; checking the format of images. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
0a4510eccd Bug 757346; Use A8 textures (OGL). r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
fcf7e7a249 Bug 757346; Use A8 textures (DX9). r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
26fadecba0 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
01224f6b7a Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
6b5607e36f Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 14:43:30 +12:00
Bas Schouten
61058bf288 Bug 765845: Reduce calling frequency of SetTextRenderingParams. r=jrmuizel 2012-06-26 02:59:18 +02:00
Nicholas Cameron
2237afc914 Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
7e2bb9089b Bug 757346 followup, actually compile 2012-06-26 10:15:15 +12:00
Nicholas Cameron
3306a285bc Bug 757347; checking the format of images. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
b2f0b5d72c Bug 757346; Use A8 textures (OGL). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
1323f8e540 Bug 757346; Use A8 textures (DX9). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
7914eb8944 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
3cd654450f Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
abe8ccd904 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 09:44:41 +12:00
David Zbarsky
74e14ba7cd Bug 766017 - Fix some skia warnings r=gw280 2012-06-22 13:16:31 -07:00
Nicolas Silva
b42b64a9ae 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
54317a6cbc 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
29586390c5 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
f8ade67ce6 Bug 738189 - Followup: Properly move functions into #ifdef. r=bustage 2012-06-21 00:32:52 +02:00
Bas Schouten
8d0bcd0646 Bug 761397 - Part 1: Cache ID2D1Layers for D2D Azure backend. r=jrmuizel 2012-06-20 23:41:16 +02:00
Bas Schouten
022fb4437b Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel 2012-06-20 23:41:16 +02:00
Jonathan Kew
a555a0b7dc bug 763693 - simplify the word-cache telemetry to reduce overhead. r=jdaggett 2012-06-20 20:58:19 +01:00
Jonathan Kew
02a6f1f89e 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
5de10cf960 bug 763703 - optimize Unicode property lookup and gfxScriptItemizer::Next. r=smontagu 2012-06-20 20:58:18 +01:00
Daniel Holbert
0aa034774e Bug 766666: Remove unused variable 'found' in GLContext.cpp's "RemoveNamesFromArray" function. r=bjacob 2012-06-20 12:40:16 -07:00
David Zbarsky
3e5d7859a8 Bug 765989 - Add fail on warnings to some gfx directories r=benwa 2012-06-19 21:12:30 -07:00
Kan-Ru Chen
35f20c776f 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
3fc3d78ba6 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
7ff49f22ce bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread r=joe 2012-06-19 17:05:28 -04:00
Jonathan Watt
1d7315c090 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Ehsan Akhgari
517c7b93f2 Bug 766000 - CompositionNotifySink needs a virtual destructor; r=roc 2012-06-18 21:19:06 -04:00
Ehsan Akhgari
217735f725 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
b56a233e4b bug 765388 - assertion: GL supports OES_EGL_image without supplying its functions r=jrmuizel 2012-06-15 15:06:35 -07:00
Jeff Gilbert
f6a9c3c189 Bug 729726 - Use BGRA-texture-backed FBOs where available. r=bjacob 2012-06-16 10:01:24 -04:00
Nicholas Cameron
b51082a3ec Bug 765038; fix a Clang compilation bug in Skia; r=jwatt 2012-06-15 11:52:15 +01:00
Benoit Jacob
a4f9ebbddf Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert 2012-06-14 23:16:21 -04:00
Andrew Quartey
918c6d6aeb Bug 764972: Fix typo in GLContext.cpp error message. r=jgilbert 2012-06-14 15:39:57 -07:00
Nicholas Cameron
ee1596e1ef Bug 746896. Fix a bug with printing Azure canvas. r=joe 2012-06-15 10:00:44 +12:00
David Zbarsky
d54ba01a9f Bug 764704 - Reorder initializer list in gfxReusableSurfaceWrapper r=benwa 2012-06-14 14:08:12 -07:00