Jeff Muizelaar
9ad3a4d985
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
c9d8e74b0f
Bug 1213491 - Change CanvasRenderingContext2D::ContextState::clipsPushed to an nsTArray. r=nical
2015-10-09 16:20:00 +02:00
Jukka Jylanki
bb0cc73d64
Bug 1147441 - Add SharedArrayBuffer support to WebGL and WebGL 2. r=jgilbert, r=bzbarsky
2015-10-14 11:18:19 +05:30
Phil Ringnalda
9276f87c84
Back out changeset d34a1af95066 (bug 1207288) for Windows mochitest-gl not being that into being validated
...
CLOSED TREE
2015-10-13 20:00:38 -07:00
Jeff Muizelaar
9f5eada2ae
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
Morris Tseng
3a1685318e
Bug 709490 - Part 11: Diabled test_offscreencanvas_many.html on gonk, android, windows and linux. r=jgilbert
2015-10-12 11:21:04 +08:00
Morris Tseng
62ed7ded96
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
2015-10-12 11:21:04 +08:00
Morris Tseng
9baf236c2f
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
2015-10-12 11:21:03 +08:00
Morris Tseng
6cd89d555d
Bug 709490 - Part 4: Mochitests for offscreencanvas. r=baku, r=jgilbert
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
2015-10-12 11:21:03 +08:00
Morris Tseng
b1e15627bf
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
2015-10-12 11:21:03 +08:00
Nicholas Nethercote
0c9936d9d3
Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow.
2015-10-05 17:18:10 -07:00
Nicholas Nethercote
e6cc09cd51
Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
...
The conversion is as follows:
- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST == gfx::Filter::LINEAR
Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.
These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00
jdashg
5a0d818a1d
Bug 1188010 - Use MOZ_RELEASE_ASSERT. r=dglastonbury
...
Use MOZ_RELEASE_ASSERT when failure means overflows.
From b9fe1e06f63a785f309e1ce7e5053cb57e21e634 Mon Sep 17 00:00:00 2001
---
dom/canvas/WebGLTexture.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
2015-07-29 14:37:54 -07:00
Wes Kocher
38e6ef5aee
Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
...
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Morris Tseng
135a656e57
Bug 709490 - Part 11: Diabled test_offscreencanvas_many.html on gonk, android, windows and linux. r=jgilbert
2015-10-05 10:50:17 +08:00
Morris Tseng
9ae39aa599
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
2015-10-05 10:50:17 +08:00
Morris Tseng
4695e137b7
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
2015-10-05 10:50:16 +08:00
Morris Tseng
c2c6c8f143
Bug 709490 - Part 4: Mochitests for offscreencanvas. r=baku, r=jgilbert
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
2015-10-05 10:50:16 +08:00
Morris Tseng
ae7d727d4f
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
2015-10-05 10:50:16 +08:00
Tooru Fujisawa
ab5ffbf898
Bug 1207494 - Part 4: Remove use of expression closure from dom/canvas/. r=gw280
2015-09-23 18:39:13 +09:00
Milan Sreckovic
4b8b2f93da
Bug 1205900 - Compare context and canvas element sizes before extracting the data. r=gwright
2015-10-02 09:18:26 +02:00
Nicholas Nethercote
7a32103e8f
Bug 1209206 (part 1) - Remove mgfx namespace synonym.
...
CanvasRenderingContext2D.cpp has a |namespace mgfx = mozilla::gfx;| synonym.
Since the entire file is within the |mozilla| namespace we can use |gfx::Foo|
anyway, which is shorter than |mgfx::Foo|.
2015-09-28 12:37:18 -07:00
Bas Schouten
937aaad790
Bug 1208465 - Part 1: Fix some reftest annotations. r=jrmuizel
2015-10-01 04:45:26 +02:00
Wes Kocher
6482c81f9b
Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
...
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Morris Tseng
61a591b6d7
Bug 709490 - Part 11: Diabled test_offscreencanvas_many.html on gonk, android, windows and linux, r=jgilbert
2015-09-29 11:51:26 +01:00
Morris Tseng
fe706cfad0
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref, r=baku
2015-09-29 11:51:25 +01:00
Morris Tseng
0b17a6fcc9
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer, r=roc
2015-09-29 11:51:25 +01:00
Morris Tseng
7e380550a1
Bug 709490 - Part 4: Mochitests for offscreencanvas, r=baku, r=jgilbert
2015-09-29 11:51:24 +01:00
Morris Tseng
c68b782dc7
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers., r=ehsan, r=jgilbert, r=nical
2015-09-29 11:51:24 +01:00
Kathy Brade
f27568bec5
Bug 232227 - Do not expose system colors to CSS or canvas. r=jmuizelaar r=enndeakin tor-r=arthuredelstein
2015-09-25 00:59:00 +02:00
Nicholas Nethercote
f7e8a9e813
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
2015-09-23 11:49:05 -07:00
Jeff Gilbert
eb79b5b33f
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-24 12:21:05 -07:00
Matt Woodrow
bbbbbfca8f
Bug 1206161 - Make sure the DrawTarget is available when creating a CanvasLayer so that we can check for SkiaGL. r=Bas
2015-09-23 20:30:06 -04:00
Matt Woodrow
922f2a334c
Bug 1150944 - Fuzz some reftests with SkiaGL. r=jrmuizel
2015-09-23 20:28:23 -04:00
Phil Ringnalda
2edbc1f476
Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
...
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
6a7fc66bd0
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-22 16:49:25 -07:00
Jeff Gilbert
164f079e48
Bug 1206907 - GenerateWarning should output to Web Console, not Browser Console. - r=bholley
2015-09-22 15:51:01 -07:00
Jeff Gilbert
49187c869d
Bug 1192989 - Simplify handling by ifdefing in all.js. - r=kamidphish
2015-08-10 14:57:15 -07:00
Bas Schouten
a560dee6e6
Bug 1206076: Use a specialized PersistentBufferProvider for Canvas2D when using a SkiaGL DrawTarget. r=jrmuizel
2015-09-21 00:30:59 +02:00
Andreas Pehrson
4916737c63
Bug 1177276 - Pref on canvas.captureStream by default. r=smaug,mt
2015-09-17 22:09:24 +08:00
Andreas Pehrson
57b146b3a4
Bug 1161913 - Part 3 - Relax requestFrame ordering guarantee in tests. r=mt
...
We used to fully guarantee the order of requestFrame() and draw calls.
For instance:
```
ctx.draw(red);
stream.requestFrame();
ctx.draw(green);
```
would guarantee that a red frame ended up in the stream, and not the
green unless another frame was requested.
Now with frames being requested and pushed out on next refresh, we can
only guarantee that everything up to the requestFrame() call is included
in the next frame. Everything after the requestFrame() and before the
next refresh (stable state in most cases) will now also be inevitably
included.
2015-09-17 11:37:05 +08:00
Andreas Pehrson
26f348a58d
Bug 1161913 - Part 1 - Add invalidation state for CaptureStream to Canvas and Contexts. r=mt
2015-09-17 11:37:05 +08:00
Nicholas Nethercote
cae6e9971a
Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
...
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)
2015-09-09 21:07:07 -07:00
Lee Salzman
85c0d903cb
Bug 655328 - remove obsolete canvas test test_2d.drawImage.outsidesource since out of bounds rects no longer throw IndexSizeError. r=jmuizelaar
2015-09-11 10:13:23 -04:00
Lee Salzman
17181a9d3b
Bug 655328 - clip canvas drawImage source/dest rectangles instead of throwing IndexSizeError. r=jmuizelaar
2015-09-11 11:14:32 -04:00
Lee Salzman
677b2b352c
Bug 1074733 - Part 4 - fix test_canvas.html tests with negative rects to no longer expect failure. r=jmuizelaar
2015-09-10 14:10:59 -04:00
Lee Salzman
b461ad9d04
Bug 1074733 - Part 1 - Normalize Canvas 2D rects to be positive by flipping negative width or height. r=jmuizelaar
2015-09-11 11:29:17 -04:00
John Daggett
cd38bedf03
Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
2015-09-11 13:24:33 +09:00
Phil Ringnalda
b6b1f1cc7f
Back out 71886d218c12 (bug 1200864) for Win8 mochitest-gl failures
...
CLOSED TREE
2015-09-02 20:35:45 -07:00
Jeff Gilbert
433dc416ec
Bug 1200864 - Skip DrawElements buffer validation when we have robust_buffer_access. - r=kamidphish
2015-09-02 14:06:58 -07:00
Geoff Brown
c0638aeb81
Bug 1201075 - Increase timeout for webgl-color-test; r=jgilbert
2015-09-02 14:20:02 -06:00
Bas Schouten
a212d742c6
Bug 1192159: Do not forget about the transform when not using an active target. r=jrmuizel
2015-09-02 12:20:59 +00:00
Ehsan Akhgari
1aceac329e
Bug 1200492 - Do not add the top source directory to the include path in dom/canvas; r=gps
...
Otherwise, putting a file named a system header there
will get it included.
2015-09-01 19:48:31 -04:00
Nicholas Nethercote
69d088e45f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Liam Middlebrook
514062ad7e
Bug 1178893
- Made state/gl-enum-tests Conformant. r=kamidphish
...
GL_NUM_COMPRESSED_TEXTURE_FORMATS isn't a valid enum for gl.getParameter so
instead of setting a GL_NO_ERROR it should set a GL_INVALID_ENUM.
2015-08-26 15:35:43 -04:00
Andrew Comminos
b3d4755676
Revert "Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel" CLOSED TREE
...
This reverts commit 99120014586d20a2921b9157e5ec81b3605cd8bd.
2015-08-27 17:12:06 -04:00
Jeff Gilbert
49821ec279
Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel
2015-08-27 16:55:45 -04:00
Andrea Marchesini
6e34f6b5b0
Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug
2015-08-27 17:19:13 +01:00
Nigel Babu
4da66159a2
Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE
2015-08-27 15:04:25 +05:30
Andrea Marchesini
c5ea65bcb2
Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug
2015-08-27 09:06:09 +01:00
Chris Peterson
cd0fd3466a
Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium
2015-08-25 09:14:38 -07:00
Lee Salzman
2dfa9e7cc7
Bug 1190705 - Add crashtest for canvas 2d. r=Bas
2015-08-05 21:17:14 -04:00
Lee Salzman
01275d0e89
Bug 1190705 - Ensure that canvas 2d matrix transforms are finite. r=Bas, r=jrmuizel
2015-08-05 18:48:25 -04:00
Kyle
83c89c4bbf
Bug 1190777 - Add null checks to prevent bad dereferences. r=kamidphish
2015-08-11 10:17:16 -04:00
Markus Stange
416b6d2707
Bug 1164766 - Clean up error checking in CanvasRenderingContext2D. r=mats
2015-07-14 16:59:12 -04:00
JerryShih
fcc034a210
Bug 1186666 - clamp gl ClearDepth() value to [0,1]. r=jgilbert
...
The value should be clamped to the range [0,1].
https://www.khronos.org/opengles/sdk/docs/man/xhtml/glClearDepthf.xml
2015-08-19 14:50:06 -07:00
Justin Wood
8fa323c4ed
Bug 1195499 - Batch 2 - Adjust fuzz and skips for win10. r=Bas
2015-08-19 11:16:18 -04:00
William Chen
31205f2a04
Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku
2015-08-18 14:55:21 -07:00
Kaku Kuo
e2c5748c72
Bug 1190210 - Part 4: Test cases. r=smaug
2015-08-06 21:24:53 +08:00
Kaku Kuo
0dcb9a5756
Bug 1190210 - Part 3: Fix the assertion in create-from-blob case. r=smaug
2015-08-06 22:36:06 +08:00
Kaku Kuo
cc3d7787b7
Bug 1190210 - Part 2: Make sure the size of created ImageBitmap is the same as the intented cropping area. r=roc
2015-08-06 16:58:00 +08:00
Kaku Kuo
74735d9e1a
Bug 1190210 - Part 1: Avoid wrong memory accessing in CropAndCopyDataSourceSurface(). r=smaug
2015-08-05 17:46:47 +08:00
Andrew Comminos
e193dc2524
Bug 1194472 - Correctly fetch compositor backend in WebGLContext. r=jgilbert
2015-08-17 15:10:12 -07:00
Dan Glastonbury
4894404e71
Bug 1170842 - Part 4: Implement FramebufferTextureLayer. r=jgilbert
2015-08-12 11:51:34 +10:00
Dan Glastonbury
07f8472b99
Bug 1170842 - Part 3: Implement GetInternalformatParameter. r=jgilbert, r=smaug
2015-08-12 11:51:16 +10:00
Wes Kocher
363d11758a
Backed out changeset 24ee4a5af7e8 (bug 1136414) for test_conformance__extensions__ext-sRGB.html failures
2015-08-11 15:59:04 -07:00
Kyle
b19af36cf5
Bug 1136414: Removed SRGB8_EXT from list of color renderable formats. r=jgilbert
2015-08-05 11:36:05 -04:00
Jeff Gilbert
8179f9c3d3
Bug 1192472 - Only do supplemental isArray check if WorkAroundDriverBugs. - r=kamidphish
2015-08-07 19:29:53 -07:00
Lee Salzman
6c9babb4f2
Bug 1191608 - initialize element to null in CanvasRenderingContext2D::DrawImage. r=bas
2015-08-06 12:07:09 -04:00
Kyle
d25e959e80
Bug 1136428 - Change implementation of WebGLContext::DrawBuffers such that it goes through GLScreenBuffer to change the draw buffer. Added a variable to GLScreenBuffer to cache the draw buffer mode. r=jgilbert
2015-07-31 15:56:32 -04:00
Kyle
00df5efb3a
Bug 1136428 - Create a different set and restore path of the draw buffer state in WebGLContext::ForceClearFramebufferWithDefaultValues depending on whether or not the default framebuffer is being used. r=jgilbert
2015-07-29 15:01:26 -04:00
Kyle
1d809f29ef
Bug 1136428 - Ensure we never create more than the amount supported of color attachments in WebGLFrameBuffer or try to get an attachment point higher than the supported number. r=jgilbert
2015-08-05 16:45:44 -04:00
Dan Glastonbury
1a99cebbe6
Bug 1184402 - Reset format usage authority on context lose/restore. r=jgilbert
2015-08-06 10:30:51 +10:00
Bas Schouten
d952966e55
Bug 1188752: Ensure persistence of DrawTarget when using InitializeWithSurface. r=jrmuizel
2015-08-05 19:00:03 +00:00
Birunthan Mohanathas
e1f0334d06
Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Kyle
d4829ae10e
Bug 1186129 - Fix assignment of alpha in pack premultiply RA16F. Also made a cosmetic change to the assignment of alpha in pack premultiply RA32F so that it is more consistent with the other pack functions. r=jgilbert
2015-07-21 15:24:45 -04:00
Andrew Comminos
f58452ebe0
Bug 1189903 - Don't use RGBA surfaces on GLX if surface sharing is not used. r=jgilbert
2015-08-04 07:12:00 -04:00
Dan Glastonbury
cabfc5ae3b
Bug 1170845 - Remove WebGL2() exclusion on instanced draw divisor check. r=jgilbert
2015-08-04 10:28:13 +10:00
Jeff Gilbert
8fd74694aa
Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish
2015-08-03 14:34:46 -07:00
Jan-Ivar Bruaroey
3985679823
Bug 1175523 - Update most (but not all) tests to use elem.srcObject over .mozSrcObject. r=pehrsons
2015-07-14 10:12:31 -04:00
Makoto Kato
629ba560a7
Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal
2015-08-03 10:07:09 +09:00
Kaku Kuo
6e4e851be6
Bug 1044102 - Part 3 - Support StructuredClone. r=baku
2015-07-30 20:50:00 +02:00
Kaku Kuo
d676cc57dd
Bug 1044102 - Part 2 - Support ImageBitmap as CanvasImageSource. r=smaug
2015-07-30 20:49:00 +02:00
Kaku Kuo
fa3a35c345
Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug
2015-07-30 20:47:00 +02:00
Kaku Kuo
d304622253
Bug 1044102 - Part 0 - Test cases. r=smaug.
2015-07-30 20:45:00 +02:00
Carsten "Tomcat" Book
1996074142
Backed out changeset 835f428cd0a1 (bug 1170845) for webgl test failures on a CLOSED TREE
2015-07-31 09:54:10 +02:00
Dan Glastonbury
e1e7294c27
Bug 1170845 - Remove WebGL2() exclusion on instanced draw divisor check. r=jgilbert
2015-07-31 16:24:00 +10:00
Lee Salzman
cf88f83a89
Bug 1188462 - Add SKIA_INCLUDES list for adding Skia to header search path. r=jrmuizel
2015-07-30 12:05:22 -04:00
Andrew Comminos
3e4e803f91
Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical
2015-07-30 12:40:56 -04:00
Lee Salzman
c695a6bb45
Bug 1188195 - always initialize WebGL2 BlitFramebuffer src/dst formats to some value. r=jgilbert
2015-07-29 15:51:14 -04:00
Nicholas Nethercote
242308999c
Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
...
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.
And do likewise for nsTObserverArray.
2015-07-28 23:24:24 -07:00
Dan Glastonbury
25b5710769
Bug 1184402 - Part 4: Use WebGLFormat for validation in RenderbufferStorage_base. r=jgilbert
2015-07-30 13:33:39 +10:00
Dan Glastonbury
41507fc973
Bug 1184402 - Part 3: Add WebGL1 formats when enabling extensions. r=jgilbert
2015-07-30 13:33:38 +10:00
Dan Glastonbury
4afaa3f915
Bug 1184402 - Part 2: Added luminance float effective formats
2015-07-30 13:33:37 +10:00
Dan Glastonbury
3cbc70cb39
Bug 1184402 - Part 1: Rename GetInfo() to GetUsage() for obtaining FormatUsageInfo. r=jgilbert
2015-07-30 13:33:36 +10:00
Wes Kocher
b1e6ef05c0
Bug 1150944 - Fix typo on a CLOSED TREE
2015-07-29 15:53:40 -07:00
Matt Woodrow
ef253872b6
Bug 1150944 - Fix windows build bustage. CLOSED TREE
2015-07-29 18:08:07 -04:00
Matt Woodrow
6fa6ea7eec
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Matt Woodrow
e73b40e678
Bug 1150944 - Remove objects that have been unlinked by the cycle collector from the demotable context list. r=ehsan
2015-07-29 16:35:55 -04:00
Wes Kocher
2d40eac90e
Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
...
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
738c3246e7
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Matt Woodrow
e618aa2689
Bug 1150944 - Remove objects that have been unlinked by the cycle collector from the demotable context list. r=ehsan
2015-07-29 16:35:55 -04:00
Bobby Holley
59c4d9cf6c
Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Kyle
d0be04cef9
Bug 1175931 - TexImageFromVideoElement uses GL_HALF_FLOAT if it does not support GL_HALF_FLOAT_OES which would be the case on non-ANGLE systems. Using GL_HALF_FLOAT_OES on a non OES system would result in an error when using TexImage2D. r=jgilbert
2015-07-24 13:55:46 -04:00
Jeff Gilbert
36058d3f15
Bug 1187174 - Use 'webgl2' not 'experimental-webgl2'. - r=kamidphish
2015-07-27 12:10:17 -07:00
Lee Salzman
24d4b186d0
Bug 1186689 - check for OOM on destination array before mapping source to avoid needing unmap. r=bas
2015-07-23 11:39:22 -04:00
Kyle
49658133ab
Bug 1186111 - Implemented pack unpremultiply for 32f formats. r=jgilbert
2015-07-21 15:00:08 -04:00
Kyle
3e88efc8dd
Bug 1186111 - Implemented pack unpremultiply for 16f formats. r=jgilbert
2015-07-21 14:37:32 -04:00
Mike Hommey
c1fa27ce5d
No bug - Remove outdated comment and additional comment questioning its relevance. r=me DONTBUILD
...
The first half of the comment was added in bug 534467.
At that point the code looked like:
// NOTE! dst is the same as src, and this relies on reading
// from src and advancing that ptr before writing to dst.
PRUint8 *src = aData;
PRUint8 *dst = aData;
It was in content/canvas/src/nsCanvasRenderingContext2D.cpp.
Then bug 651858 added nsCanvasRenderingContext2DAzure.cpp, starting
from nsCanvasRenderingContext2D.cpp. The comment was kept, but the
code was modified such that src and dst were different things.
Then bug 734668 removed nsCanvasRenderingContext2D.cpp, and finally
renamed nsCanvasRenderingContext2DAzure.cpp to CanvasRenderingContext2D.cpp.
The comment questioning the relevance of the first comment was added
in bug 764125, when the file was still nsCanvasRenderingContext2DAzure.cpp.
2015-07-26 11:39:47 +09:00
Kyle
9a2484c251
Bug 1167651 - Passed the forceEnabled pref from function to function down to GLLibraryEGL::EnsureInitialized. r=jgilbert
2015-07-23 13:12:59 -04:00
Dan Glastonbury
a5c96d9a72
Bug 1170455
- Part 4: Track the type of the generic vertex attribute. r=jgilbert
...
So the correct typed array can be returned from GetVertexAttrib.
2015-07-22 11:59:18 +10:00
Dan Glastonbury
4925df9194
Bug 1170455
- Part 2: Split vertex attribute functions into separate file. r=jgilbert
2015-07-22 11:59:16 +10:00
Dan Glastonbury
cbf9696071
Bug 1170455
- Part 1: Reformat GetVertexAttrib function. r=jgilbert
2015-07-22 11:59:15 +10:00
Dan Glastonbury
cb2c61433b
Bug 1185815 - Hoist generation increment. r=jgilbert
...
So 'default' WebGL objects are in the same generation as the current context.
2015-07-22 11:37:40 +10:00
Dan Glastonbury
0af400c6e0
Bug 1185803 - Replace MOZ_CRASH with GenerateWarning. r=jgilbert
2015-07-22 11:23:20 +10:00
Jeff Gilbert
188c522f2c
Bug 1171228 - Expose WEBGL_debug_renderer_info to web content on non-RELEASE_BUILDs. - r=kamidphish, sr=jst
2015-07-21 17:41:57 -07:00
Dan Glastonbury
74955dd489
Bug 1184786 - Fix ReadBuffer parameter validation. r=jgilbert
2015-07-20 12:24:40 +10:00
Dan Glastonbury
b2a4cbe11b
Bug 1184786 - Fix LastColorAttachment(). r=jgilbert
2015-07-20 12:24:39 +10:00
Kyle
3a6ae519f0
Bug 1106138 - Cause crash when an unimplemented pack mode is used. Implement packing for RGBA32F format, which is used in WebGL 1.0.2 conformance. r=jgilbert
2015-07-08 22:00:47 -04:00
Kyle
f300a1992f
Bug 1106138 - Remove the early unpremultiply in WebGLContext::SurfaceFromElementResultToImageSurface, and let the texel conversion code handle it instead. r=jgilbert
2015-07-16 17:23:11 -04:00
Ms2ger
0ccbb15a1a
Backed out changeset f266de469f27 (bug 1171228) for mochitest-other failures.
2015-07-17 11:29:51 +02:00
Jeff Gilbert
1136aa93d6
Bug 1171228 - Expose WEBGL_debug_renderer_info to Web Content #ifndef MOZ_RELEASE_BUILD. - r=kamidphish, sr=jst
2015-07-16 17:20:15 -07:00
Lee Salzman
ce7468d94f
Bug 1183363 - Add canvas crashtest. r=Bas
...
CLOSED TREE
2015-07-15 16:47:56 -04:00
Jeff Muizelaar
1f2e10f9ba
Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
2015-07-08 16:51:09 -04:00
Jeff Gilbert
488122b31e
Bug 1182371 - Misc WebGL cleanup. - r=kamidphish
2015-07-14 17:37:28 -07:00
Lee Salzman
85dd383484
Bug 1183363 - Make EnsureWritablePath and EnsureUserSpacePath always imply EnsureTarget. r=Bas
2015-07-14 00:01:29 -04:00
Boris Zbarsky
5e2335828e
Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly
2015-07-14 15:28:57 -04:00
Milan Sreckovic
febc152155
Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar
2015-07-10 12:04:56 -04:00
Botond Ballo
329ac5fd09
Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
47ed3a3675
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Birunthan Mohanathas
ca2fd024bc
Bug 1182824 - Part 2: Make ContextState::dash a nsTArray. r=mattwoodrow
2015-07-12 23:19:12 -07:00
Birunthan Mohanathas
0b341016f1
Bug 1182824 - Part 1: Use move assignment rather than copy assignment with ContextState::dash. r=mattwoodrow
2015-07-12 23:19:12 -07:00
Jeff Gilbert
0f59626f88
Bug 1177271 - Add WebGLFormat format tables. - r=kamidphish
2015-07-10 16:34:45 -07:00
Geoff Brown
f8e98ea39a
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Carsten "Tomcat" Book
9fb8eb7b5c
Backed out changeset 7bffe6c8fd4d (bug 1177726) for test regressions in 1177726-text-stroke-bounds.html on a CLOSED TREE
2015-07-09 13:02:13 +02:00
Milan Sreckovic
76108d35df
Bug 1177726 - Inflate the bounds when stroking the canvas text. r=jmuizelaar
2015-07-08 07:45:00 +02:00
Morris Tseng
6063c7d974
Bug 1174043 - Run DisableTimer if timer is not yet disabled. r=dglastonbury
2015-07-07 23:43:00 +02:00
Robert O'Callahan
3c924e5d41
Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical
2015-03-27 12:07:53 +13:00
Edwin Flores
198d1f72ef
Bug 1170893 - Return null for invalid internal format. r=kamidphish
2015-07-07 16:24:25 +10:00
Kyle
58e5fda156
Bug 1137494 - Change the type given to type validation check. r=jgilbert
2015-06-23 17:25:13 -07:00