Commit Graph

841 Commits

Author SHA1 Message Date
Jonathan Griffin
5707644ec5 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Morris Tseng
279a41a065 Bug 1024149 - Use element size for upload texture when using SVG image. r=jgilbert r=roc 2016-01-05 17:51:04 +08:00
Nicholas Nethercote
ae83a529c2 Bug 1233631 - Moz2Dify CanvasBidiProcessor. r=jfkthame. 2015-12-17 19:59:04 -08:00
Nicholas Nethercote
102bc2324f Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.

The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:

- It adds a comment about the null check in
  gfxGlyphExtents::GetTightGlyphExtentsAppUnits().

- A couple of functions simply had an unused gfxContext or nsRenderingContext
  parameter removed, e.g. SetLineBreaks().
2015-12-15 13:56:41 -08:00
Lee Salzman
631f895491 Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar 2015-12-30 13:39:13 -05:00
Ethan Lin
539a28098c Bug 1205168 - Part 6: Fix TexImage2D and TexSubImage2D with texture conversion. r=jgilbert 2015-12-29 18:37:00 +01:00
Dan Glastonbury
19d64b774e Bug 1205168 - Part 7: Remove unneeded functions. r=jgilbert
* GLFormatForTexelFormat
* GetWebGLTexelFormat
2015-12-22 22:08:00 +01:00
Dan Glastonbury
19cfcee763 Bug 1205168 - Part 5: Texel Conversion - RGB11F11F10F format. r=jgilbert 2015-12-22 22:02:00 +01:00
Dan Glastonbury
eb973f8e9f Bug 1205168 - Part 4: Texel Conversion - RG32F format. r=jgilbert 2015-12-22 22:01:00 +01:00
Dan Glastonbury
c260e2ebb8 Bug 1205168 - Part 3: Texel Conversion - RG16F format. r=jgilbert 2015-12-22 21:57:00 +01:00
Dan Glastonbury
34fb72eea2 Bug 1205168 - Part 2: Texel Conversion - RG8 format. r=jgilbert 2015-12-22 21:56:00 +01:00
Dan Glastonbury
fcf1dfbf75 Bug 1205168 - Part 1 - Sort all the WebGLTexelFormats. r=jgilbert
In preparation for adding new formats and conversion code, sort the
existing ones into some semblance of order.
2015-12-22 19:59:00 +01:00
Ethan Lin
58463815c2 Bug 1205168 - Part 0: Remove copy-ctor from strong type. r=jgilbert 2015-12-22 19:58:00 +01:00
Andreas Pehrson
9e7f845d2f Bug 1233613 - Add crashtest. r=mt 2015-12-22 11:29:26 +08:00
Jeff Gilbert
222d706eb3 Bug 1220450 - Clear length on cache OOM. r=kamidphish
DONTBUILD a=relanding
2016-01-01 14:00:48 -05:00
Ryan VanderMeulen
fa44ae3348 Backout changeset 740e4ce7bb16 (bug 1220450) for landing with oddball whitespace. 2016-01-01 19:49:46 -05:00
Jeff Gilbert
0ea9c8037e Bug 1220450 - Clear length on cache OOM. r=kamidphish 2016-01-01 14:00:48 -05:00
Sebastian Hengst
72943a096d Backed out changeset 21607399e25e (bug 1229983) for failing own R(C) test. r=backout 2015-12-30 15:00:44 +01:00
Lee Salzman
23a33247c6 Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar 2015-12-16 17:53:11 -05:00
Lee Salzman
96319559e1 Bug 1229932 - check that offsets to canvas fillText() are finite. r=jmuizelaar 2015-12-16 14:56:22 -05:00
Lee Salzman
99ec363485 Bug 1230686 - use RefPtr<DrawTarget>& instead of DrawTarget* to track changes in SurfaceFromElement. r=jmuizelaar 2015-12-29 10:41:43 -05:00
Ting-Yu Lin
7f022adf14 Bug 1234744 - Fix build errors in ImageBitmap.h. r=roc 2015-12-23 11:49:19 +08:00
Jeff Muizelaar
463aa3c863 Bug 1233549. Disallow ES3 compressed texture formats. r=jgilbert
This fixes assertion failures on platforms that don't have
these formats. This is a temporary fix until we iron out
this issue in the spec. It's easier to add this later than
it is to take it away.
2015-12-18 22:05:11 -05:00
Jeff Muizelaar
de7c7b3be2 Bug 1218881. Enforce queries' new availability semantics. r=jgilbert
This adds a Runnable that we dispatch to the event loop so that we can make
sure queries don't become available before they are supposed to.
2015-12-18 17:05:42 -05:00
Wes Kocher
a376f81d07 Backed out changeset cdc2bfed4faa (bug 1218881) for static build bustage CLOSED TREE 2015-12-18 12:43:42 -08:00
Jeff Muizelaar
668c8b1285 Bug 1218881. Enforce queries' new availability semantics. r=jgilbert
This adds a Runnable that we dispatch to the event loop so that we can make
sure queries don't become available before they are supposed to.
2015-12-18 14:40:08 -05:00
Lee Salzman
5c58c6d9e7 Bug 1082598 - Part 9: Fix test failures for Skia update. r=jrmuizel 2015-12-18 13:53:26 -05:00
Ms2ger
7a24431aa6 Bug 1217835 - Rewrite some code in CanvasRenderingContext2D::GetImageDataArray to avoid build warnings; r=gw280 2015-12-18 11:08:06 +01:00
Morris Tseng
7c6ad64f6c Bug 1172796 - Part 9: Use gfxPrefs to get webgl.enable-prototype-webgl2. r=jgilbert 2015-12-18 14:52:17 +08:00
Morris Tseng
b14d03ab1a Bug 1172796 - Part 7: Implements ImageBitmapRenderingContext. r=roc r=smaug 2015-12-18 14:52:17 +08:00
Morris Tseng
597a19a423 Bug 1172796 - Part 6: Implements ImageBitmap::Close(). r=roc r=smaug 2015-12-18 14:52:17 +08:00
Morris Tseng
374a8aa4b5 Bug 1172796 - Part 5: Implements OffscreenCanvas::TransferImageBitmap. r=roc r=smaug 2015-12-18 14:52:17 +08:00
Morris Tseng
314c72ac83 Bug 1172796 - Part 4: Implement OffscreenCanvas::ToBlob. r=roc r=smaug 2015-12-18 14:52:17 +08:00
Morris Tseng
fa7da0ed58 Bug 1172796 - Part 3: Implement OffscreenCanvas constructor. r=roc r=smaug 2015-12-18 14:52:17 +08:00
Morris Tseng
f7128495a2 Bug 1172796 - Part 2: Add write-only flag for origin-clean check. r=roc 2015-12-18 14:52:17 +08:00
Morris Tseng
a551510a0a Bug 1215438 - Part 5: Add test for imagebitmap transfer. r=roc 2015-12-18 14:52:16 +08:00
Morris Tseng
b985b4445c Bug 1215438 - Part 4: Rename CairoImage to SourceSurfaceImage. r=roc 2015-12-18 14:52:16 +08:00
Morris Tseng
53a8d47467 Bug 1215438 - Part 1: Add utility functions to support transferring ImageBitmap. r=roc 2015-12-18 14:52:16 +08:00
Jeff Gilbert
a31a8e6c12 Bug 1233557 - Allow RGB8 to be renderable again for web-compat. - r=jrmuizel 2015-12-17 14:41:53 -08:00
Wes Kocher
8887bca19f Backed out 10 changesets (bug 1082598) for 2d.path.arcTo.shape.curve1.html failures on OSX
Backed out changeset 018c2a3031f4 (bug 1082598)
Backed out changeset 8f60e42aca2e (bug 1082598)
Backed out changeset c4297c82165f (bug 1082598)
Backed out changeset c22c1bfd091a (bug 1082598)
Backed out changeset 8754fd718869 (bug 1082598)
Backed out changeset da976e4cd253 (bug 1082598)
Backed out changeset 3c8f87df8c68 (bug 1082598)
Backed out changeset 3183d30eb549 (bug 1082598)
Backed out changeset c239a7bc6cba (bug 1082598)
Backed out changeset aa3805015270 (bug 1082598)
2015-12-17 14:30:50 -08:00
Jeff Gilbert
10bf7fbfbf Bug 1229944 - Reenable the test. 2015-12-17 14:17:17 -08:00
Lee Salzman
70f549e37d Bug 1082598 - Part 9: Fix test failures for Skia update. r=jrmuizel 2015-12-17 14:45:45 -05:00
Jeff Gilbert
d385980358 Bug 1229944 - Touch moz.build to avoid a clobber? (hotfix) 2015-12-16 19:11:45 -08:00
Jeff Muizelaar
4270599fb6 Bug 1229210. Handle the new formats required by WebGL2 in ReadPixels. r=jgilbert
This is required for deqp/functional/gles3/builtinprecision00.html to pass on Linux
2015-12-16 22:10:53 -05:00
Jeff Muizelaar
40d28c4dad Bug 1232462. Only ask for a higher version of GLSL when using WebGL2. r=jgilbert
This fixes the situation for now. I'm going to try to work out what should
actually be happening here with ANGLE.

See also: https://bugs.chromium.org/p/angleproject/issues/detail?id=1256
2015-12-16 22:10:53 -05:00
Jeff Gilbert
b4e1c45b56 Bug 1229944 - Hotfix disable test on Android. 2015-12-16 18:04:37 -08:00
Jeff Gilbert
99fb8e332d Bug 1229944 - Add a fixed test. - r=kamidphish - CLOSED TREE HOTFIX 2015-12-16 16:44:53 -08:00
Jeff Gilbert
899f1a4250 Bug 1232864 - Hotfix test on a CLOSED TREE 2015-12-16 16:13:21 -08:00
Jeff Gilbert
e69b3a581a Backout revision e46ca0ac35f5 (Bug 1229944) for bad m-gl on CLOSED TREE. 2015-12-16 16:10:01 -08:00
Jeff Gilbert
e6dc0e34b5 Bug 1229944 - Add test. - r=kamidphish 2015-12-15 13:42:21 -08:00