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

779 Коммитов

Автор SHA1 Сообщение Дата
Kyle 06c3dd1246 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 188212ebdf 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 605040e8df Bug 1170455 - Part 2: Split vertex attribute functions into separate file. r=jgilbert 2015-07-22 11:59:16 +10:00
Dan Glastonbury 82fe919925 Bug 1170455 - Part 1: Reformat GetVertexAttrib function. r=jgilbert 2015-07-22 11:59:15 +10:00
Dan Glastonbury 2fd93c34df 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 d3bed96256 Bug 1185803 - Replace MOZ_CRASH with GenerateWarning. r=jgilbert 2015-07-22 11:23:20 +10:00
Jeff Gilbert 7094b286b4 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 7b3c3fd488 Bug 1184786 - Fix ReadBuffer parameter validation. r=jgilbert 2015-07-20 12:24:40 +10:00
Dan Glastonbury 16d9df4f71 Bug 1184786 - Fix LastColorAttachment(). r=jgilbert 2015-07-20 12:24:39 +10:00
Kyle cd89b1c0e4 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 32bc2d8bc6 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 8f47470e26 Backed out changeset f266de469f27 (bug 1171228) for mochitest-other failures. 2015-07-17 11:29:51 +02:00
Jeff Gilbert 0cbd03cb79 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 782bc48c93 Bug 1183363 - Add canvas crashtest. r=Bas
CLOSED TREE
2015-07-15 16:47:56 -04:00
Jeff Muizelaar 7bc6837af6 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
--HG--
extra : rebase_source : b18fb78fa6b7d86fbb9496861938bfde21b3c6e6
2015-07-08 16:51:09 -04:00
Jeff Gilbert 2e4a1c88ee Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Lee Salzman 4a1174fffa Bug 1183363 - Make EnsureWritablePath and EnsureUserSpacePath always imply EnsureTarget. r=Bas
--HG--
extra : rebase_source : e37e438eca003ebf20544497748b9d2e0ccd1f5f
extra : histedit_source : 5995582ce52c82b406c79f8a078cc8549439f8ae
2015-07-14 00:01:29 -04:00
Boris Zbarsky f9793d505e Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Milan Sreckovic 2816dbd608 Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar
--HG--
extra : rebase_source : 3c776397c63693baff0ba0848bfd044cab1ad8b5
2015-07-10 12:04:56 -04:00
Botond Ballo 9eadc95b3f Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
--HG--
extra : rebase_source : 33d5abb8f12f1173ae50d1712f15e273f9b26ace
extra : source : 4bd2e2744ef1b914d2859f3433b6b9026d91401b
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas a8939590de 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 ea9f64788c Bug 1182824 - Part 2: Make ContextState::dash a nsTArray. r=mattwoodrow 2015-07-12 23:19:12 -07:00
Birunthan Mohanathas 769c8aa560 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 46b62a07b5 Bug 1177271 - Add WebGLFormat format tables. - r=kamidphish 2015-07-10 16:34:45 -07:00
Geoff Brown 52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Carsten "Tomcat" Book 3f822bff2d Backed out changeset 7bffe6c8fd4d (bug 1177726) for test regressions in 1177726-text-stroke-bounds.html on a CLOSED TREE
--HG--
extra : rebase_source : 8a9087f14093b3e05aac3acb273970a2fa1fd468
2015-07-09 13:02:13 +02:00
Milan Sreckovic 947f4b5a59 Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar
--HG--
extra : rebase_source : 32cb0f2e968f32aa9fb9bc961021decf1d60a3f0
extra : histedit_source : 6b591dca803c093d08d570f207cfb3bcd6aed40e
2015-07-08 07:45:00 +02:00
Morris Tseng 6558116f42 Bug 1174043 - Run DisableTimer if timer is not yet disabled. r=dglastonbury
--HG--
extra : rebase_source : 4e4165a9bb6907153ad9f7358abdc62c444571fd
extra : histedit_source : 92fbce5c350d258d83893159fb950a49326ade50
2015-07-07 23:43:00 +02:00
Robert O'Callahan 15642eb711 Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical
--HG--
extra : commitid : B1BZNvKIQFf
extra : rebase_source : 927c9aa549a863aeba97c0e5a4cb6cf87194669a
2015-03-27 12:07:53 +13:00
Edwin Flores aac1f28011 Bug 1170893 - Return null for invalid internal format. r=kamidphish 2015-07-07 16:24:25 +10:00
Kyle f7f1b5f7de Bug 1137494 - Change the type given to type validation check. r=jgilbert
--HG--
extra : rebase_source : e33c359df97a43b10ed38139b3987842a8826c43
2015-06-23 17:25:13 -07:00
Dan Glastonbury 25f6475094 Bug 1179556 - Only call EnsureColorAttachPoints with a color attachment. r=jgilbert 2015-07-02 10:47:45 +10:00
Wes Kocher eeb919a6e2 Backed out changeset 66096f511050 (bug 1178999) for gl bustage CLOSED TREE
--HG--
extra : amend_source : aa8eff311f51a0bede38c5889a04fc90061a9170
2015-07-01 16:19:09 -07:00
Wes Kocher 6a93d89ce7 Backed out changeset 288fee06d8aa (bug 1178999) 2015-07-01 16:18:59 -07:00
Jeff Gilbert 009f55be08 Bug 1178999 - Switch to backbuffer as needed. 2015-07-01 15:21:43 -07:00
Jeff Gilbert 190b768358 Bug 1178999 - Do initial backbuffer clear lazily. - r=kamidphish 2015-07-01 14:28:32 -07:00
Dan Glastonbury 5c6afce69a Bug 1151736 - Lose context on OOM instead of crashing. r=jgilbert 2015-06-17 23:49:35 -04:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Boris Zbarsky 9746e4abb3 Bug 1176153. Have binding code grab the array buffer view type for ArrayBufferView arguments, so consumers don't have to manually use JSAPI to do it. Use the new setup in WebGL code. r=smaug 2015-06-24 08:10:15 -07:00
Ryan VanderMeulen 10bc1c8967 Bug 1175257 - Remove the fails-if(B2G) annotation on capturestream.html.
--HG--
extra : rebase_source : 3bb9479a67b2635796148be42e279755995bb321
2015-06-19 14:03:42 -04:00
Bas Schouten 7801f65a75 Bug 1167235 - Part 3: Switch CanvasRenderingContext2D to use the new BufferProvider API. r=nical 2015-06-19 01:07:21 +02:00
Boris Zbarsky 40b8fd3ec6 Bug 1173638. Make the constructors for Error and its subtypes get their filenames/linenumbers from the saved stack, not manually. r=fitzgen,bholley
The changes in webgl code are to ensure that we're in a reasonable compartment
while reporting a warning via the JS engine.
2015-06-15 20:05:49 -04:00
Benoit Girard 5215ca7222 Bug 1171682 - Disable WebGL in safemode. r=jgilbert 2015-06-15 17:05:02 -04:00
Andreas Pehrson 9252440209 Bug 1169126 - Part 3: Add canvas 2d reftest for captureStream(). r=gw280
--HG--
extra : rebase_source : 6744ae086ffdea49f2584fef6f53326eeff4ee19
2015-06-12 10:17:25 +08:00
Andreas Pehrson cff9cc5d90 Bug 1169126 - Part 2: Add webgl reftest for captureStream(). r=jgilbert
--HG--
extra : rebase_source : b1e6fdb1638d217eca2167a6d5b9e7974887d3e5
2015-06-12 10:17:38 +08:00
Andreas Pehrson f9165d38d7 Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
--HG--
extra : rebase_source : aebb45613926c64355e5b193bc79166cf04292be
2015-06-10 19:01:00 +08:00
Tobias Schneider 4a0f94ab71 Bug 1173544 - Add tests for Canvas CSS/SVG Filters. r=mstange
--HG--
extra : rebase_source : 5a92c5a76bc570decb87c5c4ade1ed6deae9913e
extra : histedit_source : 45f736c55a2b77a0c8ea69d5a180db8d195719c2
2015-05-08 12:22:18 -07:00
Markus Stange 659dc83478 Bug 1163124 - The initial value of the canvas filter property should be "none". r=roc
--HG--
extra : rebase_source : 2f7119ab6e9168a24ce2b0b419c951d5d803ad1e
extra : histedit_source : cecfe84959f6ab6c9fb3ca47ab721b3c26f63023
2015-05-28 17:08:13 -04:00
Markus Stange aa9e5d21a2 Bug 1163105 - Flush frames before building the filter. r=roc
--HG--
extra : rebase_source : 40fddf063df3d8b783a64f9d94ef95fcfa35c183
extra : histedit_source : 72673c6e9468ab81e34f80a962fa8510984fe986
2015-06-09 18:49:17 -04:00
Dan Glastonbury 036ef86398 Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert 2015-06-11 15:12:16 +10:00
Dan Glastonbury f83220f26e Bug 1170855 - Part B: READ_BUFFER requires emulation for default FB. r=jgilbert
WebGL internals use framebuffers to implement the default
framebuffer. This means that we can't just return the result from
glGetIntegerv(GL_READ_BUFFER, ...)
2015-06-11 15:12:15 +10:00
Dan Glastonbury 251cafde87 Bug 1170855 - Part A: Don't error on MAX_ELEMENT_INDEX. r=jgilbert
MAX_ELEMENT_INDEX appears in GL 4.3 or via ES3_compatibility. Work
around on OSX 10.10 where max is GL 4.1.
2015-06-11 15:12:14 +10:00
Dan Glastonbury 85d9d26cdd Bug 1170855 - Part 9: MAX_VARYING_COMPONENTS workaround. r=jgilbert
Turns of querying MAX_VARYING_COMPONENTS on OS X 10.10 is buggy. Always
returns 1. The spec says that the value is 4 times MAX_VARYING_VECTORS
so work around using that method.
2015-06-11 15:12:13 +10:00
Dan Glastonbury 5fb7b5d875 Bug 1170855 - Part 8: MAX_SERVER_WAIT_TIMEOUT is unsigned. r=jgilbert 2015-06-11 15:12:13 +10:00
Dan Glastonbury e4e894d15e Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug 2015-06-11 15:12:12 +10:00
Dan Glastonbury bcd4a3d26c Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert 2015-06-11 15:12:10 +10:00
Dan Glastonbury 63f2904737 Bug 1170855 - Part 4: Pour in the WebGL 2 pnames. r=jgilbert 2015-06-11 15:12:08 +10:00
Dan Glastonbury 87067a6c35 Bug 1170855 - Part 3: Cleanup and better comments. r=jgilbert 2015-06-11 15:12:08 +10:00
Dan Glastonbury e036cc0467 Bug 1170855 - Part 2: Be consistent when handling pnames from extensions. r=jgilbert 2015-06-11 15:12:06 +10:00
Dan Glastonbury 781e652a3f Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert
--HG--
rename : dom/canvas/WebGLTimerQuery.h => dom/canvas/WebGL2ContextState.cpp
2015-06-11 15:12:05 +10:00
Phil Ringnalda e9695717ce Backed out 12 changesets (bug 1170855) for Windows build bustage
CLOSED TREE

Backed out changeset 47070f494c9e (bug 1170855)
Backed out changeset 86e3fb3a2295 (bug 1170855)
Backed out changeset 49284df5294e (bug 1170855)
Backed out changeset ae7c769cb78d (bug 1170855)
Backed out changeset 1fbb0ef29363 (bug 1170855)
Backed out changeset 1fd9140044be (bug 1170855)
Backed out changeset cca48a1bc6ef (bug 1170855)
Backed out changeset 835570bc63bf (bug 1170855)
Backed out changeset 4ee1883ffc65 (bug 1170855)
Backed out changeset c666d71f4899 (bug 1170855)
Backed out changeset 046422ea849f (bug 1170855)
Backed out changeset d38fb3aea20a (bug 1170855)
2015-06-10 20:47:07 -07:00
Dan Glastonbury 2dd2de985a Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert 2015-06-11 12:26:31 +10:00
Dan Glastonbury 00e7ead100 Bug 1170855 - Part B: READ_BUFFER requires emulation for default FB. r=jgilbert
WebGL internals use framebuffers to implement the default
framebuffer. This means that we can't just return the result from
glGetIntegerv(GL_READ_BUFFER, ...)
2015-06-11 12:26:30 +10:00
Dan Glastonbury 373220c4e4 Bug 1170855 - Part A: Don't error on MAX_ELEMENT_INDEX. r=jgilbert
MAX_ELEMENT_INDEX appears in GL 4.3 or via ES3_compatibility. Work
around on OSX 10.10 where max is GL 4.1.
2015-06-11 12:26:30 +10:00
Dan Glastonbury 899d9b7186 Bug 1170855 - Part 9: MAX_VARYING_COMPONENTS workaround. r=jgilbert
Turns of querying MAX_VARYING_COMPONENTS on OS X 10.10 is buggy. Always
returns 1. The spec says that the value is 4 times MAX_VARYING_VECTORS
so work around using that method.
2015-06-11 12:26:29 +10:00
Dan Glastonbury 13cdaf7654 Bug 1170855 - Part 8: MAX_SERVER_WAIT_TIMEOUT is unsigned. r=jgilbert 2015-06-11 12:26:28 +10:00
Dan Glastonbury 23c27a31d7 Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug
This is a special addition for WebGL 2. I've updated webidl to match the
spec.

I've set the value to be 0 to match Chrome. If I query the underlying
GL, I get -1 back. (On OSX). We can discuss what a better value would
be.
2015-06-11 12:26:28 +10:00
Dan Glastonbury 77b3bd3050 Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert 2015-06-11 12:26:27 +10:00
Dan Glastonbury 59ee38394c Bug 1170855 - Part 4: Pour in the WebGL 2 pnames. r=jgilbert 2015-06-11 12:26:25 +10:00
Dan Glastonbury b838f5bbc2 Bug 1170855 - Part 3: Cleanup and better comments. r=jgilbert 2015-06-11 12:26:24 +10:00
Dan Glastonbury 9fb96677c2 Bug 1170855 - Part 2: Be consistent when handling pnames from extensions. r=jgilbert 2015-06-11 12:26:24 +10:00
Dan Glastonbury 6aad5f01c4 Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert
--HG--
rename : dom/canvas/WebGLTimerQuery.h => dom/canvas/WebGL2ContextState.cpp
2015-06-11 12:26:23 +10:00
JerryShih fe1981cb51 Bug 1150310 - Only check stencil LSB 8bit value. r=jgilbert
--HG--
extra : rebase_source : 78dbe41efd129eea38d80415e14105a38bbf8f8d
2015-06-09 00:46:00 -04:00
JerryShih 3771691304 Bug 1150310 - Return context cached value for stencil* queries. r=jgilbert
--HG--
extra : rebase_source : e28d39e3a0e015ae6102ab9323e774c68b8854de
2015-06-09 00:37:00 -04:00
Dan Glastonbury 71efcb229e Bug 1167504 - Part 13: Unbind buffers from cached state on buffer deletion. r=jgilbert 2015-06-10 13:52:11 +10:00
Dan Glastonbury 9fea68d747 Bug 1167504 - Part 12: Return new buffer binding points from getParameter. r=jgilbert 2015-06-10 13:52:10 +10:00
Dan Glastonbury a116578a52 Bug 1167504 - Part 11: Clean up buffer binding constraints. r=jgilbert
Checked against http://www.khronos.org/registry/webgl/sdk/tests/conformance2/buffers/
2015-06-10 13:52:10 +10:00
Dan Glastonbury 61f17d6656 Bug 1167504 - Part 10: Remove WebGLBindableName.h. r=jgilbert 2015-06-10 13:52:08 +10:00
Dan Glastonbury da00b1f5f9 Bug 1167504 - Part 9: Remove BindableName - Queries. r=jgilbert 2015-06-10 13:52:08 +10:00
Dan Glastonbury bdc3ac4601 Bug 1167504 - Part 7: Remove BindableName - Buffer. r=jgilbert 2015-06-10 13:52:07 +10:00
Dan Glastonbury 88aef4ad04 Bug 1167504 - Part 6: Remove BindableName - Vertex Array. r=jgilbert 2015-06-10 13:52:06 +10:00
Dan Glastonbury 3922303a14 Bug 1167504 - Part 5: Remove BindableName - Transform Feedback. r=jgilbert 2015-06-10 13:24:19 +10:00
Dan Glastonbury e1b36d0a84 Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert 2015-06-10 13:24:18 +10:00
Dan Glastonbury e6e4f1da2d Bug 1167504 - Part 3: Remove BindableName - Sampler. r=jgilbert 2015-06-10 13:24:18 +10:00
Dan Glastonbury dde34b92c8 Bug 1167504 - Part 2: Remove BindableName - Renderbuffer. r=jgilbert 2015-06-10 13:24:17 +10:00
Dan Glastonbury 90a7ccba6d Bug 1167504 - Part 1: Remove BindableName - Framebuffer. r=jgilbert 2015-06-10 13:24:16 +10:00
Dan Glastonbury b8459e912c Bug 1170454: Fix up instance type for VAOs. r=smaug,r=jgilbert
--HG--
rename : dom/canvas/WebGLVertexArrayGL.h => dom/canvas/WebGLVertexArrayObject.cpp
rename : dom/canvas/WebGLVertexArrayGL.h => dom/canvas/WebGLVertexArrayObject.h
2015-06-10 11:53:08 +10:00
Lee Salzman 9892d81601 Bug 1169609 - test for all zero dash pattern leaving context in error state. r=jmuizelaar
--HG--
extra : rebase_source : bfc37381fe33b3e84e1c05c7b64a1a573cf400ab
2015-06-03 10:29:52 -04:00
Jeff Muizelaar 39a7d94450 Bug 1171021. Rewrite SetFullAlpha to choose one method of iterating.
Perviously it had two.

--HG--
extra : rebase_source : aedbe21564e7d2dcefaac7c9efd771b1ec659e59
2015-06-04 14:48:43 -04:00
Jeff Gilbert ee12c03986 Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro 2015-06-04 17:15:38 -07:00
David Anderson 46807997bc Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey)
--HG--
extra : rebase_source : f750028018bc04eddf31a1e3810e013b1d8f1631
2015-06-04 14:19:06 -07:00
Lee Salzman a881708c55 Bug 1156582 - Initialize WebGLShader bools in constructor. r=jgilbert 2015-05-29 19:54:04 -04:00
Lee Salzman f10ee2ffd2 Bug 1167176 - Only premultiply webgl snapshot pixels if alpha is used. r=jgilbert 2015-05-29 19:27:58 -04:00
Andrew Comminos 065394444c Bug 1170158 - Apply GTK2 reftest exceptions to GTK3. r=karlt 2015-06-02 13:47:00 -04:00
Andrew Comminos afee8c7898 Bug 1168845 - Update WebGL interface names to follow the spec. r=smaug, r=dglastonbury 2015-06-01 10:17:00 -04:00
Jonathan Kew f6f76086ef Bug 1107096 - Suppress improper drawing of zero-width invisible glyphs in canvas. r=roc 2015-05-30 14:07:16 +01:00
Andrew Comminos 4cb10e4687 Bug 974832 - Add tests for WebGL's EXT_disjoint_timer_query. r=dglastonbury 2015-05-27 12:11:00 -04:00
Andrew Comminos 2195da3088 Bug 974832 - Add support for WebGL's EXT_disjoint_timer_query. r=dglastonbury, r=smaug 2015-05-27 07:12:00 -04:00
Wes Kocher 8cc4e17ee5 Backed out changeset 9a0be81a49e6 (bug 1144906) 2015-05-28 17:08:31 -07:00
Jeff Gilbert 1c531bfbd0 Bug 1144906 - Mark tests as passing. 2015-05-28 17:00:43 -07:00
Birunthan Mohanathas 180b572edb Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Birunthan Mohanathas ea4a3be55c Bug 968520 - Use FallibleTArray::Clear instead of SetLength(0). r=froydnj
This preemptively fixes the upcoming -Wunused-result warnings due to unchecked
SetLength calls.
2015-05-28 11:07:43 -07:00
Dan Glastonbury 8646fecbf1 Bug 1159117: Remove assert causing crash. CLOSED TREE 2015-05-28 13:14:27 +10:00
Dan Glastonbury d89f4178c0 Bug 1159117 - Test emulation of formats removed in core profiles. r=jgilbert 2015-05-28 12:15:42 +10:00
Dan Glastonbury e6db7512d2 Bug 1159117 - Enable support for legacy formats. r=jgilbert
ALPHA, LUMINANCE, and LUMINANCE_ALPHA texture formats are removed in
OpenGL core profiles. Emulate these via RED, RG and texture swizzling.
2015-05-28 12:15:42 +10:00
Geoff Brown 320bc30752 Bug 1143317 - Fix asyncTestsDone check in test_canvas.html; r=gw280 2015-05-26 13:37:19 -06:00
Carsten "Tomcat" Book c468515673 Backed out changeset 45998275f423 (bug 857895) 2015-05-26 08:59:47 +02:00
Matt Woodrow 90b9016810 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
--HG--
extra : rebase_source : ae761425a6409a147f6e3492c30ac43452108750
2013-04-09 16:51:44 +12:00
Andrea Marchesini 23bb879984 Bug 1167423 - patch 5 - Handle return values of FallibleTArray functions in WebGL2Context, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini 7fb8486168 Bug 1167423 - patch 4 - Handle return values of FallibleTArray functions in CanvasRenderingContext2D, r=smaug 2015-05-25 12:50:15 +01:00
Kyle Fung 66c7e91d64 Bug 1164970 - Implement failIfMajorPerformanceCaveat. r=jgilbert, r=ehsan
--HG--
extra : rebase_source : c609118df9618795a1c84a7f5749979ad8f9aa68
2015-05-21 11:51:49 -04:00
Nathan Froyd db188ea282 Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Nathan Froyd 3e13ec018f Bug 1116905 - part 1 - remove dependence on implicit conversion from T* to TemporaryRef<T>, non-gfx changes; r=ehsan 2015-04-30 15:17:08 -04:00
Matt Woodrow 9b0ee77669 Backout e01d80922187 (Bug 857895) for causing crashes
--HG--
extra : rebase_source : d014633fc9d5965fcae6b24a5171809edf7840ed
2015-05-19 10:50:41 +12:00
Birunthan Mohanathas 735ccdd101 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
Birunthan Mohanathas db2ca75447 Bug 1038536 - Flatten image/src/ directory. r=seth
--HG--
rename : image/src/BMPFileHeaders.h => image/BMPFileHeaders.h
rename : image/src/ClippedImage.cpp => image/ClippedImage.cpp
rename : image/src/ClippedImage.h => image/ClippedImage.h
rename : image/src/DecodePool.cpp => image/DecodePool.cpp
rename : image/src/DecodePool.h => image/DecodePool.h
rename : image/src/Decoder.cpp => image/Decoder.cpp
rename : image/src/Decoder.h => image/Decoder.h
rename : image/src/Downscaler.cpp => image/Downscaler.cpp
rename : image/src/Downscaler.h => image/Downscaler.h
rename : image/src/DynamicImage.cpp => image/DynamicImage.cpp
rename : image/src/DynamicImage.h => image/DynamicImage.h
rename : image/src/FrameAnimator.cpp => image/FrameAnimator.cpp
rename : image/src/FrameAnimator.h => image/FrameAnimator.h
rename : image/src/FrozenImage.cpp => image/FrozenImage.cpp
rename : image/src/FrozenImage.h => image/FrozenImage.h
rename : image/src/ICOFileHeaders.h => image/ICOFileHeaders.h
rename : image/src/IProgressObserver.h => image/IProgressObserver.h
rename : image/src/Image.cpp => image/Image.cpp
rename : image/src/Image.h => image/Image.h
rename : image/src/ImageFactory.cpp => image/ImageFactory.cpp
rename : image/src/ImageFactory.h => image/ImageFactory.h
rename : image/src/ImageMetadata.cpp => image/ImageMetadata.cpp
rename : image/src/ImageMetadata.h => image/ImageMetadata.h
rename : image/src/ImageOps.cpp => image/ImageOps.cpp
rename : image/src/ImageOps.h => image/ImageOps.h
rename : image/src/ImageRegion.h => image/ImageRegion.h
rename : image/src/ImageURL.h => image/ImageURL.h
rename : image/src/ImageWrapper.cpp => image/ImageWrapper.cpp
rename : image/src/ImageWrapper.h => image/ImageWrapper.h
rename : image/src/MultipartImage.cpp => image/MultipartImage.cpp
rename : image/src/MultipartImage.h => image/MultipartImage.h
rename : image/src/Orientation.h => image/Orientation.h
rename : image/src/OrientedImage.cpp => image/OrientedImage.cpp
rename : image/src/OrientedImage.h => image/OrientedImage.h
rename : image/src/ProgressTracker.cpp => image/ProgressTracker.cpp
rename : image/src/ProgressTracker.h => image/ProgressTracker.h
rename : image/src/RasterImage.cpp => image/RasterImage.cpp
rename : image/src/RasterImage.h => image/RasterImage.h
rename : image/src/SVGDocumentWrapper.cpp => image/SVGDocumentWrapper.cpp
rename : image/src/SVGDocumentWrapper.h => image/SVGDocumentWrapper.h
rename : image/src/ScriptedNotificationObserver.cpp => image/ScriptedNotificationObserver.cpp
rename : image/src/ScriptedNotificationObserver.h => image/ScriptedNotificationObserver.h
rename : image/src/ShutdownTracker.cpp => image/ShutdownTracker.cpp
rename : image/src/ShutdownTracker.h => image/ShutdownTracker.h
rename : image/src/SourceBuffer.cpp => image/SourceBuffer.cpp
rename : image/src/SourceBuffer.h => image/SourceBuffer.h
rename : image/src/SurfaceCache.cpp => image/SurfaceCache.cpp
rename : image/src/SurfaceCache.h => image/SurfaceCache.h
rename : image/src/VectorImage.cpp => image/VectorImage.cpp
rename : image/src/VectorImage.h => image/VectorImage.h
rename : image/src/imgFrame.cpp => image/imgFrame.cpp
rename : image/src/imgFrame.h => image/imgFrame.h
rename : image/src/imgLoader.cpp => image/imgLoader.cpp
rename : image/src/imgLoader.h => image/imgLoader.h
rename : image/src/imgRequest.cpp => image/imgRequest.cpp
rename : image/src/imgRequest.h => image/imgRequest.h
rename : image/src/imgRequestProxy.cpp => image/imgRequestProxy.cpp
rename : image/src/imgRequestProxy.h => image/imgRequestProxy.h
rename : image/src/imgTools.cpp => image/imgTools.cpp
rename : image/src/imgTools.h => image/imgTools.h
2015-05-14 20:52:05 -07:00
Andreas Pehrson c1f6180c92 Bug 1032848 - Part 3: Add tests for HTMLCanvasElement::CaptureStream. r=mt, r=jgilbert, r=jesup
--HG--
extra : transplant_source : %10%FE%B2%29%FD%88%94%3Ax%11%F8%8D%A5%218e%F3%EA%E7%2B
2015-05-13 14:04:51 +08:00
Andreas Pehrson a0fcf04b67 Bug 1032848 - Part 2: Implement HTMLCanvasElement::CaptureStream. r=mt, r=jesup, r=jgilbert, r=gwright
--HG--
extra : transplant_source : o%13%2CuRJ2%21%B0%AE%5D%F0%B3%11%B30Y%5B%A3N
2015-05-13 14:04:41 +08:00
Matt Woodrow 51ff272372 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Wes Kocher 0801a7bb79 Backed out 2 changesets (bug 1038536) for mass bustage CLOSED TREE
Backed out changeset c4551f3019a9 (bug 1038536)
Backed out changeset 0b122f0b6fcf (bug 1038536)

--HG--
rename : image/decoders/icon/qt/nsGtkQtIconsConverter.idl => image/decoders/icon/qt/public/nsGtkQtIconsConverter.idl
rename : image/BMPFileHeaders.h => image/src/BMPFileHeaders.h
rename : image/ClippedImage.cpp => image/src/ClippedImage.cpp
rename : image/ClippedImage.h => image/src/ClippedImage.h
rename : image/DecodePool.cpp => image/src/DecodePool.cpp
rename : image/DecodePool.h => image/src/DecodePool.h
rename : image/Decoder.cpp => image/src/Decoder.cpp
rename : image/Decoder.h => image/src/Decoder.h
rename : image/Downscaler.cpp => image/src/Downscaler.cpp
rename : image/Downscaler.h => image/src/Downscaler.h
rename : image/DynamicImage.cpp => image/src/DynamicImage.cpp
rename : image/DynamicImage.h => image/src/DynamicImage.h
rename : image/FrameAnimator.cpp => image/src/FrameAnimator.cpp
rename : image/FrameAnimator.h => image/src/FrameAnimator.h
rename : image/FrozenImage.cpp => image/src/FrozenImage.cpp
rename : image/FrozenImage.h => image/src/FrozenImage.h
rename : image/ICOFileHeaders.h => image/src/ICOFileHeaders.h
rename : image/IProgressObserver.h => image/src/IProgressObserver.h
rename : image/Image.cpp => image/src/Image.cpp
rename : image/Image.h => image/src/Image.h
rename : image/ImageFactory.cpp => image/src/ImageFactory.cpp
rename : image/ImageFactory.h => image/src/ImageFactory.h
rename : image/ImageMetadata.cpp => image/src/ImageMetadata.cpp
rename : image/ImageMetadata.h => image/src/ImageMetadata.h
rename : image/ImageOps.cpp => image/src/ImageOps.cpp
rename : image/ImageOps.h => image/src/ImageOps.h
rename : image/ImageRegion.h => image/src/ImageRegion.h
rename : image/ImageURL.h => image/src/ImageURL.h
rename : image/ImageWrapper.cpp => image/src/ImageWrapper.cpp
rename : image/ImageWrapper.h => image/src/ImageWrapper.h
rename : image/MultipartImage.cpp => image/src/MultipartImage.cpp
rename : image/MultipartImage.h => image/src/MultipartImage.h
rename : image/Orientation.h => image/src/Orientation.h
rename : image/OrientedImage.cpp => image/src/OrientedImage.cpp
rename : image/OrientedImage.h => image/src/OrientedImage.h
rename : image/ProgressTracker.cpp => image/src/ProgressTracker.cpp
rename : image/ProgressTracker.h => image/src/ProgressTracker.h
rename : image/RasterImage.cpp => image/src/RasterImage.cpp
rename : image/RasterImage.h => image/src/RasterImage.h
rename : image/SVGDocumentWrapper.cpp => image/src/SVGDocumentWrapper.cpp
rename : image/SVGDocumentWrapper.h => image/src/SVGDocumentWrapper.h
rename : image/ScriptedNotificationObserver.cpp => image/src/ScriptedNotificationObserver.cpp
rename : image/ScriptedNotificationObserver.h => image/src/ScriptedNotificationObserver.h
rename : image/ShutdownTracker.cpp => image/src/ShutdownTracker.cpp
rename : image/ShutdownTracker.h => image/src/ShutdownTracker.h
rename : image/SourceBuffer.cpp => image/src/SourceBuffer.cpp
rename : image/SourceBuffer.h => image/src/SourceBuffer.h
rename : image/SurfaceCache.cpp => image/src/SurfaceCache.cpp
rename : image/SurfaceCache.h => image/src/SurfaceCache.h
rename : image/VectorImage.cpp => image/src/VectorImage.cpp
rename : image/VectorImage.h => image/src/VectorImage.h
rename : image/imgFrame.cpp => image/src/imgFrame.cpp
rename : image/imgFrame.h => image/src/imgFrame.h
rename : image/imgLoader.cpp => image/src/imgLoader.cpp
rename : image/imgLoader.h => image/src/imgLoader.h
rename : image/imgRequest.cpp => image/src/imgRequest.cpp
rename : image/imgRequest.h => image/src/imgRequest.h
rename : image/imgRequestProxy.cpp => image/src/imgRequestProxy.cpp
rename : image/imgRequestProxy.h => image/src/imgRequestProxy.h
rename : image/imgTools.cpp => image/src/imgTools.cpp
rename : image/imgTools.h => image/src/imgTools.h
2015-05-13 17:48:28 -07:00
Birunthan Mohanathas 700935223f Bug 1038536 - Flatten image/src/ directory. r=seth
--HG--
rename : image/src/BMPFileHeaders.h => image/BMPFileHeaders.h
rename : image/src/ClippedImage.cpp => image/ClippedImage.cpp
rename : image/src/ClippedImage.h => image/ClippedImage.h
rename : image/src/DecodePool.cpp => image/DecodePool.cpp
rename : image/src/DecodePool.h => image/DecodePool.h
rename : image/src/Decoder.cpp => image/Decoder.cpp
rename : image/src/Decoder.h => image/Decoder.h
rename : image/src/Downscaler.cpp => image/Downscaler.cpp
rename : image/src/Downscaler.h => image/Downscaler.h
rename : image/src/DynamicImage.cpp => image/DynamicImage.cpp
rename : image/src/DynamicImage.h => image/DynamicImage.h
rename : image/src/FrameAnimator.cpp => image/FrameAnimator.cpp
rename : image/src/FrameAnimator.h => image/FrameAnimator.h
rename : image/src/FrozenImage.cpp => image/FrozenImage.cpp
rename : image/src/FrozenImage.h => image/FrozenImage.h
rename : image/src/ICOFileHeaders.h => image/ICOFileHeaders.h
rename : image/src/IProgressObserver.h => image/IProgressObserver.h
rename : image/src/Image.cpp => image/Image.cpp
rename : image/src/Image.h => image/Image.h
rename : image/src/ImageFactory.cpp => image/ImageFactory.cpp
rename : image/src/ImageFactory.h => image/ImageFactory.h
rename : image/src/ImageMetadata.cpp => image/ImageMetadata.cpp
rename : image/src/ImageMetadata.h => image/ImageMetadata.h
rename : image/src/ImageOps.cpp => image/ImageOps.cpp
rename : image/src/ImageOps.h => image/ImageOps.h
rename : image/src/ImageRegion.h => image/ImageRegion.h
rename : image/src/ImageURL.h => image/ImageURL.h
rename : image/src/ImageWrapper.cpp => image/ImageWrapper.cpp
rename : image/src/ImageWrapper.h => image/ImageWrapper.h
rename : image/src/MultipartImage.cpp => image/MultipartImage.cpp
rename : image/src/MultipartImage.h => image/MultipartImage.h
rename : image/src/Orientation.h => image/Orientation.h
rename : image/src/OrientedImage.cpp => image/OrientedImage.cpp
rename : image/src/OrientedImage.h => image/OrientedImage.h
rename : image/src/ProgressTracker.cpp => image/ProgressTracker.cpp
rename : image/src/ProgressTracker.h => image/ProgressTracker.h
rename : image/src/RasterImage.cpp => image/RasterImage.cpp
rename : image/src/RasterImage.h => image/RasterImage.h
rename : image/src/SVGDocumentWrapper.cpp => image/SVGDocumentWrapper.cpp
rename : image/src/SVGDocumentWrapper.h => image/SVGDocumentWrapper.h
rename : image/src/ScriptedNotificationObserver.cpp => image/ScriptedNotificationObserver.cpp
rename : image/src/ScriptedNotificationObserver.h => image/ScriptedNotificationObserver.h
rename : image/src/ShutdownTracker.cpp => image/ShutdownTracker.cpp
rename : image/src/ShutdownTracker.h => image/ShutdownTracker.h
rename : image/src/SourceBuffer.cpp => image/SourceBuffer.cpp
rename : image/src/SourceBuffer.h => image/SourceBuffer.h
rename : image/src/SurfaceCache.cpp => image/SurfaceCache.cpp
rename : image/src/SurfaceCache.h => image/SurfaceCache.h
rename : image/src/VectorImage.cpp => image/VectorImage.cpp
rename : image/src/VectorImage.h => image/VectorImage.h
rename : image/src/imgFrame.cpp => image/imgFrame.cpp
rename : image/src/imgFrame.h => image/imgFrame.h
rename : image/src/imgLoader.cpp => image/imgLoader.cpp
rename : image/src/imgLoader.h => image/imgLoader.h
rename : image/src/imgRequest.cpp => image/imgRequest.cpp
rename : image/src/imgRequest.h => image/imgRequest.h
rename : image/src/imgRequestProxy.cpp => image/imgRequestProxy.cpp
rename : image/src/imgRequestProxy.h => image/imgRequestProxy.h
rename : image/src/imgTools.cpp => image/imgTools.cpp
rename : image/src/imgTools.h => image/imgTools.h
2015-05-12 15:02:36 -07:00
Vladimir Vukicevic [:vlad] 10f00a361e Bug 1114333 - "putImageData(imageData, 0, 0, 0, 0, 1, 1) unreasonably slow". r=bas 2015-03-24 07:03:00 +01:00
Phil Ringnalda 0080559c75 Back out 4f682f01262e (bug 857895) for widespread destruction
CLOSED TREE
2015-05-11 19:53:28 -07:00
Matt Woodrow df87b4ccca Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Carsten "Tomcat" Book 4bb7f96375 Backed out changeset 41c408a2662e (bug 857895) for bustage on a CLOSED TREE 2015-05-11 10:28:56 +02:00
Matt Woodrow a8b275cbb0 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
--HG--
extra : rebase_source : f94b65530bfb40298ed6ea1f22d607b0fc8b464f
2013-04-09 16:51:44 +12:00
Geoff Brown 4bb32f5282 Bug 1140454 - Skip some tests on Android 4.3 Debug for intermittent failures; r=me,trivial 2015-05-09 20:04:44 -06:00
Seth Fowler fdc5ab88b6 Bug 1162282 - When canvas.drawImage is called on a corrupt image that's not in the broken state, don't throw. r=gw280 2015-05-07 09:25:10 -07:00
Jeff Gilbert ba57b3774a Bug 1159034 - Test uninitialized buffer data. - r=dvander 2015-05-05 13:42:29 -07:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Markus Stange 08a4aeb70b Bug 947753 - Make test_drawWindow_widget_layers.html wait for the opened window to be visible. r=dbaron
Without this change, the test would fail because OMTC windows on OS X refuse to composite until they're visible.
2015-04-30 23:06:35 -04:00
Jeff Gilbert d8a57f41fb Bug 1159034 - Only fake no-alpha for the backbuffer. - r=kamidphish 2015-04-30 17:30:26 -07:00
Dan Glastonbury 00c98501d9 Bug 1156980 - Validate target in ImageData variants of TexImage2D/TexSubImage2D. r=jgilbert
--HG--
extra : rebase_source : 875822516e8aa078e350e17c982247a2aec3b648
2015-04-22 23:39:00 +02:00
Chris Peterson b0c725a350 Bug 1159131 - Work around false positive -Wuninitialized gcc warnings in DEBUG PGO builds of WebGLElementArrayCache.cpp. r=jgilbert 2015-04-25 20:24:03 -07:00
Tooru Fujisawa 0edbeb71c8 Bug 1102219 - Part 5: Replace more `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till 2015-04-30 00:32:05 +09:00
ziyunfei e1db0f779e Bug 1102219 - Part 4: Replace `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till 2015-04-30 00:32:05 +09:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Dan Glastonbury 4273e0dc68 Bug 1048724 - Sort out Transform Feedback Varyings. r=jgilbert 2015-04-25 08:26:50 +10:00
Andrew McCreight 0c176ddcff Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
Milan Sreckovic 31ef03baac Bug 1151736 - More information to pick up with crash reports. r=jgilbert
--HG--
extra : rebase_source : 905a9b6d27b4ff3a1b0dcac2314c331d1de6bf9a
2015-04-23 11:57:10 -07:00
Nicolas Silva 38812b5661 Bug 1155252 - Add a pref to control the maximum canvas 2d size and set it to 0x7ff. r=jrmuizel 2015-04-22 12:06:53 +02:00
Andrea Marchesini cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Dan Glastonbury ba6b22640d Bug 1156629 - OpenGL core context deprecated default VAO. r=jgilbert
Create a VAO and attach it to the default object.
2015-04-22 11:55:15 +10:00
Dan Glastonbury 903e6345cc Bug 1156626 - Add ES3 buffer binding values to strong type. r=jgilbert 2015-04-22 11:55:15 +10:00
Dan Glastonbury 38dc8450bb Bug 1048724 - Implement GetBufferSubData. r=jgilbert, r=smaug
The webidl and spec was wrong wrt returnedData param and the language
regarding its usage.
2015-04-22 11:24:12 +10:00
Dan Glastonbury 603c0dca5a Bug 1155470 - Fix queries. r=jgilbert
es3fTransformFeedbackTests exposed problems with queries. Queries are needed
to get the number of transformed primitives.
2015-04-22 11:24:12 +10:00
Nicolas Silva e887c595eb Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Dan Glastonbury 5893d8a315 Bug 1048747 - Cleanup how uniform interface blocks are handled. r=jgilbert 2015-04-21 15:38:30 +10:00
Jeff Gilbert 7aa0b18d60 Bug 1127336 - Label HW-decoded frames with correct origin. - r=vlad 2015-04-20 17:49:25 -07:00
Ryan VanderMeulen 4a9f125b74 Bug 1155252 - Re-disable 789933-1.html which was accidentally re-enabled.
CLOSED TREE
2015-04-20 10:51:05 -04:00
Nicolas Silva c76f9a219d Bug 1155252 - Don't allocate X11TextureClients bigger than xlib's maximum surface size. r=jrmuizel 2015-04-20 15:53:42 +02:00
Dan Glastonbury 986e12770a Bug 1153386 - All the GLES3 uniform types. r=jgilbert 2015-04-20 12:09:33 +10:00
Ryan VanderMeulen d827a7ffd1 Bug 994541 - Skip 789933-1.html on Linux debug due to frequent crashes. 2015-04-16 12:20:06 -04:00
Alexandre Lissy 366fdcfa2e Bug 1153574 - Re-enable Mulet reftests taskcluster-specific disables. r=ahal, a=test-only 2015-04-13 14:26:00 -04:00
Jeff Gilbert 3c498e4de8 Bug 1151930 - Check against updated length while appending. - r=kamidphish 2015-04-08 18:55:16 -07:00
Jeff Gilbert fa056b4fc7 Bug 1009734 - Wait until draw to warn about texture completeness. - r=kamidphish 2015-04-06 19:05:11 -07:00
Jeff Gilbert 7ba5092463 Bug 1150762 - Add pref for activating all ANGLE options. - r=kamidphish 2015-04-02 17:52:54 -07:00
Nicolas Silva 0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Mats Palmgren eb4243e0c6 Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Milan Sreckovic ca548f75af Bug 1149954 - Only Skia canvases need be considered for acceleration. Carry r=jmuizelaar from bug 1124249 2015-04-01 15:23:20 -04:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Mike Hommey c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Nicolas Silva 52be9f47b5 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Cameron McCormack 44a6617223 Bug 1148711 - Remove nsresult return values from nsCSSParser::Parse{Property,Variable}. r=dholbert 2015-03-29 22:57:04 +11:00
Geoff Brown 53daff6584 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Dan Glastonbury c9f30719f5 Bug 1048745 - Uniform array with Uint32Array. r=jgilbert, r=smaug 2015-03-26 14:27:44 +10:00
Geoff Brown eabca9b9fb Bug 1140148 - manifest updates for mochitest-gl on Android 4.3; r=jgilbert 2015-03-24 20:31:48 -06:00
Jeff Gilbert b5782d168a Bug 1143924 - Fix generated files. - r=kamidphish 2015-03-24 16:03:59 -07:00
Jeff Gilbert 28bb60187d Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-24 16:00:28 -07:00
Jeff Gilbert 5643850512 Bug 1144889 - Do proper sRGB detection. - r=kamidphish 2015-03-24 00:11:10 -07:00
Dan Glastonbury d3ddaad9a5 Bug 1145492 - Update FramebufferTexture2D to allow binding mipmaps. r=jgilbert 2015-03-24 10:41:33 +10:00
Dan Glastonbury be5c4501c6 Bug 1145501 - Extend validation of BufferData usage. r=jgilbert 2015-03-24 10:41:24 +10:00
Carsten "Tomcat" Book 4e43f49889 Backed out changeset 7d9bc7d19984 (bug 1143924) for gl4 test failures 2015-03-23 11:14:32 +01:00
Jeff Gilbert f1a5b9e646 Bug 1143979 - Use RAII local instead of useless temporary. - r=kamidphish 2015-03-16 19:38:06 -07:00
Jeff Gilbert bcbe4c71e2 Bug 1143924 - Add GENERATED header to generated wrappers. - r=kamidphish 2015-03-23 01:14:59 -07:00
Dan Glastonbury 5df93c206d Bug 1048745 - Uniform with GLuint. r=jgilbert 2015-03-23 16:38:00 +10:00
Dan Glastonbury 800637e333 Bug 1048745 - Non square UniformMatrix. r=jgilbert 2015-03-23 16:37:59 +10:00
Dan Glastonbury 2f9897fb85 Bug 1048721 - Implement WebGL2Sync. r=jgilbert 2015-03-23 16:20:53 +10:00
JW Wang 18c5534663 Bug 1145057 - Block drawImage() from EME media. r=roc. 2015-03-22 18:09:18 +08:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher 14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Jeff Gilbert 5da1c39c61 Bug 1143218 - Use mochitest subsuites to specify webgl tests. r=jmaher,gbrown 2015-03-18 17:19:22 -07:00
Carsten "Tomcat" Book a5db06eaa0 Backed out changeset 9a5f8a7ad479 (bug 1145057) for B2G L Emulator opt/debug bustage on a CLOSED TREE
--HG--
extra : rebase_source : b64ab76c00e9499dc6ed15d33f8d928135e6bc65
2015-03-20 16:56:58 +01:00
Alexandre Lissy 16ab34d6ec Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Ryan VanderMeulen 27a62e52c8 Backed out changeset 71357797bf19 (bug 1140148) for mochitest-gl harness bustage.
CLOSED TREE
2015-03-19 13:44:51 -04:00
Geoff Brown 854d91f6c7 Bug 1140148 - Manifest updates for mochitest-gl on Android 4.3; r=jgilbert 2015-03-19 11:00:59 -06:00
Boris Zbarsky dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Boris Zbarsky d0ebde3bb7 Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp.  The rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Jeff Gilbert 48d0e38e0b Bug 1142975 - Check for Present()-caused context loss. - r=kamidphish 2015-03-18 19:55:44 -07:00
Dan Glastonbury f83b9e813b Bug 1110120 - Remove use of UniquePtr for XFB and UB tracking.; r=smaug
--HG--
extra : rebase_source : 8f535e5c1280227f3caeb2cc61ded40fe2375fa1
2015-02-09 00:13:00 +10:00
Milan Sreckovic 26bb8ecd4d Bug 1129147 - Part 2. Path option to addHitRegion. r=ehsan r=gw280 2015-03-02 15:33:28 -05:00
Milan Sreckovic 5fa1db7949 Bug 1129147 - Part 1. Take CanvasPath into a separate file, to avoid circular dependency. r=roc
--HG--
rename : dom/canvas/CanvasRenderingContext2D.h => dom/canvas/CanvasPath.h
2015-03-03 10:57:51 -05:00
Dan Glastonbury 0336d90ab9 Bug 1124996 - Remove expected fail on OSX 10.10. r=jgilbert
--HG--
extra : rebase_source : ed2750eaef23e749683cb2831315dd96cc08a116
2015-03-16 18:30:23 +10:00
Phil Ringnalda 65f1390c52 Back out 90758efa9a09 (bug 1017865) because the expectAssertions() it removed actually do happen
CLOSED TREE
2015-03-16 21:34:09 -07:00
Phil Ringnalda 578e542299 Back out f7657171e034 (bug 1017865) for relanding after already being backed out because it causes orange
CLOSED TREE
2015-03-16 21:32:52 -07:00
Jeff Gilbert 1b6e5309a6 Bug 1017865 - Regen test manifests. 2015-03-16 18:23:22 -07:00
Jeff Gilbert 39df8cb30e Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-16 18:22:17 -07:00
Wes Kocher 31035937f5 Backed out changeset ff27f90ed289 (bug 1017865) for gl orange 2015-03-16 18:03:40 -07:00
Wes Kocher 5caaff0b2e Backed out changeset b3589228e8b1 (bug 1142975) for gl failures 2015-03-16 17:25:30 -07:00
Jeff Gilbert 30520fb49b Bug 1142975 - Check for Present()-caused context loss. - r=kamidphish 2015-03-16 16:33:44 -07:00
Jeff Gilbert 7fabed0618 Bug 1143876 - Treat invalidate-framebuffer as optional for WebGL2. - r=kamidphish 2015-03-16 16:29:37 -07:00
Jeff Gilbert fb77ab1278 Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-16 12:48:52 -07:00
Jeff Gilbert d8509a9780 Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish 2015-03-16 12:16:50 -07:00
Carsten "Tomcat" Book bdc1a494ba Backed out changeset eb29765267c7 (bug 1124996) 2015-03-16 11:58:00 +01:00
Dan Glastonbury e3f4eeb378 Bug 1124996 - Remove expected fail on OSX 10.10. a=tomcat
--HG--
extra : rebase_source : 9f179e69ec1b6281659a280c2b0da3334863848e
extra : histedit_source : 931dcf16b2a550713b9f01ddc9ba97758271bb17
2015-03-16 18:30:23 +10:00
Jeff Gilbert 64406cbd70 Bug 1128019 - Init SCISSOR_BOX with initial width and height. - r=kamidphish 2015-03-11 20:08:41 -07:00
Jeff Gilbert b8ab2f2251 Bug 1136507 - L8, LA8, and A8 should not be renderable. - r=kamidphish 2015-03-13 19:59:09 -07:00
L. David Baron 52dea62a7d Bug 1143227 - Annotate test_conformance__textures__texture-npot-video.html as asserting 4 times on Android, since bug 1083347 made us run it on Android debug builds, on a CLOSED TREE. No review. 2015-03-13 22:09:54 -07:00
Dan Glastonbury ff4015141e Bug 1048741 - [WebGL2] texParameter: Fix silly bug in TEXTURE_COMPARE_FUNC handling. r=jgilbert 2015-03-13 16:16:05 +10:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Jeff Gilbert 08c51c0528 Bug 1128044 - nsTArray::AppendElement doesn't accept init lists. - r=bustage 2015-03-11 21:21:03 -07:00
Jeff Gilbert 002e3e8c6b Bug 1128044 - Use nsTArray since android doesn't support std::vector::data(). - r=bustage 2015-03-11 21:02:39 -07:00
Jeff Gilbert 4fa7c2fc52 Bug 1128044 - Only pack varyings that have static use in both shaders. - r=warnings-as-errors 2015-03-11 20:31:46 -07:00
Jeff Gilbert a9bb1d2c45 Bug 1128044 - Enforce packing restrictions for varyings. - r=kamidphish 2015-03-11 20:12:43 -07:00
Jeff Gilbert cfe66e0097 Bug 1141875 - Add flag to init gl_Position. - r=kamidphish 2015-03-11 19:52:11 -07:00
Jeff Gilbert 39cd4ea833 Bug 1128001 - Workaround ANGLE DEPTH16 being DEPTH24_STENCIL8. - r=kamidphish 2015-03-11 18:23:56 -07:00
JW Wang c097627a37 Bug 1145057 - Block drawImage() from EME media. r=roc
--HG--
extra : rebase_source : ba07ef5c4f52edd173e9291290a4b1b38dd3398b
2015-03-19 19:08:00 -04:00
Milan Sreckovic 76dd5cd892 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Martijn Wargers 3f8627eb68 Bug 1005846 - Disable test_canvas_focusring.html on Windows. r=RyanVM 2015-02-16 11:56:46 +01:00
Jan Jongboom a51560be5b Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Tooru Fujisawa b0d7ebd80f Bug 1108382 - Part 6: Do not use non-standard flag argument of String.prototype.replace in dom/. r=peterv 2015-03-01 09:51:33 +09:00
Geoff Brown 0d418e622c Bug 1134271 - Skip conformance/canvas/buffer-offscreen-test.html on Android; r=jgilbert 2015-02-27 13:15:02 -07:00
Geoff Brown 71057b65a9 Bug 1099175 - Skip conformance/textures/texture-npot.html on android; r=jgilbert 2015-02-27 13:15:01 -07:00
Alexandre Lissy 1fcf835324 Bug 1134251 - Disable broken B2G Desktop tests on Mulet. r=jmaher, r=jgilbert 2015-02-25 23:49:00 -05:00
Jeff Gilbert 75d555e953 Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
Anish 45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Jeff Gilbert e9a175ca67 Bug 1094457 - Implement ReadBuffer and RenderbufferStorageMultisample. - r=kamidphish 2015-02-18 16:57:05 -08:00
Jeff Gilbert d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Birunthan Mohanathas 050845efa9 Bug 1070709 - Remove unreferenced moz.build files in dom/canvas/test. r=mshal 2015-02-10 18:47:14 +02:00
Birunthan Mohanathas 5fc0f215bd Bug 1070709 - Collapse test-only moz.build files under dom/ into ancestor moz.build files. r=mshal 2015-02-10 18:47:10 +02:00
Jeff Gilbert 56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Jeff Muizelaar 86feeec278 Bug 1128264 - Update ANGLE to chromium/2214. r=jgilbert
--HG--
extra : rebase_source : 2a8e6bdd19f95ada11aa6b3c58165b91d1f5eea2
2015-02-05 14:39:18 -05:00
Jeff Gilbert 680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Jeff Gilbert 5533ff3254 Bug 1129213 - Support non-UINT32_MAX initial values for STENCIL_VALUE_MASK. - r=kamidphish 2015-02-04 15:07:32 -08:00
Seth Fowler a79546917f Bug 1128225 (Part 1) - Return a result enumeration from imgIContainer::Draw. r=tn 2015-02-04 13:50:56 -08:00
Mike Hommey a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Wes Kocher d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jeff Gilbert 95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Jeff Gilbert b2f6f4fa94 Bug 1125445 - Only do backbuffer workaround if against backbuffer. - r=kamidphish 2015-01-26 18:27:24 -08:00
Jeff Walden 66e43513dd Bug 1112774 - Remove JS_DoubleTo{Ui,I}nt32 in favor of JS::To{Ui,I}nt32. r=jorendorff
--HG--
extra : rebase_source : 0f526faad2330aea9b8738d476aed5ce9aefde1e
2015-01-07 10:06:03 -06:00
Wes Kocher dd7ff05753 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Jeff Gilbert ebb432b53c Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Jeff Gilbert e1fba64ee2 Bug 1124430 - Implement GetFragDataLocation. - r=kamidphish 2015-01-26 17:10:25 -08:00
Masatoshi Kimura 6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura 86502e6537 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Masatoshi Kimura be535304d8 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Phil Ringnalda 1b285d5f14 Bug 1125003 - Annotate OS X 10.10 webgl test failures, r=jgilbert 2015-01-21 23:02:12 -08:00
Nicholas Nethercote 2f90e27747 Bug 1100738 - Use GetMetricsFor() to avoid many Fontconfig allocations. r=karlt.
--HG--
extra : rebase_source : 0640212684c4ef103823dff01dbcca1849daa0cf
2015-01-01 15:28:03 -08:00