Commit Graph

614 Commits

Author SHA1 Message Date
Birunthan Mohanathas
9b6236a10a Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Kyle
9664a8ccbb 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
9c51a93d7c 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
b81906a10c Bug 1170845 - Remove WebGL2() exclusion on instanced draw divisor check. r=jgilbert 2015-08-04 10:28:13 +10:00
Jeff Gilbert
e858d3e565 Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish 2015-08-03 14:34:46 -07:00
Jan-Ivar Bruaroey
ce623ebf8f 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
e92450872e Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Kaku Kuo
06d8c56d7e Bug 1044102 - Part 3 - Support StructuredClone. r=baku 2015-07-30 20:50:00 +02:00
Kaku Kuo
4fb2a7b1dd Bug 1044102 - Part 2 - Support ImageBitmap as CanvasImageSource. r=smaug 2015-07-30 20:49:00 +02:00
Kaku Kuo
1abe74c3a6 Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug 2015-07-30 20:47:00 +02:00
Kaku Kuo
ac76d68c51 Bug 1044102 - Part 0 - Test cases. r=smaug. 2015-07-30 20:45:00 +02:00
Carsten "Tomcat" Book
f15ce7bacd Backed out changeset 835f428cd0a1 (bug 1170845) for webgl test failures on a CLOSED TREE 2015-07-31 09:54:10 +02:00
Dan Glastonbury
e7b450b988 Bug 1170845 - Remove WebGL2() exclusion on instanced draw divisor check. r=jgilbert 2015-07-31 16:24:00 +10:00
Lee Salzman
8a2ef85f44 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
5d264f12d4 Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical 2015-07-30 12:40:56 -04:00
Lee Salzman
d5e3b0ec4e Bug 1188195 - always initialize WebGL2 BlitFramebuffer src/dst formats to some value. r=jgilbert 2015-07-29 15:51:14 -04:00
Nicholas Nethercote
b003fba482 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
e4e87bcd3d Bug 1184402 - Part 4: Use WebGLFormat for validation in RenderbufferStorage_base. r=jgilbert 2015-07-30 13:33:39 +10:00
Dan Glastonbury
cffb327ee8 Bug 1184402 - Part 3: Add WebGL1 formats when enabling extensions. r=jgilbert 2015-07-30 13:33:38 +10:00
Dan Glastonbury
0da29294f4 Bug 1184402 - Part 2: Added luminance float effective formats 2015-07-30 13:33:37 +10:00
Dan Glastonbury
0420a912c8 Bug 1184402 - Part 1: Rename GetInfo() to GetUsage() for obtaining FormatUsageInfo. r=jgilbert 2015-07-30 13:33:36 +10:00
Wes Kocher
2ff9d244b6 Bug 1150944 - Fix typo on a CLOSED TREE 2015-07-29 15:53:40 -07:00
Matt Woodrow
984206dd74 Bug 1150944 - Fix windows build bustage. CLOSED TREE 2015-07-29 18:08:07 -04:00
Matt Woodrow
ff3e71c061 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Matt Woodrow
25044f4efd Bug 1150944 - Remove objects that have been unlinked by the cycle collector from the demotable context list. r=ehsan 2015-07-29 16:35:55 -04:00
Wes Kocher
d73df9eb52 Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
a355c051e4 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Matt Woodrow
31bd832d97 Bug 1150944 - Remove objects that have been unlinked by the cycle collector from the demotable context list. r=ehsan 2015-07-29 16:35:55 -04:00
Bobby Holley
106e778c81 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Kyle
a8f6e7ac75 Bug 1175931 - TexImageFromVideoElement uses GL_HALF_FLOAT if it does not support GL_HALF_FLOAT_OES which would be the case on non-ANGLE systems. Using GL_HALF_FLOAT_OES on a non OES system would result in an error when using TexImage2D. r=jgilbert 2015-07-24 13:55:46 -04:00
Jeff Gilbert
b3183a903d Bug 1187174 - Use 'webgl2' not 'experimental-webgl2'. - r=kamidphish 2015-07-27 12:10:17 -07:00
Lee Salzman
7407cac088 Bug 1186689 - check for OOM on destination array before mapping source to avoid needing unmap. r=bas 2015-07-23 11:39:22 -04:00
Kyle
966af846b6 Bug 1186111 - Implemented pack unpremultiply for 32f formats. r=jgilbert 2015-07-21 15:00:08 -04:00
Kyle
daa6a85ccb Bug 1186111 - Implemented pack unpremultiply for 16f formats. r=jgilbert 2015-07-21 14:37:32 -04:00
Mike Hommey
b10ddebab4 No bug - Remove outdated comment and additional comment questioning its relevance. r=me DONTBUILD
The first half of the comment was added in bug 534467.
At that point the code looked like:
  // NOTE! dst is the same as src, and this relies on reading
  // from src and advancing that ptr before writing to dst.
  PRUint8 *src = aData;
  PRUint8 *dst = aData;

It was in content/canvas/src/nsCanvasRenderingContext2D.cpp.

Then bug 651858 added nsCanvasRenderingContext2DAzure.cpp, starting
from nsCanvasRenderingContext2D.cpp. The comment was kept, but the
code was modified such that src and dst were different things.

Then bug 734668 removed nsCanvasRenderingContext2D.cpp, and finally
renamed nsCanvasRenderingContext2DAzure.cpp to CanvasRenderingContext2D.cpp.

The comment questioning the relevance of the first comment was added
in bug 764125, when the file was still nsCanvasRenderingContext2DAzure.cpp.
2015-07-26 11:39:47 +09:00
Kyle
2334850aea Bug 1167651 - Passed the forceEnabled pref from function to function down to GLLibraryEGL::EnsureInitialized. r=jgilbert 2015-07-23 13:12:59 -04:00
Dan Glastonbury
309ea5e508 Bug 1170455 - Part 4: Track the type of the generic vertex attribute. r=jgilbert
So the correct typed array can be returned from GetVertexAttrib.
2015-07-22 11:59:18 +10:00
Dan Glastonbury
7933eed342 Bug 1170455 - Part 2: Split vertex attribute functions into separate file. r=jgilbert 2015-07-22 11:59:16 +10:00
Dan Glastonbury
25f497c307 Bug 1170455 - Part 1: Reformat GetVertexAttrib function. r=jgilbert 2015-07-22 11:59:15 +10:00
Dan Glastonbury
5e7aaa1dfd Bug 1185815 - Hoist generation increment. r=jgilbert
So 'default' WebGL objects are in the same generation as the current context.
2015-07-22 11:37:40 +10:00
Dan Glastonbury
1cfaa135cd Bug 1185803 - Replace MOZ_CRASH with GenerateWarning. r=jgilbert 2015-07-22 11:23:20 +10:00
Jeff Gilbert
45b2058baf Bug 1171228 - Expose WEBGL_debug_renderer_info to web content on non-RELEASE_BUILDs. - r=kamidphish, sr=jst 2015-07-21 17:41:57 -07:00
Dan Glastonbury
4b680a4e1e Bug 1184786 - Fix ReadBuffer parameter validation. r=jgilbert 2015-07-20 12:24:40 +10:00
Dan Glastonbury
1586930f05 Bug 1184786 - Fix LastColorAttachment(). r=jgilbert 2015-07-20 12:24:39 +10:00
Kyle
2f6f0101b4 Bug 1106138 - Cause crash when an unimplemented pack mode is used. Implement packing for RGBA32F format, which is used in WebGL 1.0.2 conformance. r=jgilbert 2015-07-08 22:00:47 -04:00
Kyle
a91110c627 Bug 1106138 - Remove the early unpremultiply in WebGLContext::SurfaceFromElementResultToImageSurface, and let the texel conversion code handle it instead. r=jgilbert 2015-07-16 17:23:11 -04:00
Ms2ger
2694437c00 Backed out changeset f266de469f27 (bug 1171228) for mochitest-other failures. 2015-07-17 11:29:51 +02:00
Jeff Gilbert
9c9d6ad942 Bug 1171228 - Expose WEBGL_debug_renderer_info to Web Content #ifndef MOZ_RELEASE_BUILD. - r=kamidphish, sr=jst 2015-07-16 17:20:15 -07:00
Lee Salzman
4e2912f17d Bug 1183363 - Add canvas crashtest. r=Bas
CLOSED TREE
2015-07-15 16:47:56 -04:00
Jeff Muizelaar
9214c5266a Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd 2015-07-08 16:51:09 -04:00