Jeff Gilbert
ea04ebebca
Bug 1233046
- Fix OES_texture_float on Mac and add tests for extensions. - r=jrmuizel
2016-02-03 12:27:50 -08:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
vincentliu
ba5e765fc3
Bug 801176 - part0-v3: Modify Coding Style for 2d Canvas. r=roc
...
---
dom/canvas/CanvasRenderingContext2D.cpp | 1336 +++++++++++++++----------------
dom/canvas/CanvasRenderingContext2D.h | 508 ++++++------
2 files changed, 922 insertions(+), 922 deletions(-)
2016-02-01 16:39:08 +08:00
Brad Kotsopoulos
71346bf41d
Bug 1242330 - "Four extensions were promoted to core in WebGL 2 and should no longer be available as extensions." r=jgilbert r=jmuizelaar
2016-01-24 22:21:00 +01:00
Ethan Lin
48c9893604
Bug 1240438 - Fix WebGL2 framebuffer attachment related implementation. r=jgilbert
2016-01-29 01:41:00 +01:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Morris Tseng
6523e669e2
Bug 1243663 - Max uniform and attribute location lengths in WebGL2 should be 1024. r=jgilbert
...
--HG--
extra : commitid : 5Dh3QQP7TPU
2016-01-29 14:44:08 +08:00
Morris Tseng
571b20fd9f
Bug 1242347 - Allow unsized internal format when generate mipmap. r=jgilbert
...
--HG--
extra : commitid : BMfNLWIwGbn
2016-01-29 10:58:05 +08:00
Ethan Lin
7392c36bba
Bug 1242336 - Fix WebGL2 return type of GL_UNPACK_SKIP. r=jgilbert
...
--HG--
extra : rebase_source : 3b03d187959fbcac72bda8139b3f37211ede5fcc
2016-01-25 22:11:00 +01:00
Jeff Walden
1e1850242d
Bug 1079844 - Change various non-js/ files/tests/etc. to refer to detaching of ArrayBuffers rather than neutering. (DOM references to "neutering" of DOM things remain as neutering.) r=bz
...
--HG--
rename : dom/media/webaudio/test/audioBufferSourceNodeNeutered_worker.js => dom/media/webaudio/test/audioBufferSourceNodeDetached_worker.js
rename : dom/media/webaudio/test/test_audioBufferSourceNodeNeutered.html => dom/media/webaudio/test/test_audioBufferSourceNodeDetached.html
extra : rebase_source : acc6f8336a3ffb084a0e95865710748edd9354d9
2016-01-25 18:10:22 -08:00
Carsten "Tomcat" Book
df24af8302
Backed out changeset b7d242697573 (bug 1237193) for bustage
2016-01-27 11:42:24 +01:00
Ethan Lin
bcb1b9e546
Bug 1239541 - Fix WebGL2 texImage related checking. r=jgilbert
2016-01-20 16:39:00 +01:00
Kaku Kuo
e3bc6c71ea
Bug 1239300 - reject promise with null while creating imagebitmap from empty blob; r=smaug
2016-01-19 14:35:01 +08:00
Ethan Lin
d650b65ee9
Bug 1237193 - Fix WebGL getActiveUniforms return type. r=jgilbert, r=smaug
...
--HG--
extra : rebase_source : 141f00dc036118d7ec0b92a079de84b7b81c29f6
extra : amend_source : 158f20f09262bbbdc41b3b7ba734cfadd3706198
2016-01-07 21:45:00 +01:00
Morris Tseng
9316d33f5f
Bug 1241777 - TexCompareFunc should be stored in ascending order. r=jgilbert
...
--HG--
extra : commitid : 5tm6TsrqtCf
2016-01-27 14:12:52 +08:00
Ethan Lin
d31232b919
Bug 1240673 - Fix WebGL2 framebuffer parameter problem. r=jgilbert
...
--HG--
extra : rebase_source : 2c131d0b6178666e80f5771030c8cb61afeb8766
2016-01-20 23:12:00 -05:00
Sylvestre Ledru
ab4e3a0d42
Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
...
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Chris Peterson
1d19e74439
Bug 1242120 - Remove switch fallthrough to avoid -Wimplicit-fallthrough warning in dom/canvas/. r=mtseng
...
dom/canvas/WebGLContextGL.cpp:1329:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-01-22 21:36:49 -08:00
Jeff Gilbert
475ef4bef2
Bug 1233819 - Fix WebGL on WinXP. - r=jrmuizel
2016-01-21 18:47:29 -08:00
Jeff Gilbert
df5d401330
Bug 1241702 - Allow unsized DEPTH_STENCIL for RBs in WebGL 2. - r=kamidphish
2016-01-21 18:46:05 -08:00
peter chang
4cf0f00742
Bug 1236786 - [WebGL2] pass getVertexAttrib in gl-object-get-calls.html, r=jgilbert
...
--HG--
extra : rebase_source : 4e323185d00c83f4d13a73c7edb7adceb65521b3
2016-01-22 09:44:01 +08:00
peter chang
275089b227
Bug 1236784 - [WebGL2] pass getRenderbufferParameter in gl-object-get-calls.html, r=jgilbert
...
--HG--
extra : rebase_source : 0d2b263da0f5dfd6ed3c211684c04381c6f32b65
2016-01-20 15:50:47 +08:00
Jeff Gilbert
2a59586f95
Bug 1239187 - Use the GLFeature instead. - r=jrmuizel
2016-01-21 14:18:44 -08:00
Nicolas Silva
c7cf4b994f
Bug 1180942 - Use cairo's image backend for drawing on linux. r=jrmuizel
2016-01-21 14:12:51 +01:00
Ethan Lin
d0a5f2f401
Bug 1239259 - Fix WebGL2 generateMipmap checking. r=jgilbert
...
--HG--
extra : rebase_source : 7bc5579f227ee5c21e2019aec53ac225e4e2dca9
2016-01-13 02:08:00 +01:00
Morris Tseng
4648f2d1cb
Bug 1238865 - Part 3: Prevent IMPLEMENTATION_COLOR_READ_FORMAT return SRGB_ALPHA. r=jgilbert
...
--HG--
extra : commitid : Gu6Cf81s63T
2016-01-21 14:51:59 +08:00
Morris Tseng
794c8843cb
Bug 1238865 - Part 2: Add more format/type checks for WebGL2. r=jgilbert
...
--HG--
extra : commitid : 6746QJFsDKZ
2016-01-21 14:51:59 +08:00
Morris Tseng
df9b295844
Bug 1238865 - Part 1: Validate attachments before clearBuffer. r=jgilbert
...
--HG--
extra : commitid : DBWPqeN7T5j
2016-01-21 14:51:59 +08:00
Morris Tseng
6e90a4c6fc
Bug 1230089 - If sampler is bound, use parameter of sampler. r=jgilbert
...
--HG--
extra : commitid : JF12eiQS7m8
2016-01-21 14:49:41 +08:00
Morris Tseng
8fbc15e43a
Bug 1240662 - Add max level check for framebufferTextureLayer. r=jgilbert
...
--HG--
extra : commitid : EfpF8WzPVIa
2016-01-21 14:47:33 +08:00
Morris Tseng
31360128bd
Bug 1233353 - Initialize rb correctly if rb bind to READ_FRAMEBUFFER. r=jgilbert
...
--HG--
extra : commitid : 6O3mskCBcnU
2016-01-21 14:44:12 +08:00
Brad Kotsopoulos
75ef7d9bcf
Bug 1239488 - Add int/uint to vertex attrib data type. r=jgilbert
...
--HG--
extra : amend_source : 0c05e1aebdceec45cd242c6b6fe30f6b6e631feb
2016-01-20 11:04:00 -05:00
Chris Peterson
5191c1753c
Bug 1240262 - Annotate intentional switch fallthrough and suppress -Wimplicit-fallthrough warnings in dom/canvas/. r=jgilbert
...
dom/canvas/WebGL2ContextState.cpp:116:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/canvas/MurmurHash3.cpp:140:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
--HG--
extra : rebase_source : b69bcd8e68fffcca45a4169dfb68813238041068
2016-01-14 01:34:56 -08:00
Phil Ringnalda
722db78364
Back out 604c30246eeb (bug 1180942) for Linux reftest OOMs in 632781-verybig.html
...
CLOSED TREE
2016-01-19 20:17:20 -08:00
Jeff Muizelaar
69e504a564
Bug 1239126. Handle gl_InstanceID attribute with no location. r=jgilbert
...
This patch avoids a crash when querying program info when gl_InstanceID is used.
ANGLE will return -1 from GetAttribLocation("gl_InstanceID") (this location is
hardcoded in the ANGLE source) but still includes gl_InstanceID in it's attribute list.
2016-01-19 13:29:04 -05:00
Nicolas Silva
afcb9adea8
Bug 1180942 - Use cairo's image backend for drawing on linux. r=jrmuizel
2016-01-19 18:36:36 +01:00
Milan Sreckovic
5ca86c6996
Bug 1239835: Do nothing when rectangle given to ClearRect has zero width or height. (Also mixing in some minor white space changes while in the file.) r=dholbert
...
--HG--
extra : rebase_source : c171b3732c02485c806770e53b3902fe83a5bbaa
2016-01-18 11:32:41 -05:00
peter chang
d8bb5481f5
Bug 1236395 - [WebGL2] pass getFramebufferAttachmentParameter in gl-object-get-calls.html, r=jgilbert
...
--HG--
extra : rebase_source : 5cab2380be2efc8e6eae0b71183646443f654a5f
2016-01-11 19:56:00 +01:00
Michael Froman
6abe3c833c
Bug 1166832 - Add test for canvas capture on multiple streams. r=bwc
...
--HG--
extra : transplant_source : M%EF%1B%05%EC%E7%E7%D3%A0%3A%E3C4%17%C3%2B%8B%3D%2B%C3
extra : histedit_source : d018f58a2c171558932911bde42025b3184f5611
2016-01-14 10:56:17 -06:00
Brad Kotsopoulos
552f476047
Bug 1237420 - "Fix length-checking when setting WebGL 2 vertex attributes with an array". r=jgilbert
2016-01-09 13:20:00 +01:00
Andrea Marchesini
7167daa292
summary: Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug
2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
00abd66130
Backed out changeset 6d08ab04a77c (bug 1231378)
2016-01-12 15:48:53 +01:00
Andrea Marchesini
98f16784c5
Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug
2016-01-12 13:57:37 +00:00
Jeff Gilbert
f3b0f8b2c7
Bug 1237637 - Disallow negative levels for framebuffer attachments. - r=jrmuizel
2016-01-07 16:22:45 -08:00
Jeff Muizelaar
7053abd108
Bug 1236091. Move validate checks inside of null checks. r=jgilbert
...
We trigger this during deqp/functional/gles3/framebufferblit.html
2016-01-11 15:28:59 -05:00
Jeff Muizelaar
6013e98127
Bug 1236080. Null check format in GetParameter. r=jgilbert
...
This avoids a crash in deqp/functional/gles3/fbostatequery.html when Format() returns null.
2016-01-11 15:28:59 -05:00
Nicholas Nethercote
88696a303a
Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
...
This patch:
- Makes the following substitutions (plus necessary namespace qualifiers:
gfxImageFormat::ARGB32 --> SurfaceFormat::A8R8G8B8_UINT32
gfxImageFormat::RGB24 --> SurfaceFormat::X8R8G8B8_UINT32
gfxImageFormat::A8 --> SurfaceFormat::A8
gfxImageFormat::RGB16_565 --> SurfaceFormat::R5G6B5_UINT16
gfxImageFormat::Unknown --> SurfaceFormat::UNKNOWN
- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
removed soon.
- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
replace calls to them with CairoFormatToGfxFormat() and
GfxFormatToCairoFormat().
- Removes ParamTraits<gfxImageFormat>.
- Add namespace qualifiers to SurfaceFormat instances where necessary.
--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Ethan Lin
36e70e85b0
Bug 1237194 - Fix getSyncParameter return error. r=jgilbert
...
--HG--
extra : rebase_source : 53ecd7eb7a750e8ed9dd36015504e9d992afe0c5
2016-01-06 01:29:00 +01:00
Ethan Lin
f8f7798965
Bug 1237191 - Add check for getQueryParameter to return correct error. r=jgilbert
2016-01-07 20:05:00 +01:00
Morris Tseng
1ae8baf23c
Bug 917505 - Add WEBGL_compressed_texture_es3 support. r=jgilbert r=smaug
...
--HG--
extra : commitid : 96pBvjbX0be
2016-01-08 10:12:22 +08:00
Ben Kelly
e7a54a390c
Bug 1237158 Unregister service worker at end of test_offscreen_serviceworker.html. r=ehsan
2016-01-06 08:56:16 -08:00
peter chang
13f0aa17be
Bug 1236782 - [WebGL2] pass getProgramParameter in gl-object-get-calls.html; r=jgilbert
...
--HG--
extra : rebase_source : ebe21e72c7eca6d022999da92054bbcfab42c817
2016-01-05 14:44:28 +08:00
Jonathan Griffin
59f626fe96
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
084b138ad2
Bug 1024149 - Use element size for upload texture when using SVG image. r=jgilbert r=roc
...
--HG--
extra : commitid : E5x4DxqzQ3k
2016-01-05 17:51:04 +08:00
Nicholas Nethercote
9ac2c3e3be
Bug 1233631 - Moz2Dify CanvasBidiProcessor. r=jfkthame.
...
--HG--
extra : rebase_source : 4e255a8b622251d1283fd4b1ebb6954797f0aa09
2015-12-17 19:59:04 -08:00
Nicholas Nethercote
06e901cb9f
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().
--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -08:00
Lee Salzman
5512fbeae7
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
fcfe0c61e6
Bug 1205168 - Part 6: Fix TexImage2D and TexSubImage2D with texture conversion. r=jgilbert
2015-12-29 18:37:00 +01:00
Dan Glastonbury
892ace5b27
Bug 1205168 - Part 7: Remove unneeded functions. r=jgilbert
...
* GLFormatForTexelFormat
* GetWebGLTexelFormat
2015-12-22 22:08:00 +01:00
Dan Glastonbury
d156bf5bfb
Bug 1205168 - Part 5: Texel Conversion - RGB11F11F10F format. r=jgilbert
2015-12-22 22:02:00 +01:00
Dan Glastonbury
79005668cf
Bug 1205168 - Part 4: Texel Conversion - RG32F format. r=jgilbert
2015-12-22 22:01:00 +01:00
Dan Glastonbury
c5a43b8a44
Bug 1205168 - Part 3: Texel Conversion - RG16F format. r=jgilbert
2015-12-22 21:57:00 +01:00
Dan Glastonbury
0dd6033485
Bug 1205168 - Part 2: Texel Conversion - RG8 format. r=jgilbert
2015-12-22 21:56:00 +01:00
Dan Glastonbury
bac0a15f6a
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
cd1dbb2c02
Bug 1205168 - Part 0: Remove copy-ctor from strong type. r=jgilbert
2015-12-22 19:58:00 +01:00
Andreas Pehrson
4e152dde77
Bug 1233613 - Add crashtest. r=mt
...
--HG--
extra : commitid : KHfLYnTxrYk
extra : rebase_source : d747689ad5bf66a4d30c0642938cb6432f6c7516
2015-12-22 11:29:26 +08:00
Jeff Gilbert
7a82450687
Bug 1220450 - Clear length on cache OOM. r=kamidphish
...
DONTBUILD a=relanding
--HG--
extra : source : 740e4ce7bb1623505a8555c9a2be80f8700e32fe
extra : amend_source : 9026a1b1416a7f46978b816f7866fa298bc85bba
2016-01-01 14:00:48 -05:00
Ryan VanderMeulen
6c23983753
Backout changeset 740e4ce7bb16 (bug 1220450) for landing with oddball whitespace.
2016-01-01 19:49:46 -05:00
Jeff Gilbert
ca26d27230
Bug 1220450 - Clear length on cache OOM. r=kamidphish
2016-01-01 14:00:48 -05:00
Sebastian Hengst
5fb86d302c
Backed out changeset 21607399e25e (bug 1229983) for failing own R(C) test. r=backout
2015-12-30 15:00:44 +01:00
Lee Salzman
cafcefe183
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
016ec296bf
Bug 1229932 - check that offsets to canvas fillText() are finite. r=jmuizelaar
2015-12-16 14:56:22 -05:00
Lee Salzman
9a71f879e0
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
8583cbceaa
Bug 1234744 - Fix build errors in ImageBitmap.h. r=roc
...
--HG--
extra : rebase_source : 6832c025216fd26cdd5932dc1a789b5080621380
2015-12-23 11:49:19 +08:00
Jeff Muizelaar
8a84e958bf
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
da469b9391
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
aacaab5baa
Backed out changeset cdc2bfed4faa (bug 1218881) for static build bustage CLOSED TREE
2015-12-18 12:43:42 -08:00
Jeff Muizelaar
62b6b77c10
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
54897f1c6a
Bug 1082598 - Part 9: Fix test failures for Skia update. r=jrmuizel
2015-12-18 13:53:26 -05:00
Ms2ger
7d058880e0
Bug 1217835 - Rewrite some code in CanvasRenderingContext2D::GetImageDataArray to avoid build warnings; r=gw280
2015-12-18 11:08:06 +01:00
Morris Tseng
28c0197533
Bug 1172796 - Part 9: Use gfxPrefs to get webgl.enable-prototype-webgl2. r=jgilbert
...
--HG--
extra : commitid : 3Eh8pRaT6if
2015-12-18 14:52:17 +08:00
Morris Tseng
3e61e4b4cf
Bug 1172796 - Part 7: Implements ImageBitmapRenderingContext. r=roc r=smaug
...
--HG--
extra : commitid : J5ynF4BHVHV
2015-12-18 14:52:17 +08:00
Morris Tseng
4144a07339
Bug 1172796 - Part 6: Implements ImageBitmap::Close(). r=roc r=smaug
...
--HG--
extra : commitid : 85dot8oSPkP
2015-12-18 14:52:17 +08:00
Morris Tseng
25c5294a43
Bug 1172796 - Part 5: Implements OffscreenCanvas::TransferImageBitmap. r=roc r=smaug
...
--HG--
extra : commitid : 4XzkGVfRcHJ
2015-12-18 14:52:17 +08:00
Morris Tseng
4493d55b04
Bug 1172796 - Part 4: Implement OffscreenCanvas::ToBlob. r=roc r=smaug
...
--HG--
extra : commitid : 6RcUmz8ar4L
2015-12-18 14:52:17 +08:00
Morris Tseng
abfddd01cc
Bug 1172796 - Part 3: Implement OffscreenCanvas constructor. r=roc r=smaug
...
--HG--
extra : commitid : LmsiLXfRbN
2015-12-18 14:52:17 +08:00
Morris Tseng
6587a9fbd2
Bug 1172796 - Part 2: Add write-only flag for origin-clean check. r=roc
...
--HG--
extra : commitid : 2PNCCwc1czh
2015-12-18 14:52:17 +08:00
Morris Tseng
d8c2245a34
Bug 1215438 - Part 5: Add test for imagebitmap transfer. r=roc
...
--HG--
extra : commitid : Ft9dJQOF9Um
2015-12-18 14:52:16 +08:00
Morris Tseng
ef261c0b38
Bug 1215438 - Part 4: Rename CairoImage to SourceSurfaceImage. r=roc
...
--HG--
extra : commitid : H9H2n8GsBOK
2015-12-18 14:52:16 +08:00
Morris Tseng
0d4ac3243e
Bug 1215438 - Part 1: Add utility functions to support transferring ImageBitmap. r=roc
...
--HG--
extra : commitid : JdhYZUbeqRs
2015-12-18 14:52:16 +08:00
Jeff Gilbert
9001d85bea
Bug 1233557 - Allow RGB8 to be renderable again for web-compat. - r=jrmuizel
2015-12-17 14:41:53 -08:00
Wes Kocher
6ebc8a4b00
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)
--HG--
extra : commitid : LJSl0Bo8Hqr
2015-12-17 14:30:50 -08:00
Jeff Gilbert
9354363010
Bug 1229944 - Reenable the test.
2015-12-17 14:17:17 -08:00
Lee Salzman
f5d37b9220
Bug 1082598 - Part 9: Fix test failures for Skia update. r=jrmuizel
2015-12-17 14:45:45 -05:00
Jeff Gilbert
b1a83a74e6
Bug 1229944 - Touch moz.build to avoid a clobber? (hotfix)
2015-12-16 19:11:45 -08:00
Jeff Muizelaar
9d9541f65f
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
f7dbec6ee1
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
32028a4b32
Bug 1229944 - Hotfix disable test on Android.
2015-12-16 18:04:37 -08:00
Jeff Gilbert
94e9d75b26
Bug 1229944 - Add a fixed test. - r=kamidphish - CLOSED TREE HOTFIX
2015-12-16 16:44:53 -08:00
Jeff Gilbert
1b8ce0a596
Bug 1232864 - Hotfix test on a CLOSED TREE
2015-12-16 16:13:21 -08:00
Jeff Gilbert
34eeb80550
Backout revision e46ca0ac35f5 (Bug 1229944) for bad m-gl on CLOSED TREE.
...
--HG--
extra : amend_source : ef2350272321c23ef40ae08bf68235d95b98c999
2015-12-16 16:10:01 -08:00
Jeff Gilbert
ed71d481e8
Bug 1229944 - Add test. - r=kamidphish
2015-12-15 13:42:21 -08:00
Jeff Gilbert
110371f3f7
Bug 1232864 - Cauterize and release WebGL 2 to Nightly. - r=jrmuizel
2015-12-16 14:56:24 -08:00
Jeff Gilbert
aa928a99a3
Bug 1231040 - Check for premulting better. - r=jrmuizel
2015-12-16 14:35:17 -08:00
Jeff Muizelaar
4ab1426a59
Bug 1231657. Don't allow linking different versions shaders. r=jgilbert
...
This fixes glsl3/shader-linking.html
2015-12-16 16:16:00 -05:00
Jeff Muizelaar
54ee20ab50
Bug 1233094. Handle null buffers in GetIndexedParameter. r=jgilbert
2015-12-16 14:10:45 -05:00
Ethan Lin
52129e7387
Bug 1225291 - IsTransformFeedback doesn't report error when input is null. r=jgilbert
2015-12-01 17:56:00 +01:00
Wes Kocher
4b84f553c1
Backed out changeset 495ff1195591 (bug 1231040) for build failures in TexUnpackBlob.cpp
...
--HG--
extra : commitid : B2HulRlJFhE
2015-12-15 17:53:00 -08:00
Jeff Gilbert
7dd12ef863
Bug 1231040 - Take fast path if not alpha-premulting. - r=jrmuizel
2015-12-15 17:45:03 -08:00
Jeff Gilbert
80a77a7508
Bug 1232346 - Clarify ResolveForDraw's failure checking. - r=kamidphish
2015-12-14 17:38:33 -08:00
Joel Maher
6a93b47c8a
Bug 1220658 - disable unexpected pass gl tests until new MESA library is used everywhere. r=jgilbert
2015-12-15 13:27:46 -08:00
Jeff Muizelaar
beda3fab62
Bug 1232502. Use the correct internalFormat when calling CopyTexImage2D. r=jgilbert
...
Previously we were just using the internalFormat directly from the caller.
This broken when trying to do RGBA8 -> L8 copies because L8 is not supported
in Core Profile OpenGL
2015-12-15 09:46:30 -05:00
Brad Kotsopoulos
7a8310686c
Bug 1228676 - WebGL2 VertexAttrib funcs should match WebGL 1 patterns. - r=jgilbert
2015-12-14 17:48:55 -08:00
Jeff Gilbert
10befa1b39
Bug 1229944 - Add glClear for zeroing texture data. - r=kamidphish
2015-12-14 16:14:03 -08:00
Jeff Gilbert
30a228420f
Bug 1229585 - Add helpful error text for fb incompleteness. - r=kamidphish
2015-12-14 16:11:59 -08:00
Jeff Gilbert
7f34e60540
Bug 1228885 - Implement WebGLTexture::MemoryUsage. - r=kamidphish
2015-12-14 15:58:29 -08:00
Jeff Muizelaar
b2cb03074c
Bug 1231832. Make IsActive work on Querys that have not begun. r=jgilbert
...
This fixes deqp/functional/gles3/lifetime.html
2015-12-14 13:47:46 -05:00
peter chang
877c081880
Bug 1018527 - test for clearRect API with input in double precision, r=jmuizelaar
2015-12-09 01:09:00 +01:00
peter chang
e0b4369755
Bug 1018527 - bypass canvas API calls when inputs are out of float precision, r=jmuizelaar
2015-12-09 01:08:00 +01:00
Jeff Gilbert
26dafe015c
Bug 1228711 - Cubemap images must be square. - r=benwa
2015-12-03 15:38:06 -08:00
Jeff Muizelaar
303885a832
Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert
2015-12-03 14:37:02 -05:00
Jeff Muizelaar
ba14718938
Revert "Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert"
...
This reverts commit cb6196bdba35
CLOSED TREE
2015-12-02 12:43:00 -05:00
Lars T Hansen
49063542c0
Bug 1176214 - Part 12: Changes to WebGL. r=bz, r=clb
...
--HG--
extra : rebase_source : 65b6b69a0a5fd7987d390832cedf844588a41846
2015-11-26 12:47:53 +01:00
Lars T Hansen
b62493634b
Bug 1176214 - Part 11: Changes to DOM, except for WebGL. r=bz, r=clb
...
--HG--
extra : rebase_source : 9c9d3f493822d68be20597d9974292ed5ec4ab70
2015-11-25 19:04:50 +01:00
Jeff Muizelaar
18f1188eac
Bug 1219890. Use ES3 when appropriate. r=jgilbert
...
This enables the use of WebGL2 on top of ANGLE.
2015-12-02 10:21:08 -05:00
Jeff Muizelaar
6de960ff8d
Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert
2015-12-02 10:14:43 -05:00
Ethan Lin
c257b89d86
Bug 1228949 - Fix WebGLBuffer content type when the target is LOCAL_GL_COPY_READ_BUFFER or LOCAL_GL_COPY_WRITE_BUFFER. r=jgilbert
2015-11-30 01:30:00 +01:00
Robert O'Callahan
6f11ea45c0
Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang
...
--HG--
extra : commitid : 9SdyuwXVlRD
extra : rebase_source : 7143bc6c346bf1c1259a83321d26a653adb70705
2015-11-17 16:34:28 +13:00
Andreas Pehrson
efff11f482
Bug 1223696 - Make canvas captureStream helper resilient to exceptions when there's no video. r=roc
...
--HG--
extra : commitid : FAzUHddlKxp
extra : rebase_source : cdd127adc5352c464675635626274fc0d0da2c0e
2015-11-16 10:58:13 +08:00
Jeff Muizelaar
50e8c44daf
Bug 1225576. Always use the VAO workaround. r=jgilbert
...
I'd like to unconditionally use this work around for now. This bug affects the
current version of ANGLE and older versions of Mesa (not just llvmpipe like we
were checking for). Once ANGLE is fixed we can consider disabling this on
Windows again.
FWIW, Chrome does something like this unconditionally.
2015-12-01 14:46:46 -05:00
Milan Sreckovic
1c2f56d5f0
Bug 1228287 - Make sure we can't do SkiaGL without the pref set. r=benwa
...
--HG--
extra : rebase_source : 601d27a896f5d97353051e7e8ac85be0ccf92cda
2015-11-26 11:00:00 +01:00
Morris Tseng
6f06c75266
Bug 1228488 - Return INVALID_ENUM for GL_UNIFORM_NAME_LENGTH. r=jgilbert
...
--HG--
extra : commitid : DORQSRrsbTP
2015-12-01 10:16:12 +08:00
Kaku Kuo
5d8bf09be9
Bug 1224647 - part2 - remove ErrorResult in the creating ImageBitmap from Blob code path; r=bz
...
Rebase.
--HG--
extra : transplant_source : %8A%9DE%EA%B9%16%2A%13/Q%AEg%D3%EBp%40G%80%A9%FF
2015-11-22 23:27:44 +08:00
Kaku Kuo
a6c9d12493
Bug 1224647 - part1 - remove ErrorResult in the creating ImageBitmap from ImageData code path; r=bz
...
Rebase.
--HG--
extra : transplant_source : O%E2%13%9E%F4%FF%96%0Eh%87S%B0%94%22%91%DA%8BV%F8b
2015-11-23 14:56:00 +08:00
Andrew Comminos
544dcecc58
Bug 1203135 - Terminate linking if maximum vertex attribute count is exceeded on Mesa. r=jgilbert
2015-11-24 21:27:29 -08:00
Jeff Gilbert
19d84fb0fe
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-24 20:15:29 -08:00
Phil Ringnalda
71a6f5da62
Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures
2015-11-23 21:55:59 -08:00
Boris Zbarsky
dc20817615
Bug 1224596 part 7. Switch ImageBitmap to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey
2015-11-24 00:04:20 -05:00
Jeff Gilbert
87397c265b
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-23 19:27:13 -08:00
Lee Salzman
d75fbddd08
Bug 1223740 - enforce max surface size for DrawTargetSkia. r=bas
2015-11-19 13:35:31 -05:00
Michael Bebenita
fcda618387
Bug 696630 - Take imageSmoothingEnabled into account when creating pattern fills. r=mattwoodrow
...
--HG--
extra : rebase_source : 77bc3248e7af31a958bacf0d1b490972d933cd6d
2015-11-17 14:46:42 -08:00
Carsten "Tomcat" Book
694a81aba1
Backed out changeset 162ded2e49c8 (bug 1223696) for failing on own test on a CLOSED TREE
2015-11-23 09:48:56 +01:00
Robert O'Callahan
f537754554
Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang
...
--HG--
extra : commitid : 1b7GXS454NK
extra : rebase_source : cd2e35e1dc3be39945d00bfd2648f104258955c8
2015-11-17 16:34:28 +13:00
Andrea Marchesini
c1df69ea87
Bug 1207546 - Integrate WebRTC with audio channels, r=roc
...
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-11-21 01:03:20 +00:00
Boris Zbarsky
1fec018fcb
Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv
2015-11-20 16:29:41 -05:00
John Daggett
b788233f65
Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame
2015-11-20 22:01:12 +09:00
Lee Salzman
eb7e01d003
Bug 1225381 - ensure mozCurrentTransform is finite. r=jmuizelaar
2015-11-17 12:35:10 -05:00
David Anderson
7e9cf5355c
Decouple CairoImage from ImageContainer. (bug 1222910, r=roc)
2015-11-17 00:09:00 -08:00
Matteo Ferretti
a4a5938dc3
Bug 1212477 - Needs a way to access to <canvas>'s context (2d, webgl) from Anonymous Content API; r=roc;r=smaug
2015-11-15 14:48:32 +01:00
Jeff Muizelaar
5c21dbd45c
Bug 1218939. Fixup GetTransformFeedbackVarying. r=jgilbert
2015-11-14 10:58:27 -05:00
Jeff Muizelaar
154ffd6114
Bug 1215296. Map uniforms from blocks. r=jgilbert
...
Uniforms from uniform blocks don't show up in the result of ShGetUniforms.
We need to use ShGetInterfaceBlocks instead.
2015-11-14 10:57:54 -05:00
Boris Zbarsky
994ba41724
Bug 1224636. Fix some code in ImageBitmap that rejects a promise with an ErrorResult, then keeps trying to use that ErrorResult. r=kaku
2015-11-13 13:25:39 -05:00
Bas Schouten
37cc193821
Bug 1210560 - Part 4: Remove code to support non operator-over in nsRenderDocument and move to CanvasRenderingContext2D::DrawWindow. r=roc
2015-11-11 16:15:39 +01:00
Andreas Pehrson
6b40da9ca1
Bug 1219711 - Refactor captureStream_common.js to accept generic pixel testing method. r=jib
...
--HG--
extra : commitid : 1Lds1zOCtPn
extra : rebase_source : 391f0a9871e0f5c26d5480a10344e6a1c5fcb608
2015-11-09 23:17:41 +08:00
Carsten "Tomcat" Book
4d6f05d2f8
merge mozilla-inbound to mozilla-central a=merge
2015-11-09 14:55:30 +01:00
Wes Kocher
e98e767258
Merge m-c to b2ginbound, a=merge
...
--HG--
extra : commitid : 9BSOpO5MEsb
2015-11-06 15:14:26 -08:00
Wes Kocher
8c29b2aace
Backed out 5 changesets (bug 1219711) for frequent android m(9) failures a=bustage
...
Backed out changeset 2d5f09d89424 (bug 1219711)
Backed out changeset cf14a6e5f340 (bug 1219711)
Backed out changeset 4eaa8cf9a752 (bug 1219711)
Backed out changeset 65abe62869df (bug 1219711)
Backed out changeset a21d79a94307 (bug 1219711)
--HG--
extra : commitid : 2uBL6k0T3uy
extra : source : aaee8ec22e5fd0650818aab7d85ff4b069681a35
2015-11-06 11:14:11 -08:00
Gregor Wagner
96837db759
Bug 1222478 - Enable more mulet tests. r=gerard-majax
2015-11-06 20:01:45 +01:00
Lee Salzman
5338c02793
Bug 1222083 - verify that a Skia GL context is actually available before trying to use it in Canvas2D drawImage. r=jmuizelaar
...
--HG--
extra : rebase_source : 2ddd185d711bc5cbdee08747b2fcc58a66719306
2015-11-05 12:33:12 -05:00
L. David Baron
a3eadb1b86
Bug 1221436 patch 2 - For style attributes, only store a css::Declaration instead of a css::StyleRule. r=heycam
...
Now that Declaration implements nsIStyleRule, we don't need the memory
overhead of storing a StyleRule object for style attributes.
We also need to change this prior to patch 5, because the changes in
patch 5 that will allow rules to change (but declarations not) would
otherwise break due to style attribute object merging done by
nsAttrValue::ParseStyleAttribute.
--HG--
extra : commitid : Ij4yRdba7wa
2015-11-09 15:57:16 +08:00
Andreas Pehrson
839fb7b296
Bug 1219711 - Refactor captureStream_common.js to accept generic pixel testing method. r=jib
...
--HG--
extra : commitid : ACLnd4zWe6Y
extra : rebase_source : 298c721393c222ef55858438a14e8b6bcc1ce510
2015-11-05 17:15:50 +08:00
Nathan Froyd
e763192040
Bug 1216611 - add mozilla::MakeUniqueFallible and convert uses throughout the tree; r=Waldo
2015-11-05 16:24:24 -05:00
L. David Baron
a511f77fef
Bug 978833 patch 18 - Eliminate StyleRule::RuleMatched and call Declaration::SetImmutable directly for style rules (like for @page and keyframe rules). r=heycam
...
This is just simplification (plus the addition of an assertion).
--HG--
extra : commitid : 8jnKsQbG74s
2015-11-05 16:44:10 +08:00
L. David Baron
bd9bbaa522
Bug 978833 patch 12 - Use the css::Declaration instead of the css::StyleRule as the matching rule. r=heycam
...
This is the key change in this patch series; it changes the object we
use for style data (currently nsIStyleRule) identity. It allows
removing some hacks we have to deal with that for StyleRule, and avoids
having to write similar hacks for nsCSSKeyframeRule and nsCSSPageRule
(which are broken without this).
I confirmed locally that it is this patch that fixes both of the todo_is
mochitests, by building and testing with the patch queue through patch
11, and again through patch 12.
--HG--
extra : commitid : AzgBp6KfPhJ
2015-11-05 16:44:10 +08:00
Jeff Muizelaar
6933e0086e
Bug 1220783. Map GetUniformIndices names. r=jgilbert
...
This is needed for things to work with the shader translator
2015-11-04 13:35:35 -05:00
Jeff Muizelaar
d9ae377b3f
Bug 1218559. Implement FindUniformBlockByMappedName. r=jgilbert
2015-11-04 13:35:35 -05:00
Jeff Muizelaar
c0980e9573
Bug 1218944. Transform feedback linking should use varyings intead of attribs. r=jgilbert
2015-11-04 13:35:35 -05:00
Matt Woodrow
739b7da869
Bug 1217225 - Differentiate between images optimized for skia and skia-gl in the CanvasImageCache. r=mstange
2015-11-04 15:12:24 +13:00
Joel Maher
ea522455d5
Bug 1216549 - osx 10.10.5 error in /test_conformance__canvas__viewport-unchanged-upon-resize.html. r=jgilbert
2015-11-03 01:32:04 -08:00
Wes Kocher
fbc669c142
Backed out 5 changesets (bug 1219711) for frequent android m(9) failures
...
Backed out changeset 2d5f09d89424 (bug 1219711)
Backed out changeset cf14a6e5f340 (bug 1219711)
Backed out changeset 4eaa8cf9a752 (bug 1219711)
Backed out changeset 65abe62869df (bug 1219711)
Backed out changeset a21d79a94307 (bug 1219711)
--HG--
extra : commitid : HEjaguOuDSy
extra : rebase_source : e1d48c63852424d2cbe5ab75996c5485f8536a87
2015-11-06 11:14:11 -08:00
Wes Kocher
e23a341658
Backed out 2 changesets (bug 1207546, bug 1213154) for gij(11) bustage
...
Backed out changeset 771ace622de1 (bug 1207546)
Backed out changeset 786bc35f327a (bug 1213154)
--HG--
extra : commitid : Dtne0U4VRnB
2015-11-06 10:58:46 -08:00
Andrea Marchesini
ea75b3fe7a
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
2015-11-06 16:16:57 +00:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
028dec7cc8
No bug - Various crashtest manifest cleanups.
...
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Jeff Muizelaar
39da8cb22b
Bug 1219027. Fix unbinding transformfeedback when deleting it. r=djg
...
I believe this was the original intention of the code.
This fixes deletion conformance tests.
2015-10-27 18:01:29 -04:00
Phil Ringnalda
67fb9eeb55
Back out changeset 5e23a96f0b4f (bug 1219027)on suspicion of causing Mulet bustage in webgl-capturestream-test.html?preserve
2015-10-31 14:14:23 -07:00
Phil Ringnalda
cb269c3076
Back out changeset 81b802b69a74 (bug 1213154) for Linux/Mulet webgl reftest failures
...
CLOSED TREE
2015-10-31 11:58:18 -07:00
Jeff Muizelaar
0e971a32ac
Bug 1219027. Fix unbinding transformfeedback when deleting it. r=djg
...
I believe this was the original intention of the code.
This fixes deletion conformance tests.
2015-10-27 18:01:29 -04:00
Andrea Marchesini
24d91debc2
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
2015-10-31 15:20:59 +00:00
Nicholas Nethercote
a34d272e2b
Bug 1209812 (part 3) - Rename SurfaceFormat::R5G6B5 as R5G6B5_UINT16. r=Bas.
...
--HG--
extra : rebase_source : 1efcfb2522e823e55b5c7b77531a9d2c42c49c8b
2015-10-22 23:01:31 -07:00
Nathan Froyd
ce836868f3
Bug 1218488 - clarify buffer ownership for nsICanvasRenderingContextInternal::GetBuffer; r=Bas,baku
...
This patch started life as making ImageEncoder.cpp:EncodingRunnable not
use nsAutoArrayPtr, but the API effects rippled out from there. On the
whole, I think using UniquePtr throughout has made the code clearer.
2015-10-26 14:31:12 -04:00
Milan Sreckovic
3ac5f098a5
Bug 1217550 - In debug build, drop a note if we use SkiaGL canvas. Simplify logging defines and flags for non-critical errors. r=benwa
2015-10-23 14:08:00 +02:00
Birunthan Mohanathas
44936aabb2
Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
...
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Nathan Froyd
735e488da3
Bug 1217662 - part 2 - move mozilla::layers::LayerUserData to a separate header; r=mattwoodrow
...
Having to include all of Layers.h just to get at the definition of
LayerUserData is inconvenient, especially as most of the interesting
things in Layers.h can be forward-declared. Let's move LayerUserData to
its own header, so clients can include a small header for that,
forward-declare anything else they need from Layers.h, and reduce header
bloat.
2015-10-22 16:04:35 -04:00
Dan Glastonbury
e9661201b6
Bug 1215414 - Fix ClearBuffer taking TypedArrays. r=jgilbert
2015-10-23 15:35:09 +10:00
Sotaro Ikeda
10f1bcce89
Bug 1206763 - Enable SkiaGL canvas on gonk r=mattwoodrow
2015-10-20 01:35:00 -07:00
Dan Glastonbury
66e4dad1c7
Bug 1193070 - Implement GetFramebufferAttachmentParameter. r=jgilbert
2015-10-20 12:46:28 +10:00
Ehsan Akhgari
ecda739d3e
Bug 1216177 - Remove the remaining nsRefPtr forward declarations; r=froydnj
2015-10-19 12:02:14 -04:00
Dan Glastonbury
9a3278a626
Bug 1209384 - Check active query has same type as target. r=jgilbert
2015-10-19 10:05:54 +10:00
Olli Pettay
fee6bc69e2
Bug 1215072
- throw in case dictionary initialization fails in canvas.getContext, r=baku
2015-10-18 14:14:22 +03:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Phil Ringnalda
dc7a4cc45e
Back out changeset 09e059daabae (bug 1215072
) for adding a permaorange-on-b2g test
...
CLOSED TREE
2015-10-16 18:42:41 -07:00
Olli Pettay
2b21892477
Bug 1215072
- throw in case dictionary initialization fails in canvas.getContext, r=baku
...
--HG--
extra : rebase_source : 006bfed7cfec46e6150ee15135de08941283dbb7
2015-10-16 22:52:11 +03:00
Lee Salzman
eaa82aedc8
Bug 1161277 - verify SkPath is finite before doing ContainsPoint queries. r=jmuizelaar
2015-10-09 16:07:59 -04:00
Jeff Muizelaar
a6d47e79d5
Bug 1207288. Enable the ANGLE shader validator for WebGL 2. r=jgilbert
...
ANGLE's shader parser has much better support for ES3 now. Let's
no longer disable it by default.
2015-10-13 14:40:26 -04:00
Jed Davis
b36bf70608
Bug 1213491 - Change CanvasRenderingContext2D::ContextState::clipsPushed to an nsTArray. r=nical
2015-10-09 16:20:00 +02:00
Jukka Jylanki
ba964b1f9c
Bug 1147441 - Add SharedArrayBuffer support to WebGL and WebGL 2. r=jgilbert, r=bzbarsky
...
--HG--
extra : histedit_source : 141390e44859f0cdb1692979f08f873ad3480754
2015-10-14 11:18:19 +05:30