Benoit Jacob
8d9374f04e
Bug 924193 - Drop WebGLTexelConversions' custom FORCE_INLINE macro, use MOZ_ALWAYS_INLINE - r=jgilbert
2013-10-11 09:16:44 -04:00
Benoit Jacob
e52dbaed88
Bug 924192 - Use MOZ_BEGIN_ENUM_CLASS for the WebGLTexelPremultiplicationOp enum - r=jgilbert
2013-10-11 09:16:44 -04:00
Benoit Jacob
625d40fbff
Bug 924191 - Use MOZ_BEGIN_ENUM_CLASS for the WebGLTexelFormat enum - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
2998967184
Bug 924189 - Use MOZ_BEGIN_ENUM_CLASS for the WebGL VertexAttrib0 enum - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
9ffc6b23d8
Bug 924188 - Use MOZ_ASSERT where appropriate in WebGL code - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
0e6cdbb7f0
Bug 924186 - Simplify WebGLFramebuffer's CC goop - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
76acfffadf
Bug 924176 - Warn on prefixed WebGL extensions usage (deprecated) - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
31b388a74f
Bug 922810 - Fix the build on compilers not supporting strong enums - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
c1068e71b9
Bug 922810 - Part 8: Defer/avoid initialization of texture images - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
f381117c01
Bug 922810 - Part 6: Clean up and optimize fake black textures implementation - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
70e268f927
Bug 922810 - Part 5: do not initialize depth textures before they get rendered to, use a fake black texture instead - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
d3ed28c249
Bug 922810 - Part 4: make BindTexture smart enough to not clear the context's mFakeBlackStatus when nothing changed - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
0ada058e54
Bug 922810 - Part 3: introduce transparent fake black textures alongside existing opaque ones - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
5e11f6d43d
Bug 922810 - Part 2: reorganize the tracking of fake back statuses - r=jgilbert
2013-10-11 09:16:43 -04:00
Benoit Jacob
d2a1326b16
Bug 922810 - Part 1: track image initialization with a WebGLImageDataStatus enum - r=jgilbert
2013-10-11 09:16:43 -04:00
Jeff Gilbert
8188f38ab2
Bug 872701 - Add test that highp floats work iff GL gives a format for them. - r=bjacob
2013-10-10 17:59:39 -07:00
Phil Ringnalda
9788cd061a
Backed out 2 changesets (bug 872701)
...
CLOSED TREE
Backed out changeset 8fcfc380bfc9 (bug 872701)
Backed out changeset 31014a7ee3ab (bug 872701)
2013-10-09 21:40:21 -07:00
Wes Kocher
241cbe421d
Followup to bug 872701 to fix tests on a CLOSED TREE
2013-10-09 19:13:34 -07:00
Jeff Gilbert
8db0e7c299
Bug 872701 - Add test that highp floats work iff GL gives a format for them. - r=bjacob
2013-10-09 16:41:56 -07:00
Ryan VanderMeulen
f76c2246e8
Backed out changeset 8517afe50156 (bug 540456) for reftest failures.
...
CLOSED TREE
2013-10-09 15:12:21 -04:00
Boris Zbarsky
6195bac64d
Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey
2013-10-09 12:05:22 -04:00
Rik Cabanier
c6c93f2cad
Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug
2013-10-09 12:59:50 -04:00
Ed Morley
b29a404ca7
Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures
2013-10-09 17:48:13 +01:00
Boris Zbarsky
cd528c76db
Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey
2013-10-09 12:05:22 -04:00
Jukka Jylänki
6dbe7560f5
Bug 924264 - Fix WebGL.getUniform on non-first array entry in uniform arrays - r=bjacob
2013-10-09 10:35:12 -04:00
Ryan VanderMeulen
f63bf2b4f3
Backed out changesets 5fa68d64f749, 103b40656e24, b1ff3efb43cf, 096455736704, and 4afd6fa3da19 (bug 817700) for mochitest-1 failures.
...
CLOSED TREE
2013-10-08 15:00:17 -04:00
Ryan VanderMeulen
1246abd954
Backed out changesets 0beb30c3e1af, 584f639cdb03, and 6a3b0b83d3f6 (bug 916128) for depending on bug 817700.
2013-10-08 14:59:25 -04:00
Christoph Diehl
1a40394872
Bug 916128: Add crash test. r=khuey
2013-10-08 13:28:02 -04:00
Stephen Pohl
6e9d057083
Bug 916128: Ensure that image encoding callbacks are released on the main thread. r=khuey
2013-10-08 13:27:56 -04:00
Stephen Pohl
adf6f0a2c3
Bug 817700 - Fix test_toBlob canvas test. r=roc
2013-10-08 13:27:45 -04:00
Stephen Pohl
30e14e1d1b
Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc
2013-10-08 13:27:40 -04:00
Stephen Pohl
5be9f3080d
Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz
2013-10-08 13:27:29 -04:00
Stephen Pohl
989d1311c0
Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc,bz
2013-10-08 13:27:25 -04:00
Ehsan Akhgari
a23cd291d5
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Ms2ger
9d5ce8dfb7
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Jeff Gilbert
6f57186ec4
Bug 685184 - Finalize attachments slightly earlier. - r=jgilbert
2013-10-01 17:31:37 -07:00
Jeff Gilbert
e5fb5f3a5d
Bug 685184 - Emulate depth_stencil RBs. - r=bjacob
2013-10-01 17:31:09 -07:00
Jeff Gilbert
37a2edd7e6
Bug 685184 - Differentiate textureTarget, texImageTarget, and internal 'face' vars. - r=bjacob
2013-10-01 17:30:38 -07:00
Jeff Gilbert
07bed4985f
Bug 685184 - Delay attachment of RBs to FBs. - r=bjacob
2013-10-01 17:30:05 -07:00
Ehsan Akhgari
18ef76b0d7
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Milan Sreckovic
2f361899e6
Bug 916322 - Add UnsetAttr to HTMLCanvasElement to catch the removal of attributes and keep the context it owns of matching size. r=khuey, r=jmuizelaar
...
The test is debug only, asserting without this fix.
2013-09-30 17:02:40 -04:00
Benoit Jacob
6ecd6b5eaa
Bug 783914 - WEBGL_depth_texture doesn't work using ANGLE - r=jgilbert
2013-09-30 20:58:57 -04:00
Ehsan Akhgari
f720bbfbaa
Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
...
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
places which require it implicitly.
2013-09-30 17:26:04 -04:00
Gregory Szorc
89c902c7b2
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
c44d9c8614
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a
Backed out changeset 77bff106b704 (bug 920223)
2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Gregory Szorc
47e946bebe
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Jeff Gilbert
08af8593d1
Bug 911346 - Add a test for WebGL context creation. - r=bjacob
2013-09-27 19:12:12 -07:00
Benoit Jacob
0f90257361
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Geoff Brown
fc8a5b44b2
Bug 917053 - Update webgl test manifest for Android x86 emulator; r=bjacob
2013-09-19 20:07:01 -06:00
Wes Kocher
a21793fc27
Backed out 2 changesets (bug 911346)
...
Backed out changeset 6255c31609be (bug 911346)
Backed out changeset cae77be484b9 (bug 911346)
2013-09-19 18:27:33 -07:00
Jeff Gilbert
579c28c84e
Bug 911346 - Strip trailing whitespace from new files. r=me
2013-09-19 15:42:45 -07:00
Jeff Gilbert
28947032a7
Bug 911346 - Add a test for WebGL context creation. - r=bjacob
2013-09-19 15:37:54 -07:00
Jeff Gilbert
346b9a951d
Bug 917046 - Require instanced_non_arrays for WebGL2. r=bjacob
2013-09-19 15:33:22 -07:00
Jeff Gilbert
c584f65275
Bug 911394 - Allow non-instanced drawing with no zero divisor attrib. - r=bjacob
2013-09-19 15:30:19 -07:00
Jeff Gilbert
e453e29e37
Bug 890432 - Limit expression complexity on Mac+NV. - r=bjacob
2013-09-19 14:59:44 -07:00
Boris Zbarsky
9cc662a2d6
Bug 915971. Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values. r=dzbarsky
2013-09-17 11:16:02 -04:00
Stephen Pohl
06ac3a989e
Backout bug 817700 for causing various regressions. r=me
2013-09-13 14:14:36 -04:00
Stephen Pohl
c6a1e4e066
Bug 817700 - Fix test_toBlob canvas test. r=roc
2013-09-12 17:04:20 -04:00
Stephen Pohl
673b8d0524
Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc
2013-09-12 17:04:15 -04:00
Stephen Pohl
896265ffe7
Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz
2013-09-12 17:04:10 -04:00
Stephen Pohl
38f3d201c0
Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc,bz
2013-09-12 17:04:06 -04:00
Ryan VanderMeulen
b2d6edce8e
Merge fx-team to m-c.
2013-09-11 21:48:20 -04:00
Martijn Wargers
a053abedf1
Bug 914940 - Remove some enablePrivilige calls. r=jgriffin
2013-09-11 10:51:09 +02:00
Nicholas Nethercote
fd238cabbe
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Andrew McCreight
dbad6e68d0
Bug 912747 - Change nsCycleCollectionHoldDrop.h to mozilla/HoldDropJSObjects.h. r=khuey
...
--HG--
rename : xpcom/glue/nsCycleCollectionHoldDrop.h => xpcom/glue/HoldDropJSObjects.h
2013-09-10 08:29:43 -07:00
Ms2ger
1670da33b0
Bug 914048 - Reduce includes in CanvasRenderingContext2D.cpp; r=dzbarsky
2013-09-10 09:03:38 +02:00
Ed Morley
50ba829a39
Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Ms2ger
8e0e691623
Merge backout.
2013-09-09 16:56:18 +02:00
Ms2ger
7cc7e62ccd
Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review.
2013-09-09 16:56:00 +02:00
Stephen Pohl
f6a47fb4e0
Bug 817700 - Fix test_toBlob canvas test. r=roc
2013-09-06 12:30:36 -04:00
Stephen Pohl
299783d672
Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc
2013-09-06 12:30:30 -04:00
Stephen Pohl
1e6232e229
Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc
2013-09-06 12:30:21 -04:00
Stephen Pohl
9e1e5d1a4a
Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc
2013-09-06 12:30:17 -04:00
Nicholas Nethercote
9d7bc3d7f1
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Ehsan Akhgari
8ef7475ec7
Forward declare mozilla::dom::Nullable as a struct everywhere so that the MSVC linker can pick up the correct symbol name
...
This is needed for bug 848294
2013-09-09 11:43:52 +02:00
Kyle Huey
a53f6f80b6
Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8
2013-09-08 20:28:48 -07:00
Benoit Jacob
2a47884307
Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel
2013-09-06 22:13:37 -04:00
Ryan VanderMeulen
62156c1cd4
Merge inbound to m-c.
2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
66630c23e9
Merge m-c to b2g-inbound.
2013-09-06 18:01:09 -04:00
Jeff Gilbert
4de85fbdad
Bug 912606 - Test that mismatched webgl context request ids fails. - r=bjacob
2013-09-06 11:48:47 -07:00
Benoit Jacob
19f86feaa0
Bug 905227 - Adjust WebGL reftest.list for UNEXPECTED-PASS - r=nical
2013-09-06 08:03:53 -04:00
Benoit Jacob
263ed8a721
Bug 905227 - Introduce 128 px threshold for Skia/GL, overridable by gfx.canvas.min-size-for-skia-gl preference - r=nical
2013-09-06 08:02:04 -04:00
Robert O'Callahan
8ca63f18ef
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
George Wright
c5332675ee
Bug 903722 - Only demote to a software canvas if we're a GL-backed Skia canvas r=bjacob
2013-08-30 14:35:30 -04:00
Nicholas Nethercote
86b7ae4c3a
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Benoit Jacob
d5baca5fc2
Bug 912255 - traverse/unlink mDefaultVertexArray - r=smaug
2013-09-04 11:29:36 -04:00
Benoit Jacob
94f74c705d
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Benoit Jacob
ba172a45f5
Bug 911879 - Give WebGLContext.h a good round of removing unneeded inline method bodies - r=jgilbert
2013-09-04 08:14:50 -04:00
Benoit Jacob
76d307658c
Bug 811371 - Remove nsISupports inheritance in remaining (i.e. new) WebGL classes - r=continuation
2013-09-04 08:14:48 -04:00
Benoit Jacob
4f1dd420f6
Bug 911857 - Move CheckedBufferData to WebGLContextBuffers.cpp - r=jgilbert
2013-09-04 08:14:46 -04:00
Benoit Jacob
e915fc8cb0
Bug 911856 - Remove the custom concept of "stable context" in favor of the standard concept of "lost context" - r=jgilbert
2013-09-04 08:14:44 -04:00
Benoit Jacob
a53a6563d1
Bug 911855 - Remove redundant WebGL integer typedefs - r=jgilbert
2013-09-04 08:14:43 -04:00
Benoit Jacob
70cb68de38
Bug 911851 - Check WebGL sizeiptr arguments - r=jgilbert
2013-09-04 08:14:39 -04:00
Benoit Jacob
aa0bf1b2ae
Bug 911850 - BindBufferRange should check for out-of-bounds range - r=jgilbert
2013-09-04 08:14:37 -04:00
Benoit Jacob
d42c57edae
Bug 911848 - WebGLBuffer's mByteLength should be a WebGLsizeiptr - r=jgilbert
2013-09-04 08:14:35 -04:00
Andrew McCreight
3228f67147
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Nicholas Nethercote
d74157039d
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Ryan VanderMeulen
dc4adceb5c
Merge inbound to m-c on a CLOSED TREE.
2013-08-29 16:04:45 -04:00
Guillaume Abadie
c981a4bb3a
Bug 645792 - Replace throwing an exception by returning null on HTMLCanvasElement::GetContext. r=bjacob
...
CLOSED TREE
2013-08-29 10:14:22 -04:00
Ryan VanderMeulen
c8c1dbcab7
Backed out changeset a58d895d8197 (bug 645792) for OSX leaks.
2013-08-29 13:46:10 -04:00
Benoit Jacob
769b59b3b0
Bug 905141 - Increase fuzziness of some WebGL reftests on B2G - no review, bustage fix
...
These were already marked as fuzzy on B2G for 83 pixels. With the B2G emulator BGRA patch now deployed on the test slaves, it appears from reftests logs that the fuzziness needs to be updated from 83 pixels to 90 or 91 pixels depending on the test.
2013-08-29 13:09:53 -04:00
Andrew Quartey
d202f21b13
Bug 811371 - Drop nsISupports inheritance on WebGL object classes. r=bjacob
2013-08-29 11:39:17 -04:00
Guillaume Abadie
894d5bc932
bug 645792 - replace throwing an exception by returning null on HTMLCanvasElement::GetContext - r=bjacob
2013-08-29 10:14:22 -04:00
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
c930511d18
Bug 831193 (part 5) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in CanvasRenderingContext2D.cpp. r=jmuizelaar.
...
--HG--
extra : rebase_source : f26ea74c9c53a044d1a30f48500ae83ef005c82d
2013-01-17 16:45:11 -08:00
Mina Almasry
c1f57ce7f9
Bug 775843 - Always BindAttribLocation something to attrib 0 if possible. r=jgilbert
2013-08-27 09:01:44 -04:00
Guillaume Abadie
6430cd21cf
bug 908316 - [WebGL 2.0] Refactor query object's targets - r=jgilbert
2013-08-26 18:18:48 -04:00
Guillaume Abadie
9d70573449
bug 908841 - step 4 - Add more natively supported extensions in WebGL 2 - r=jgilbert
2013-08-26 17:12:54 -04:00
Guillaume Abadie
f84767874b
bug 908841 - step 3 - Change the WebGL 2 validation mechanism - r=jgilbert
2013-08-26 17:12:54 -04:00
Guillaume Abadie
c2edee4ead
bug 908841 - step 2 - Factorise WebGL extensions naming - r=jgilbert
2013-08-26 17:12:53 -04:00
Guillaume Abadie
7b862f997f
bug 908841 - step 1 - Move WebGL extension managment in WebGLContextExtensions.cpp - r=jgilbert
2013-08-26 17:12:53 -04:00
Guillaume Abadie
58cdf49e0d
bug 908985 - [WebGL 2.0] also bind buffers on the general binding point when binding to an indexed one - r=jgilbert
2013-08-26 16:03:32 -04:00
James Willcox
4ffb1a14bf
Bug 902651 - Restore the DrawTarget transform and clip when demoting r=mattwoodrow,bz
...
--HG--
rename : browser/config/mozconfigs/win64/common-opt => browser/config/mozconfigs/win64/nightly
extra : rebase_source : 1f1438d54fb97935c9186b69afc37a5d17028dbb
2013-08-23 09:52:32 -04:00
Jeff Gilbert
e7b98f217c
Bug 783674 - WebGLContext::Render to use ReadScreen* and mark its surfaces as dirty. r=bjacob
2013-08-26 11:26:27 -04:00
Boris Zbarsky
1955cb60db
Bug 908576 part 7. Move the various DOMProxyHandler classes into the binding implementation files. r=smaug
2013-08-23 22:42:42 -04:00
Matt Woodrow
11914fb596
Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc
2013-08-23 18:13:55 +12:00
Kyle Huey
f05ce97507
Bug 907595: Forward declare ImageData and stop including it in headers. r=bz
2013-08-22 22:17:11 -07:00
Kyle Huey
a54c089296
Bug 903772: Part 1 - Add an API for creating typed arrays that doesn't require the caller to be wrapper cached. r=peterv
2013-08-22 22:17:07 -07:00
Guillaume Abadie
e9d0da63f5
bug 908232 - step 2 - [WebGL 2.0] Add RASTERIZER_DISCARD tracking - r=jgilbert
2013-08-22 20:11:40 -04:00
Guillaume Abadie
bfb0051bf5
bug 908232 - step 1 - Refactor the WebGL state tracking - r=jgilbert
2013-08-22 20:11:27 -04:00
Guillaume Abadie
72ecad07aa
bug 904330 - step 03 - Uses mozilla::GLFeature instead of old extension group queries - r=jgilbert
2013-08-22 13:42:05 -04:00
Mina Almasry
8ff6d0758b
Bug 728629 - canvas2D fillText & strokeText do not throw exceptions when non-finite doubles are passed for the position. r=vlad
2013-08-22 10:16:06 -04:00
Ms2ger
4af9d89266
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
dd3ed79f0d
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
19f3e043e3
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
fa65b962f6
Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey
2013-08-22 08:55:59 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
0d4cf13f01
Bug 907606 - Remove BindingUtils.h include from WebGLContext.h; r=mounir
2013-08-22 08:34:54 +02:00
Guillaume Abadie
0c828225cf
bug 903480 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN - r=jgilbert
2013-08-21 21:11:03 -04:00
Nicholas Nethercote
b89a8ac1c0
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Guillaume Abadie
f54c0d20fb
bug 903481_- step 3 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_BUFFER - r=jgilbert
2013-08-20 11:36:20 -04:00
Guillaume Abadie
3175b5af43
bug 903481 - step 1 - Move WebGL buffers function into GLContextBuffers.cpp - r=jgilbert
2013-08-20 11:36:19 -04:00
Guillaume Abadie
204c1119e6
bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert
2013-08-15 20:43:47 -04:00
Guillaume Abadie
91426ae90f
bug 902488 - [WebGL 2.0] Occlusion queries optimizations - r=jgilbert
2013-08-15 19:47:26 -04:00
Guillaume Abadie
cd03bdb26a
bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert
2013-08-15 15:58:20 -04:00
Christian Holler
fcd6075710
Bug 902132 - Disable WebGL gl-max-texture-dimensions test on Mesa. r=bjacob
...
--HG--
extra : rebase_source : 612e6de1a09be531e9ec05c57b696c7e6345f038
2013-08-14 15:54:02 +02:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Jeff Gilbert
b55980c364
Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky
2013-08-13 16:54:51 -07:00
Guillaume Abadie
86136e3f00
bug 900767 - Implement the WebGL extension ANGLE_instanced_arrays - r=jgilbert
2013-08-13 18:11:01 -04:00
James Willcox
10193cf14f
Bug 902426 - Do not allow duplicate entries in the CRC2D demotion list r=mattwoodrow
...
--HG--
extra : rebase_source : c7c344f2b88065f46c06c99fa0bf868367b6b9ab
2013-08-09 17:19:21 -04:00
Phil Ringnalda
c588075dd3
Backed out changeset aadb205e7f05 (bug 881681) for Android Armv6 refteset-2 failures
2013-08-12 20:22:11 -07:00
Jeff Gilbert
c0c4700ab4
Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky
2013-08-12 16:49:10 -07:00
Trevor Saunders
a8a12176ad
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Nathan Froyd
3647971db9
Bug 901947 - part 1 - don't null-check |new X| in content/; r=smaug
2013-08-08 13:55:20 -04:00
Nathan Froyd
e54f07b5e6
Bug 901947 - part 0a - use fallible_t instead of std::nothrow in CanvasRenderingContext2D.cpp; r=smaug
2013-08-08 13:53:40 -04:00
Jeff Gilbert
2a08e99be9
Bug 883364 - Mark android 2.2 tests as random until we find why ARMv6 slaves fails to create webgl contexts. r=bjacob
2013-08-08 15:23:43 -07:00
Jeff Gilbert
038036b02d
Bug 883364 - Fail on webgl failure instead of timing out in reftests. r=dzbarsky
2013-08-08 15:22:40 -07:00
Jeff Gilbert
609180e5b2
Bug 883364 - Remove &nogl tests from webgl reftests. r=dzbarsky
2013-08-08 15:21:57 -07:00
James Willcox
dd3190022f
Bug 902474 - Require a minimum size of 16x16 to use SkiaGL r=mattwoodrow
2013-08-05 16:46:31 -04:00
James Willcox
1f90d9d19e
Bug 902462 - Enable SkiaGL on all GPUs, not just NVIDIA r=mattwoodrow
2013-07-23 20:32:24 -04:00
Peter Chang
75aab5b078
Bug 902103 - [SkiaGL] Free Layer resource when CanvasContext got demoted. r=snorp, r=gw280
...
Set mResetLayer as true when CanvasContext got demoted to free the resource owned by CanvasLayer, like GLContext/GLScreenBuffer.
2013-08-07 22:07:17 +08:00
Ryan VanderMeulen
d4081c07e9
Backed out 2 changesets (bug 902474, bug 902462) due to Android 4.0 crashtest timeouts.
...
Backed out changeset ecf856c21136 (bug 902474)
Backed out changeset 25c8d8674c1f (bug 902462)
2013-08-07 15:32:24 -04:00
James Willcox
7bf0a52242
Bug 902474 - Require a minimum size of 16x16 to use SkiaGL r=mattwoodrow
2013-08-05 16:46:31 -04:00
George Wright
99a97fd109
Bug 902470 - Re-enable the advanced compositing tests on Android/Gonk r=mattwoodrow
2013-07-25 17:20:45 -04:00
George Wright
4861214355
Bug 897635 - Demote to software canvas if we use a non-standard composite mode r=mattwoodrow
2013-07-24 15:14:27 -04:00
James Willcox
9e0264e300
Bug 902462 - Enable SkiaGL on all GPUs, not just NVIDIA r=mattwoodrow
2013-07-23 20:32:24 -04:00
Guillaume Abadie
55c0e32502
bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert
2013-08-06 20:05:51 -04:00
Guillaume Abadie
aa8c3fc910
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert
2013-08-06 17:23:46 -04:00
Guillaume Abadie
071b088c2c
Bug 871094 - Add a warning when calling WebGL clear(0). r=bjacob
2013-08-06 10:40:37 -04:00
Jeff Gilbert
6030e6834f
Bug 901297 - Save and restore WebGL state for Mesa FB workarounds. - r=bjacob
2013-08-05 15:11:43 -07:00
Boris Zbarsky
82ba945cef
Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug
2013-08-05 13:40:01 -04:00
Jon Coppeard
da8c061053
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Guillaume Abadie
8ede98ec3d
bug 898615 - let WebGL use GLContext's extension group queries - r=jgilbert
2013-08-02 17:59:07 -04:00
Guillaume Abadie
a74600c6cf
bug 900439 - Let WebGL 2 be independent of webgl.enable-draft-extensions - r=jgilbert
2013-08-01 22:18:07 -04:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
James Willcox
be97cbc720
Bug 898768 - Make CRC2D::IsTargetValid also check for null r=mattwoodrow
2013-07-31 17:10:16 -04:00
Guillaume Abadie
17868b9869
bug 896254 - disable WebGL 2 interfaces - r=jilbert,ehsan
2013-07-30 15:58:17 -04:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Guillaume Abadie
76f5daf76f
bug 894007 - WebGLContext::getParameter(GL_MAX_TEXTURE_SIZE) should be a power of two - r=jgilbert
2013-07-30 11:07:04 -04:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
6753f28dcc
Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz
2013-07-26 11:25:56 -07:00
David Zbarsky
a4a3a95214
Bug 865998: Implement WebIDL union return values r=bz
2013-07-26 11:25:54 -07:00
Guillaume Abadie
1c838a60f4
bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert
2013-07-25 20:38:58 -04:00
Guillaume Abadie
17c8348d7a
bug 896601 - WebGL draw commands overflow - r=bjacob
2013-07-25 13:15:24 -04:00
Ms2ger
7d7359c752
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
Boris Zbarsky
76a7d33bf7
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Ryan VanderMeulen
4033000ea2
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Guillaume Abadie
e6fff44d56
bug 896454 - WebGL Re-enable vertex array object - r=bjacob
2013-07-22 14:15:49 -04:00
Boris Zbarsky
a0654061a1
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Guillaume Abadie
b85cdb7050
Bug 895855 - [WebGL 2.0] Build error when using --disable-webgl. r=bjacob
2013-07-19 12:53:54 -04:00
Ed Morley
4ab9f816bf
Backed out changeset 8cc680bb6ba2 (bug 883364) for Android webgl failures on a CLOSED TREE
2013-07-19 14:43:34 +01:00
Ed Morley
9da83fc49e
Backed out changeset 0ad31c2bda31 (bug 883364)
2013-07-19 14:42:53 +01:00
James Willcox
37c12131d0
Bug 891936 - Fix DrawWindow when used with SkiaGL r=mattwoodrow
2013-07-08 13:56:44 -04:00
James Willcox
934843accb
Bug 888445 - Only use SkiaGL canvas on NVIDIA r=bjacob
2013-06-28 15:59:44 -04:00
James Willcox
da3063ec09
Bug 888446 - Add some fuzz to make Skia canvas pass on Android r=bjacob,gwright
2013-06-28 16:01:54 -04:00
Jeff Gilbert
d12a00bc55
Bug 883364 - WebGL reftests should fail gracefully, not time out. - r=dzbarsky
2013-07-18 15:48:06 -07:00
Jeff Gilbert
e76e42da23
Bug 883364 - Remove nogl tests from WebGL reftests. - r=dzbarsky
2013-07-18 15:48:05 -07:00
Guillaume Abadie
bed7e23323
Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert
2013-07-18 11:24:23 -04:00
Guillaume Abadie
a5bc5abd02
Bug 892169 - [WebGL 2.0] Bypass ANGLE shader compilation (GL_EXT_gpu_shader4). r=jgilbert
2013-07-18 10:31:01 -04:00
Guillaume Abadie
d183a7547b
Bug 895010 - Disable vertex array object tests since the extension has been disabled. r=jrmuizel CLOSED TREE
2013-07-17 17:30:52 -04:00
Guillaume Abadie
d15b6c0449
Bug 895010 - Disable WebGL vertex array objects for now - r=jgilbert
...
--HG--
extra : rebase_source : 49a35c72470b1300a9f2b5267b88db195c4242df
2013-07-17 14:47:41 -04:00
Guillaume Abadie
f11e4e269e
Bug 890379 - [WebGL 2.0] Add existing WebGL 1 extensions as WebGL 2 features. r=jgilbert
2013-07-17 12:13:38 -04:00
Guillaume Abadie
16e0f88f06
Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert
2013-07-17 09:58:09 -04:00