Martijn Wargers
3c5aa5b67c
Bug 914940 - Remove some enablePrivilige calls. r=jgriffin
2013-09-11 10:51:09 +02:00
Nicholas Nethercote
7983bb2a7f
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
3047b2a24e
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
82bad2ff16
Bug 914048 - Reduce includes in CanvasRenderingContext2D.cpp; r=dzbarsky
2013-09-10 09:03:38 +02:00
Ed Morley
f7bce95a91
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
b336ed5c33
Merge backout.
2013-09-09 16:56:18 +02:00
Ms2ger
7154345fcf
Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review.
2013-09-09 16:56:00 +02:00
Stephen Pohl
29b38447bc
Bug 817700 - Fix test_toBlob canvas test. r=roc
2013-09-06 12:30:36 -04:00
Stephen Pohl
b3f397f710
Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc
2013-09-06 12:30:30 -04:00
Stephen Pohl
6deaee5772
Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc
2013-09-06 12:30:21 -04:00
Stephen Pohl
41d7e2e0e3
Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc
2013-09-06 12:30:17 -04:00
Nicholas Nethercote
cc604f4854
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
d867abcf6a
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
888aba875b
Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8
2013-09-08 20:28:48 -07:00
Benoit Jacob
a653be5aa4
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
4dec0a7644
Merge inbound to m-c.
2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
6e6b0eb9c7
Merge m-c to b2g-inbound.
2013-09-06 18:01:09 -04:00
Jeff Gilbert
6710a7e369
Bug 912606 - Test that mismatched webgl context request ids fails. - r=bjacob
2013-09-06 11:48:47 -07:00
Benoit Jacob
754372677d
Bug 905227 - Adjust WebGL reftest.list for UNEXPECTED-PASS - r=nical
2013-09-06 08:03:53 -04:00
Benoit Jacob
ee0dd7b14a
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
03e7828db2
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
26ceee4fb5
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
e6e55b7023
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
1f32372424
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
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Benoit Jacob
6977a4abd2
Bug 912255 - traverse/unlink mDefaultVertexArray - r=smaug
2013-09-04 11:29:36 -04:00
Benoit Jacob
8ec75b058c
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
d3c3db52fa
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
f526e5a919
Bug 811371 - Remove nsISupports inheritance in remaining (i.e. new) WebGL classes - r=continuation
2013-09-04 08:14:48 -04:00
Benoit Jacob
64e6b3a0ae
Bug 911857 - Move CheckedBufferData to WebGLContextBuffers.cpp - r=jgilbert
2013-09-04 08:14:46 -04:00
Benoit Jacob
2a253a692e
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
7e265eab98
Bug 911855 - Remove redundant WebGL integer typedefs - r=jgilbert
2013-09-04 08:14:43 -04:00
Benoit Jacob
3b4ac1f606
Bug 911851 - Check WebGL sizeiptr arguments - r=jgilbert
2013-09-04 08:14:39 -04:00
Benoit Jacob
6c5bf3a9b1
Bug 911850 - BindBufferRange should check for out-of-bounds range - r=jgilbert
2013-09-04 08:14:37 -04:00
Benoit Jacob
0429632cf3
Bug 911848 - WebGLBuffer's mByteLength should be a WebGLsizeiptr - r=jgilbert
2013-09-04 08:14:35 -04:00
Andrew McCreight
01af9297c7
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Nicholas Nethercote
01c70c8c97
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
b6497293cd
Merge inbound to m-c on a CLOSED TREE.
2013-08-29 16:04:45 -04:00
Guillaume Abadie
d2ad89c8f4
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
fb903b97d8
Backed out changeset a58d895d8197 (bug 645792) for OSX leaks.
2013-08-29 13:46:10 -04:00
Benoit Jacob
cdd25a7f3e
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
65501d684a
Bug 811371 - Drop nsISupports inheritance on WebGL object classes. r=bjacob
2013-08-29 11:39:17 -04:00
Guillaume Abadie
c8b76353f6
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
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
dbd2f7fec9
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
cd8d25daf1
Bug 775843 - Always BindAttribLocation something to attrib 0 if possible. r=jgilbert
2013-08-27 09:01:44 -04:00
Guillaume Abadie
9581d46b49
bug 908316 - [WebGL 2.0] Refactor query object's targets - r=jgilbert
2013-08-26 18:18:48 -04:00
Guillaume Abadie
4dff6f0d6d
bug 908841 - step 4 - Add more natively supported extensions in WebGL 2 - r=jgilbert
2013-08-26 17:12:54 -04:00
Guillaume Abadie
4ac1ed9c1e
bug 908841 - step 3 - Change the WebGL 2 validation mechanism - r=jgilbert
2013-08-26 17:12:54 -04:00
Guillaume Abadie
cd9e75a644
bug 908841 - step 2 - Factorise WebGL extensions naming - r=jgilbert
2013-08-26 17:12:53 -04:00
Guillaume Abadie
ba8a5aeaf5
bug 908841 - step 1 - Move WebGL extension managment in WebGLContextExtensions.cpp - r=jgilbert
2013-08-26 17:12:53 -04:00
Guillaume Abadie
60afebce2a
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
0837eb5096
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
cc1485b44f
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
831b3fcdcf
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
e2c4e8b284
Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc
2013-08-23 18:13:55 +12:00
Kyle Huey
6c15f0f6c8
Bug 907595: Forward declare ImageData and stop including it in headers. r=bz
2013-08-22 22:17:11 -07:00
Kyle Huey
0428823e52
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
26127c2eb2
bug 908232 - step 2 - [WebGL 2.0] Add RASTERIZER_DISCARD tracking - r=jgilbert
2013-08-22 20:11:40 -04:00
Guillaume Abadie
e2f8566e17
bug 908232 - step 1 - Refactor the WebGL state tracking - r=jgilbert
2013-08-22 20:11:27 -04:00
Guillaume Abadie
35912f7684
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
f070b83288
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
f805d8d6eb
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
913bab58b0
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
bdfaa84f5b
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
6d473220dc
Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey
2013-08-22 08:55:59 +02:00
Ms2ger
4807f1c86c
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
c33067d172
Bug 907606 - Remove BindingUtils.h include from WebGLContext.h; r=mounir
2013-08-22 08:34:54 +02:00
Guillaume Abadie
166bf211b3
bug 903480 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN - r=jgilbert
2013-08-21 21:11:03 -04:00
Nicholas Nethercote
2585de9a07
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
b34f7bed28
bug 903481_- step 3 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_BUFFER - r=jgilbert
2013-08-20 11:36:20 -04:00
Guillaume Abadie
2e13b97e43
bug 903481 - step 1 - Move WebGL buffers function into GLContextBuffers.cpp - r=jgilbert
2013-08-20 11:36:19 -04:00
Guillaume Abadie
ca5a59e93f
bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert
2013-08-15 20:43:47 -04:00
Guillaume Abadie
faade68b82
bug 902488 - [WebGL 2.0] Occlusion queries optimizations - r=jgilbert
2013-08-15 19:47:26 -04:00
Guillaume Abadie
55c9d6f3f5
bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert
2013-08-15 15:58:20 -04:00
Christian Holler
2e51d9bc59
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
30f4e6e119
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
9d023a67df
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
1a5ae526d9
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Jeff Gilbert
61db9b490a
Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky
2013-08-13 16:54:51 -07:00
Guillaume Abadie
25894203e2
bug 900767 - Implement the WebGL extension ANGLE_instanced_arrays - r=jgilbert
2013-08-13 18:11:01 -04:00
James Willcox
c11ce45a79
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
1f9cda0c10
Backed out changeset aadb205e7f05 (bug 881681) for Android Armv6 refteset-2 failures
2013-08-12 20:22:11 -07:00
Jeff Gilbert
6da4fca587
Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky
2013-08-12 16:49:10 -07:00
Trevor Saunders
99d8dc50c9
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Nathan Froyd
0a89277437
Bug 901947 - part 1 - don't null-check |new X| in content/; r=smaug
2013-08-08 13:55:20 -04:00
Nathan Froyd
dce6726880
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
c6053edf21
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
ea86dfa655
Bug 883364 - Fail on webgl failure instead of timing out in reftests. r=dzbarsky
2013-08-08 15:22:40 -07:00
Jeff Gilbert
6f6d79973e
Bug 883364 - Remove &nogl tests from webgl reftests. r=dzbarsky
2013-08-08 15:21:57 -07:00
James Willcox
e417fac939
Bug 902474 - Require a minimum size of 16x16 to use SkiaGL r=mattwoodrow
2013-08-05 16:46:31 -04:00
James Willcox
eaaf14d541
Bug 902462 - Enable SkiaGL on all GPUs, not just NVIDIA r=mattwoodrow
2013-07-23 20:32:24 -04:00
Peter Chang
0a23be6080
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
f2b8591e0b
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
0f71f4b6a0
Bug 902474 - Require a minimum size of 16x16 to use SkiaGL r=mattwoodrow
2013-08-05 16:46:31 -04:00
George Wright
a0fef04cb0
Bug 902470 - Re-enable the advanced compositing tests on Android/Gonk r=mattwoodrow
2013-07-25 17:20:45 -04:00
George Wright
c013bf6394
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
292025f2d7
Bug 902462 - Enable SkiaGL on all GPUs, not just NVIDIA r=mattwoodrow
2013-07-23 20:32:24 -04:00
Guillaume Abadie
25e763c7a5
bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert
2013-08-06 20:05:51 -04:00
Guillaume Abadie
78c2cdc107
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert
2013-08-06 17:23:46 -04:00
Guillaume Abadie
8ff9d594f1
Bug 871094 - Add a warning when calling WebGL clear(0). r=bjacob
2013-08-06 10:40:37 -04:00
Jeff Gilbert
4027f6fb8b
Bug 901297 - Save and restore WebGL state for Mesa FB workarounds. - r=bjacob
2013-08-05 15:11:43 -07:00
Boris Zbarsky
bcd1523d40
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
fb6671743e
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
bb78d642db
bug 898615 - let WebGL use GLContext's extension group queries - r=jgilbert
2013-08-02 17:59:07 -04:00
Guillaume Abadie
942e441e8a
bug 900439 - Let WebGL 2 be independent of webgl.enable-draft-extensions - r=jgilbert
2013-08-01 22:18:07 -04:00
Mike Hommey
2e729aa83d
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
198cd2af56
Bug 898768 - Make CRC2D::IsTargetValid also check for null r=mattwoodrow
2013-07-31 17:10:16 -04:00
Guillaume Abadie
d81c581c60
bug 896254 - disable WebGL 2 interfaces - r=jilbert,ehsan
2013-07-30 15:58:17 -04:00
Ehsan Akhgari
2824b29025
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
22086cb170
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
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
97389b3a03
Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz
2013-07-26 11:25:56 -07:00
David Zbarsky
d170a8f396
Bug 865998: Implement WebIDL union return values r=bz
2013-07-26 11:25:54 -07:00
Guillaume Abadie
b788dccc0a
bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert
2013-07-25 20:38:58 -04:00
Guillaume Abadie
ab3d3dc445
bug 896601 - WebGL draw commands overflow - r=bjacob
2013-07-25 13:15:24 -04:00
Ms2ger
10d5739f7a
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
0314f249cd
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
7c21303600
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
798df9c771
bug 896454 - WebGL Re-enable vertex array object - r=bjacob
2013-07-22 14:15:49 -04:00
Boris Zbarsky
cebee2f230
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
b0b12d6e55
Bug 895855 - [WebGL 2.0] Build error when using --disable-webgl. r=bjacob
2013-07-19 12:53:54 -04:00
Ed Morley
8092f94cb6
Backed out changeset 8cc680bb6ba2 (bug 883364) for Android webgl failures on a CLOSED TREE
2013-07-19 14:43:34 +01:00
Ed Morley
ddd5af841a
Backed out changeset 0ad31c2bda31 (bug 883364)
2013-07-19 14:42:53 +01:00
James Willcox
fd0df37df5
Bug 891936 - Fix DrawWindow when used with SkiaGL r=mattwoodrow
2013-07-08 13:56:44 -04:00
James Willcox
3a6780ebb5
Bug 888445 - Only use SkiaGL canvas on NVIDIA r=bjacob
2013-06-28 15:59:44 -04:00
James Willcox
4b92bdf899
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
00408f6475
Bug 883364 - WebGL reftests should fail gracefully, not time out. - r=dzbarsky
2013-07-18 15:48:06 -07:00
Jeff Gilbert
5c8986873c
Bug 883364 - Remove nogl tests from WebGL reftests. - r=dzbarsky
2013-07-18 15:48:05 -07:00
Guillaume Abadie
5d5eae3520
Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert
2013-07-18 11:24:23 -04:00
Guillaume Abadie
016c951407
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
2d5a0df8de
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
df6d99edc9
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
858f79820b
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
09e5e38a50
Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert
2013-07-17 09:58:09 -04:00
Guillaume Abadie
b7de949bc4
Bug 890049 - WebGL2 Replace WebGLContext by WebGLContext with one subclass WebGL1Context. r=jgilbert
2013-07-16 10:32:24 -04:00
Cameron McCormack
1588a3108f
Bug 888906 - Make drawWindow paint into an offscreen buffer sized according to the target's scale. r=mattwoodrow
2013-07-16 14:31:00 +10:00
Ryan VanderMeulen
6f98a7a79c
Backed out 3 changesets (bug 603488) for Windows reftest orange.
...
Backed out changeset f60f6c301670 (bug 603488)
Backed out changeset 80520a16d7f1 (bug 603488)
Backed out changeset eeed50e8e213 (bug 603488)
2013-07-15 15:50:26 -04:00
James Kolb
01d0dffd15
Bug 603488 - Part 2: Draw vector images using imgIContainer::Draw(). r=roc
2013-07-13 15:13:54 -04:00
Bob Clary
5f695a94bc
Bug 893617 - Add android.json manifest for Mochitest content/canvas tests, r=ted.
2013-07-15 07:16:34 -07:00
Guillaume Abadie
cade49496d
Bug 892769 - Fix a bug about fake black textures in WebGLContext. r=jgilbert
2013-07-12 09:54:59 -04:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Jeff Gilbert
9a2ebe917e
Bug 881997 - Test to assure that conformance is only exposed on our conformant products. - r=dzbarsky
2013-07-11 14:12:32 -07:00
Ryan VanderMeulen
d806e1e244
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ed Morley
f811790c24
Backed out changeset fbea533f8927 (bug 881997) for webgl conformance test failures
2013-07-10 09:18:26 +01:00
Jeff Gilbert
f25d5a50b8
Bug 881997 - Test to assure that conformance is only exposed on our conformant products. - r=dzbarsky
2013-07-09 17:46:25 -07:00
Ms2ger
6efec5035f
Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv
2013-07-10 11:55:16 +02:00
Chris Lord
c2098e4465
Bug 803299 - Replace black.png with black.html for webgl-color-alpha-test. r=jrmuizel
...
webgl-color-alpha-test fails to render the image correctly since switching on
24-bit rendering, presumably due to async image decoding. Instead, just replace
the pure black 256^2 image with a page that renders the same using a div.
2013-07-04 14:53:35 +01:00
Jeff Gilbert
78938625f4
Bug 860543 - Consider NaNs as always shadowed correctly. - r=bjacob
2013-07-03 12:53:22 -07:00
James Willcox
ef88089e2a
Bug 887901 - Limit number of GLContexts used with SkiaGL r=bjacob
2013-06-28 22:58:40 -04:00
James Willcox
d29eda0f64
Bug 885627 - Disable unimplemented canvas composition tests with SkiaGL r=gw280
2013-06-24 13:33:55 -04:00
James Willcox
998381af1b
Bug 885623 - Disable some gradient tests for SkiaGL r=gw280
2013-06-24 13:32:59 -04:00
Benoit Jacob
2647d72fc9
Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow
2013-06-16 22:07:18 -04:00
David Cook
ca8d229be9
Bug 890573 - Ignore webgl.disable-extensions for the chrome-only WEBGL_debug_renderer_info. r=jgilbert
2013-07-09 09:09:15 -04:00
Phil Ringnalda
c81f1a24d5
Backed out 43e688b70d84 (bug 843667) for compilation failures
...
CLOSED TREE
2013-07-02 14:30:20 -07:00
Benoit Jacob
c463688ab4
Bug 602183 - reenable point sprites on ATI drivers - r=jgilbert
2013-07-02 16:50:34 -04:00
Guillaume Abadie
ccb76e6652
bug 843667 - update WebGL EXT_draw_buffers to fix a potential crash on mobile - r=bjacob
2013-07-02 16:50:31 -04:00
Jeff Gilbert
28f0b51bd9
Bug 888107 - Zero-fill webgl BufferData allocations. - r=bjacob
2013-07-01 17:32:06 -07:00
Cameron McCormack
07c9631694
Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron
2013-06-29 13:28:50 +10:00
Justin Lebar
3e059c7221
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Jeff Gilbert
fcaf56763b
Bug 738869 - Add WebGL VAO tests to failing android test list. - r=me
2013-06-27 17:07:12 -07:00
Guillaume Abadie ext:(%20and%20James%20King%20%3Cjames%40agentultra.com%3E)
a7e54e5fa6
bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob
2013-06-27 17:07:21 -04:00
Jeff Gilbert
9e8eab0689
Bug 885911 - Clamp (Web)GLclampf values for shadowing. - r=bjacob
2013-06-26 17:42:56 -07:00
Jeff Gilbert
0c6401b6dd
Bug 860543 - Check shadowing for all four channels. - r=bjacob
2013-06-26 17:42:56 -07:00
Cameron McCormack
a091acd9d2
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
Ed Morley
702726731f
Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html
2013-06-25 13:45:09 +01:00
Phil Ringnalda
cd48b205e0
Back out 8e83da248fc9 (bug 886635) for warnings-as-errors bustage
...
CLOSED TREE
2013-06-24 23:44:52 -07:00
Cameron McCormack
994ad89b82
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
L. David Baron
b6aed040b7
Bug 886635: HTMLCanvasElement.h (which is included in dom/bindings) should not include nsLayoutUtils.h r=khuey
...
(It still ends up included in dom/bindings, though.)
2013-06-24 22:32:11 -07:00
Catalin Iacob
6f4758d23e
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Guillaume Abadie
4696a89fb8
Bug 882890 - Add fake vertex attribute 0 disabling to the getVertexAttrib function to improve WebGL compatibility with driver limitations. r=bjacob
2013-06-23 20:40:12 -04:00
Jeff Gilbert
68da181401
Bug 880734 - Assert bound to correct FB in FB funcs, and bind the correct FB on Mesa. - r=bjacob
2013-06-21 16:42:32 -07:00
Guillaume Abadie
69a846c1a8
bug 843667 - implement WEBGL_draw_buffers and add the user preference webgl.enable-draft-extensions - r=bjacob
2013-06-21 19:44:17 -04:00
Jeff Gilbert
2a2504e492
Backout 01aec9db40d9 for bustage on a CLOSED TREE
2013-06-21 16:33:57 -07:00
Jeff Gilbert
ed1091d6f3
Bug 880734 - Assert that we're the current FB in FB funcs, and bind the correct FB on Mesa. - r=bjacob
2013-06-21 16:15:19 -07:00
Jeff Gilbert
abdc328c4a
Bug 860543 - Allow for testing predictions of shadowed NaNs. - r=bjacob
2013-06-19 20:03:46 -07:00
Jon Coppeard
a30b14261f
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
David Zbarsky
2215d9b476
bug 881261 r=bz
2013-06-12 13:04:18 -07:00
David Zbarsky
783d0a1c40
Bug 881681: Don't try to reset context attributes when they are already frozen r=bz
2013-06-12 11:42:27 -07:00
James Willcox
26c4608f40
Bug 880842 - Guard against null temporary drawing surface r=mattwoodrow
...
--HG--
extra : rebase_source : e6bf619b17c641ed33438ad43c1b0ba085a366b0
2013-06-12 09:03:52 -04:00
Peter Chang
7f835eadae
Bug 881169 - Fix SharedSurface_Gralloc::Create crash due to null allocator. r=vlad
...
When skiaGL enabled, pass ISurfaceAllocator to gralloc backend for gl streaming
2013-06-11 08:21:48 -04:00
Guillaume Abadie
5cb8bce316
Bug 879954 - Implement OES_texture_float_linear - r=bjacob
2013-06-10 16:00:52 -04:00
Guillaume Abadie
b41194424c
Bug 879952 - OES_texture_float should not allow linear filtering - r=bjacob
2013-06-10 16:00:46 -04:00
Guillaume Abadie
02d6285d6f
bug 879802 - Clean up the #includes in the WebGL implementation - r=bjacob
2013-06-10 16:00:35 -04:00
Boris Zbarsky
7a3587f2d2
Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
...
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code. If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}. Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.
We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions. With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Trevor Saunders
a924c0c760
bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug
2013-05-30 18:34:53 -04:00
David Zbarsky
f26c8e26b6
Bug 798438 - Use a dictionary to set context options instead of an nsIPropertyBag r=bz
2013-06-07 11:42:12 -07:00
Jeff Gilbert
836ca84173
Bug 880019 - MakeCurrent before readback in mozGetAsFile. - r=bjacob
2013-06-06 13:54:04 -07:00
James Willcox
d993fb3d03
Bug 848482 - Make SourceSurface work with SkiaGL r=mattwoodrow
...
--HG--
extra : rebase_source : ef4a315401edfad5e574ffd387c9951b12f1e9d7
2013-06-06 10:58:45 -04:00
Boris Zbarsky
0c908271f1
Bug 861938. Make the CanvasWindingRule arguments be treated as missing if undefined is passed in. r=smaug
2013-06-05 20:51:22 -04:00
Trevor Saunders
7751917c75
backout bug 877886 for bustage
2013-06-05 17:50:30 -04:00
Trevor Saunders
2721f313e5
bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug
2013-05-30 18:34:53 -04:00
Vladimir Vukicevic
020a93e885
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
Roberto Agostino Vitillo
941646f2ae
Bug 869703 - Fix failure to retrieve uniform. r=jgilbert
2013-06-04 20:51:58 -04:00
Jeff Gilbert
1b3ca98cfb
Bug 877309 - drawImage should copy from default framebuffer, not the currently bound fb. - r=bjacob
2013-06-04 15:25:57 -07:00
Guillaume Abadie
3a622ba311
Bug 879304 - Add "webgl.max-warnings-per-context" preference. r=bjacob
2013-06-04 15:44:08 -04:00
Nicholas Cameron
4f491064ec
Bug 863635. Make gfxPlatform smarter about when we can use Moz2D for content rendering r=Bas
2013-05-28 10:04:37 +12:00
Ed Morley
0baedb49dd
Bug 850181 - Skip conformance/textures/texture-mips.html on Ubuntu VMs since they intermittently pass and fail in equal measure
2013-06-03 13:09:52 +01:00
Jeff Gilbert
f69515d8d9
Bug 877934 - Only clear what we need to for off-fb ReadPixels. - r=bjacob
2013-05-30 18:54:00 -07:00