Commit Graph

12390 Commits

Author SHA1 Message Date
Ryan VanderMeulen
2cd9d5dae5 Merge m-c to inbound. 2013-07-24 18:27:51 -04:00
Guillaume Abadie
ccb42e0634 bug 890277 - ANGLE libGLESv2 Integer Overflow - r=bjacob 2013-07-24 17:57:41 -04:00
Ryan VanderMeulen
93a07bee4f Backed out changeset d264bdb8b400 (bug 884188). 2013-07-24 11:15:47 -04:00
Nicolas Silva
19ac9f0ab4 Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD 2013-07-24 18:08:35 +02:00
Nicolas Silva
7ad6a75e88 backed out changeset 9089fe288899 because of wrong bug number 2013-07-24 18:03:41 +02:00
Nicolas Silva
ae2b42277d Backed out changeset 9089fe288899 2013-07-24 18:01:39 +02:00
David Anderson
0686100357 Only use DirectX 11.1 on Windows 8 or higher (bug 893221, r=bas).
--HG--
extra : rebase_source : 147493bef3e487c6ab5424c3e4a4fd2fd2440e09
2013-07-24 11:52:54 -04:00
Nicolas Silva
216a92b99c Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel 2013-07-24 17:43:35 +02:00
Nicolas Silva
4eaa4c7c12 Bug 858914 - Make CreateTexturedEffect take SurfaceFormat + TextureSource instead of TextureHost. r=Bas 2013-07-24 17:34:09 +02:00
Nicholas Cameron
26cbbbaaa2 Bug 895369. Add some asserts to ThebesLayerBuffer. r=mattwoodrow 2013-07-24 18:46:27 +12:00
Nicolas Silva
47fc67a4c6 Bug 892505 - Implement gfx::Factory::CreateDataSourceSurface. r=bas 2013-07-17 16:07:44 +02:00
Jim Chen
c44be3735b Bug 881018 - Crash when TiledLayerBuffer::GetScaledTileLength returns 0; r=cwiiis 2013-07-24 11:17:49 -04:00
Jim Chen
4c40f10fab Backout f26e4c26ce4a (bug 881018) to land a different patch 2013-07-24 11:10:55 -04:00
David Zbarsky
9c6bad4ee6 Bug 895116: Fix masking with BasicCompositor r=mattwoodrow 2013-07-23 16:38:46 -07:00
Bill McCloskey
54cb4cc404 Bug 896651 - Need to clean up resources for out-of-process layer trees when shutting down (r=mattwoodrow) 2013-07-23 14:53:22 -07:00
Guillaume Abadie
e570bec18c Bug 896814 - GLContext add enum GLExtensionPackages. r=jgilbert
DONTBUILD
2013-07-23 17:33:51 -04:00
Ryan VanderMeulen
7febc04428 Backed out changeset 590fc39b6a1c (bug 892546) for landing with the wrong bug number. 2013-07-23 17:40:28 -04:00
Guillaume Abadie
147a029fdd bug 892546 - GLContext add enum GLExtensionPackages - r=jgilbert 2013-07-23 17:33:51 -04:00
Botond Ballo
d689c3581c Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats 2013-07-23 16:41:22 -04:00
Brian R. Bondy
cd27c23ef8 Bug 869940 - Fix scaling issue with high dpi devices. r=kats 2013-07-25 13:15:10 -04:00
Brian R. Bondy
9d6c1c0076 Bug 869940 - Implement pan start/end notifications from APZC. r=kats 2013-07-25 13:15:06 -04:00
Arnaud Bienner
70bdf3b468 Bug 875753 - Color input: Gtk widget. r=karlt 2013-06-22 15:39:43 +02:00
Timothy Nikkel
680c0cb73c Bug 837242. Part 2. Add a function to calculate the area of an nsRegion. r=roc 2013-07-30 11:22:43 -05:00
Jeff Muizelaar
002041aa22 Bug 891650. Use mTransform instead of GetDTTransform() in Mask(). r=bas
GetDTTransform includes the device offset. We need to avoid that in order for things to work properly.

--HG--
extra : rebase_source : 5a8ae0011f16b85421df182263ec3137cecf6a6b
2013-07-30 10:15:27 -04:00
Ehsan Akhgari
ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Joshua Cranmer
b82a7849fb Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
5d37217be5 Bug 884061 - Part 3i: Use NS_DECL_THREADSAFE_ISUPPORTS in gfx/, r=roc
--HG--
extra : rebase_source : 130357bc9a7ad66cb0574f7bf3ac69e1c3f4a2ff
2013-07-18 21:23:31 -05:00
Jonathan Kew
510c284680 backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200. 2013-07-23 09:38:57 +01:00
Botond Ballo
1cdb67fea9 Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats 2013-07-22 22:33:05 -04:00
Nicholas Cameron
0dd9fe79b8 Bug 756606. Implement CreateRenderTargetFromSource. r=Bas 2013-07-23 11:07:49 +12:00
Nicholas Cameron
d0dbee1034 Bug 756606. Fix a bug in EnsureAllocated. r=Bas 2013-07-23 11:05:49 +12:00
Nicholas Cameron
118b833718 Bug 756606; formatting nits for the d3d11 compositor. r=Bas 2013-07-23 11:05:04 +12:00
Ed Morley
b4587ffa38 Merge mozilla-central and inbound 2013-07-22 16:52:23 +01:00
Ed Morley
a8fb8b7383 Merge latest green birch changeset and mozilla-central 2013-07-22 16:18:53 +01:00
Birunthan Mohanathas
ac753ddb61 Bug 784739 - Switch from NULL to nullptr in gfx/src/; r=ehsan
--HG--
extra : rebase_source : 28d7747c0a41a87ee064129b4f06ee23f1731c12
2013-07-20 11:48:56 +03:00
Birunthan Mohanathas
90f650a127 Bug 784739 - Switch from NULL to nullptr in gfx/layers/; r=ehsan
--HG--
extra : rebase_source : d6b0d229e1bdbe53c515b13c73c7b53839d9c756
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
f3810ac55a Bug 784739 - Switch from NULL to nullptr in gfx/layers/opengl/; r=joe
--HG--
extra : rebase_source : 65e2c8e72dc4b20ef9aa50688c9320792fca69ee
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
48209b8e5e Bug 784739 - Switch from NULL to nullptr in gfx/layers/ipc/; r=ehsan
--HG--
extra : rebase_source : 36cb1b9738de269a10cea871242b0b51588d0f3b
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
dd13ff8363 Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d9/; r=ehsan
--HG--
extra : rebase_source : 6628eb59eef0bb828fbcff03ad967f7fc97c437d
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
5d4f6c313b Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d11/; r=ehsan
--HG--
extra : rebase_source : 9e5625a5318cfb79370c6e944bc9e651822ddd2c
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
84bee5be5d Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d10/; r=ehsan
--HG--
extra : rebase_source : 69b7ab7e4aa0eed92d597451bcab820f9d5c3957
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
0fe77b3a6e Bug 784739 - Switch from NULL to nullptr in gfx/layers/composite/; r=ehsan
--HG--
extra : rebase_source : c0f144ec277ed64f32c584f1be9e38bac3d1dde3
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
37fc0e31de Bug 784739 - Switch from NULL to nullptr in gfx/ipc/; r=ehsan
--HG--
extra : rebase_source : b589ee0a3207a6522a8f47a4edfa7ca9fc49469e
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
9763ee3807 Bug 784739 - Switch from NULL to nullptr in gfx/gl/; r=ehsan
--HG--
extra : rebase_source : 236322c2d0e4d5c8917d900f768852139b0abc80
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
a672678234 Bug 784739 - Switch from NULL to nullptr in gfx/2d/; r=Bas
--HG--
extra : rebase_source : 340bb0ff65c56c23bf2a4c8e24d082e938997831
2013-07-20 11:48:55 +03:00
Jeff Muizelaar
b17dfd732b Bug 896129. Use CGContextDrawImage when appropriate in FillRect(). r=mattwoodrow
This fixes the element-paint-paintserversize-rounding-02.html reftest.
2013-07-19 20:39:31 -04:00
Chris Lord
10605e0e62 Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Chris Lord
e3186541d9 Bug 886298 - Add a typed-units Margin. r=kats 2013-07-22 09:50:11 +01:00
Chris Lord
baaed043f6 Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats 2013-07-22 09:50:09 +01:00
Chris Lord
a19367ac49 Bug 876542 - Restore async pan/zoom compensation behaviour during overscroll. r=roc
Bug 876542 introduces a patch that reworks how we maintain the position of
fixed position layers, but didn't handle overscroll/zoom. This restores the old
behaviour in this situation.
2013-07-22 09:50:07 +01:00
Chris Lord
7291650c62 Bug 876542 - Restore async fixed layer margin animation. r=roc, kats
Restore the reconciliation between content document fixed position margins at
render time and the fixed layer margins as retrieved via SyncViewportInfo
during async panning/zooming.
2013-07-22 09:50:05 +01:00
Jeff Muizelaar
9ddd2f5d8f Bug 896290. Support drawing with antialaising in DrawTargetCG. r=mattwoodrow 2013-07-19 08:18:18 -04:00
David Zbarsky
84f3d76057 Bug 895116: CreateBasicDeprecatedTextureHost should pass along the texture flags r=mattwoodrow 2013-07-21 04:16:28 -07:00
Jacek Caban
688f875b2e Bug 883004 - GCC bustage fix 2013-07-20 12:37:04 +02:00
Jeff Muizelaar
9eda8ae743 Bug 895646. Use the pattern transform when drawing gradients with DrawTargetCG. r=mattwoodrow 2013-07-16 11:27:12 -04:00
Jeff Muizelaar
7fa5ac69af Bug 893977. Support repeating gradients in the CoreGraphics backend. r=mattwoordow
CoreGraphics doesn't support repeating gradients natively so we have to
manually repeat them. This change missing support for interpolating a
stop for the center if it doesn't line up correctly. That will come later.
2013-07-18 20:08:51 -04:00
Jed Davis
b01846fcf0 Bug 895722 - Don't remove elements from mDurations if it's empty. r=BenWa 2013-07-19 21:20:11 -04:00
Gervase Markham
5103d820f9 Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Jonathan Kew
50ab64699b bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
James Willcox
8a65808c86 Bug 894405 - fix leaks on a CLOSED TREE
--HG--
extra : rebase_source : d96236c0c9c370bdb055d3ab197707d48f8afe80
2013-07-19 00:23:07 -04:00
Wes Kocher
c7291d2df1 Backout df425bca5665 (bug 893977) for breaking the build on a CLOSED TREE 2013-07-18 21:16:20 -07:00
Wes Kocher
2528692e6a Backout 7c2fd5db93b2 (bug bug 895646) for breaking the build on a CLOSED TREE 2013-07-18 21:15:29 -07:00
Matt Woodrow
607574ac77 Bug 894891 - Follow-up to fix bustage, remove unused shader from the enum. CLOSED TREE 2013-07-19 00:10:21 -04:00
Jeff Muizelaar
3b763c6381 Bug 895646. Use the pattern transform when drawing gradients with DrawTargetCG. r=mattwoodrow 2013-07-16 11:27:12 -04:00
Jeff Muizelaar
39c3bb9c5c Bug 893977. Support repeating gradients in the CoreGraphics backend. r=mattwoordow
CoreGraphics doesn't support repeating gradients natively so we have to
manually repeat them. This change missing support for interpolating a
stop for the center if it doesn't line up correctly. That will come later.
2013-07-18 20:08:51 -04:00
Matt Woodrow
89f496c44e Bug 885580 - Make sure that Compositor::GetBackend is only used [Cfrom the compositor thread. r=nical 2013-06-27 11:30:52 +12:00
Matt Woodrow
ddd78fd1a5 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Matt Woodrow
5121773a74 Bug 894891 - Move texture transform from the RGBATextureLayerExternal shader into the vertex shader, and combine the two GL_TEXTURE_EXTERNAL shaders. r=jrmuziel 2013-07-18 23:05:06 -04:00
Matt Woodrow
894b692004 Bug 894891 - Use the correct shader for b2g video. r=nrc 2013-07-18 23:05:06 -04:00
James Willcox
2fed89ee3a Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert 2013-07-17 13:03:18 -04:00
James Willcox
e858f94d27 Bug 895036 - Lower the SkiaGL texture cache size r=gwright 2013-07-09 16:12:49 -04:00
Matt Woodrow
9751159e6f Bug 884888 - Fix shadow drawing in SkiaGL r=snorp 2013-06-27 11:22:09 +12:00
Robert O'Callahan
867e300fd9 Bug 876542. Rework TransformFixedLayers so that it explicitly makes layer anchor points invariant under a change in transform of a specified ancestor layer. r=Cwiiis,kats 2013-06-24 13:34:33 +12:00
James Willcox
4e4bee4669 Bug 885632 - Always use soft clipping with SkiaGL r=mattwoodrow 2013-06-21 15:28:10 -04:00
James Willcox
8832640b0a Bug 887318 - Fix SkiaGL readback when BGRA unavailable r=jgilbert 2013-06-27 10:20:21 -04:00
George Wright
6bb3a8781d Bug 895086 - Remove unused find_from_uniqueID() function from SkFontHost_linux r=mattwoodrow 2013-07-17 16:28:07 -04:00
Ryan VanderMeulen
76ce8020e7 Merge m-c to inbound on a CLOSED TREE. 2013-07-18 14:53:05 -04:00
Ryan VanderMeulen
3de9fa2a9b Merge m-c to birch. 2013-07-18 14:47:54 -04:00
Jim Chen
cb9a271064 Bug 881018 - Save TiledLayerBuffer::mResolution to stack to help investigate crash; r=kats 2013-07-18 01:52:38 -04:00
Matt Woodrow
a1b046b961 Bug 886667 - Just assert rather than aborting when our framebuffer is invalid. r=jrmuizel 2013-07-16 15:56:10 -04:00
Ehsan Akhgari
192bc42d5e Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Guillaume Abadie
5d5eae3520 Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert 2013-07-18 11:24:23 -04:00
Sotaro Ikeda
6d4e999a49 Bug 873937 - Extend ThebesLayerBuffer's height to more than 32. r=jmuizelaar 2013-07-18 10:06:46 -04:00
Gabriele Svelto
4af4c99ef2 Bug 884188 - Resize small gralloc'd surfaces to work around issues when drawing small canvases on certain devices. r=nrc 2013-07-17 17:04:33 +02:00
Guillaume Abadie
016c951407 Bug 892169 - [WebGL 2.0] Bypass ANGLE shader compilation (GL_EXT_gpu_shader4). r=jgilbert 2013-07-18 10:31:01 -04:00
Ed Morley
14d2681e74 Merge mozilla-central and inbound 2013-07-18 15:01:47 +01:00
Ryan VanderMeulen
841f54b252 Backed out changeset b86c8fc67f5b (bug 873937) for causing bug 895976. 2013-07-19 21:12:18 -04:00
Jeff Muizelaar
5c2872b750 Bug 895078. Implement ScaledFontMac::CopyGlyphsToBuilder. r=mattwoodrow
--HG--
extra : rebase_source : e18c584de856676b84c9aac50021f255185a677a
2013-07-16 11:25:49 -04:00
Jeff Muizelaar
2d10d0f0f4 Bug 895007. Handle zero size native drawing more gracefully. r=mattwoodrow
This fixes null drawtarget crashes

--HG--
extra : rebase_source : e7edd25c21edc636fad1a88940d97db4af269f0b
2013-07-17 16:16:41 -04:00
Arnaud Sourioux
12fdf3cc55 Bug 896049 - Define SK_OVERRIDE with a default value if it hasn't been defined previously. r=gw280 2013-07-24 09:17:15 -04:00
Robert O'Callahan
9dfcbeeab2 Bug 889219. Part 1: Clean up nsPrintEngine string usage for document titles/URLs. r=mats
--HG--
extra : rebase_source : 17a67d9956e9df9e19c86ea70ac3045e636c49ae
2013-07-24 23:48:37 +12:00
Jacek Caban
18e123ea19 Bug 887828 - GCC compilation failure in SkThread_win.cpp r=gwright 2013-07-18 10:22:43 +02:00
David Zbarsky
7ee9db63db Bug 895116: Use an ImageSurface in CanvasClient2DUpdate r=mattwoodrow 2013-07-17 23:54:09 -07:00
Markus Stange
e340ea4b96 Bug 894957 - Don't attempt to draw transparent text. r=roc 2013-07-18 08:36:05 +02:00
Markus Stange
d4e021d74c Bug 894925 - Hold a strong ref to the ImageContainer between DispatchImageClientUpdate and UpdateImageClientNow. r=nical 2013-07-18 08:33:28 +02:00
Landry Breuil
9094edc70f Bug 890240 - add patch to skia/patches. r=gwright 2013-07-18 08:24:09 +02:00
Matt Woodrow
d488853456 Bug 888048 - Use CreateThebesSurfaceAliasForDrawTarget_hack to avoid having multiple cairo_surface_quartz objects for a single CGContext. r=nrc 2013-07-17 23:24:15 -04:00
Matt Woodrow
f181e9a218 Bug 875232 - Add a BGRX shader program that reads from GL_TEXTURE_RECTANGLE. r=jrmuziel 2013-07-17 23:24:15 -04:00
Matt Woodrow
1806ba3946 Bug 875232 - Workaround glReadPixels being broken with framebuffers backed by an IOSurface by copying to a temporary texture first. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow
9653ce195e Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert 2013-07-17 23:24:15 -04:00