Commit Graph

6763 Commits

Author SHA1 Message Date
George Wright
7be3f67639 Bug 869178 - se SUkCanvas::drawBitmapRect instead of a bitmap SkShader; it's slightly faster r=snorp 2012-11-15 19:57:40 -05:00
George Wright
f151c5a4e2 Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2012-08-05 02:29:18 -04:00
George Wright
d1cad4aad4 Bug 736276 - Add a new SkFontHost that takes a cairo_scaled_font_t r=karl 2012-08-01 16:43:15 -04:00
Kartikaya Gupta
d14fe49737 Bug 867269 - Fix ifdef condition from ea568a1576e5. r=me DONTBUILD 2013-05-01 16:10:17 -04:00
Jonathan Kew
523b58972b bug 837498 - work around DWrite/GDI 'cmap' discrepancy for Italic fonts with Hebrew system locale. r=smontagu 2013-05-01 20:40:19 +01:00
Kartikaya Gupta
a9d47b89e9 Bug 866184 - Update SyncViewportInfo and SyncFrameMetrics to take a gfx::Point instead of floats. r=BenWa 2013-05-01 14:12:08 -04:00
Kartikaya Gupta
6956cbef05 Bug 867269 - Fix breakage in SyncFrameMetrics override. r=nrc 2013-05-01 10:49:27 -04:00
Matt Woodrow
f7d12ccdaa Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa 2013-05-01 17:03:27 +12:00
Matt Woodrow
c727739057 Bug 867474 - Split BasicShadowableLayerManager into a separate ClientLayerManager. r=nrc
--HG--
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/CopyableCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/CopyableCanvasLayer.h
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/client/ClientCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/client/ClientCanvasLayer.h
rename : gfx/layers/basic/BasicColorLayer.cpp => gfx/layers/client/ClientColorLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.cpp => gfx/layers/client/ClientContainerLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.h => gfx/layers/client/ClientContainerLayer.h
rename : gfx/layers/basic/BasicImageLayer.cpp => gfx/layers/client/ClientImageLayer.cpp
rename : gfx/layers/basic/BasicLayerManager.cpp => gfx/layers/client/ClientLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.h => gfx/layers/client/ClientLayerManager.h
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/client/ClientThebesLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/client/ClientThebesLayer.h
rename : gfx/layers/basic/BasicTiledThebesLayer.cpp => gfx/layers/client/ClientTiledThebesLayer.cpp
rename : gfx/layers/basic/BasicTiledThebesLayer.h => gfx/layers/client/ClientTiledThebesLayer.h
2013-05-01 17:03:25 +12:00
Matt Woodrow
ace055b629 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Daniel Holbert
9ae2c99b12 Bug 867420: Annotate AsyncPanZoomController as MOZ_FINAL to calm GCC Wdelete-non-virtual-dtor build warning. blanket-r=ehsan 2013-04-30 15:32:03 -07:00
Jeff Muizelaar
a9d968b454 Bug 845125. Fix impromper use of CheckedInt.
Previously we're missing the multiplication.
2013-04-30 15:46:22 -04:00
Bas Schouten
551f8210c5 Bug 866952: Unregister from old GrallocBufferActor when switching buffers. r=bjacob 2013-04-30 12:14:21 +02:00
Bas Schouten
bf1eca67ce Bug 864017: Deal with GrallocPlanarYCbCrImage on the client side. r=bjacob 2013-04-30 12:14:20 +02:00
Bas Schouten
19104a6bd2 Bug 866521: Deal with other PixelFormats for Gralloc buffers. r=bjacob 2013-04-30 12:14:20 +02:00
Jonathan Kew
bddd660d8e bug 866747 - stroke glyphs individually instead of making a single path for the entire text run. r=bas 2013-04-30 19:26:28 +01:00
Jonathan Kew
e73c66cc0a bug 863248 - update harfbuzz to version 0.9.16 from upstream. r=jdaggett 2013-04-30 13:02:25 +01:00
Ed Morley
97291cb21b Backed out changeset 61d2bdb83bbb (bug 863248) for failures in kerning-sanity-check-nokern.html 2013-04-30 12:13:14 +01:00
Jonathan Kew
09fc406783 bug 863248 - update harfbuzz to version 0.9.16 from upstream. r=jdaggett 2013-04-30 09:29:55 +01:00
Nicholas Cameron
15ca66c5f1 Bug 788319. Rename RenderToEGLSurface. r=kats 2013-04-30 15:16:04 +12:00
Nicholas Cameron
98fdef5930 Bug 788319, fixups to make EGL work with gtk. r=bjacob 2013-04-30 15:16:04 +12:00
Nathan Froyd
8eeb78adb2 Bug 863264 - delete pointless initialization of mBoundingBox in gfxFont::RunMetrics constructor; r=BenWa 2013-04-29 15:52:27 -04:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Milan Sreckovic
581f025119 Bug 845125 - Add gfxImageSurface constructor that allocates more space than needed, change AlphaBoxBlur to not hold on to the data and let the callers manage it. r=jmuizelaar 2013-04-19 12:13:18 +02:00
Nicholas Cameron
efa3ca5eea Bug 861727. Refactor CompositorParent a bit. r=BenWa
--HG--
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/composite/AsyncCompositionManager.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/composite/AsyncCompositionManager.h
2013-04-28 18:46:30 +12:00
Benoit Jacob
dd0a4affe0 Bug 862324 - Let the PGrallocBufferParent inform the TextureHost when it's going away - r=nrc 2013-04-26 23:31:53 -04:00
Jeff Muizelaar
71e8463068 Bug 863392 - Disconnect layer during abnormal shutdown - r=nical 2013-04-26 15:18:16 -04:00
Kartikaya Gupta
082f9b2c93 Bug 839641 - Add a syncFrameMetrics code path to push viewport changes from APZC to Java. r=Cwiiis, BenWa 2013-04-26 13:26:39 -04:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Jonathan Kew
4495f7617b bug 699331 - pt 1 - replace hardcoded font-loader constants with prefs to allow easier tuning. r=jdaggett 2013-04-26 08:40:44 +01:00
Chris Lord
b365c94dfd Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Chris Lord
0282df309d Bug 853867 - Allow --enable-gtest on Android and fix build issues. NPOTB r=bas,bgirard
--HG--
extra : rebase_source : 2e870fd157ea7e9a4de4cf8f4d465784eab0ff8e
2013-04-25 15:39:33 -04:00
James Willcox
6819dc296c Bug 862448 - Fix the fast fencing path for GL when drawing buffer is preserved r=jgilbert 2013-04-25 16:27:43 -04:00
Jeff Gilbert
2c93e9b902 Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson 2013-04-25 09:35:50 -07:00
Nicolas Silva
3f8a7bbc88 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-25 18:25:33 -04:00
Benjamin Chen
4959c6d286 Bug 862240 - Add null checking and reset the runnable member pointer when entering runnable method. r=drs 2013-04-25 03:58:10 +08:00
Ryan VanderMeulen
5807924b81 Backed out changeset ba934ac9fc6b (bug 862448) for B2G reftest crashes.
CLOSED TREE
2013-04-25 11:00:58 -04:00
Ryan VanderMeulen
9cccb1d7a4 Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
CLOSED TREE
2013-04-25 10:56:54 -04:00
James Willcox
cf20d375ea Bug 862448 - Fix the fast fencing path for GL when drawing buffer is preserved r=jgilbert 2013-04-25 09:28:04 -04:00
Nicholas Cameron
3a548cca4d Bug 861636. Add some null checking to the ensure texture path and make EnsureTextureHost return void. r=nical 2013-04-25 02:32:43 +12:00
Matt Woodrow
5ffc497bd0 Bug 863922 - Use the device pixel size of plugin IOSurfaces since layers handles resolution scaling already. r=BenWa 2013-04-25 10:31:12 +12:00
Chris Lord
e0579b7ab8 Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Ryan VanderMeulen
cda9e3facf Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
8e84adc98a Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-24 15:40:26 -04:00
Nicolas Silva
b18dc950c7 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Cykesiopka
ad08e18549 Bug 645402 - Remove ToInteger() workarounds in mozilla-central. r=bz 2013-04-24 08:36:09 -04:00
Makoto Kato
803532ef87 Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg 2013-04-24 16:40:33 +09:00
Raul
91868f812c Bug 846360 - Fix build error on older clang versions on mac. r=jrmuizel 2013-04-03 13:14:00 +02:00
Nicholas Cameron
6e8d3cc036 Bug 863968. Don't unbind frame buffer if we didn't composite. r=bjacob 2013-04-23 02:59:50 +12:00
Ehsan Akhgari
34e21f4536 Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Ehsan Akhgari
5394b1f9c1 Backed out changeset 86959499a5b8 (bug 856079) because of build bustage 2013-04-22 17:44:12 -04:00
Nicolas Silva
a9c99fbd1c Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-22 18:41:29 -04:00
Nicolas Silva
e4c0f3bbfd Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Ryan VanderMeulen
4272b0bfcf Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
b00da928b1 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Matt Woodrow
cb24939c8e Bug 809273 - Remove unused BasicShadowContainerLayer. r=nrc 2013-04-22 14:40:53 +12:00
Matt Woodrow
da99ed271a Bug 809273 - Make mUseIntermediateSurface and mSupportsComponentAlpha on BasicShadowableContainerLayers match the compositor. r=roc 2013-04-22 14:40:52 +12:00
Matt Woodrow
7fe2ff7276 Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc 2013-04-22 14:40:52 +12:00
Matt Woodrow
9c71a945d5 Bug 809273 - Add code for handling dual buffers in ContentHost. r=nrc 2013-04-22 14:40:52 +12:00
Matt Woodrow
31f175216a Bug 809273 - Remove old buffer provider code. r=nrc 2013-04-22 14:40:52 +12:00
Matt Woodrow
d3988fdc9d Bug 809273 - Let ContentHost create an EffectComponentAlpha if necessary. r=nrc 2013-04-22 14:40:52 +12:00
Matt Woodrow
72ba1cbdff Bug 809273 - Add AutoLockTextureHost and use it to avoid needing to manually unlock. r=nrc 2013-04-22 14:40:52 +12:00
Matt Woodrow
546d90da40 Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc 2013-04-22 14:40:51 +12:00
Ms2ger
7c1ae1ff7c Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
Ms2ger
4ca0edf654 Bug 846634 - Followup: remove straggler EXPORT definitions; r=mshal 2013-04-21 08:41:06 +02:00
Ed Morley
922c71bb84 Backed out changeset faf24511d2c6 (bug 861636) for Android mochitest-2 failures 2013-04-19 11:57:48 +01:00
Nicholas Cameron
5ea08038e0 Bug 861636. Add some null checking to the ensure texture path. r=nical 2013-04-19 19:33:02 +12:00
Kartikaya Gupta
4bbf34e342 Bug 833964 - Don't keep a dangling pointer to a task that is about to get deleted. r=drs 2013-04-18 15:43:17 -04:00
Daniel Holbert
bd8e8a6aa7 Bug 863043: Move CompositorOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=Bas 2013-04-17 15:34:26 -07:00
Kartikaya Gupta
97ba87bdf2 Bug 860613 - Add an API to bind an APZC instance to a Layer. r=BenWa 2013-04-17 17:39:13 -04:00
Kartikaya Gupta
76b18fccfa Bug 860613 - Remove CompositorParent::GetDefaultPanZoomController (patch from romaxa/tatiana). r=BenWa 2013-04-17 17:39:12 -04:00
Benoit Jacob
aa9c15c097 Bug 860441 - trivial compile fix on non-gonk - no review, CLOSED TREE 2013-04-17 17:18:15 -04:00
Benoit Jacob
44f85252bd Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva 2013-04-17 16:56:03 -04:00
Daniel Holbert
287b430a79 Bug 862621: Remove unused variable 'shmType' from SharedPlanarYCbCrImage::Allocate. r=Bas 2013-04-17 10:08:39 -07:00
Nicholas Cameron
b1c1f32e3f Bug 862236, check we have a compositable before using it as a mask layer. r=mattwoodrow 2013-04-17 17:10:50 +12:00
Matt Woodrow
6dd001de36 Bug 860615 - Remove MacIOSurfaceImage. r=BenWa 2013-04-17 14:21:07 +12:00
Matt Woodrow
f0f4c96842 Bug 860615 - Add SharedTextureHandle support to ImageLayerOGL. r=BenWa 2013-04-17 14:21:06 +12:00
Matt Woodrow
81b06ba84f Bug 860615 - Add SharedTextureHandle support to GLContextCGL. r=jgilbert 2013-04-17 14:21:06 +12:00
Matt Woodrow
631e98fb1c Bug 860615 - Add CreateSharedHandle to GLContextProvider so we can create one without a GLContext. r=jgilbert 2013-04-17 14:21:06 +12:00
Matt Woodrow
0b2d2c65a4 Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa 2013-04-17 14:21:06 +12:00
Nicholas Cameron
7e34b182d7 Bug 862106. Use Create*Client directly. r=nical
--HG--
extra : rebase_source : d903db2fcb68bbccff9548dfbcd215d9a25ba41c
2013-04-17 09:36:06 +12:00
Nicholas Cameron
35cf82d17b Bug 862064; use PCompositable for tiled layers and add TiledContentClient. r=nical
--HG--
extra : rebase_source : b0055e13b661f78bc0e7168c0df8c6082cfdb34e
2013-04-17 09:36:06 +12:00
Nicholas Cameron
89e6b263d4 Bug 861490, fix crash in MaybeDrawRoundedBottomCorners with OMTC. r=mattwoodrow
--HG--
extra : rebase_source : 849e63417a94cd260e6722c83018f9937c0cb339
2013-04-17 09:35:57 +12:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Daniel Holbert
3e144cf08d No bug; fix typo in header comment for gfxCallbackDrawable. comment-only, DONTBUILD 2013-04-16 09:53:33 -07:00
Benoit Jacob
89887a1712 Bug 863397 - remove a couple more unused static functions - r=nical 2013-04-20 10:08:18 -04:00
Benoit Jacob
e48938d5e1 Bug 863397 - remove more dead B2G paths, mostly in TextureImage - r=nical 2013-04-20 10:08:18 -04:00
Benoit Jacob
e4f2a0f4e1 Bug 863397 - kill BindExternalBuffer and UnbindExternalBuffer with FIRE - r=jgilbert 2013-04-20 10:08:18 -04:00
Benoit Jacob
bb033f5949 Bug 863397 - Remove all the eglLockSurface-using code; leave the GL symbols in - r=jgilbert 2013-04-20 10:08:18 -04:00
Benoit Jacob
70367196cb Bug 863397 - Trim ImageLayerOGL from B2G paths (it's no longer used on B2G) - r=Bas 2013-04-20 10:08:18 -04:00
Ehsan Akhgari
8169fa0d20 Backed out changeset 93099b76959f (bug 829954) because of Windows reftest failures on a CLOSED TREE 2013-04-19 16:05:15 -04:00
Ehsan Akhgari
8d166b4851 Backed out changeset 4440571ee8fb (bug 805406) because of Windows reftest failures 2013-04-19 16:05:00 -04:00
Bas Schouten
c914753c7c Bug 805406: Reduce memory usage by removing GDI_COMPATIBLE flag. r=jrmuizel 2013-04-19 18:47:40 +02:00
Bas Schouten
6359f298b9 Bug 829954: Make AlphaBoxBlur allocation fallible. r=jrmuizel 2013-04-19 18:46:52 +02:00
Nicholas Nethercote
500e72cfdf Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Nicholas Cameron
0068a648e9 Bug 861099, remove mBufferIsOpaque. r=mattwoodrow
--HG--
extra : rebase_source : 89b98f9a1d73bc549fe718e52882e71c42dd6d67
2013-04-16 11:43:22 +12:00
Nicholas Cameron
110472cb05 Bug 861731, remove redundent Connect, Attach call. r=nical
--HG--
extra : rebase_source : af4a88fd5ddd8cecfceea49e88eebb37bf833517
2013-04-16 09:40:47 +12:00
Jonathan Watt
0c743dcdbd Bug 861805 - Stop layers from snapping transforms for SVG content. r=roc 2013-04-15 13:30:28 +01:00
Chris Lord
1f8698bb32 Bug 856932 - Fix async scrolling of auto-positioned fixed position elements. r=nrc
Layers representing auto-positioned fixed position elements should not be
offset by the fixed layer margins.
2013-04-15 09:31:48 +01:00
Nicholas Cameron
dbf706c7b5 Bug 861127, refactor ContentClientRemote::CreateBuffer. r=Bas 2013-04-15 13:25:14 +12:00