Commit Graph

9169 Commits

Author SHA1 Message Date
Benoit Jacob
044d7d1535 Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert 2014-01-02 10:17:25 -05:00
Benoit Jacob
ad05069143 Bug 945586 - Fix a few things in GLReadTexImageHelper - r=jgilbert 2014-01-02 10:17:24 -05:00
Benoit Jacob
2b8df35bc7 Bug 945586 - Move GLReadTexImageHelper out of GLContext - r=jgilbert 2014-01-02 10:17:22 -05:00
Benoit Jacob
bae7b0d8e2 Bug 949813 - Remove mIsGlobalSharedContext from GLContext - r=jgilbert 2014-01-02 10:17:20 -05:00
Henri Sivonen
0a59ad7382 Bug 213517 part 2 - Remove the x-user-def language group. r=jfkthame. 2014-01-02 09:18:20 +02:00
Benoit Jacob
9a53357c9c Bug 877115 - some compilation fixes - no review, trivial build fix 2014-01-01 14:47:19 -05:00
Andreas Pehrson
af91dfe323 Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical 2013-12-16 15:50:53 -05:00
Andreas Pehrson
1c6ea38013 Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical 2013-12-10 17:12:42 +01:00
Andreas Pehrson
9f3925f915 Bug 877115 - [Moz2Dify] Part 4. Change gfxIntSize to gfx::IntSize in GLScreenBuffer and friends. (carries r=nical) 2013-12-10 17:12:18 +01:00
Andreas Pehrson
f3b2403568 Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical 2013-12-10 17:11:58 +01:00
Andreas Pehrson
72812546dc Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Andreas Pehrson
86b0750f57 Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical) 2013-12-10 17:10:41 +01:00
Andreas Pehrson
7c766323a3 Bug 877115 - Add factory method for DataSourceSurfaces with custom stride. r=bas 2013-12-19 10:31:07 -05:00
Ms2ger
98586cdbc1 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Robert O'Callahan
b842ce7261 Bug 945203. Part 3: Implement nsRegion::Swap. r=jrmuizel
--HG--
extra : rebase_source : ee43bf510f8d2bac998d24511327c33362044c79
2013-12-17 00:01:38 +13:00
Robert O'Callahan
13d4ba530e Bug 945203. Part 2: Fix bogus comment. r=mattwoodrow
--HG--
extra : rebase_source : a7ef13ff14808109b003a72a6e55b21014801bc0
2013-12-17 00:01:02 +13:00
Robert O'Callahan
273ddfc1ac Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats
--HG--
extra : rebase_source : baa695c0d6104f620a5b45a83e5b230ef584abd9
2013-12-16 23:47:06 +13:00
David Zbarsky
19e7f7ce22 Bug 952977: Use gfx::Matrix in ipdl r=nical 2013-12-26 13:06:53 -05:00
Martijn Wargers
a5369e2c73 Bug 358732 - crashtests. 2013-12-23 16:51:57 +00:00
Jacek Caban
0ada8f7573 Bug 944908 - Fixed mingw compilation in gfx/2d/. r=bas.schouten 2013-12-23 14:03:16 +01:00
Wes Kocher
14628d9b52 Merge inbound to m-c 2013-12-20 18:42:04 -08:00
Diego Wilson
9e48e9bdd8 Bug 950800 - Honor Composer2D toggling on the fly. r=nrc
Now you can toggle the hardware composer on/off at any point without restarting B2G.
2013-12-17 09:01:39 -08:00
Nicolas Silva
e2aebf6c16 Bug 951218 - Fix a bug in AutoLockTextureHost. r=bjacob 2013-12-20 23:30:52 +01:00
Benoit Jacob
01ed72bcab Bug 949347 - reference-count TextureChild and have TextureClient hold on to it - r=nical,sotaro 2013-12-20 16:44:30 -05:00
Nicholas Cameron
42cc7a3660 Bug 898828. Don't even try async video on Windows. r=nical 2013-12-21 10:37:07 +13:00
Tor Arvid Lund
ac7506b8fa Bug 950677 - Fix compile errors on Windows/FFOS builds. r=nical
The errors were discovered when running on the try server. Chose #include
in GrallocImages because there were problems with fwd declarations again.
2013-12-20 11:46:31 -05:00
Tor Arvid Lund
bbfc9d5dc7 Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
03a5dadfb2 Bug 950677 - gfxIntSize -> IntSize in ThebesLayer* classes. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
5aafe907f1 Bug 950677 - gfxIntSize -> IntSize for Texture* classes. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
69a8d8666c Bug 950677 - gfxIntSize -> IntSize in ipc/Shadow* files. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
d44e391678 Bug 950677 - gfxIntSize -> IntSize in ipc/ directory. r=nical
(Detail: Chose to put an #include for Point.h in a header instead of a
forward declaration because a fwd decl caused an "Already defined" error
and having neither fwd decl or #include caused another compile failure
saying IntSize was undefined)
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
19ca402f3f Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
9d33e07888 Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
48371ada8e Bug 950677 - Change gfxIntSize to gfx::IntSize in DirectX files. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
7b9c2a5b21 Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical 2013-12-20 11:46:28 -05:00
Anthony Jones
5d41ec019c Bug 952116 - Add mutex around APZC::CancelAnimation; r=kats 2013-12-20 09:58:24 +13:00
Randall Barker
bb2d67faf4 Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-19 12:19:25 -08:00
Jonathan Kew
3d30fb0ba7 bug 950590 - part 2 - make SetUserFontSet support updating a gfxFontGroup's user font set on the fly, and use this in canvas rendering context. r=roc 2013-12-19 20:21:11 +00:00
Jonathan Kew
b3bc7a8f7a bug 950590 - part 1 - use nsRefPtr instead of manual addref/release calls for gfxFontGroup's reference to the user font set. r=roc 2013-12-19 20:20:57 +00:00
Nicolas Silva
a7bb73bad9 Bug 951858 - Support DrawTarget::CopySurface with A8 D2D textures. r=Bas 2013-12-19 19:44:20 +01:00
Isura Edirisinghe
3eedf5ced4 Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa 2013-12-19 11:42:19 -05:00
Nicolas Silva
285bc16346 Bug 951218 - Use RAII to unlock TextureHost. r=bjacob 2013-12-19 17:20:51 +01:00
Nicolas Silva
3f68aecbec Bug 948470 - Correctly set the format of DataSourceSurfaceD2DDrawTarget. r=Bas 2013-12-19 16:36:46 +01:00
Ryan VanderMeulen
5df86bb751 Merge m-c to inbound. 2013-12-18 21:28:22 -05:00
Ryan VanderMeulen
9c7c648b58 Merge b2g-inbound to m-c. 2013-12-18 21:27:05 -05:00
Vivien Nicolas
25a0f50881 Bug 951321 - [B2G][Messages] Create New Message button gets selected but does not open New Message page. r=kats 2013-12-19 01:12:47 +01:00
Vivien Nicolas
eb2ad7d573 Bug 951290 - [B2G] [Browser] The first swipe after zooming has no effect. r=kats 2013-12-19 01:12:47 +01:00
Benoit Jacob
945daca329 Bug 950203 - Let GfxInfo on Android create its own GL context to get GL strings, instead of waiting on the compositor's - r=jrmuizel 2013-12-18 15:49:13 -05:00
Vladimir Vukicevic
454fedcff5 b=949644; set mLibrary in WGL contexts before calling Init; r=bjacob 2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
5b56494025 b=929506; call wglMakeCurrent before Init to get lookup working; r=bjacob 2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
0693013e34 b=929511; fix WGL context sharing; r=bjacob 2013-12-18 13:09:10 -05:00
Vladimir Vukicevic
4667d6c4ff b=929508; implement gfxWindowsPlatform::GetScreenDepth; r=jrmuizel 2013-12-18 13:09:10 -05:00
Milan Sreckovic
401190b73d Bug 893572 - Add tests and backout part of bug 922942 for regressing the tests prior to them being landed. r=Bas, r=mattwoodrow 2013-12-17 16:51:16 -05:00
Markus Stange
d202381227 Bug 951302 - Fix BasicCompositor handling of mask layers. r=mattwoodrow 2013-12-18 12:19:47 +01:00
Phil Ringnalda
6cc1278352 Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker
ffd53db5e1 Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-17 13:41:00 -08:00
Wes Kocher
e365f41e60 merge inbound to m-c 2013-12-17 21:00:02 -08:00
Ryan VanderMeulen
3fdded06ae Merge m-c to b2g-inbound. 2013-12-17 16:22:49 -05:00
Ryan VanderMeulen
947a3e877b Merge b2g-inbound to m-c. 2013-12-17 16:17:49 -05:00
Kartikaya Gupta
d5750e38bc Bug 951256 - Dump the APZC guid in rendertrace output. r=Cwiiis 2013-12-17 15:20:21 -05:00
Kartikaya Gupta
89188d1d52 Bug 951256 - Add a GetGuid function with return value to APZC. r=Cwiiis 2013-12-17 15:20:20 -05:00
Kartikaya Gupta
38db1b6d37 Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis 2013-12-17 14:25:57 -05:00
Ryan VanderMeulen
81208466f0 Merge m-c to inbound. 2013-12-17 16:20:31 -05:00
Markus Stange
8a9382d2d4 Bug 951186 - Propagate the current compositor in ContentHostBase::UseTextureHost. r=nical 2013-12-17 17:11:14 +01:00
Chris Lord
aa34694d94 Bug 950696 - Cache the 'enable tiles' layers pref. r=bgirard
Rename layers.force-tiles to layers.enable-tiles and cache it with the other
layers prefs in gfxPlatform.
2013-12-17 14:02:16 +00:00
Carsten "Tomcat" Book
799e8605e5 Merge mozilla-central to mozilla-inbound 2013-12-17 13:16:00 +01:00
Jacek Caban
03f0f15e52 Bug 945292 - Makefile.in part. r=glandium 2013-12-17 12:06:08 +01:00
Wes Kocher
9d014eeca5 Merge m-c to b2g-inbound 2013-12-16 21:36:02 -08:00
Wes Kocher
b8a8bd4ca4 Merge inbound to m-c 2013-12-16 21:33:31 -08:00
Ryan VanderMeulen
d81cf59890 Backed out changeset 96b0ddfc63f7 (bug 893304) for causing bug 950589. 2013-12-16 22:49:02 -05:00
Alessandro Decina
19a6d5698e Bug 928806 - Allow SharedPlanarYCbCrImage images to optionally have padding
Overload YCbCrImageDataSerializer.InitializeBufferInfo to take explicit plane
offsets. Make SharedPlanarYCbCrImage::SetDataNoCopy set the offsets based on the
Y, Cb and Cr plane pointers passed by the caller. r=nical
2013-12-16 17:33:47 -05:00
Chris Lord
1b4517798c Bug 943846 - Don't constrain generated display-ports to composition bounds. r=kats 2013-12-16 17:33:30 -05:00
Ryan VanderMeulen
1afb369d7b Merge inbound to m-c. 2013-12-16 16:58:27 -05:00
Kartikaya Gupta
cede2efb3a Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis 2013-12-16 12:04:46 -05:00
Kartikaya Gupta
330e915734 Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn 2013-12-16 12:04:45 -05:00
Matt Woodrow
eb8c0db39a Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc 2013-12-16 18:38:42 +13:00
Nicholas Cameron
09c8658b26 Bug 950504. Remove MatrixForThebesMatrix. r=mattwoodrow
--HG--
extra : rebase_source : 77103221abbb55d23f9d399d4973ef0b8f269079
2013-12-16 11:17:58 +13:00
Phil Ringnalda
621c1f564f Back out e9ca04f323d0 (bug 928806) on suspicion of causing ASan and Linux debug gtest crashes
CLOSED TREE
2013-12-15 13:58:28 -08:00
Alessandro Decina
4cbb4e5bcc Bug 928806 - Allow SharedPlanarYCbCrImage images to optionally have padding. r=nical
Overload YCbCrImageDataSerializer.InitializeBufferInfo to take explicit plane
offsets. Make SharedPlanarYCbCrImage::SetDataNoCopy set the offsets based on the
Y, Cb and Cr plane pointers passed by the caller.
2013-12-15 14:06:14 -05:00
Phil Ringnalda
090c7b57b2 Merge f-t to m-c 2013-12-14 18:21:57 -08:00
Jim Mathies
c4383a34ed Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy 2013-12-14 14:40:55 -06:00
Ryan VanderMeulen
c7ce80e17d Merge inbound to m-c. 2013-12-13 16:15:52 -05:00
Vivien Nicolas
239243f295 Bug 949404 - Applications are half repainted once the keyboard is closed. r=Cwiiis 2013-12-13 18:23:47 +01:00
Morris Tseng
be2c762574 Bug 893304 - Convert CanvasClient to new TextureClient/Host. r=nical, r=snorp, r=jgilbert 2013-12-13 12:45:13 -05:00
Tor Arvid Lund
217a12d499 Bug 929513 - Fix compile errors on Windows/Android r=nical
Forgot an include in the ImageLayerD3D9.cpp file (though I am unable to
reproduce the issue on my own windows installation).

Also seems in my previous attempt to fix the build, I introduced a
breakage for Android. Hopefully this will fix things.
2013-12-13 18:32:10 +01:00
Tor Arvid Lund
be32bf6ad2 Bug 929513 - Replace gfxIntSize in layers/AutoOpenSurface.h r=nical
This rippled into other replacements in layers and in gfx/gl.
2013-12-13 18:32:06 +01:00
Tor Arvid Lund
944f0d6f3b Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Tor Arvid Lund
c50719a5fc Bug 929513 - Add YCbCrUtils class and change gfxIntSize in BasicCompositor r=nical
The purpose of this patch is to replace usages of gfxIntSize with
gfx::IntSize in BasicCompositor.

The new class YCbCrUtils has two methods ported from gfxUtils in thebes.
BasicCompositor now uses these methods instead of the ones in gfxUtils.
Also changed gfxIntSize to gfx::IntSize and gfxImageFormat to
gfx::SurfaceFormat.
2013-12-13 18:31:57 +01:00
Tor Arvid Lund
ad63ca899f Bug 929513 - Change gfxSize references to gfx::Size r=nical 2013-12-13 18:31:53 +01:00
Tor Arvid Lund
99aac8e7ec Bug 929513 - Remove unused #include statements r=nical 2013-12-13 18:31:35 +01:00
Wes Kocher
3b7fc0a192 Merge inbound to m-c 2013-12-12 19:12:51 -08:00
Kevin Simons
6f30280ed4 Bug 944646 - Implement Skia path in ScaledFontBase::CopyGlyphsToBuilder. r=mattwoodrow
Handle PathBuilderSkia with a separate path specifically for
BACKEND_SKIA DrawTarget instances.
2013-12-12 17:37:00 -05:00
Kevin Simons
63eee7d672 Bug 944646 - Check the DrawTarget type before downcasting PathBuilders. r=mattwoodrow
Previously the ScaledFontBase::CopyGlyphsToBuilder methods in the
various ScaledFont subclasses static_cast-ed the passed in PathBuilder
objects without checking which sort of DrawSurface they were created by.
2013-12-12 17:37:00 -05:00
Kartikaya Gupta
c140804ff3 Bug 949310. r=BenWa 2013-12-12 13:34:50 -05:00
Carsten "Tomcat" Book
55aa72e7a2 Merge mozilla-central to b2g-inbound 2013-12-12 16:17:29 +01:00
Jonathan Watt
0f0ab858a5 Bug 944704, part 4 - Fix PathBuilderCG::Arc to sweep in the correct direction. r=Bas 2013-12-14 11:09:36 +00:00
Bas Schouten
496577a876 Bug 946540: Deal with inflection points that all lie outside of (0, 1). r=jrmuizel 2013-12-13 15:22:37 +01:00
Jonathan Watt
c437f0cb93 Bug 944704, part 1 - Extend Moz2D's ArcToBezier helper so that it can draw ellipse arcs in addition to circle arcs. r=Bas 2013-12-13 12:14:36 +00:00
Jeff Muizelaar
d2a14a64bd Bug 951216. Avoid unnecessary Snapshot() copies by clearing the pattern. r=Bas
gfxSurfaceDrawable::Draw() sets a gfxPattern(Snapshot()) to the gfxContext's
pattern. If the gfxSurfaceDrawable is created by
CreateSamplingRestrictedDrawable it will be destroyed before the Snapshot().
This causes the Snapshot to be copied unnecessarily.

If we set the pattern to something else we'll destroy the snapshot before the
gfxSurfaceDrawable and save a copy.

--HG--
extra : rebase_source : 03864e8a0fe021940747cf691df30ec51e4d8b2d
2013-12-17 13:33:34 -05:00
Kartikaya Gupta
34d4589061 Bug 951320 - Use the composition bounds in CSS pixels when expanding the scrollable rect. r=k17e 2013-12-18 09:13:52 -05:00
Mike Hommey
255ad3e210 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Ryan VanderMeulen
da7f948f87 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Dale Harvey
6ecc49a360 Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats 2013-12-12 00:39:06 +00:00
Ryan VanderMeulen
ea2a161036 Merge m-c to b-i. 2013-12-11 13:37:13 -05:00
Dale Harvey
723144bf9c Bug 946661 - Dont send tapconfirmed event when tapup was handled. r=kats 2013-12-11 17:19:42 +00:00
Kartikaya Gupta
cefb3d2655 Bug 946661 - Add APZC tests for short and medium length taps. r=daleharvey 2013-12-11 17:19:33 +00:00
Kartikaya Gupta
833740acc1 Bug 947931 - Remove unnecessary locking now to avoid potential for deadlock. r=botond,BenWa 2013-12-11 12:15:10 -05:00
Edwin Flores
c28ac094b6 Bug 934412 - Pass surface image format into CreateTextureImage r=nical 2013-12-11 15:14:16 +01:00
Cameron McCormack
f720004d48 Bug 773296 - Part 16a: Followup to move to using nsCSSValueSharedList in OMTA code. r=roc 2013-12-12 13:09:44 +11:00
Cameron McCormack
835faf601a Bug 773296 - Part 16: Add a ref-counted list nsCSSValue unit and use it for tranform lists; hold a strong reference to one on nsStyleDisplay. r=dbaron
This adds a new eCSSUnit_SharedList type for nsCSSValue, which is a
reference counted object that contains an nsCSSValueList.  We need this
so that nsStyleDisplay::mSpecifiedTransform can hold a strong reference
to a specified transform list value.  When 'transform' is specified
using a variable reference, the resulting nsCSSValue does not stick
around in the Declaration object, so we wouldn't be guaranteed that
it lives long enough for nsStyleDisplay to keep referencing it.
2013-12-12 13:09:44 +11:00
Jacek Caban
ab8a15b97f Bug 945230 - Fixed char16_t/wchar_t mismatch in gfx/thebes/. r=bas.schouten 2013-12-11 10:46:41 +01:00
Nicholas Cameron
7bbc5b308c Bug 948555. Fix a bogus assert in CompositorParent. r=mattwoodrow 2013-12-11 16:51:00 +13:00
Ryan VanderMeulen
a762d43c40 Merge m-c to inbound. 2013-12-10 15:48:16 -05:00
Ryan VanderMeulen
c8bf34a922 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
John Daggett
648ee5ceb5 Bug 947812 - log font name loading times. r=bas 2013-12-11 09:58:27 +09:00
John Daggett
dd13cfa6ca Bug 947812 - use DirectWrite API for fullname/psname lookup. r=bas 2013-12-11 09:58:19 +09:00
Nicholas Cameron
a3ead405d2 Bug 946958 part 5. Misc tidy ups. r=mattwoodrow 2013-12-09 14:41:00 +13:00
Nicholas Cameron
6517f3b849 Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
141476d871 Bug 946958 part 3. Remove thebes callbacks. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
83ac5d30d9 Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
b8cb20debc Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
98ee79e6b1 Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Nicholas Cameron
daefac40cc Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Nicholas Cameron
62b1b9650d Bug 945632. Assert we've released memory which the host should have released. r=nical 2013-12-04 22:03:29 -05:00
Jeff Muizelaar
e8b2f580b5 Bug 947379. Remove MOZ_PANGO. r=jfkthame
We haven't been able to build with this since
2008. Time for it to go.

--HG--
extra : rebase_source : 0e25f91e2a4308d3873ca2c240347b25d70d69c5
2013-12-09 10:03:28 -05:00
Ehsan Akhgari
d9cd92fa17 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
John Daggett
2ddd70117a merge 2013-12-12 10:50:57 +09:00
John Daggett
6344fce7da Bug 947812 - bracket log calls with #ifdef PR_LOGGING. r=heycam 2013-12-12 09:28:40 +09:00
Matt Woodrow
ccc8dd1ae7 Bug 946475 - Avoid using AutoSaveRestoreClippedOut for ClearRect when the cumulative clip can be represented as a single axis aligned rectangle. r=Bas 2013-12-12 10:11:37 +13:00
Matt Woodrow
2c52ae2935 Bug 946475 - Clip to the clear area in DrawTargetD2D::ClearRect so that we don't accidentally restore pixels that weren't drawn. r=Bas 2013-12-12 10:11:07 +13:00
Matt Woodrow
22a56a80d8 Bug 948221 - Part 6: Make UnpremultiplyImageSurface work on surfaces that don't have matching strides. r=roc 2013-12-12 10:05:26 +13:00
Matt Woodrow
f74e3ca655 Bug 948221 - Part 5: Make GetSourceSurfaceForSurface use the screen reference draw target if one isn't specified. r=Bas 2013-12-12 10:05:26 +13:00
Dan Glastonbury
c1e90c664c Bug 942506 - Remove Bind method from AutoBindTexture - r=bjacob
Refactored the places where AutoBindTexture::Bind was used. Replaced with a
simplier class that just saves the texture id bound to a texture unit. The
texture is bound directly instead of via the helper.

I didn't eliminate all occurences of AutoBindTexture because I a few places it
was cleaner than using AutoSaveTexture + TextureSourceOGL->BindTexture.

I extracted the cut'n'paste code that bound the mask texture to program into
BindMaskTextureForProgram. I dislike cut'n'paste code in multiple spots.
2013-12-10 16:50:52 +10:00
Dan Glastonbury
6c65252846 Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury
43de65aff6 Bug 942502 - Move EGLImage/GraphicBuffer-specific helpers out of GLContext - r=bjacob
Extracted methods CreateEGLImageForNativeBuffer and DestroyEGLImage from
GLContext and moved to EGLImageHelpers.[h|cpp]. Renamed to
EGLImageCreateFromNativeBuffer and EGLImageDestroy.
2013-12-10 15:47:19 +10:00
Dan Glastonbury
852050b9d5 Bug 942502 - Remove dead GLContext code - r=bjacob 2013-12-06 14:19:15 +10:00
Benoit Jacob
777f58aa8f Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical 2013-12-11 20:45:11 -05:00
Benoit Jacob
1e0598d8ff Bug 897452 - Part 14 - Implement CompositableChild::ActorDestroy clearing the back-reference to it - r=nical 2013-12-11 20:45:09 -05:00
Benoit Jacob
2b64514aa1 Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc 2013-12-11 20:45:07 -05:00
Benoit Jacob
f959caefed Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc 2013-12-11 20:45:05 -05:00
Benoit Jacob
ed994057d8 Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc 2013-12-11 20:45:03 -05:00
Benoit Jacob
4002af5009 Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 20:45:01 -05:00
Benoit Jacob
50dc540401 Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical 2013-12-11 20:44:59 -05:00
Benoit Jacob
ceed874023 Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical 2013-12-11 20:44:57 -05:00
Benoit Jacob
01d1d555ef Bug 897452 - Part 7 - Implement TextureChild::ActorDestroy to notify its TextureClient - r=nical 2013-12-11 20:44:55 -05:00
Benoit Jacob
753ed366fa Bug 897452 - Part 6 - assert that the forwarder we're initializing our TextureChild with is non null - r=nical 2013-12-11 20:44:53 -05:00
Nicolas Silva
f05d1f265f Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa 2013-12-11 20:44:51 -05:00
Nicolas Silva
1682796eb5 Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob 2013-12-11 20:44:49 -05:00
Nicolas Silva
71035219a2 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 20:44:47 -05:00
Nicolas Silva
3750f7b1c7 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 20:44:45 -05:00
Nicolas Silva
b16fe8751c Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Nicolas Silva
6948c2eaa2 Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow 2013-12-11 20:44:41 -05:00
Nicolas Silva
1a375fff5a Bug 897452 - Part 0.1 - Make it possible for TextureClient to call virtual methods just before its destructor. r=bjacob 2013-12-11 20:44:40 -05:00
Nicholas Nethercote
e02408b49d Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
67495eb7f8 Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Jeff Muizelaar
83c82623c2 Bug 947847. Avoid reseting to empty rects. r=BenWa
pixman_region32_reset will give an error if the rectangle you pass to it is
empty. We can just check before hand if the rect is empty and in that case just
call pixman_region32_clear instead of pixman_region32_reset.

--HG--
extra : rebase_source : dbdde170f391b6e5c8808717039677b026adb701
2013-12-09 18:22:45 -05:00
Matt Woodrow
3426c1d1b0 Bug 948221 - Part 4: Add a gfxSurfaceDrawable constructor that takes a SourceSurface. r=roc 2013-11-27 14:05:03 +13:00
Matt Woodrow
9cd39ec436 Bug 948221 - Part 3: Fix a bug where a SurfacePattern created by gfxPattern didn't respect the requested filter mode. r=Bas 2013-12-12 10:05:26 +13:00
Kartikaya Gupta
434cbb1f01 Bug 814435 - Prevent scrollbars from fading out while user is scrolling. r=botond 2013-12-09 22:14:55 -05:00
Kartikaya Gupta
546900080a Bug 814435 - Apply a shadow transform to scrollbar layers to keep them in sync with async transforms. r=BenWa 2013-12-09 22:14:54 -05:00
Kartikaya Gupta
cb968a6256 Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa 2013-12-09 22:14:53 -05:00
Nicholas Cameron
0975651361 Bug 945088. Use the correct device offset in gfxContext. r=mattwoodrow 2013-12-09 21:04:44 +13:00
Birunthan Mohanathas
bda2ee34d2 Bug 798033 - Remove 'using namespace' from gfx/ headers. r=jrmuizel 2013-12-08 21:53:26 -05:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Phil Ringnalda
a1bcd56fe8 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
6592a1c312 Bug 946958 part 5. Misc tidy ups. r=mattwoodrow 2013-12-09 14:41:00 +13:00
Nicholas Cameron
87cd3345ad Bug 946958 part 4. Tidy up interaction with widgets. r=kats 2013-12-09 14:40:59 +13:00
Nicholas Cameron
c5af3db619 Bug 946958 part 3. Remove thebes callbacks. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
c9776c970e Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
748b779dd2 Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
cc8a96960a Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Nicholas Cameron
6c86bf2741 Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow 2013-12-09 14:40:58 +13:00
Jonathan Watt
34f76a78c2 Bug 947728 part 1 - Introduce a new 'number-input' value for -moz-appearance that behaves exactly as 'textfield' does. r=roc 2013-12-08 23:23:28 +00:00
Martin Stransky
f09c774110 Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
Markus Stange
a1eb364ab3 Bug 945655 - Don't let transparent flood filter primitives contribute to the filter extents. r=roc 2013-12-10 14:50:42 +01:00
Markus Stange
e69b07dddd Bug 945655 - When the arithmetic composite factors make us ignore one of the input images, don't let its size contribute to the filter extents. r=roc 2013-12-10 14:50:42 +01:00
Markus Stange
52939725ed Bug 945655 - Composite filters with operator IN have a result that is the intersection of the input rects, not the union. r=roc 2013-12-10 14:50:42 +01:00
Markus Stange
cf45dd0b45 Bug 945655 - Improve FilterNodeSoftware debug logging. r=roc 2013-12-10 14:50:41 +01:00
Markus Stange
931079671a Bug 945655 - Reduce arithmetic combine filter output rect depending on the coefficients. r=roc 2013-12-10 14:50:41 +01:00
Markus Stange
14879d50bc Bug 945655 - Composite filters with operator IN have a result that is the intersection of the input rects, not the union. FilterNodeSoftware part. r=roc 2013-12-10 14:50:41 +01:00
Markus Stange
9927ea1975 Bug 945655 - Make transparent flood filters report an empty output rect. r=roc 2013-12-10 14:50:41 +01:00
Markus Stange
c0ceead6e7 Bug 945655 - Simplify the crop FilterNodeSoftware filter. r=roc 2013-12-10 14:50:40 +01:00
Markus Stange
b2339b298c Bug 945655 - Don't add transparency around the filter output before sending it to DrawSurface. r=roc 2013-12-10 14:50:40 +01:00
Markus Stange
03990862ae Bug 945655 - Make all filters deal with null inputs and empty output rects consistently: treat them as transparent. r=roc 2013-12-10 14:50:40 +01:00
Benoit Girard
1b38605e36 Bug 904227 - Expect any number of calls to SendAsyncScrollDOMEvent. r=kats 2013-12-07 12:45:19 -05:00
Ryan VanderMeulen
469134ec10 Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Phil Ringnalda
2b57a7b89d Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes 2013-12-12 23:33:50 -08:00
David Anderson
a93471ff5e Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow). 2013-12-12 20:29:14 -08:00
Ryan VanderMeulen
adf6ecbe13 Merge m-c to inbound. 2013-12-13 16:16:46 -05:00
Benoit Jacob
93b907d0c2 Bug 948406 - Append some zeros to EGL attrib lists to work around a bug in Android/B2G emulator - r=vladv 2013-12-13 15:15:07 -05:00
Chris Lord
a5acbd4394 Bug 936500 - Don't copy Axis when creating a FlingAnimation. r=kats
FlingAnimation was, likely accidentally, creating copies of the axes it was
animating and operating on those, which lead to problems when displayports
were calculated based on the original copies which housed old values.
2013-12-13 19:37:42 +00:00
Benoit Girard
f335da97be Bug 941095 - Part 2: Disable subpixelaa + component alpha. r=mattwoodrow
--HG--
extra : rebase_source : 7e3a0d3710fb29b47615cc0254135d3b44637ed8
2013-12-13 13:53:18 -05:00
Benoit Girard
ce6793e97f Bug 941095 - Part 1: Support SetPermitSubpixelAA with Quartz. r=bas
--HG--
extra : rebase_source : 69171a8a17a34c822b34f48babecf18ffa08bf56
2013-12-11 23:16:03 -05:00
Bill McCloskey
88328fd5a2 Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg) 2013-12-12 14:13:20 -08:00
Benoit Jacob
ccf97a5a57 Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical 2013-12-11 13:05:37 -05:00
Benoit Jacob
fd6a5ca5ea Bug 897452 - Part 14 - Implement CompositableChild::ActorDestroy clearing the back-reference to it - r=nical 2013-12-11 13:05:35 -05:00
Benoit Jacob
fa6675d130 Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc 2013-12-11 13:05:34 -05:00
Benoit Jacob
cffc534d77 Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc 2013-12-11 13:05:32 -05:00
Benoit Jacob
64ca86295e Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc 2013-12-11 13:05:29 -05:00