Commit Graph

595 Commits

Author SHA1 Message Date
Dan Glastonbury
4afaa3f915 Bug 1184402 - Part 2: Added luminance float effective formats 2015-07-30 13:33:37 +10:00
Dan Glastonbury
3cbc70cb39 Bug 1184402 - Part 1: Rename GetInfo() to GetUsage() for obtaining FormatUsageInfo. r=jgilbert 2015-07-30 13:33:36 +10:00
Wes Kocher
b1e6ef05c0 Bug 1150944 - Fix typo on a CLOSED TREE 2015-07-29 15:53:40 -07:00
Matt Woodrow
ef253872b6 Bug 1150944 - Fix windows build bustage. CLOSED TREE 2015-07-29 18:08:07 -04:00
Matt Woodrow
6fa6ea7eec 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
e73b40e678 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
2d40eac90e 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
738c3246e7 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
e618aa2689 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
59c4d9cf6c Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Kyle
d0be04cef9 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
36058d3f15 Bug 1187174 - Use 'webgl2' not 'experimental-webgl2'. - r=kamidphish 2015-07-27 12:10:17 -07:00
Lee Salzman
24d4b186d0 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
49658133ab Bug 1186111 - Implemented pack unpremultiply for 32f formats. r=jgilbert 2015-07-21 15:00:08 -04:00
Kyle
3e88efc8dd Bug 1186111 - Implemented pack unpremultiply for 16f formats. r=jgilbert 2015-07-21 14:37:32 -04:00
Mike Hommey
c1fa27ce5d 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
9a2484c251 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
a5c96d9a72 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
4925df9194 Bug 1170455 - Part 2: Split vertex attribute functions into separate file. r=jgilbert 2015-07-22 11:59:16 +10:00
Dan Glastonbury
cbf9696071 Bug 1170455 - Part 1: Reformat GetVertexAttrib function. r=jgilbert 2015-07-22 11:59:15 +10:00
Dan Glastonbury
cb2c61433b 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
0af400c6e0 Bug 1185803 - Replace MOZ_CRASH with GenerateWarning. r=jgilbert 2015-07-22 11:23:20 +10:00
Jeff Gilbert
188c522f2c 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
74955dd489 Bug 1184786 - Fix ReadBuffer parameter validation. r=jgilbert 2015-07-20 12:24:40 +10:00
Dan Glastonbury
b2a4cbe11b Bug 1184786 - Fix LastColorAttachment(). r=jgilbert 2015-07-20 12:24:39 +10:00
Kyle
3a6ae519f0 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
f300a1992f 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
0ccbb15a1a Backed out changeset f266de469f27 (bug 1171228) for mochitest-other failures. 2015-07-17 11:29:51 +02:00
Jeff Gilbert
1136aa93d6 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
ce7468d94f Bug 1183363 - Add canvas crashtest. r=Bas
CLOSED TREE
2015-07-15 16:47:56 -04:00
Jeff Muizelaar
1f2e10f9ba Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd 2015-07-08 16:51:09 -04:00
Jeff Gilbert
488122b31e Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Lee Salzman
85dd383484 Bug 1183363 - Make EnsureWritablePath and EnsureUserSpacePath always imply EnsureTarget. r=Bas 2015-07-14 00:01:29 -04:00
Boris Zbarsky
5e2335828e Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Milan Sreckovic
febc152155 Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar 2015-07-10 12:04:56 -04:00
Botond Ballo
329ac5fd09 Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats 2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Birunthan Mohanathas
ca2fd024bc Bug 1182824 - Part 2: Make ContextState::dash a nsTArray. r=mattwoodrow 2015-07-12 23:19:12 -07:00
Birunthan Mohanathas
0b341016f1 Bug 1182824 - Part 1: Use move assignment rather than copy assignment with ContextState::dash. r=mattwoodrow 2015-07-12 23:19:12 -07:00
Jeff Gilbert
0f59626f88 Bug 1177271 - Add WebGLFormat format tables. - r=kamidphish 2015-07-10 16:34:45 -07:00
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Carsten "Tomcat" Book
9fb8eb7b5c Backed out changeset 7bffe6c8fd4d (bug 1177726) for test regressions in 1177726-text-stroke-bounds.html on a CLOSED TREE 2015-07-09 13:02:13 +02:00
Milan Sreckovic
76108d35df Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar 2015-07-08 07:45:00 +02:00
Morris Tseng
6063c7d974 Bug 1174043 - Run DisableTimer if timer is not yet disabled. r=dglastonbury 2015-07-07 23:43:00 +02:00
Robert O'Callahan
3c924e5d41 Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical 2015-03-27 12:07:53 +13:00
Edwin Flores
198d1f72ef Bug 1170893 - Return null for invalid internal format. r=kamidphish 2015-07-07 16:24:25 +10:00
Kyle
58e5fda156 Bug 1137494 - Change the type given to type validation check. r=jgilbert 2015-06-23 17:25:13 -07:00
Dan Glastonbury
1c19908812 Bug 1179556 - Only call EnsureColorAttachPoints with a color attachment. r=jgilbert 2015-07-02 10:47:45 +10:00
Wes Kocher
f9c7ca03c1 Backed out changeset 66096f511050 (bug 1178999) for gl bustage CLOSED TREE 2015-07-01 16:19:09 -07:00
Wes Kocher
e8a308707d Backed out changeset 288fee06d8aa (bug 1178999) 2015-07-01 16:18:59 -07:00