Commit Graph

669 Commits

Author SHA1 Message Date
Kathy Brade
c473141fc9 Bug 232227 - Do not expose system colors to CSS or canvas. r=jmuizelaar r=enndeakin tor-r=arthuredelstein 2015-09-25 00:59:00 +02:00
Nicholas Nethercote
0929981996 Bug 1207741 - Remove gfxIntSize. r=nical.
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
2015-09-23 11:49:05 -07:00
Jeff Gilbert
f5e35d3064 Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-24 12:21:05 -07:00
Matt Woodrow
295e5cc3c8 Bug 1206161 - Make sure the DrawTarget is available when creating a CanvasLayer so that we can check for SkiaGL. r=Bas 2015-09-23 20:30:06 -04:00
Matt Woodrow
1f3d4e3e96 Bug 1150944 - Fuzz some reftests with SkiaGL. r=jrmuizel 2015-09-23 20:28:23 -04:00
Phil Ringnalda
978242ee5b Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
87aac68e44 Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-22 16:49:25 -07:00
Jeff Gilbert
a0647bc4a8 Bug 1206907 - GenerateWarning should output to Web Console, not Browser Console. - r=bholley 2015-09-22 15:51:01 -07:00
Jeff Gilbert
f22e583f8d Bug 1192989 - Simplify handling by ifdefing in all.js. - r=kamidphish 2015-08-10 14:57:15 -07:00
Bas Schouten
bfcc88740c Bug 1206076: Use a specialized PersistentBufferProvider for Canvas2D when using a SkiaGL DrawTarget. r=jrmuizel 2015-09-21 00:30:59 +02:00
Andreas Pehrson
beff405ec7 Bug 1177276 - Pref on canvas.captureStream by default. r=smaug,mt 2015-09-17 22:09:24 +08:00
Andreas Pehrson
0905bf6260 Bug 1161913 - Part 3 - Relax requestFrame ordering guarantee in tests. r=mt
We used to fully guarantee the order of requestFrame() and draw calls.
For instance:
```
ctx.draw(red);
stream.requestFrame();
ctx.draw(green);
```
would guarantee that a red frame ended up in the stream, and not the
green unless another frame was requested.

Now with frames being requested and pushed out on next refresh, we can
only guarantee that everything up to the requestFrame() call is included
in the next frame. Everything after the requestFrame() and before the
next refresh (stable state in most cases) will now also be inevitably
included.
2015-09-17 11:37:05 +08:00
Andreas Pehrson
193016035c Bug 1161913 - Part 1 - Add invalidation state for CaptureStream to Canvas and Contexts. r=mt 2015-09-17 11:37:05 +08:00
Nicholas Nethercote
830cf484e9 Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)
2015-09-09 21:07:07 -07:00
Lee Salzman
1245492cb6 Bug 655328 - remove obsolete canvas test test_2d.drawImage.outsidesource since out of bounds rects no longer throw IndexSizeError. r=jmuizelaar 2015-09-11 10:13:23 -04:00
Lee Salzman
5ffe4543a3 Bug 655328 - clip canvas drawImage source/dest rectangles instead of throwing IndexSizeError. r=jmuizelaar 2015-09-11 11:14:32 -04:00
Lee Salzman
71f2e07761 Bug 1074733 - Part 4 - fix test_canvas.html tests with negative rects to no longer expect failure. r=jmuizelaar 2015-09-10 14:10:59 -04:00
Lee Salzman
1aea8a99f2 Bug 1074733 - Part 1 - Normalize Canvas 2D rects to be positive by flipping negative width or height. r=jmuizelaar 2015-09-11 11:29:17 -04:00
John Daggett
f1d75570fb Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato 2015-09-11 13:24:33 +09:00
Phil Ringnalda
35bbe8990a Back out 71886d218c12 (bug 1200864) for Win8 mochitest-gl failures
CLOSED TREE
2015-09-02 20:35:45 -07:00
Jeff Gilbert
e32cfbd5f4 Bug 1200864 - Skip DrawElements buffer validation when we have robust_buffer_access. - r=kamidphish 2015-09-02 14:06:58 -07:00
Geoff Brown
eb7f5a7cf0 Bug 1201075 - Increase timeout for webgl-color-test; r=jgilbert 2015-09-02 14:20:02 -06:00
Bas Schouten
bbbdf00ad7 Bug 1192159: Do not forget about the transform when not using an active target. r=jrmuizel 2015-09-02 12:20:59 +00:00
Ehsan Akhgari
c0e7ff745f Bug 1200492 - Do not add the top source directory to the include path in dom/canvas; r=gps
Otherwise, putting a file named a system header there
will get it included.
2015-09-01 19:48:31 -04:00
Nicholas Nethercote
12fec02dfb Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Liam Middlebrook
19c5dc9db7 Bug 1178893 - Made state/gl-enum-tests Conformant. r=kamidphish
GL_NUM_COMPRESSED_TEXTURE_FORMATS isn't a valid enum for gl.getParameter so
instead of setting a GL_NO_ERROR it should set a GL_INVALID_ENUM.
2015-08-26 15:35:43 -04:00
Andrew Comminos
23c8633c16 Revert "Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel" CLOSED TREE
This reverts commit 99120014586d20a2921b9157e5ec81b3605cd8bd.
2015-08-27 17:12:06 -04:00
Jeff Gilbert
ed99f27541 Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel 2015-08-27 16:55:45 -04:00
Andrea Marchesini
ca8beb8e59 Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug 2015-08-27 17:19:13 +01:00
Nigel Babu
ad0137c71f Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE 2015-08-27 15:04:25 +05:30
Andrea Marchesini
29e5030756 Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug 2015-08-27 09:06:09 +01:00
Chris Peterson
578cf1b411 Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Lee Salzman
9069c5ec63 Bug 1190705 - Add crashtest for canvas 2d. r=Bas 2015-08-05 21:17:14 -04:00
Lee Salzman
1b79409525 Bug 1190705 - Ensure that canvas 2d matrix transforms are finite. r=Bas, r=jrmuizel 2015-08-05 18:48:25 -04:00
Kyle
a8328a54dd Bug 1190777 - Add null checks to prevent bad dereferences. r=kamidphish 2015-08-11 10:17:16 -04:00
Markus Stange
6c0342f36a Bug 1164766 - Clean up error checking in CanvasRenderingContext2D. r=mats 2015-07-14 16:59:12 -04:00
JerryShih
3ec1169f28 Bug 1186666 - clamp gl ClearDepth() value to [0,1]. r=jgilbert
The value should be clamped to the range [0,1].
https://www.khronos.org/opengles/sdk/docs/man/xhtml/glClearDepthf.xml
2015-08-19 14:50:06 -07:00
Justin Wood
b19d8c448e Bug 1195499 - Batch 2 - Adjust fuzz and skips for win10. r=Bas 2015-08-19 11:16:18 -04:00
William Chen
24793a0aee Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku 2015-08-18 14:55:21 -07:00
Kaku Kuo
a724604ea6 Bug 1190210 - Part 4: Test cases. r=smaug 2015-08-06 21:24:53 +08:00
Kaku Kuo
ba99f85fbc Bug 1190210 - Part 3: Fix the assertion in create-from-blob case. r=smaug 2015-08-06 22:36:06 +08:00
Kaku Kuo
53dcafaee5 Bug 1190210 - Part 2: Make sure the size of created ImageBitmap is the same as the intented cropping area. r=roc 2015-08-06 16:58:00 +08:00
Kaku Kuo
c4b4dd570e Bug 1190210 - Part 1: Avoid wrong memory accessing in CropAndCopyDataSourceSurface(). r=smaug 2015-08-05 17:46:47 +08:00
Andrew Comminos
4c685795db Bug 1194472 - Correctly fetch compositor backend in WebGLContext. r=jgilbert 2015-08-17 15:10:12 -07:00
Dan Glastonbury
f1604e10cc Bug 1170842 - Part 4: Implement FramebufferTextureLayer. r=jgilbert 2015-08-12 11:51:34 +10:00
Dan Glastonbury
a4d93f502d Bug 1170842 - Part 3: Implement GetInternalformatParameter. r=jgilbert, r=smaug 2015-08-12 11:51:16 +10:00
Wes Kocher
fe4e351415 Backed out changeset 24ee4a5af7e8 (bug 1136414) for test_conformance__extensions__ext-sRGB.html failures 2015-08-11 15:59:04 -07:00
Kyle
aacf1e0e1f Bug 1136414: Removed SRGB8_EXT from list of color renderable formats. r=jgilbert 2015-08-05 11:36:05 -04:00
Jeff Gilbert
7ddcbebd10 Bug 1192472 - Only do supplemental isArray check if WorkAroundDriverBugs. - r=kamidphish 2015-08-07 19:29:53 -07:00
Lee Salzman
3fc9ce856e Bug 1191608 - initialize element to null in CanvasRenderingContext2D::DrawImage. r=bas 2015-08-06 12:07:09 -04:00