Chris Lord
9d5f2b19f0
Bug 950050 - Use EXTERNAL for gralloc texture targets on SGX. r=nical
2014-03-18 08:12:40 +00:00
Phil Ringnalda
79d8e75d3b
Back out f79690ca47fa:48828b35e4ce (bug 982318) for b2g mochitest bustage
...
CLOSED TREE
2014-03-18 00:02:24 -07:00
Jonathan Watt
cf5d257ff6
Bug 982884 - Make DrawTargetD2D::GetBitmapForSurface correctly handle fractional source rect for data surfaces. r=Bas
2014-03-13 09:58:22 +00:00
Jonathan Watt
d5e6d48c8a
Bug 984263 - Add methods to Moz2D Matrix to help with translation and rotation matrices. r=Bas
2014-03-18 13:04:47 +08:00
Matt Woodrow
1cad2f57db
Bug 982339 - Get rid of TextureClientPoolMember and use nsTArray so that we releases references when we shutdown. r=Bas
2014-03-18 12:06:25 +08:00
Matt Woodrow
686e2f7be4
Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas
2014-03-18 12:06:23 +08:00
Phil Ringnalda
a05ae08885
Merge m-c to b-i
2014-03-17 22:48:40 -07:00
George Wright
f29878633f
Bug 716766 - Enable NEON Skia codepaths r=snorp
2014-03-07 17:27:10 -05:00
George Wright
1a9f2bf151
Bug 716766 - Only set USE_ANDROID_NDK_CPU_FEATURES if it's not already been explicitly set r=upstream,snorp
2014-03-07 17:01:17 -05:00
Neil Rashbrook
921625ab05
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
2939a367ba
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Chris Peterson
9f74c97105
Bug 666656 - Suppress clang and gcc warnings in third-party gfx code: angle, cairo, and pixman. r=BenWa
2014-02-28 23:16:37 -08:00
Sotaro Ikeda
1f8749fe25
Bug 974152 - Use FrameBuffer's Acquire Fence as Layer buffer's ReleaseFence on gonk r=sushil,nical
2014-03-17 18:36:56 -07:00
Ryan VanderMeulen
6598f49d2f
Merge inbound to m-c.
2014-03-17 13:16:53 -04:00
Ben Kelly
14377342ba
Bug 980027: Part 2: Set compositor thread priority to platform-based value. r=benwa
2014-03-17 11:52:42 -04:00
Jeff Gilbert
0509bb3f52
Bug 982960 - Use glDrawRangeElements in WebGL.drawElements. r=kamidphish
2014-03-17 10:52:56 -04:00
Jeff Gilbert
ed70412b90
Bug 982960 - Add GLContext support for draw_range_elements. r=kamidphish
2014-03-17 10:50:15 -04:00
Tor Arvid Lund
13d86024c0
Bug 973976 - Revert to Thebes path for CopyableCanvasLayer. r=jmuizelaar
...
The performance on the Mac platform degraded after porting the code to
Moz2D in Bug 948765. This patch chooses the old thebes path instead of the
Moz2D path, so that performance is unaffected. This way we can easily
revert this patch at a later time when the perf issue has been fixed.
2014-03-17 10:49:21 -04:00
Tor Arvid Lund
799924e25f
Bug 973976 - Remove redundant work in CopyableCanvasLayer. r=jrmuizel
...
This operator was already initialized to OP_SOURCE, so no need to do it again.
2014-03-17 10:49:04 -04:00
Chris Lord
447b1f2e51
Bug 983202 - Don't call Mutated more than necessary. r=mattwoodrow
...
We call Mutated when the invalid region isn't empty, but progressive updates
mean that we're calling this more frequently than is necessary as transactions
are repeated and the invalid region doesn't change between them.
2014-03-17 09:54:24 +00:00
Matt Woodrow
9d8f118d8d
Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange
2014-03-17 16:42:48 +08:00
Jeff Muizelaar
d821ceab3d
Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
...
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.
2014-03-14 11:24:58 -04:00
Kyle Huey
567b9398be
Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan
2014-03-15 12:00:17 -07:00
Kyle Huey
a5ae9a4da3
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
f7eafc09a9
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Wes Kocher
61b41879b0
Backed out changeset 46d18be48bc4 (bug 981856) for b2g gl bustages
...
* * *
Backed out changeset a2ec4ab256e8 (bug 981856)
2014-03-14 17:33:54 -07:00
Wes Kocher
151501b98b
Backed out 2 changesets (bug 716766) for Android crashes on a CLOSED TREE
...
Backed out changeset 9bd9dcf4de29 (bug 716766)
Backed out changeset 25031a8b8b77 (bug 716766)
2014-03-14 14:03:11 -07:00
Kartikaya Gupta
7457155d44
Bug 979720: Follow-up to fix stupid PTO-brain naming mistake. r=me
2014-03-14 15:55:07 -04:00
Kartikaya Gupta
11bd32947b
Bug 979720 - Convert max velocity from px/ms to inches/ms. r=bkelly
2014-03-14 15:49:00 -04:00
George Wright
94efe8e6f7
Bug 716766 - Enable NEON Skia codepaths r=snorp
2014-03-07 17:27:10 -05:00
George Wright
f4088ca441
Bug 716766 - Only set USE_ANDROID_NDK_CPU_FEATURES if it's not already been explicitly set r=upstream,snorp
2014-03-07 17:01:17 -05:00
Jeff Muizelaar
47e6fd8dc7
Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
...
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.
--HG--
extra : rebase_source : 2a667cc002b5ff4ad279e9483701eaf7952aeda8
2014-03-14 11:24:58 -04:00
Mats Palmgren
3660486bd6
Bug 983019 - Fix a typo in the aMetrics->maxDescent initialization when we failed to create the Cairo font. Also fix a typo so that aSpaceGlyph out-param is assigned as intended. And make the code easier to read. r=jfkthame
2014-03-14 10:37:41 -04:00
Chris Lord
1fdc32318b
Bug 982651 - Make sure to retain the frame resolution of tiled buffers. r=nical
...
Make sure the frame resolution of tiled buffers isn't discarded when they're
sent from client-side to host-side. This fixes drawing of low precision tiles
when the zoom has changed since they were last drawn.
2014-03-14 13:36:33 +00:00
Jacek Caban
a2d1f25ecd
Bug 981607 - Ensure that Log may handle both long and long long. r=botond
2014-03-14 14:05:47 +01:00
Bill McCloskey
d960718b48
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
62d61f05a8
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
cff466f79f
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Ehsan Akhgari
178f47f91d
Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal
2014-03-13 19:31:18 -04:00
Bill McCloskey
624ffda758
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Kartikaya Gupta
d7f810f3af
Bug 930903 - Remove obsolete bit of comment. r=me and DONTBUILD because NPOTB
2014-03-13 18:09:27 -04:00
Benoit Girard
e5c98cfe29
Bug 894933 - Cancel dangling compositor tasks. r=jrmuizel
2014-03-13 16:56:51 -04:00
Kartikaya Gupta
a9019c7fc6
Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond
2014-03-13 15:48:38 -04:00
Bas Schouten
e37c745069
Bug 983157: Backout bug 980647 (31844306c2f1, dcd632ee9a3e). r=backout
2014-03-13 18:55:52 +01:00
George Wright
2973f5bc91
Bug 910754 - Use SkMemory_mozalloc instead r=snorp
2014-03-13 09:50:51 -04:00
Vaibhav Agarwal
292a923c8e
Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher
2014-03-13 10:40:10 -04:00
Botond Ballo
1d1fde2729
Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats
2014-03-12 12:46:57 -04:00
Botond Ballo
87d9d4b831
Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats
2014-03-13 02:34:34 -04:00
Bas Schouten
a4238c3064
Bug 981315 - Followup: Readd accidentally removed macro - for real this time on a CLOSED TREE. r=bustage
2014-03-13 06:44:41 +01:00
Bas Schouten
3c662b2e64
Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal
2014-03-13 06:17:05 +01:00
Jeff Gilbert
011c09d195
Bug 982973 - Add angle-d3dcc47.patch to our ANGLE patch list. - r=vlad
2014-03-12 19:47:08 -07:00
Jeff Gilbert
7a6362407e
Bug 982973 - Tell ANGLE about d3dcompiler_47.dll. - r=vlad
2014-03-12 19:47:07 -07:00
Matt Woodrow
af3af9a806
Bug 971914 - Make TextureSourceOGL responsible for tracking filter state. r=nical
2014-03-13 13:37:17 +13:00
Matt Woodrow
0cf2747abe
Bug 971914 - Don't set and restore state constantly inside CompositorOGL. r=nical
2014-03-13 13:37:17 +13:00
Kartikaya Gupta
67ddba5574
Bug 981029 - Fix the LD transform so that the translation component is in layer pixels. r=botond
2014-03-12 15:27:45 -04:00
Kartikaya Gupta
d655c3edd9
Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond
2014-03-12 15:27:45 -04:00
Oleg Romashin
030b5c8a06
Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kats
...
--HG--
extra : rebase_source : 18b7d36e512c8c1a6c0bc042a054aad5e7ee9801
2014-03-11 09:10:50 -07:00
Nicolas Silva
cfc793b8f1
Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis
2014-03-12 17:29:36 +01:00
Nicolas Silva
d55999a3d1
Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis
2014-03-12 17:28:47 +01:00
Nicolas Silva
5de5370bd5
Bug 982128 - Check that shmem based locks are allocated properly. r=cwiiis
2014-03-12 17:09:37 +01:00
Chris Lord
f1977b5d50
Bug 962629 - Respect max texture size when creating Gralloc textures. r=nical
...
Add a size hint parameter to CreateTextureClientForDrawing, and use said
parameter to not create Gralloc surfaces that are bigger than the maximum
texture size.
2014-03-12 12:16:37 +00:00
Bas Schouten
0ba8dad82d
Bug 982275 - Followup: Fix some compiler warnings that were errors on gcc. r=bustage
2014-03-12 03:55:07 +01:00
Bas Schouten
c6f8e94303
Bug 982275 - Part 2: Add a pref for drawing layer-info inside layers. r=jrmuizel
2014-03-12 03:27:33 +01:00
Bas Schouten
9d99f849a1
Bug 982275 - Part 1: Add the ability to render text inside layers. r=jrmuizel
2014-03-12 03:27:30 +01:00
Jonathan Watt
f5d2ed6e9e
Bug 982395 - Remove ImageContainer::DeprecatedLockCurrentAsSurface. r=mattwoodrow
2014-03-11 23:50:59 +00:00
Nicolas Silva
68344fc7a2
Bug 981794 - Fix incorrect clipping of tiles. r=Bas
2014-03-11 23:19:01 +01:00
Botond Ballo
daffded693
Bug 965871 - Implement overscroll handoff for flings. r=kats
2014-03-10 20:04:44 -04:00
Botond Ballo
a631992b46
Bug 965871 - Introduce a mechanism for AsyncPanZoomAnimation::Sample() to schedule tasks to be performed after the APZC lock is released in SampleContentTransformForFrame(). r=kats
2014-03-10 15:52:09 -04:00
Botond Ballo
83ec115974
Bug 965871 - Document lock ordering in APZ. r=kats
2014-03-10 15:55:44 -04:00
Botond Ballo
e28393365f
Bug 965871 - Minor cleanup and refactoring. r=kats
2014-03-10 19:17:23 -04:00
Neil Rashbrook
f83724018d
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Nicolas Silva
e90cccae80
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01:00
Ryan VanderMeulen
8ff258f0a1
Backed out changeset 3697a043583b (bug 982118) for bustage.
...
CLOSED TREE
2014-03-11 11:48:30 -04:00
Oleg Romashin
050cdf3c0a
Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kgupta
2014-03-11 08:24:12 -07:00
Morris Tseng
39d993582d
Bug 975930 - [LayerScope] All textured buffers show RB swapped which is incorrect. r=jgilbert, r=kamidphish
2014-03-11 11:14:50 -04:00
Dmitry Rozhkov
9229a9cf21
Bug 975336 - Some skia headers have got exec bit set on. r=gwright
2014-03-11 07:50:00 -07:00
Jonathan Watt
880a3e3b3a
Bug 981857 - Make DrawTargetCG::CopySurface() support data surfaces. r=jrmuizel
2014-03-11 07:24:43 +00:00
Vladimir Vukicevic
7f43187552
b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel
2014-03-10 14:34:57 -04:00
Jeff Gilbert
3c7d18baac
Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp
2014-03-10 19:08:50 -07:00
Jeff Gilbert
8f4b994f55
Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp
2014-03-10 19:08:49 -07:00
Vladimir Vukicevic
ef13b892db
backout of rev 1a52e0063440 b=979489
2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
6f7082cd9f
b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel
2014-03-10 14:34:57 -04:00
Jeff Gilbert
3815fcbd13
Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish
2014-03-10 15:42:58 -07:00
Matt Woodrow
5f6ac4ba39
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Matt Woodrow
4d57a12201
Bug 981393 - Crash the child process if we get invalid Compositable updates. r=nical
2014-03-11 11:12:49 +13:00
Matt Woodrow
919980c817
Bug 981393 - Check against correct compositable types for old-textures. r=nical
2014-03-11 11:12:48 +13:00
George Wright
5137367585
Bug 976184 - Apply a drop shadow image filter to our SkPaint when drawing a surface with a shadow r=mattwoodrow
2014-03-06 16:33:39 -05:00
Kartikaya Gupta
14e74e19a6
Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond
2014-03-10 17:59:46 -04:00
Botond Ballo
856fce75aa
Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
...
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Jeff Muizelaar
4dad29c033
Bug 979894. Add unwind information for pixman arm functions. r=jseward
...
This isn't technically correct because these functions will never call
functions that throw exceptions, however it lets the profiler unwind them.
The unwinding will also probably be wrong during prologue/epilogue. The right
solution is probably to use cfi.
2014-03-10 12:31:58 -04:00
Ryan VanderMeulen
4c1b59e1c4
Merge m-c to inbound.
2014-03-10 11:29:15 -04:00
Morris Tseng
01e9dd84de
Bug 980821 - [LayerScope] mLayerRef doesn't output correct data. r=kamidphish
2014-03-10 08:36:31 -04:00
Tom Schuster
19962e2281
Bug 977963 - Disable x11 texture_from_pixmap until the black layer problem is fixed. r=mattwoodrow
2014-03-10 12:13:54 +01:00
Robert O'Callahan
fe5504c32f
Bug 975931. Part 8: When we reduce a layer's shadow-visible-region due to opaque covering content, restore it after compositing to ensure it's correct if the opaque content isn't there next time. r=mattwoodrow
...
--HG--
extra : rebase_source : 72119bd17b0606af70b4f6dbf05cea631aa71e9a
2014-02-24 21:57:27 +13:00
Brian Birtles
11b3c9a78c
Bug 980207 - When the refresh driver is under test control, make compositor thread only update when a composite is scheduled; r=dzbarsky
...
In order to make test behavior better match real-world sampling behavior, this
patch updates the test code in CompositorParent so that it only updates the
layer when a composite is scheduled. This enables creating mochitests that
reproduce bugs observed in regular usage.
2014-03-10 13:47:12 +09:00
Brian Birtles
e40ff94f71
Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
...
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.
This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
08ad1c9e6f
Bug 979658 part 3 - Make LayerTransactionParent::RecvGetTransform convert to CSS pixels; r=dzbarsky
...
LayerTransactionParent::RecvGetTransform takes care to reverse all the
transformations applied by AsyncCompositionManager::SampleValue to the CSS
values calculated so that it can return CSS values for testing. However, it
fails to revert the conversion from CSS pixels to device pixels applied to the
translation components of the transform by
nsStyleTransformMatrix::ProcessTranslatePart as called by
nsDisplayTransform::GetResultingTransformMatrix.
This patch converts the resulting transform's translation components from device
pixels back to CSS pixels. It also adds documentation for the other operations
in LayerTransactionParent::RecvGetTransform.
2014-03-10 13:47:12 +09:00
Ehsan Akhgari
8cf9386f77
Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob
2014-03-09 14:40:49 -04:00
Ehsan Akhgari
c19a4c1e4d
Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-03-08 12:14:32 -05:00
Wes Kocher
d3d8e5c1b7
Merge m-c to inbound
2014-03-07 17:39:52 -08:00
Wes Kocher
94c57f7113
Merge inbound to m-c
2014-03-07 17:07:37 -08:00
George Wright
e34c6efc61
Bug 921670 - Trivial fixup to generate_mozbuild.py to cater for SkFontHost_android_old DONTBUILD
2014-03-07 17:11:57 -05:00
Mike Conley
23fcc345bc
Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix.
2014-03-07 16:50:30 -05:00
Bas Schouten
a0108bc8af
Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
...
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary
This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.
Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>
In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Jeff Gilbert
2f644d1429
Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish
2014-03-07 13:26:17 -08:00
Ryan VanderMeulen
be8c199c93
Merge m-c to inbound.
2014-03-07 15:45:57 -05:00
Ryan VanderMeulen
238e2ab515
Merge inbound to m-c.
2014-03-07 15:38:19 -05:00
Sotaro Ikeda
d3e36fc654
Bug 979394 - fix calling Unmap() in GrallocImage r=nical
2014-03-07 10:16:35 -08:00
Michael Wu
aa2b5d7974
Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel
2014-02-24 22:37:51 -05:00
Ed Morley
6915f3f78a
Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures
2014-03-07 15:45:59 +00:00
Carsten "Tomcat" Book
d0ff930d65
merge b2g-inbound to mozilla-central
2014-03-07 12:49:50 +01:00
Phil Ringnalda
b932e52022
Back out 965fe5b195ab (bug 962670) for leaking
2014-03-06 20:36:28 -08:00
Matt Woodrow
887c38c308
Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc
2014-03-07 16:24:32 +13:00
Jonathan Watt
096699f593
Bug 980472 - Make SurfaceToPackedBGRA take a DataSourceSurface to avoid unnecessary surface conversion. r=Bas
...
--HG--
extra : rebase_source : c11c7ead8897255b3012495cc66beed27142275a
2014-03-06 23:31:33 +00:00
Jonathan Watt
191e7fa1ff
Bug 979853 - Convert the Windows widget consumers of imgIContainer::GetFrame to act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow
...
--HG--
extra : rebase_source : 12e05d7d6b80669e38b959d3fe9986a179f60cb6
2014-03-06 23:31:22 +00:00
Jonathan Watt
b647a37dd7
Bug 980272 - Make DataSourceSurfaceD2D::Map set mIsMapped. r=Bas
...
--HG--
extra : rebase_source : cb485b1cf09dc570fed1e495ce7bfd83b03788c8
2014-03-06 23:29:57 +00:00
James Willcox
56acb553f2
Bug 956993 - Fix typo with GL_TEXTURE_EXTERNAL textures r=jgilbert
2014-03-06 14:50:42 -06:00
Michael Wu
a24817bf32
Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel
2014-02-24 22:37:51 -05:00
Sotaro Ikeda
964a3114d6
Bug 979394 - Fix YV12 color conversion at GrallocImage r=nical
2014-03-06 13:58:02 -08:00
Ed Morley
a21868703a
Merge backout; CLOSED TREE
2014-03-07 15:53:02 +00:00
Jonathan Watt
0c186fb8f2
Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas CLOSED TREE to fix orange
2014-03-07 14:55:16 +00:00
Kartikaya Gupta
1d942f014f
Bug 975962 - Remove plumbing that is no longer needed. r=botond
2014-03-07 08:41:23 -05:00
Jonathan Watt
705e519aba
Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas
2014-03-07 13:24:47 +00:00
Jonathan Watt
9c80b2ba26
Bug 980603 - Move the implementation of SurfaceToPackedBGRA and ConvertBGRXToBGRA to a source file (un-inline them). r=gal
2014-03-07 13:24:42 +00:00
Jonathan Watt
1fc03c28ce
Bug 980428 - Add a DEBUG-only DataSourceSurface dtor to assert that the surface has not been left mapped. r=Bas
2014-03-07 13:21:46 +00:00
Jonathan Watt
f5b9b89e8c
Bug 980415 - Fix multiple points in the codebase where we fail to call DataSourceSurface::Unmap(). r=Bas
2014-03-07 13:21:38 +00:00
Carsten "Tomcat" Book
95ed84029a
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
...
--HG--
extra : amend_source : 42c86ef1edf2141b6ac81506dd8a31cd68818292
2014-03-07 13:55:46 +01:00
Chris Lord
893c13f69d
Bug 979084 - Enlarge displayport along one axis when the other is clipped. r=ajones
...
If a generated displayport expands beyond the scrollable rect on one axis,
redistribute that extra area to the other axis. Enabled by pref
apz.enlarge_displayport_when_clipped.
2014-03-07 09:26:23 +00:00
Robert O'Callahan
e5f6bfb587
Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
...
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Matt Woodrow
64f553ecba
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Jeff Gilbert
adaacb6dad
Bug 980108 - GLContext.h should not use GLAPIENTRY decls. - r=kamidphish
2014-03-05 17:35:40 -08:00
Ehsan Akhgari
89dd165182
Bug 979685 - Rewrite the qcms Makefile.in in moz.build; r=mshal
2014-03-05 17:00:17 -05:00
Ehsan Akhgari
fad9451cf4
Bug 979684 - Port the per-source flags for skia to moz.build; r=mshal
2014-03-05 16:59:42 -05:00
James Willcox
1fb2df1aed
Bug 980048 - Don't use EGL fences on Pandaboard r=jgilbert
2014-03-05 15:49:55 -06:00
James Willcox
39bceadc21
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
James Willcox
9953e94be2
Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert
2014-03-05 15:48:58 -06:00
Milan Sreckovic
6cffe8ba37
Bug 910860: Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated all the time, not just at startup. Changing that is another bug. r=bgirard.
2014-03-05 16:25:09 -05:00
Ehsan Akhgari
4788926251
Bug 979816 - Backout bug 977701 because of a Talos regression
...
Landed on a CLOSED TREE
2014-03-05 15:18:09 -05:00
Ryan VanderMeulen
7c3c52f385
Backed out changesets 23ab61f4bba1, d0f6a0106f43, and 9b656ca5ec50 (bug 974575) for Linux crashtest asserts.
2014-03-05 15:23:26 -05:00
Jonathan Watt
ee17c700e4
Bug 950368 - Make nsWindowsShellService's WriteBitmap act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow
2014-03-04 16:56:44 +00:00
Andreas Gal
5ce95a9e25
Bug 975772 - Cleanup RectTriangles and allow DrawQuads to take triangles or triangle strips. r=bjacob
2014-03-05 14:18:38 -05:00
John Daggett
03ba3d97f5
Bug 969388 - Null-check the bundle ID to avoid 10.9 crash in CTFontManagerSetAutoActivationSetting. r=smichaud
2014-03-05 14:18:38 -05:00
Jonathan Kew
cab8d41180
bug 970891 - don't assume the primary font will always support the <space> character - fall back down the font stack if necessary. r=roc
2014-02-11 15:28:21 +00:00
Jonathan Kew
a9774efd8a
bug 974575 - support color glyphs in cairo_image_surface's _composite_glyphs function. r=jrmuizel
2014-03-05 18:33:21 +00:00
Jonathan Kew
c74d67db15
bug 974575 - correction for bad commit (a0f556f37fb7016aa304b7cf0e811c0d38f0b969) ported from upstream. r=jrmuizel
2014-03-05 18:33:21 +00:00
Jonathan Kew
dc59002ceb
bug 974575 - backport Behdad's patches for color bitmap glyph support from current cairo trunk. r=jrmuizel
...
* * *
[ft] Fix resizing of bitmap fonts
From b94a519aad3d5b50aa6de47ee16ee6a099de9791 Mon Sep 17 00:00:00 2001
Say, you were asking cairo for a font at 200px. For bitmap-only fonts,
cairo was finding the closes strike size and using it. If the strike
was at 20px, well, that's what you were getting. We now scale that 20px
strike by a factor of 10 to get the correct size rendering.
Note that by itself this patch doesn't change much on the Linux desktop.
The reason is that the size you are interested in (eg. 200px) is lost by
fontconfig. When you request a font at 200px, fontconfig returns a font
pattern that says 20px, and so the next layers thing you want a font at
20px. To address that, one also needs a piece of fontconfig config that
puts the 200 back into the pixelsize. Something like this:
<match target="font">
<test name="scalable" mode="eq">
<bool>false</bool>
</test>
<edit name="pixelsize" mode="assign">
<times>
<name>size</name>
<name>dpi</name>
<double>0.0138888888888</double> <!--1/72.-->
</times>
</edit>
</match>
I'm going to try to upstream this config so it will be enabled by
default. The config can be a bit smarter. For example, if
metricshinting is enabled and the size difference is small, we may as
well not scale.
The nice thing about this is that the configuration of whether and when
to scale bitmaps will be done in fontconfig, not cairo / Qt / ... code.
---
* * *
[FT] Prefer downscaling bitmap glyphs to upscaling
From a8f1b456db744e33a10b2301df03528787e5b1ca Mon Sep 17 00:00:00 2001
Say, you have bitmap strikes for sizes 50ppem and 100ppem.
To render at 60ppem, it's much better to downscale the 100ppem
bitmap than upscale 50ppem one. Prefer downscaling.
---
* * *
[ft] I meant fabs(), not abs()
From 13bd8d09b44e50649f6fc4d58d036bc32c1d5c5b Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix memory bug in copying bitmaps
From a0f556f37fb7016aa304b7cf0e811c0d38f0b969 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix wrong assumptions
From e738079302a968b7b1fb9101cd4d92a8887bedce Mon Sep 17 00:00:00 2001
If subpixel rendering is enabled, but FT returns a 8bit gray bitmap
(perhaps because the font has 8bit embedded bitmaps) we were hitting
the assertions because the assumptions made were wrong. Fix up.
---
* * *
Towards support loading color glyphs from FreeType
From 2cc353c3dbe01b4d8f65d6de800f2b1d6004a1c2 Mon Sep 17 00:00:00 2001
See comments.
---
* * *
Support 2bit and 4bit embedded bitmaps
From 9444ef09ccde2735258cc1bd2f1912119a32dd88 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix math
From 7d26341072b13a78d4b3fe58779057ac020be487 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Add missing include
From 0554d76402321b25cc952180e4d19436a9038d1a Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix alignment
From 34a747e7bdeba1cfe17318f80fbe6720d47bc023 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Ensure alignment of bitmaps received from FreeType
From 46d9db96d460fea72f0420102e8a90c6a7231f79 Mon Sep 17 00:00:00 2001
---
2014-03-05 18:33:21 +00:00
Markus Stange
16402cbab3
Bug 960178 - Fix lighting filter PowCache. r=Bas
2014-03-05 18:41:38 +01:00
Markus Stange
c431a14625
Bug 963086 - Detect filter rect XMost()/YMost() overflow and protect against out-of-range data acess. f=dholbert, r=Bas
2014-03-05 18:41:19 +01:00
Ed Morley
6ac01d1925
Backed out changeset fe2afc55a0d1 (bug 950368) for shutdown crashes on B2G
2014-03-05 17:10:38 +00:00