Граф коммитов

853 Коммитов

Автор SHA1 Сообщение Дата
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