Commit Graph

12436 Commits

Author SHA1 Message Date
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
Matt Woodrow
14d7db3093 Bug 875232 - Make most of the GLContext helper functions take a texture target parameter so that we can support GL_TEXTURE_RECTANGLE. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow
588f5a77ec Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa 2013-07-17 23:24:14 -04:00
Ed Morley
4e8ab541b9 Backed out changeset 33c17daf66bf (bug 879963) 2013-07-17 17:07:30 +01:00
Chris Lord
dbafdacc87 Bug 869696 - Disable gralloc surfaces on the Geeksphone Peak. r=jrmuizel
Geeksphone distribute a known bad driver that has issues when using
gralloc-backed surfaces. Performance is much better just falling back to
shared memory.
2013-07-17 15:34:52 +01:00
Bas Schouten
a3c970c2dd Bug 883004 - Part 3: Add Direct2D 1.1 backend to Moz2D. r=jrmuizel 2013-07-17 14:12:22 +02:00
Bas Schouten
bdd816c314 Bug 883004 - Part 2: Move Direct2D 1.1 detection to configure.in r=glandium 2013-07-17 14:12:05 +02:00
Jonathan Kew
0b94d231bb bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Brian O'Keefe
f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Joey Armstrong
bfc9abde85 bug 880773: Cleanup/final patch - remove DISABLED_SSRCS. r=mshal 2013-07-16 08:47:40 -04:00
George Wright
8ad4cee3c3 Bug 890272 - Use SkFontHost_linux to provide SkFontHost factories on Android for use by skia-npapi r=mattwoodrow
---
 gfx/skia/Makefile.in                    |  1 +
 gfx/skia/moz.build                      |  3 +++
 gfx/skia/src/ports/SkFontHost_cairo.cpp |  8 ++++++++
 gfx/skia/src/ports/SkFontHost_linux.cpp | 12 +++++++++++-
 4 files changed, 23 insertions(+), 1 deletion(-)
2013-07-11 16:41:15 -04:00
Mina Almasry
28e4959faf Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz 2013-07-15 17:28:49 -04:00
George Wright
9062597b3f Bug 891123 - Apply upstream changeset r8599 which fixes the infinite recursion issue r=mettwoodrow 2013-07-15 15:40:30 -04:00
Ryan VanderMeulen
6f98a7a79c Backed out 3 changesets (bug 603488) for Windows reftest orange.
Backed out changeset f60f6c301670 (bug 603488)
Backed out changeset 80520a16d7f1 (bug 603488)
Backed out changeset eeed50e8e213 (bug 603488)
2013-07-15 15:50:26 -04:00
James Kolb
503b2d4a18 Bug 603488 - Part 3: Fix gfxContext::mask bug. r=roc 2013-07-13 17:47:08 -04:00
Ed Morley
6133103162 Backed out changeset 9897835271b5 (bug 877690) for crashes on a CLOSED TREE 2013-07-15 16:36:17 +01:00
Mina Almasry
92ecc361b2 Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz 2013-07-15 09:59:57 -04:00
Mike Hommey
b97d1767fc Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Mike Hommey
f56433f1e3 Bug 892898 - Remove useless FORCE_USE_PIC assignment. r=gps 2013-07-15 18:48:40 +09:00
Wes Kocher
b68938ecb2 Backed out changeset fa6ef0b63025 (bug 889515) for OSX browser-chrome bustage on a CLOSED TREE
--HG--
extra : amend_source : f0064ef485170a679744ea3e211535a9d58f0fc9
2013-07-14 20:59:36 -07:00
Matt Woodrow
f8f9c46878 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Matt Woodrow
70cfe88aa9 Bug 892966 - Clear any cached SourceSurfaces when a gfxASurface is flushed or marked dirty. r=jrmuizel 2013-07-11 22:44:29 -04:00
Matt Woodrow
c342a3955c Bug 892966 - Allow CG to be enabled as an azure content backend. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
8d17852f86 Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
cf7c30ed33 Bug 892966 - Setup dashing correctly in DrawTargetCG::StrokeRect. r=jrmuizel 2013-07-12 17:19:28 -04:00
Matt Woodrow
c45ae27d7e Bug 892966 - Take a reference to the CGContext when constructing a DrawTargetCG from one. r=jrmuizel 2013-07-12 17:19:27 -04:00
Phil Ringnalda
eb8de189ea Back out 7160624804ff:69062da26093 (bug 892966) on suspicion of mochitest-4 test_bug767779.html bustage
CLOSED TREE
2013-07-12 16:39:36 -07:00
Jeff Muizelaar
ad0a0a9bd8 Bug 892968. Implement POINT filtering properly in DrawTargetCG. r=mattwoodrow
--HG--
extra : rebase_source : 13528e2c21f96d9c5d5dba6f44593869033479f2
2013-07-12 10:01:58 -04:00
Milan Sreckovic
5d093e62f7 Bug 879656 - Clamp the maximum texture size(s) on Nvidia Mac, even on 10.8+. r=jgilbert
8k too large, 8k-1 working. Same limit on the render buffer size. Note that <10.8 are already limited to 4k by the bug 877949.
2013-07-09 17:35:32 -04:00
Matt Woodrow
ad2b080f39 Bug 892966 - Allow CG to be enabled as an azure content backend. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
b2487e960c Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
eb65fc3063 Bug 892966 - Implement CreateSourceSurfaceFromNativeSurface for DrawTargetCG and use it instead of copying pixel data. r=jrmuizel 2013-07-12 17:19:28 -04:00
Matt Woodrow
86c0401d89 Bug 892966 - Setup dashing correctly in DrawTargetCG::StrokeRect. r=jrmuizel 2013-07-12 17:19:28 -04:00
Matt Woodrow
2362fcace6 Bug 892966 - Take a reference to the CGContext when constructing a DrawTargetCG from one. r=jrmuizel 2013-07-12 17:19:27 -04:00
Ryan VanderMeulen
d03fb91d02 Merge m-c to inbound. 2013-07-12 15:51:48 -04:00
Ryan VanderMeulen
ae807eef57 Merge m-c to birch. 2013-07-12 13:31:17 -04:00
Jeff Muizelaar
e44e34c767 Bug 892964. Rewrite DrawTargetCG::MaskSurface to avoid using FillRect(). r=mattwoodrow
With FillRect we were setting the transform twice.

The patch looks really bad because I needed to move the implementation of
MaskSurface so that it was below the helper methods.

The actual change is:

-  FillRect(Rect(aOffset.x, aOffset.y, size.width, size.height), aSource, aDrawOptions);
-
+  if (isGradient(aSource)) {
+    // we shouldn't need to clip to an additional rectangle
+    // as the cliping to the mask should be sufficient.
+    DrawGradient(cg, aSource);
+  } else {
+    SetFillFromPattern(cg, mColorSpace, aSource);
+    CGContextFillRect(cg, CGRectMake(aOffset.x, aOffset.y, size.width, size.height));
+  }

This also avoids setting up other state like alpha and the unboundness fixer twice.

--HG--
extra : rebase_source : 762f2d94ddaff129d584aab1e1f429ddfea99277
2013-07-08 17:35:56 -04:00
Oleg Romashin
6c145e7043 Bug 889241 - ASSERTION: Invalid (negative) scale factor: 'sy >= 0.0'. r=ncameron 2013-07-12 09:24:23 -04:00
Benoit Girard
be559fe75a Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Trevor Saunders
f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Phil Ringnalda
881e670d5e Back out cb34d80e6fc8 (bug 889515) for 10.6 assertions
CLOSED TREE
2013-07-11 21:24:20 -07:00
Matt Woodrow
a3c1d8b765 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Peter Chang
5ec44ef3f6 Bug 885345 - HwcComposer2D doesn't render Camera or Video frames. r=nrc
Correct the buffer validation inside GetRenderState() to pass gralloc
buffer to composer module
2013-07-12 09:06:26 -04:00
Ed Morley
a945e4355b Backed out changeset 512a1fd86008 (bug 892285) for failures in invalidation/test-animated-image-layers.html 2013-07-12 10:10:48 +01:00
Michael Wu
a089db32c4 Bug 892285 - Only unlock gralloc surfaces if they were locked, r=bas 2013-07-12 01:52:37 -04:00
Botond Ballo
910920e31e Bug 891544 - Remove unneeded FromUnknownPoint and FromUnknownRect calls. r=kats 2013-07-11 10:43:35 -04:00
Botond Ballo
e1a8133ba6 Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats 2013-07-11 10:43:35 -04:00
James Kolb
c2eedbfda2 Bug 889693 - Implement MaskSurface in DrawTargetCairo. r=Bas 2013-07-11 10:43:34 -04:00
Jeff Muizelaar
87960a4fbf Bug 891660. Backout the part of c59328e3cabf that broke mochitest 4
--HG--
extra : rebase_source : fa7b76b37f575742342b4914a1859bf3820f8593
2013-07-10 16:22:32 -04:00
Avi Halachmi
5d2c672668 Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel 2013-07-09 03:06:14 +03:00
Jeff Muizelaar
1e6e84f8d1 Bug 891660. Add support for Azure on Mac with OMTC. r=mattwoodrow
This is not the best approach but it works for now.  We basically pull the cg
context from gfxASurface and wrap a DrawTarget around it. In the end we'll need
to plumb the DrawTarget through more.

--HG--
rename : dom/ipc/PTabContext.ipdlh => dom/ipc/PContent.ipdl
extra : rebase_source : 49eac0354864ae9f2e7434b8b1efacc37d69fc23
2013-07-09 21:02:41 -04:00
Ryan VanderMeulen
03e73d9988 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Jeff Muizelaar
c62228e3e4 Bug 891388. Implement Arc() in PathCG. r=joe
--HG--
extra : rebase_source : 3ebc541ce7407eba02165366bcc754484f65fcaa
2013-07-08 14:28:21 -04:00
Trevor Saunders
63ed0e9589 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
037efde64c Backed out changeset 3265d1e6ed10 (bug 890938) for Werror bustage. 2013-07-10 10:46:31 -04:00
Botond Ballo
b840654f10 Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats 2013-07-10 10:04:20 -04:00
Ryan VanderMeulen
d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Jeff Muizelaar
63c878f816 Bug 790673. Add BorrowedCGContext. r=bas
This can be used to safely get at the underlying CGContext.
2013-07-09 18:55:02 -04:00
Jeff Muizelaar
c39a2d83a6 Bug 880255. Add an implicit conversion from nsIntSize to IntSize. r=bgirard
--HG--
extra : rebase_source : ac59852b1bf458d181ab8223bc3255ebc0052620
2013-07-09 23:52:26 -04:00
Wes Kocher
e2c5c07610 Backout b61b7f2e0d0b for potentially causing leaks 2013-07-09 18:12:23 -07:00
Matt Woodrow
c1727d7810 Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Anthony Jones
0d86c0c984 Bug 864447 - Move timing tracking out of APZC; r=BenWa 2013-07-10 11:26:08 +12:00
Andreas Gal ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
a24aaaa555 Bug 888562 - Recycle MemoryImage surfaces when possible. r=mattwoodrow,jrmuizel 2013-07-09 17:52:31 -04:00
Andreas Gal
17fdd35ffd Bug 888530 - Remove unnecessary memset in ISurfaceAllocator::AllocSurfaceDescriptor. r=mattwoodrow,jrmuizel 2013-07-09 17:52:30 -04:00
Matt Woodrow
4cfda893e7 Bug 888530 - Simplify the code for updating a TextureClientShmem from an Image. r=jrmuizel 2013-07-09 17:52:30 -04:00
Daniel Holbert
e7d94d1f8c Bug 890539: Annotate SK_COMPILE_ASSERT's typedef as permissibly unused, to fix GCC 4.8 build warning. r=gw280 2013-07-09 14:01:02 -07:00
Benoit Girard
f152264ea8 Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats 2013-07-02 11:16:05 -04:00
Matt Woodrow
577c983863 Backout a17b6115cdd7 for causing reftest failures 2013-07-09 12:05:04 -04:00
Joe Drew
960ebf1aa0 Back out bug 807096 for causing bug 891568. 2013-07-11 17:07:11 -04:00
Ms2ger
f8554f1603 Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky 2013-07-10 11:53:09 +02:00
John Daggett
844f041348 Bug 869764. Eliminate use of t2embed library in Windows GDI case. r=emk 2013-07-09 10:40:03 +09:00
Nicolas Silva
7d5b0a7879 Bug 858914 - Make the basic compositor backend use the same design pattern as the other backends. r=mattwoodrow 2013-07-08 19:02:05 +02:00
Kartikaya Gupta
403eaa9172 Bug 866265 - Add tests for the transformation equations in APZC. r=BenWa 2013-07-08 15:53:51 -04:00
Milan Sreckovic
4e0b98b1bd Bug 890929 - Add asserts for the surface format. r=BenWa 2013-07-08 10:26:02 -04:00
Emanuel Hoogeveen
e32590ca0d Bug 890714 - Fix mixed line endings. r=joe, r=jesup 2013-07-08 16:33:15 -04:00
Kartikaya Gupta
cfb85cffaf Backout 59a4e09dd5ce (diagnostic patch from bug 881018) since it didn't help. r=me 2013-07-08 13:11:04 -04:00
Trevor Saunders
4fda35a773 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Joey Armstrong
38ca368790 bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
David Zbarsky
db1c02da4a Bug 885804: Renaming in gfx r=nical 2013-07-08 11:48:39 -04:00
Benoit Girard
0cad7b2d27 Bug 890630 - Port FrameCounter to the compositor API. r=nical 2013-07-06 12:19:52 -04:00
Jan Beich
46e43df241 Bug 890240 - Use stub where pthread_setaffinity_np() isn't available. #define cpu_set_t to cpuset_t on Free/NetBSD. r=gwright, f=landry 2013-07-06 10:39:16 +02:00
Nicholas Cameron
5d32824206 Bug 874721. Unify mask type enums; r=bas 2013-07-05 09:48:33 +12:00
Nicholas Cameron
8bdc76e167 Bug 756606. Fix an assert in the d3d11 compositor. r=bas 2013-07-05 09:46:34 +12:00
George Wright
3a03c241e5 Bug 889969 - Inform Skia whether we support GL_OES_rgb8_rgba8 or not r=mattwoodrow
---
 gfx/gl/GLContextSkia.cpp | 4 ++++
 1 file changed, 4 insertions(+)
2013-07-03 14:34:33 -04:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E)
4c463d2865 Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes. 2013-07-04 13:25:50 -04:00
Kartikaya Gupta
99fb32edc1 Bug 866265 - Use the resolution from the metrics object instead of inferring it from the layer transform. r=kentuckyfriedtakahe 2013-07-04 09:13:52 -04:00
Benoit Girard
a210b5dede Bug 775459 - Implement hit testing on layer tree + tests. r=kats
--HG--
extra : rebase_source : c596cc4c4dd9810319830ec8105a5e251e9b0ddb
2013-07-02 12:27:17 -04:00
Benoit Girard
83a15c3414 Bug 775459 - Make APZC attachable only to container layers. r=kats
--HG--
extra : rebase_source : 5a94d9958013f92e64db4781e09bdc9db4b66c9a
2013-07-02 12:01:46 -04:00
Matt Woodrow
9f9ea758b2 Bug 865104 - Follow-up to fix build 2013-07-03 16:51:55 -04:00
Matt Woodrow
931b937052 Bug 865104 - Support YCbCr images with BasicCompositor instead of doing the conversion on the main thread. r=nrc,nical 2013-07-03 16:35:51 -04:00
Matt Woodrow
2de21281eb Bug 865104 - Use double buffering for BasicCompositor. r=nrc 2013-07-03 16:35:51 -04:00
Mike Shal
d5df6bb361 Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Ryan VanderMeulen
f23d636f4e Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
George Wright
8794b4e364 Bug 848491 - Add patches to the Skia patches directory
From 35a22019f62d4e13a293e9d576b6a692b0411ac8 Mon Sep 17 00:00:00 2001
2013-07-02 22:32:00 -04:00
James Willcox
1a08fd2938 Bug 887927 - Hold a ref to DrawTargetSkia within SourceSurfaceSkia r=mattwoodrow 2013-06-28 22:59:19 -04:00
James Willcox
998381af1b Bug 885623 - Disable some gradient tests for SkiaGL r=gw280 2013-06-24 13:32:59 -04:00
George Wright
52db1681c4 Bug 848491 - Re-apply bug 795538 - Ensure we use the correct colour (and alpha) for the clamp values r=mattwoodrow 2013-06-20 09:21:21 -04:00
Benoit Jacob
584cd579b1 Bug 875218 - Make sGLContext thread-local r=mattwoodrow 2013-06-17 15:45:56 -04:00
Benoit Jacob
aa62cf2418 Bug 875218 - Fix all the Skia leaks! By avoiding addref'ing a second time the GrGLInterface and GrContext r=mattwoodrow 2013-06-17 13:45:04 -04:00
Benoit Jacob
2647d72fc9 Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow 2013-06-16 22:07:18 -04:00
Benoit Jacob
e153154b5d Bug 875218 - Make GLContext inherit GenericRefCounted, to allow moz2d to have strong references to GLContexts r=mattwoodrow 2013-06-16 22:05:56 -04:00
Benoit Jacob
a568ac2b45 Bug 882561 - Add a GenericRefCounted base class to moz2d, will allow moz2d to hold strong references to external objects without adding a dependency r=jwalden 2013-06-16 22:05:14 -04:00
Matt Woodrow
aaba06e7d1 Bug 890950 - Tell OpenGL that our texture upload data is in BGRA format on OSX. r=jrmuizel
This matches the format used internally and prevents the driver from having to do a conversion. We then add a swizzle to the shaders so that we get the correct colors drawn.
2013-07-09 10:13:33 -04:00
Matt Woodrow
57402f402c Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Nicolas Silva
4b3fbac3da Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow 2013-07-08 23:30:44 +02:00
Ed Morley
258bb235ff Backed out changeset e6430ac52054 (bug 864447) for OS X make check crashes 2013-07-09 08:41:49 +01:00
Anthony Jones
a63939d1dc Bug 864447 - Move timing tracking out of APZC; r=BenWa 2013-07-09 17:53:16 +12:00
Markus Stange
b474b910a6 Bug 888288 - Fix some typos in GFX header comments. r=nrc 2013-07-08 21:21:06 -07:00
Markus Stange
68c124a82c Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-07-08 21:21:05 -07:00
George Wright
7149fbee84 Bug 869178 - Use SkCanvas::drawBitmapRect instead of a bitmap SkShader; it's slightly faster r=snorp 2012-11-15 19:57:40 -05:00
George Wright
4c15fc0684 Bug 736276 - Ensure we can never double addref a cairo scaled font in ScaledFontBase r=mattwoodrow 2013-06-28 22:50:59 -04:00
George Wright
602e1332d6 Bug 736276 - Only create the SkTypeface in ScaledFontCairo when necessary r=jrmuizel 2013-06-28 22:50:09 -04:00
Benoit Jacob
5ee1188ac5 Bug 886518 - Purge the Skia typeface cache on shutdown in debug/valgrind builds r=jrmuizel 2013-06-28 22:48:35 -04:00
George Wright
1c299f739f Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2013-06-05 13:48:59 -04:00
George Wright
df877b614e Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00
George Wright
e61b5a1337 Bug 848491 - Re-apply bug 817356 - Patch Skia to recognize uppercase PPC/PPC64. 2013-04-25 20:55:02 -04:00
George Wright
d9af191edc Bug 848491 - Re-apply bug 751418 - Add our own GrUserConfig 2013-04-25 20:52:32 -04:00
George Wright
124aeb0b57 Bug 848491 - Re-apply 759683 - Handle compilers that don't support SSSE3 intrinsics 2013-04-25 20:49:45 -04:00
George Wright
a1e2df78e0 Bug 848491 - Re-apply bug 687188 - Expand the gradient cache by 2 to store 0/1 colour stop values for clamping. 2013-04-25 20:47:06 -04:00
George Wright
ab3fdb36e9 Bug 848491 - Re-apply Bug 777614 - Add our SkUserConfig.h 2013-04-25 20:40:12 -04:00
George Wright
a4446c9681 Bug 736276 - Add a new SkFontHost that takes a cairo_scaled_font_t r=karl 2012-08-01 16:43:15 -04:00
George Wright
8a86a63e18 Bug 848491 - Update DrawTarget and gfxPlatform to use the new Skia APIs r=mattwoodrow 2013-04-09 15:57:22 -04:00
George Wright
6cb4038886 Bug 848491 - Re-apply Bug 795549 - Move TileProc functions into their own file to ensure they only exist once in a library 2013-01-14 17:59:09 -05:00
George Wright
c08ffed5fa Bug 848491 - Update Skia to r8495 2013-04-02 16:49:07 -04:00
Kartikaya Gupta
c547676bd1 Bug 866265 - Fix up some comments in FrameMetrics.h. r=kentuckyfriedtakahe 2013-07-03 09:04:10 -04:00
Markus Stange
0f3ad46845 Bug 888289 - Reland the part from bug 822115 that was accidentally backed out in the layers refactoring. r=mattwoodrow 2013-07-03 14:00:40 +02:00
Matt Woodrow
f5a46f0d03 Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-06-13 17:15:15 +12:00
Jonathan Kew
d7c33339e8 bug 889365 - re-enable timed expiration of shaped word cache entries. r=roc 2013-07-03 12:36:58 +01:00
Trevor Saunders
2af42ae713 bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel 2013-06-16 03:09:07 -04:00
Phil Ringnalda
c81f1a24d5 Backed out 43e688b70d84 (bug 843667) for compilation failures
CLOSED TREE
2013-07-02 14:30:20 -07:00
Guillaume Abadie
ccb76e6652 bug 843667 - update WebGL EXT_draw_buffers to fix a potential crash on mobile - r=bjacob 2013-07-02 16:50:31 -04:00
Benoit Girard
9270c725b9 Bug 888622 - Root layer isn't always ContainerLayer, remove incorrect cast. r=kats
--HG--
extra : rebase_source : c3948e30b6fd05c896e1a773e520b8eecfdd05af
2013-07-02 00:17:23 -04:00
Joey Armstrong
b1d5c9aba5 bug 880773: move SSRCS to mozbuild (file batch #1). r=mshal 2013-07-01 17:09:48 -04:00
Joey Armstrong
03706f341a bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal 2013-07-01 12:32:40 -04:00
Milan Sreckovic
2d149e7643 Bug 807096 - Lower the limit on the Intel+Mac to 2048, but only on <10.8. Leave the limit at 4096 otherwise. r=bjacob 2013-06-26 13:53:23 -04:00
Catalin Iacob
8f3a2a0c69 Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn. 2013-06-30 18:26:39 +02:00
David Zbarsky
0d9e8dfecc Remove unused argument to AsyncCompositionManager::WalkTheTree, no bug, r=mattwoodrow over irc 2013-06-29 11:53:49 -07:00
Jeff Muizelaar
f9fe932a36 Bug 886845. Paint component alpha layer borders in blue. r=nical
More information is more better.
2013-06-29 11:34:03 -04:00
Jacek Caban
26ba83c45d Bug 887821 - GCC compilation failure in RadialGradientEffectD2D1.cpp r=jmuizelaar 2013-06-29 12:13:42 +02:00
Jacek Caban
039490b3b1 Bug 880836 - Fixed 'extra qualification' error on GCC. 2013-06-29 12:13:17 +02:00
Justin Lebar
3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Mike Shal
156426771a Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey 2013-06-26 14:51:06 -04:00
Guillaume Abadie ext:(%20and%20James%20King%20%3Cjames%40agentultra.com%3E)
a7e54e5fa6 bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob 2013-06-27 17:07:21 -04:00
Bas Schouten
28ede182a7 Bug 887916: Implement recording for MaskSurface calls. r=jrmuizel 2013-06-27 20:20:30 +00:00
Benoit Girard
1018ec14d9 Bug 705691 - Build cairo with the MUTEX option. r=mattwoodrow 2011-11-29 14:39:07 -05:00
Phil Ringnalda
9b08363794 Back out 37c7fcfdb186 (bug 885580) on suspicion of causing linux32 Cipc timeouts 2013-06-26 23:21:15 -07:00
Phil Ringnalda
638f256ddf Back out 5495c78f77ea (bug 705691) on suspicion of causing linux32 Cipc timeouts 2013-06-26 21:19:08 -07:00
Brian O'Keefe
9ac855a180 Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Jim Mathies
0cbcf40108 Bug 870390 - Remove the bit of code that forces the d2d backend on for metrofx. r=bbondy 2013-06-26 19:31:56 -05:00
Benoit Girard
b3422100d6 Bug 705691 - Build cairo with the MUTEX option. r=mattwoodrow 2011-11-29 14:39:07 -05:00
Matt Woodrow
8baed26d9b Bug 885580 - Make sure that Compositor::GetBackend is only used [Cfrom the compositor thread. r=nical 2013-06-27 11:30:52 +12:00
Vladimir Vukicevic
b8077c2b8c b=705022; make GL layers work on Windows; r=bjacob 2013-06-21 14:22:18 -04:00
Jeff Muizelaar
f167521fa7 Bug 886531. Fix MaskSurface implementation on CG. r=bas
The offsets were wrong.

--HG--
extra : rebase_source : 810f88c587e4fbcef377c53c13ee59a4b59cbe66
2013-06-24 17:28:21 -04:00
Kartikaya Gupta
eaff5d20cf Bug 881018 - Crash earlier when setting a bad resolution in the tiled layer buffer code. r=Cwiiis 2013-06-26 13:20:10 -04:00