Commit Graph

646 Commits

Author SHA1 Message Date
Ehsan Akhgari
1aceac329e 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
69d088e45f 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
514062ad7e 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
b3d4755676 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
49821ec279 Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel 2015-08-27 16:55:45 -04:00
Andrea Marchesini
6e34f6b5b0 Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug 2015-08-27 17:19:13 +01:00
Nigel Babu
4da66159a2 Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE 2015-08-27 15:04:25 +05:30
Andrea Marchesini
c5ea65bcb2 Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug 2015-08-27 09:06:09 +01:00
Chris Peterson
cd0fd3466a Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Lee Salzman
2dfa9e7cc7 Bug 1190705 - Add crashtest for canvas 2d. r=Bas 2015-08-05 21:17:14 -04:00
Lee Salzman
01275d0e89 Bug 1190705 - Ensure that canvas 2d matrix transforms are finite. r=Bas, r=jrmuizel 2015-08-05 18:48:25 -04:00
Kyle
83c89c4bbf Bug 1190777 - Add null checks to prevent bad dereferences. r=kamidphish 2015-08-11 10:17:16 -04:00
Markus Stange
416b6d2707 Bug 1164766 - Clean up error checking in CanvasRenderingContext2D. r=mats 2015-07-14 16:59:12 -04:00
JerryShih
fcc034a210 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
8fa323c4ed Bug 1195499 - Batch 2 - Adjust fuzz and skips for win10. r=Bas 2015-08-19 11:16:18 -04:00
William Chen
31205f2a04 Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku 2015-08-18 14:55:21 -07:00
Kaku Kuo
e2c5748c72 Bug 1190210 - Part 4: Test cases. r=smaug 2015-08-06 21:24:53 +08:00
Kaku Kuo
0dcb9a5756 Bug 1190210 - Part 3: Fix the assertion in create-from-blob case. r=smaug 2015-08-06 22:36:06 +08:00
Kaku Kuo
cc3d7787b7 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
74735d9e1a Bug 1190210 - Part 1: Avoid wrong memory accessing in CropAndCopyDataSourceSurface(). r=smaug 2015-08-05 17:46:47 +08:00
Andrew Comminos
e193dc2524 Bug 1194472 - Correctly fetch compositor backend in WebGLContext. r=jgilbert 2015-08-17 15:10:12 -07:00
Dan Glastonbury
4894404e71 Bug 1170842 - Part 4: Implement FramebufferTextureLayer. r=jgilbert 2015-08-12 11:51:34 +10:00
Dan Glastonbury
07f8472b99 Bug 1170842 - Part 3: Implement GetInternalformatParameter. r=jgilbert, r=smaug 2015-08-12 11:51:16 +10:00
Wes Kocher
363d11758a Backed out changeset 24ee4a5af7e8 (bug 1136414) for test_conformance__extensions__ext-sRGB.html failures 2015-08-11 15:59:04 -07:00
Kyle
b19af36cf5 Bug 1136414: Removed SRGB8_EXT from list of color renderable formats. r=jgilbert 2015-08-05 11:36:05 -04:00
Jeff Gilbert
8179f9c3d3 Bug 1192472 - Only do supplemental isArray check if WorkAroundDriverBugs. - r=kamidphish 2015-08-07 19:29:53 -07:00
Lee Salzman
6c9babb4f2 Bug 1191608 - initialize element to null in CanvasRenderingContext2D::DrawImage. r=bas 2015-08-06 12:07:09 -04:00
Kyle
d25e959e80 Bug 1136428 - Change implementation of WebGLContext::DrawBuffers such that it goes through GLScreenBuffer to change the draw buffer. Added a variable to GLScreenBuffer to cache the draw buffer mode. r=jgilbert 2015-07-31 15:56:32 -04:00
Kyle
00df5efb3a Bug 1136428 - Create a different set and restore path of the draw buffer state in WebGLContext::ForceClearFramebufferWithDefaultValues depending on whether or not the default framebuffer is being used. r=jgilbert 2015-07-29 15:01:26 -04:00
Kyle
1d809f29ef Bug 1136428 - Ensure we never create more than the amount supported of color attachments in WebGLFrameBuffer or try to get an attachment point higher than the supported number. r=jgilbert 2015-08-05 16:45:44 -04:00
Dan Glastonbury
1a99cebbe6 Bug 1184402 - Reset format usage authority on context lose/restore. r=jgilbert 2015-08-06 10:30:51 +10:00
Bas Schouten
d952966e55 Bug 1188752: Ensure persistence of DrawTarget when using InitializeWithSurface. r=jrmuizel 2015-08-05 19:00:03 +00:00
Birunthan Mohanathas
e1f0334d06 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Kyle
d4829ae10e Bug 1186129 - Fix assignment of alpha in pack premultiply RA16F. Also made a cosmetic change to the assignment of alpha in pack premultiply RA32F so that it is more consistent with the other pack functions. r=jgilbert 2015-07-21 15:24:45 -04:00
Andrew Comminos
f58452ebe0 Bug 1189903 - Don't use RGBA surfaces on GLX if surface sharing is not used. r=jgilbert 2015-08-04 07:12:00 -04:00
Dan Glastonbury
cabfc5ae3b Bug 1170845 - Remove WebGL2() exclusion on instanced draw divisor check. r=jgilbert 2015-08-04 10:28:13 +10:00
Jeff Gilbert
8fd74694aa Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish 2015-08-03 14:34:46 -07:00
Jan-Ivar Bruaroey
3985679823 Bug 1175523 - Update most (but not all) tests to use elem.srcObject over .mozSrcObject. r=pehrsons 2015-07-14 10:12:31 -04:00
Makoto Kato
629ba560a7 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Kaku Kuo
6e4e851be6 Bug 1044102 - Part 3 - Support StructuredClone. r=baku 2015-07-30 20:50:00 +02:00
Kaku Kuo
d676cc57dd Bug 1044102 - Part 2 - Support ImageBitmap as CanvasImageSource. r=smaug 2015-07-30 20:49:00 +02:00
Kaku Kuo
fa3a35c345 Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug 2015-07-30 20:47:00 +02:00
Kaku Kuo
d304622253 Bug 1044102 - Part 0 - Test cases. r=smaug. 2015-07-30 20:45:00 +02:00
Carsten "Tomcat" Book
1996074142 Backed out changeset 835f428cd0a1 (bug 1170845) for webgl test failures on a CLOSED TREE 2015-07-31 09:54:10 +02:00
Dan Glastonbury
e1e7294c27 Bug 1170845 - Remove WebGL2() exclusion on instanced draw divisor check. r=jgilbert 2015-07-31 16:24:00 +10:00
Lee Salzman
cf88f83a89 Bug 1188462 - Add SKIA_INCLUDES list for adding Skia to header search path. r=jrmuizel 2015-07-30 12:05:22 -04:00
Andrew Comminos
3e4e803f91 Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical 2015-07-30 12:40:56 -04:00
Lee Salzman
c695a6bb45 Bug 1188195 - always initialize WebGL2 BlitFramebuffer src/dst formats to some value. r=jgilbert 2015-07-29 15:51:14 -04:00
Nicholas Nethercote
242308999c Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.
2015-07-28 23:24:24 -07:00
Dan Glastonbury
25b5710769 Bug 1184402 - Part 4: Use WebGLFormat for validation in RenderbufferStorage_base. r=jgilbert 2015-07-30 13:33:39 +10:00