Robert O'Callahan
4f7c705c42
Bug 772726. Make nsCanvasRenderingContext2DAzure::DrawWindow use Azure content drawing if that's enabled. r=bas
2012-09-04 16:24:09 +12:00
Ms2ger
42dcfce85a
Bug 788525 - Remove ErrorResult& arguments to infallible methods in WebGL; r=bjacob
2012-09-17 10:37:20 +02:00
Phil Ringnalda
0a965d14f0
Bug 791509 - Adjust WebGL expected failures and passes for OS X 10.8, r=bjacob
2012-09-16 10:09:54 -07:00
Boris Zbarsky
df94b5400b
Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv
2012-09-11 20:08:24 +01:00
Nicolas Silva
0857f50b10
Bug 777967 - Cache the computation of WebGLContext::ValidateBuffers for better performances. r=bjacob
2012-09-11 14:54:39 -04:00
Anthony Jones
c24674ea62
Bug 591358 - Part 3: Lazy creation of the draw target in order to save memory and improve performance. r=roc
2012-05-31 12:47:27 +12:00
Andrew Quartey
c69cc37a7e
Bug 743755 - Remove OSMesa support r=bjacob
2012-09-07 18:35:22 -04:00
Jeff Gilbert
0397411c16
Bug 782860 - Mark failing WebGL reftests as failing - r=bjacob
2012-09-06 18:46:43 -07:00
Jeff Gilbert
5602d6cd75
Bug 782860 - Add basic WebGL reftests - r=bjacob
2012-09-06 18:46:39 -07:00
Edwin Flores
43c1f6c245
Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc
2012-09-06 16:58:46 +12:00
Ryan VanderMeulen
227e691e39
Backout 013743bb609e (bug 591358) for Windows orange.
2012-09-05 19:53:43 -04:00
Anthony Jones
7cdf7dc3d5
Bug 591358 - Part 3: Lazy creation of the draw target in order to save memory and improve performance. r=roc
2012-05-31 12:47:27 +12:00
Anthony Jones
00a08dcb87
Bug 786913 - Fix Azure short-circuiting of 0px fonts. r=roc
2012-09-05 17:52:34 -04:00
Robert O'Callahan
d1f472b4ee
Bug 787623. Call MarkContextClean immediately if we're not going to receive a DidTransactionCallback. r=joedrew
...
--HG--
extra : rebase_source : 459c517fba4b6c2e6e6d95200aebec9369c0edb6
2012-09-05 22:28:23 +12:00
Brendan Dahl
3f688bb97f
Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug
2012-08-31 10:45:45 -07:00
Anthony Jones
c0293596e8
Bug 784573 - Reftest for azure/cairo transform problem. r=joe
2012-09-03 17:49:33 -04:00
Anthony Jones
e696585651
Bug 781731 - Use a similar surface for non-blurred shadows to improve performance. r=joe
2012-09-02 19:07:06 -04:00
Anthony Jones
dd300242f8
Bug 781731 - Set Azure shadow canvas size match thebes in order to match performance. r=Bas
2012-09-02 19:07:06 -04:00
Anthony Jones
5886de8bb7
Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back. r=jrmuizel
2012-09-02 19:07:06 -04:00
Anthony Jones
585ecce5bb
Bug 781731 - Fix passing of text bounds to AdjustedTarget in order to limit the size of the temporary target. r=Bas
2012-09-02 19:07:05 -04:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Boris Zbarsky
39660aee15
Bug 567511. Don't consider document.domain when deciding whether to taint a canvas. r=roc
2012-08-29 01:14:47 -04:00
Boris Zbarsky
1d5a53d649
Bug 784869. Stop allowing undefined as the second argument to createPattern in the WebIDL 2d context bindings. r=peterv
2012-08-28 13:10:10 -04:00
Ms2ger
f900f266f1
Backout bug 781731.
2012-08-27 12:27:40 +02:00
Anthony Jones
1257ef6e3e
Bug 781731 - Fixed crash caused by an empty shadow region; r=Bas
2012-08-27 11:35:10 +02:00
Anthony Jones
cd3e2d436b
Bug 781731 - Use a similar surface for non-blurred shadows to improve performance; r=roc
2012-08-27 11:34:33 +02:00
Anthony Jones
a31102686a
Bug 781731 - Set azure shadow canvas size match thebes in order to match performance; r=roc
2012-08-27 11:34:12 +02:00
Anthony Jones
e1f0182516
Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back; r=roc
2012-08-27 11:34:07 +02:00
Anthony Jones
8e7ebbe775
Bug 781731 - Fixed passing of text bounds to AdjustedTarget in order to limit the size of the temporary target; r=Bas
2012-08-27 11:31:36 +02:00
Benoit Jacob
63c08f3f80
Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert
2012-08-23 14:56:17 -04:00
Boris Zbarsky
2b5786b5f1
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Matt Brubeck
0e09726934
Back out 156eaa94f73c (bug 782786) and 05d1a3fba90b (bug 777028) for frequent Linux reftest failures on a CLOSED TREE
2012-08-23 14:47:07 -07:00
Matt Brubeck
31933d7e8b
Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE
2012-08-23 14:08:42 -07:00
Boris Zbarsky
9d2ad14dab
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Benoit Jacob
95a8db507f
Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert
2012-08-23 14:56:17 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
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 "*.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jeff Gilbert
d394179aac
Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob
2012-08-21 16:13:26 -07:00
David Zbarsky
fbb04700b6
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
Bobby Holley
88955fb8ce
Bug 553102 - Remove unnecessary SpecialPowers wrap in test_canvas.html. r=me
...
I put this in in bug 778420, but it looks like it wasn't necessary, since the
tests seem to pass without it. It's on the critical path for this longish-running
test, and it also breaks stuff with respect to __exposedProps__. Let's kill it.
2012-08-17 23:14:55 -07:00
Benoit Jacob
19c5d673a6
Bug 763355 - attempt to fix timeouts in WebGL mochitest on Android slaves by avoiding loading the js-test-post.js script - r=jgilbert
...
Indeed, we have data here showing that the timeouts are caused by failure to load this file. Reason not yet understood.
2012-08-14 12:59:14 -04:00
Ehsan Akhgari
805b10b6d6
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Aryeh Gregor
6a9cec29c8
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Alexander Boldyrev
45a38ebb0b
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
Matt Woodrow
41a9a1a13c
Bug 539356 - Part 31 - Call Azure canvas DidTransactionCallback even when painting from DrawWindow(). r=roc
2012-08-13 22:10:57 +12:00
Joe Drew
13c7575b24
Bug 773097 - Don't create our surface from GetCanvasLayer. It's called while painting, and doing so will destroy the layer manager that we're painting with. r=roc,mattwoodrow
...
Canvases use the "persistent" layer manager, which is only used after 5
seconds has elapsed on Windows. So if we start up to a site that uses canvas,
we risk switching to the persistent layer manager while drawing using the
temporary layer manager. Because layer managers are singletons, they're not
refcounted, and so we end up holding a dead pointer and corrupting the heap.
2012-08-10 12:13:09 -04:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Benoit Jacob
89784c667c
Bug 777028 - WebGL: allow only 16 samplers per program on Mesa - r=jgilbert
2012-08-09 22:30:17 -04:00
Nicholas Cameron
d405b3166f
Bug 773460; IsLinux should be false for Android. r=roc
...
--HG--
extra : rebase_source : ddc09bd2ad7b380d42fbefe34f2fc2e2fc9b5a39
2012-08-10 06:45:03 +12:00
Ed Morley
61bd42dc2d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
eb0692aef8
Bug 727547 - Add test.
2012-08-09 09:10:43 +02:00
Andrew McCreight
6c0ec6c6e5
Bug 779669 - Return error in GetMozDash. r=peterv
2012-08-06 08:12:06 -07:00
Bobby Holley
364da93593
Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
...
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Nicholas Cameron
a5d03b307c
Bug 780392. Crashtest. r=bas
...
--HG--
extra : rebase_source : b2761827d90ceb99818b7beda5bcc596de90d7a3
2012-08-09 08:17:03 +12:00
David Zbarsky
d50e4a7565
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Benoit Jacob
f391d5b89f
Bug 617453 - lose the least-recently-used WebGL context when a certain limit is exceeded - r=vladv
...
The current limits are:
#ifdef MOZ_GFX_OPTIMIZE_MOBILE
// some mobile devices can't have more than 8 GL contexts overall
const size_t kMaxWebGLContextsPerPrincipal = 2;
const size_t kMaxWebGLContexts = 4;
#else
const size_t kMaxWebGLContextsPerPrincipal = 8;
const size_t kMaxWebGLContexts = 16;
#endif
2012-08-02 17:28:02 -04:00
Benoit Jacob
bb0ac80d76
Bug 749678 - re-add missing MakeCurrent call in certain WebGL uniform setters - r=jgilbert
2012-08-02 17:28:02 -04:00
Ryan VanderMeulen
45d1e5a186
Bustage fix for bug 779535 follow-up.
2012-08-01 18:40:24 -04:00
Oleg Romashin
b82742bece
Bug 779535 - readability followup. r=jgilbert
2012-08-01 15:13:49 -07:00
Oleg Romashin
bf0a78292f
Bug 779535 - defaultNoAlpha preference is not used in case if nsIPropertyBag argument is 0. r=vlad
2012-08-01 11:58:44 -07:00
Nicholas Cameron
9f4ddcf0fb
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 18:30:10 +12:00
Nicholas Cameron
27a424af1c
Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz
2012-07-26 14:31:26 +12:00
Eric Faust
4f1dd6602a
Bug 749535 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz)
2012-07-31 20:45:20 -07:00
Eric Faust
e8671110a6
Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
...
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
a7fa8d3129
Bug 747935 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz)
2012-07-31 20:06:35 -07:00
Boris Zbarsky
9f3eafd3a0
Bug 778128. Make putImageData and createImageData on non-Azure canvas work with Xrays. r=peterv
2012-07-31 11:35:25 -04:00
Nicholas Cameron
db90500fee
Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849
2012-07-31 18:17:23 +12:00
Nicholas Cameron
12480ec1e9
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 13:45:59 +12:00
Ehsan Akhgari
b40b21d633
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Brian Hackett
ffc948bbbe
Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin
2012-07-30 05:19:09 -06:00
Benoit Jacob
fab4657162
Bug 777943 - Let WebGL getRenderbufferParameter return the WebGL format rather than re-querying the GL and tweaking - r=jgilbert
2012-07-26 19:58:53 -04:00
Benoit Jacob
9aec138a35
Bug 777883 - Avoid calling glLinkProgram when we know that a bad shader is attached - r=jgilbert
2012-07-26 19:58:52 -04:00
Nicholas Cameron
7aa563c2b9
Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc
2012-07-26 13:56:42 +12:00
Nicholas Cameron
8590141861
Bug 764125; mochitest for isPointInPath and multiple transforms. r=Bas
2012-07-25 12:46:24 +12:00
Nicholas Cameron
8cef9af43a
Bug 764125; sort out preferred and fallback Azure backends for all platforms (canvas and prefs). r=Bas
2012-07-24 22:18:40 +12:00
Nicholas Cameron
c87cf06e79
Bug 748116; Get windows taskbar tab previews working with Skia/Azure canvas; r=roc
2012-04-26 10:04:36 +12:00
Nicholas Cameron
7ef3ff66b8
Bug 748116; nsCanvasRenderingContext2DAzure::InitializeWithSurface. r=roc
2012-07-24 22:18:39 +12:00
Nicholas Cameron
954df98aec
Bug 746883; tidying up some nits I found along the way; r=gw280
2012-04-26 10:04:35 +12:00
Nicholas Cameron
84e07e74a9
Bug 764125; changes to tests; r=jrmuizel
2012-07-24 22:18:39 +12:00
Nicholas Cameron
69f9dc8cc2
Bug 764125; changes to nsCanvasRenderingContext2DAzure. r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
bd97a63e70
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Nicholas Cameron
daaf86d197
Bug 746883; misc bits and pieces for getting Skia/Azure canvases going. r=gw280
2012-04-10 13:18:53 +12:00
Nicholas Cameron
34ba57113f
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Nicholas Cameron
f371c79e75
Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc
2012-07-26 13:56:42 +12:00
Nicholas Cameron
85e074219d
Bug 764125; mochitest for isPointInPath and multiple transforms. r=Bas
2012-07-25 12:46:24 +12:00
Nicholas Cameron
fb720292a3
Bug 764125; sort out preferred and fallback Azure backends for all platforms (canvas and prefs). r=Bas
2012-07-24 22:18:40 +12:00
Nicholas Cameron
62f769d3a5
Bug 748116; Get windows taskbar tab previews working with Skia/Azure canvas; r=roc
2012-04-26 10:04:36 +12:00
Nicholas Cameron
52e23c6ac2
Bug 748116; nsCanvasRenderingContext2DAzure::InitializeWithSurface. r=roc
2012-07-24 22:18:39 +12:00
Nicholas Cameron
fcb7df5c02
Bug 746883; tidying up some nits I found along the way; r=gw280
2012-04-26 10:04:35 +12:00
Nicholas Cameron
6c848e9e58
Bug 764125; changes to tests; r=jrmuizel
2012-07-24 22:18:39 +12:00
Nicholas Cameron
24d7e38c9a
Bug 764125; changes to nsCanvasRenderingContext2DAzure. r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
20c50817cb
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Nicholas Cameron
ff60296dc1
Bug 746883; misc bits and pieces for getting Skia/Azure canvases going. r=gw280
2012-04-10 13:18:53 +12:00
Benoit Jacob
5eac6074ae
Bug 771408 - Warn on WebGL drawing without attrib 0 array enabled - r=jgilbert
2012-07-25 12:13:45 -04:00
Benoit Jacob
398a36f856
Bug 771669 - Crash with memory-pressure, WebGL bufferData - r=jgilbert
2012-07-25 12:13:45 -04:00
Benoit Jacob
d06cfc9f52
Bug 775234 - WebGL: fix 1-byte out-of-bounds access in compileShader - r=jgilbert
2012-07-25 12:13:45 -04:00
Benoit Jacob
a740ec36a9
Bug 774755 - 8/8 - ANGLE r1242: update list of failing tests (all tests now passing on windows) - no review
2012-07-25 12:13:45 -04:00
Benoit Jacob
2a22a3e1f7
Bug 774755 - 1/8 - Update ANGLE to r1242 - no review
...
--HG--
rename : gfx/angle/src/compiler/compilerdebug.h => gfx/angle/src/compiler/debug.h
2012-07-25 12:13:45 -04:00
Benoit Jacob
b450882de4
Bug 776001 - WebGL: support EXT_texture_filter_anisotropic without prefix; warn on using the MOZ_ prefix - r=jgilbert
2012-07-25 12:13:44 -04:00
David Zbarsky
88371b030a
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Nicholas Cameron
2efe977e3b
Bug 767337; crash test. r=roc
2012-07-18 15:04:15 -04:00
Vladimir Vukicevic
ebab93cfd3
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert,r=bjacob
2012-07-06 09:19:27 -04:00
Benoit Jacob
eae0b8c0a9
Bug 760323 - fix --disable-webgl : let it also disable the bindings and s3tc extension - r=bz
2012-07-12 01:30:17 -04:00
Ryan VanderMeulen
22a9fed718
Backout a516a86f854d (bug 767064) due to Android M1 orange.
2012-07-09 21:49:50 -04:00
Nathan Froyd
a7eb97f896
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Vladimir Vukicevic
4c6ced282f
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Vladimir Vukicevic
2b6cf64500
backout bug 767064, 1f9c66d66df4
2012-07-06 11:08:21 -04:00
Vladimir Vukicevic
ce22e24d56
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Jeff Gilbert
78f9fbfe59
Bug 735560 - Emulate GLSL math on Mac+Intel - r=bjacob
2012-07-05 19:34:01 -07:00
Benoit Jacob
0c46c9658e
Bug 769810 - Mac ATI OpenGL driver still needs math function emulation on 10.8 - r=jgilbert
2012-07-05 10:13:57 -04:00
Benoit Jacob
0c1f91c4b7
Bug 769812 - ATI OpenGL driver renders point sprite upside-down - r=jgilbert
2012-07-05 10:13:46 -04:00
Benoit Jacob
719a318e65
Bug 766251 - 5/5 - update Adreno WebGL blacklisting - r=jrmuizel
2012-07-05 10:13:04 -04:00
Jon Buckley
b8338c34bb
Bug 769077 - Have unintialized render buffers report memory usage correctly, r=bjacob
2012-06-27 16:11:00 -07:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Chris Peterson
0d476a31d6
Bug 769080 - Fix Azure build errors about Uint8ClampedArray on Android. Fix some uninitialized variable warnings. r=Ms2ger
2012-06-29 15:17:03 -07:00
Peter Van der Beken
eac55f89be
Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz.
2012-05-21 23:30:07 +02:00
Boris Zbarsky
9654eaf005
Bug 767936. Use Element* as the cache key for CanvasImageCache. r=roc
2012-06-30 01:53:21 -04:00
Benoit Jacob
cf2676ee96
Bug 763355 - even more logging to understand this intermittent orange in WebGL tests on Android - r=jgilbert
2012-06-29 17:21:35 -04:00
Peter Van der Beken
06da342a55
Bug 762652. Rename the class GeneralPattern here to avoid having Windows PGO builds confuse this class with the GeneralPattern class in gfxContext.cpp. r=bz
2012-06-29 11:20:13 -07:00
Peter Van der Beken
2d6a797659
Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz.
2012-06-13 17:14:15 +02:00
Matt Brubeck
ae0a175ce7
Back out 438c192e561b and d6f341e77b68 (bug 762652, bug 762654) on suspicion of breaking Windows PGO tests
2012-06-27 16:24:53 -07:00
Peter Van der Beken
465ca15eec
Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : 04c68533b85dca434e3ab086d8ff5081a323785c
2012-05-21 23:30:07 +02:00
Peter Van der Beken
74a0543703
Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz.
...
--HG--
extra : rebase_source : 8e7a2722aa1fb089baa6c1aa8604dcd0e91c1ff2
2012-06-13 17:14:15 +02:00
Peter Van der Beken
e18ac6a285
Fix for bug 768050 (Make TypedArray::Create take a wrapper cache and create JS objects in the compartment of the cache's wrapper). r=bz.
...
--HG--
extra : rebase_source : 3ec03b33913e14a113bf9283566a68fe3be5fe02
2012-06-25 18:37:46 +02:00
Robert O'Callahan
ad80bd7500
Bug 731868. Part 2: Make CanvasRenderingContext2DUserData's reference to the context weak (Azure). r=jrmuizel
2012-06-01 18:26:42 +12:00
Robert O'Callahan
71cb4a30b5
Bug 731868. Make reference from CanvasRenderingContext2DUserData to its 2D (non-Azure) context weak. r=jrmuizel
2012-06-01 18:26:36 +12:00
Peter Van der Beken
2556e5d626
Fix for bug 762657 (Fix canvas tests and drop support for fake ImageData in putImageData to comply with spec). r=Ms2ger.
2012-05-25 16:27:18 +02:00
Peter Van der Beken
6a7e8ec5a9
Fix for bug 762651 (Add wrappercache to CanvasRenderingContext2D). r=bz.
2012-06-04 21:41:51 +02:00
Benoit Jacob
7436782d1d
Bug 765137 - 3/3 - WebGL: more cleanup and renaming around extensions - r=jgilbert
2012-06-16 01:12:30 -04:00
Benoit Jacob
884c586b5a
Bug 765137 - 2/3 - WebGL: clean up IsExtensionSupported - r=jgilbert
2012-06-16 01:12:08 -04:00
Benoit Jacob
75a255c594
Bug 765137 - 1/3 - WebGL: use case-insensitive comparisons rather than lower-case versions of extension strings - r=jgilbert
2012-06-16 01:11:50 -04:00
Benoit Jacob
9a01c4c443
Bug 765179 - 2/2 - Check for empty string in WebGL SplitLastSquareBracket - r=jgilbert
2012-06-15 17:40:25 -04:00
Benoit Jacob
67f30a33e0
Bug 765179 - 1/2 - Check for empty GLSL identifier strings - r=jgilbert
2012-06-15 17:39:21 -04:00
Benoit Jacob
5976d2e454
Bug 765198 - WebGL crash in readPixels with null destination - r=bz
2012-06-15 17:36:48 -04:00
Boris Zbarsky
a20f0507aa
Bug 750297 part 2. Switch WebGLUniformLocation to Paris bindings. r=peterv, bjacob
2012-06-15 16:25:51 -04:00
Benoit Jacob
d9920d2433
Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert
2012-06-14 23:16:21 -04:00
Benoit Jacob
f89b7d1d24
Bug 763355 - more logging to understand WebGL read-pixels-test intermittent timeouts on Android - r=jgilbert
2012-06-14 16:12:34 -04:00
Nicholas Cameron
d839c86659
Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar
2012-04-16 07:49:56 +12:00
Ryan VanderMeulen
287fbc1e16
Merge m-c to inbound.
2012-06-12 21:36:40 -04:00
Matt Brubeck
a66da30249
Merge last green changeset from inbound to mozilla-central
2012-06-12 18:24:45 -07:00
Nicholas Cameron
1cbb2d0f07
Bug 750575; use nsCOMPtr around nsIPresShell in canvas code. r=roc
2012-06-12 10:48:42 -07:00
Chris Jones
b187adf1d9
Bug 746813: Check for context allocation failure before returning inverse transform. r=joedrew
2012-06-12 10:31:37 -07:00
John Drinkwater
15c380056a
Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert
2012-06-11 08:25:06 -07:00
Ryan VanderMeulen
bf2b50270d
Merge m-c to inbound
2012-06-10 17:59:00 -04:00
Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Matt Brubeck
8aad0a2626
Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
...
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Andrew McCreight
f4f0e1a935
Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent
2012-05-15 09:56:39 -07:00
Benoit Jacob
79ddf6d351
Bug 759221 - 5/6 - mark known failing WebGL conformance tests on Android - r=jgilbert
2012-06-08 13:41:43 -04:00
Benoit Jacob
fb2dcf4256
Bug 759221 - 4/6 - webgl mochitest needs a longer timeout on android - r=jgilbert
2012-06-08 13:41:42 -04:00
Benoit Jacob
cd3c551e46
Bug 761326 - test_2d.path.arc.scale.1 assumes unrealistic 0.098 tolerance or luck - r=jrmuizel
2012-06-08 13:41:39 -04:00
Matt Brubeck
d1bcdbae1a
Back out bug 759221 and bug 761326 because of media test failures
2012-06-08 12:20:14 -07:00
Benoit Jacob
5f82934789
Bug 759221 - 5/6 - mark known failing WebGL conformance tests on Android - r=jgilbert
2012-06-08 13:41:43 -04:00
Benoit Jacob
9f262ffc96
Bug 759221 - 4/6 - webgl mochitest needs a longer timeout on android - r=jgilbert
2012-06-08 13:41:42 -04:00
Benoit Jacob
6d0d7bff13
Bug 761326 - test_2d.path.arc.scale.1 assumes unrealistic 0.098 tolerance or luck - r=jrmuizel
2012-06-08 13:41:39 -04:00
Ms2ger
7f450410f9
Bug 759726 - Move mCanvasElement to nsICanvasRenderingContextInternal and make SetCanvasElement return void; f=bz r=bjacob
2012-06-06 09:42:47 +02:00
Ms2ger
37be1fb791
Bug 760156 - Cleanup LOCAL_INCLUDES in content/media/; r=sicking
...
This patch makes it possible to include nsGenericHTMLElement.h without adding
to LOCAL_INCLUDES.
2012-06-06 09:40:02 +02:00
Ms2ger
19f060907a
Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
...
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.
Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Ms2ger
b036a6ed71
Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir
2012-06-06 09:22:06 +02:00
Chris Jones
797d753fce
Bug 761894: Band-aid bustage from bug 760675 when using WebGL on same thread as GL compositor. rs=jrmuizel
2012-06-05 20:33:59 -07:00
Benoit Jacob
e979347e83
Bug 760675 - update adreno blacklisting to not use the global context - r=jrmuizel
...
The current Adreno blacklists hard-asserts (even in release builds) that there is a global context, as it needs it to get renderer info. That was done as, at the time (bug 736123) there were GL context creation crashes there.
However, without share groups, I can't reproduce the context creation crashes anymore, so this approach doesn't seem to be needed anymore. If we were unlucky and there still were context creation crashes, the solution would be the java thread thing mentioned in comment 0, anyway.
2012-06-02 16:28:18 -04:00
Andrew Quartey
2760bcfb43
Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob
2012-06-02 12:05:45 -04:00
Benoit Jacob
68fa7e641d
Bug 748211 - getVertexAttrib should reject the VERTEX_ATTRIB_ARRAY_POINTER pname - r=jgilbert
2012-06-01 15:32:18 -04:00
Boris Zbarsky
3f887fdbe1
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Robert O'Callahan
5d303388c9
Backing out 65cd6893941e, b24941f7205b and bcec6006b1ac (bug 731868) for test failures
2012-06-01 20:27:53 +12:00
Robert O'Callahan
aa873d1741
Bug 731868. Part 2: Make CanvasRenderingContext2DUserData's reference to the context weak (Azure). r=jrmuizel
...
--HG--
extra : rebase_source : 9c8d4e71069fcd47fc1b4f2914c65256902056fd
2012-06-01 18:26:42 +12:00
Robert O'Callahan
7fdb3ae809
Bug 731868. Make reference from CanvasRenderingContext2DUserData to its 2D (non-Azure) context weak. r=jrmuizel
...
--HG--
extra : rebase_source : 364040f753bec622ed8df03773bf76053d17963a
2012-06-01 18:26:36 +12:00
Nicholas Cameron
eca1271801
Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar
...
--HG--
extra : rebase_source : 31938676856235c42f7b95de69cefdcce8cdd8ec
2012-04-16 07:49:56 +12:00
Boris Zbarsky
fddc56821d
Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too.
2012-05-31 16:20:49 -04:00
Boris Zbarsky
c46a9a1068
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Jeff Gilbert
47e74b19aa
Bug 750527 - Rebind program if current program is relinked - r=bjacob
2012-05-30 17:00:38 -07:00
Jeff Gilbert
67c1c15b46
Bug 746740 - GetProgramInfoLog should return null on GL error - r=bjacob
2012-05-30 16:05:37 -07:00
Ed Morley
da18754c01
Merge mozilla-central to mozilla-inbound
2012-05-30 18:24:56 +01:00
Gervase Markham
d4eb7d5782
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Benoit Jacob
9142ac1000
Bug 759178 - WebGL extension strings should be case-insensitive - r=jgilbert
2012-05-30 08:30:32 -04:00
Benoit Jacob
1cca2f1673
Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert
2012-05-29 14:44:31 -04:00
Benoit Jacob
697f7c5667
back out 90292e7ec6fb for mochitest-1 orange
2012-05-29 16:33:29 -04:00
Benoit Jacob
9459089e75
Bug 758404 - Use LinkedList instead of arrays for WebGLContext to track WebGL objects - r=jgilbert
2012-05-29 14:44:31 -04:00
Benoit Jacob
919ce9b00a
Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert
2012-05-29 14:44:31 -04:00
Takanori MATSUURA
4e1026d682
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Ms2ger
beea34d1fc
Bug 757365 - Don't use uint8 in DocumentRenderer{Parent,Child}.cpp; r=bjacob
2012-05-25 09:18:30 +02:00
Boris Zbarsky
52a20a9207
Bug 755636 part 1. Convert sequence argument codegen to dom::Sequence. r=peterv
2012-05-25 01:08:22 -04:00
Benoit Jacob
a9319a7f30
Bug 754669 - Update WebGL tests to r17794 - no review, syncing with upstream
...
Upstream is:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/
Note this this is the conformance-suites/1.0.1/ branch, not trunk.
2012-05-23 22:18:49 -04:00
Benoit Jacob
c619dd78da
Bug 754669 - remove legacy cast to int32 in vertexAttribPointer - r=bz
2012-05-23 22:17:10 -04:00
Benoit Jacob
6eeddf0112
Bug 754669 - fix stack corruption in WebGL texImage2D parameter validation - r=jrmuizel - landing on a CLOSED TREE because this stack corruption started causing mochitest-1 crashes
2012-05-23 18:05:48 -04:00
Boris Zbarsky
fce4638ab8
Bug 757699. Use JS::NumberValue, not JS::DoubleValue, for returning uint32_t values to JS. r=bjacob
2012-05-23 12:44:48 -04:00
Benoit Jacob
3fa1e41ba2
Bug 754303 - WebGLUniformLocation doesn't need to be a WebGLRefCountedObject - r=jrmuizel
2012-05-23 12:07:44 -04:00
Benoit Jacob
435c7a2caf
Bug 743753 - 4/4 - fix the case issues in WebGL method names in warnings - r=vlad
2012-05-23 12:07:35 -04:00
Benoit Jacob
2596ecaf92
Bug 743753 - 3/4 - WebGL: rename LogMessage to GenerateWarning - r=vlad
2012-05-23 12:07:29 -04:00
Benoit Jacob
ce9986904d
Bug 743753 - 2/4 - remove the webgl.verbose preference (always be verbose) - r=vlad
2012-05-23 12:07:19 -04:00
Benoit Jacob
0678e86145
Bug 743753 - 1/4 - limit the number of warnings per WebGL context - r=vlad
2012-05-23 12:07:10 -04:00
Benoit Jacob
e6dfb4952e
Bug 757526 - Use stdint instead of PRInt types in WebGL implementation - r=Ms2ger
2012-05-23 12:07:01 -04:00
Bas Schouten
bfa88daaba
Bug 690643: Properly mark transform dealt with once a device space path builder is created. r=roc
2012-05-23 08:17:43 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian Hackett
c07eaa0e3e
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Brian Hackett
9ae1966596
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Ms2ger
5623a92079
Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley
2012-05-18 10:29:40 +02:00
Benoit Jacob
17b0e7f92d
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
002d57ff04
Bug 763190 - WebGL readPixels shouldn't call EnsureBackbufferClearedAsNeeded - r=jgilbert
2012-06-12 17:20:21 -04:00
Benoit Jacob
03f28a1e60
Bug 763355 - log exceptions to understand timeout in read-pixels-test - r=jgilbert
2012-06-12 17:19:09 -04:00
Ed Morley
8b2dbc3dca
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
8fbc0a34da
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Andrew McCreight
a3d49f791d
Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug
2012-05-14 08:24:03 -07:00
Tom Schuster
fb630ae705
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Yury
28d71f4a36
Bug 753758 - Saving state doesn't carry mozFillRule. r=jrmuizel
2012-05-11 10:35:31 -07:00
Ed Morley
79899a6f75
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
1941fb1bb4
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
...
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Benoit Jacob
725ba8f732
Bug 736123 - short-term fix: blacklist adreno using the global GLContext to get renderer info - r=bgirard
...
It really works, but it's not future-proof as it relies on the global GL context that's going away soon. But it probably won't go away in Aurora 14, so this should at least allow us to ship Fennec 14.
Longer term, we need to do some message passing so we can get the LayerManager's OpenGL context's renderer id, from the OMTC thread.
2012-05-08 15:55:52 -04:00
Jon Buckley
abfe75ece8
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
5885a6edd0
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
3954a6b841
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Benoit Jacob
1b095471a0
Bug 749711 - Lots of WebGL texture conversion fixes and improvements - r=jgilbert
...
* Templatize pack/unpack routines
** Inside anonymous namespace in a naive attempt to not hammer PGO linker
memory usage.
* Support conversions changing texel size
* Support conversion from integer to float formats
* Support RGBA32F properly
* Avoid compiling useless paths (code size down to 17k from 44k)
2012-05-07 13:05:32 -04:00
Benoit Jacob
e191b75e54
back out e8f3fd02ba3e for windows build failure
2012-05-07 14:04:10 -04:00
Benoit Jacob
5f074bf235
Bug 749711 - Lots of WebGL texture conversion fixes and improvements - r=jgilbert
...
* Templatize pack/unpack routines
** Inside anonymous namespace in a naive attempt to not hammer PGO linker
memory usage.
* Support conversions changing texel size
* Support conversion from integer to float formats
* Support RGBA32F properly
* Avoid compiling useless paths (code size down to 17k from 44k)
2012-05-07 13:05:32 -04:00
Benoit Jacob
f9c841e475
Bug 747619 - Fix WebGL uniform setter validation - r=jgilbert
...
This bug, introduced by the patch from bug 732233, caused us to wrongly reject
legitimate WebGL uniform setters, especially when doing a partial update of
a uniform array.
2012-05-06 23:09:36 -04:00
Boris Zbarsky
90b5c814e8
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Phil Ringnalda
ce8665a6aa
Back out 1907bf7e6d7c (bug 749485) for build bustage
2012-05-05 20:33:59 -07:00
Boris Zbarsky
1833a29c14
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Boris Zbarsky
668193e91d
Bug 749539. Make IsContextStable an inline function. r=bjacob
2012-05-05 09:28:25 -04:00
Boris Zbarsky
8655f9d9aa
Bug 745897. Add the new DOM bindings APIs to WebGLContext. r=bjacob
...
This adds APIs suitable for calling from the new DOM bindings to WebGLContext and makes the XPCOM
versions of the WebGL context API call through to the new-binding versions.
2012-05-04 12:38:44 -04:00
Boris Zbarsky
6cb0048f56
Bug 747825. Make the WebGLContext a wrapper cache. r=peterv
2012-05-04 12:36:40 -04:00
Benoit Jacob
5804afacb8
backout b13c1d8d2cda / bug 747619 for build failure (-Werror)
2012-05-03 16:54:14 -04:00
Benoit Jacob
cb02a36272
Bug 747619 - fix uniform setter validation: allow partial uniform array updates - r=jgilbert
2012-05-03 15:57:25 -04:00
Jonathan Kew
cb92c263ae
bug 751129 - ensure the font list is updated if necessary before accessing metrics. r=roc
2012-05-03 08:56:26 +01:00
Benoit Jacob
ecbe969082
Bug 743748 - Reenable ANGLE shader translation on Android - r=jgilbert
2012-04-30 17:43:12 -04:00
Benoit Jacob
4ec1ab3d62
Bug 736123 - blacklist Adreno renderers for WebGL - r=joe
2012-04-30 17:43:12 -04:00
Bas Schouten
f9e2392e1e
Bug 749467: Properly mark mPathTransformWillUpdate false. r=roc
2012-04-27 07:07:01 +02:00
Masatoshi Kimura
95f8a3cace
Bug 745498 - Add testcases for DOM4 exception types. r=sicking
2012-04-26 09:42:26 -07:00
John Daggett
69edaef745
Bug 718539. Trim out old featureSettings string code. r=jkew
2012-04-26 15:27:08 +09:00
John Daggett
f3be29b833
Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron
2012-04-26 15:25:29 +09:00
Ed Morley
b07a613e74
Backout cc37cd8dac59 (bug 744303) for M1 orange
2012-04-25 16:15:11 +01:00
Jeff Gilbert
86e1c58f50
Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob
2012-04-25 15:05:35 +01:00
Patrick Wong
30fd6e9e6a
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Jeff Muizelaar
4735650f00
Bug 745818. Fix crashtest bustage. a=bustage
...
Disable the test added in 3b31c3121e98 as it still crashes
in lots of places.
--HG--
extra : rebase_source : 31274e7ac05dae017615a18f1601c219b4f0b4a9
2012-04-23 17:55:56 -04:00
Jeff Muizelaar
05f4d55e08
Bug 743499. Handle negative sizes in CG backend. r=bas, a=akeybl
...
I didn't realize Sizes could be negative when originally writing this code.
2012-04-23 17:09:57 -04:00
Jeff Muizelaar
c207ef7bd3
Bug 745818. Ignore invalid cairo surfaces. r=bas, a=blassey
...
With bug 686453, we're not really supposed to get NULL surfaces
anymore. Instead we get Invalid ones that we should still ignore.
--HG--
extra : rebase_source : eee8213c897c01508815a810436d1e04e133f752
2012-04-23 17:03:36 -04:00
Tom Schuster
fef9c89dba
Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw]
2012-01-14 09:43:00 -08:00
Benoit Jacob
cad24b13b9
Bug 736481 - 7/7 - ForceLoseContext should not do anything on already lost context awaiting event - no review, a=blocking-fennec
...
Sorry for this little no-review patch. I meant to roll this into another of the patches for review and apparently forgot. It's 3 lines and quite trivial.
2012-04-21 16:48:22 -04:00
Benoit Jacob
38dc22d68b
Bug 736481 - 6/7 - WebGL lost context handling: check if we still have a canvas - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
d0af5e0960
Bug 736481 - 5/7 - make memory-pressure observer lifetime match WebGL context lifetime - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
6fad1ca1da
Bug 736481 - 4/7 - WebGL lost contexts: remove ShouldEnableRobustnessTimer, rename Robustness to ContextLoss - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
46b8e1d691
Bug 736481 - 3/7 - Add missing checks for lost WebGL contexts - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
9cf9a2137b
Bug 736481 - 2/7 - lose WebGL context on memory-pressure events - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
2ed6d0ff79
Bug 736481 - 1/7 - simplification in WebGL lost context handling - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
33464ca392
Bug 746296 - Check for antialiasing should be samples>1 not samples>0 - r=jgilbert, a=akeybl
2012-04-19 23:28:01 -04:00
Benoit Jacob
8a1e7ebf9c
Bug 696495 - set tex min filter before generateMipmap calls, to work around driver bugs - r=jgilbert, a=akeybl
2012-04-19 23:28:01 -04:00
Jonathan Kew
4ae6a27c36
bug 745699 - canvas2d rendering context needs to call gfxFontGroup::UpdateFontList() before MakeTextRun() to ensure user font generation is up to date. r=roc a=blassey
2012-04-18 20:56:19 +01:00
Benoit Jacob
7697afac6d
Bug 732233 - Explicitly enforce spec in uniform setters - r=jgilbert
2012-04-16 15:56:12 -04:00
Benoit Jacob
30ec0fc1a6
Bug 734657 - Upgrade ANGLE to r1042 - no review
...
The upstream is at:
http://code.google.com/p/angleproject/
This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
2012-04-15 15:05:00 -04:00
Benoit Jacob
e43028cc2d
Bug 743813 - fix build bustage due to signedness warning in WARNINGS_AS_ERRORS dir - no review
2012-04-10 12:23:23 -04:00
Benoit Jacob
0d7e1b4c91
Bug 743813 - Fix the warnings generated by WebGL activeTexture - r=jgilbert
2012-04-10 11:51:30 -04:00
Benoit Jacob
574847287b
Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
...
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Matias Juntunen
552bde7b2a
Bug 743475 - Patch to fix the wrong template parameters in call to WebGLBuffer::FindMaxElementInSubArray - r=jgilbert
2012-04-09 19:51:29 -07:00
Jeff Gilbert
7b29231360
Bug 685156 - webgl.hint() must accept GENERATE_MIPMAP_HINT - r=bjacob
2012-04-04 18:57:35 -07:00
Jeff Gilbert
330a3cd6f9
Bug 738126 - Enforce spec for webgl.generateMipmap, and zero is not PoT - r=bjacob
2012-04-03 16:42:06 -07:00
Benoit Jacob
e4eb0d9b1b
Bug 737182 - drop WebGL cube map workaround, now that we have it handled in GLContext - r=jrmuizel
2012-03-31 12:48:32 -04:00
Peter Van der Beken
176c7f9686
Undo accidental mode change to webgl-conformance-tests.html. No bug.
2012-03-30 22:04:54 -07:00
Peter Van der Beken
c2e642fbcc
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Benoit Jacob
2455dbf469
Bug 734423 - further WebGL test upgrade to 1.0.1 r17159 - no review
2012-03-26 17:54:08 -04:00
Benoit Jacob
b7438ab568
Bug 713369 - don't try to fall back to another GL provider, *at all* - r=jgilbert
2012-03-26 15:20:35 -04:00
Benoit Jacob
408619d76d
Bug 734423 - refactor the gc() helper used by WebGL conformance tests - no review, will upstream - NPOTB
2012-03-26 15:20:34 -04:00
Benoit Jacob
b646a4cffc
Bug 734423 - Upgrade WebGL conformance test suite to 1.0.1 in-principle-final (r17063) - no review
...
1.0.1 is in principle a done thing. This is also the occasion to do a clean upgrade, by rm and cp, instead of applying a diff.
Upstream:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/
2012-03-26 15:10:40 -04:00
Benoit Jacob
b50b67bbf5
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
...
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
e8dddcde54
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
2012-03-26 14:59:04 -04:00
Matt Brubeck
e7b4a5e4bc
Bug 736696 - Back out changes to test_webgl_conformance_test_suite.html from 3812d0ce274e because of incorrect merge [r=sgautherie]
2012-03-26 09:43:58 -07:00
Jeff Gilbert
0c50aa229e
Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew
2012-03-23 15:10:50 -07:00
Ms2ger
18b67b5a12
Bug 736752 - Compartment mismatch in JetPack 'test-content-proxy.testTypedArrays', r=bholley
2012-03-20 13:57:00 -07:00
Aryeh Gregor
9d84462dee
Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz
2012-03-16 16:07:09 -04:00
Jonathan Watt
ce86671d1b
Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert.
2012-03-20 12:15:55 +00:00
Marco Bonardo
ff249f47c5
Merge inbound and central
2012-03-16 13:42:16 +01:00
Ms2ger
126a61ae1e
Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob
2012-03-16 10:53:41 +01:00
Ms2ger
0fa822c551
Bug 722154 - Part e: Remove custom quickstubs for uniform[1-4][i,f]v and uniformMatrix[2-4]fv; r=bjacob
2012-03-16 10:52:42 +01:00
Ms2ger
3cd4c66188
Bug 727590 - uniformMatrix*fv handles its transpose argument incorrectly; r=bjacob
2012-03-16 10:51:04 +01:00
Ms2ger
6c8b1e6b1c
Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob
2012-03-16 10:50:51 +01:00
Ms2ger
9fe057f15e
Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob
2012-03-16 10:50:33 +01:00
Ms2ger
475f50510f
Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob
2012-03-16 10:50:18 +01:00
Ms2ger
3b2c005617
Bug 722154 - Part a: Remove custom quickstub for bufferData; r=bjacob
2012-03-16 10:50:00 +01:00
Ms2ger
ea07526c91
Bug 732704 - compressedTexSubImage2D should take 8 arguments, not 7; r=bjacob
2012-03-16 10:49:29 +01:00
Ms2ger
b2bb2520d9
Bug 550309 - Part f: Return real ImageData from CreateImageData; r=bz
2012-03-16 10:49:16 +01:00
Ms2ger
90fe48b371
Bug 550309 - Part e: Remove custom quickstub for getImageData and return an actual ImageData; r=bz
2012-03-16 10:48:55 +01:00
Ms2ger
b114a45e19
Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz
2012-03-16 10:44:39 +01:00
Ms2ger
364d2a12d3
Bug 550309 - Part c: Implement ImageData; r=bz
2012-03-16 10:44:08 +01:00
Ms2ger
eaded82b0f
Bug 550309 - Part a: Tighten up support for fake ImageData objects; r=bz
2012-03-16 10:41:53 +01:00
Nathan Froyd
70cbaa6b9e
Bug 732167 - Eliminate duplicate headers in content. r=mounir
2012-03-06 13:55:37 -05:00
Justin Lebar
0dbaf73150
Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
...
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Ms2ger
d953a65514
No bug - Update test_canvas.html to test for Uint8ClampedArray instead of CanvasPixelArray; r=mounir
2012-03-11 09:54:26 +01:00
Ms2ger
217ef2755d
Bug 730554 - Part c: Unwrap to nsGenericElement in TexImage2DImageDataOrElement; r=bz
2012-03-11 09:54:24 +01:00
Ms2ger
2e73ca2611
Bug 730554 - Part b: Check the result of JS_GetProperty in TexImage2DImageDataOrElement; r=bz
2012-03-11 09:53:24 +01:00
Ms2ger
e3560148d9
Bug 730554 - Part a: Deduplicate code in nsIDOMWebGLRenderingContext_Tex{,Sub}Image2D; r=bz
2012-03-11 09:53:07 +01:00
Nicholas Nethercote
55f276020a
Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
...
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Ed Morley
688dbfa9d0
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-08 13:14:47 +00:00
Serge Gautherie
5fa5d6cffd
Bug 629595. (Cv1) Remove unwanted debug ok(false,) from patch Av3b, Fix nits. r=bjacob.
2012-03-07 22:12:30 +01:00
Benoit Jacob
1aec65946b
Bug 733665 - NS_ASSERTION failure when calling WebGL getExtension - r=jgilbert
2012-03-07 15:17:49 -05:00
David Mandelin
68c407c176
Bug 733260 followup: use uint32_t for array and string lengths, r=luke
...
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
David Mandelin
5e02d0630c
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Ed Morley
d27ab2302c
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Justin Lebar
e1a9198917
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 13:49:42 -05:00
Benoit Jacob
bd794bc968
Bug 676071 - ugh, that test is still failing on windows. re-adding to list of known failing tests. - no review, bustage
2012-03-02 17:15:23 -05:00
Benoit Jacob
024021d367
Bug 676071 - remove uniformfArrayLen1.html from failing tests list - r=bustage
2012-03-02 16:56:06 -05:00
Benoit Jacob
60ccc19f81
Bug 676071 - use ANGLE long identifier mapping - r=jgilbert
...
This also fixes the leak reported in bug 723261, and makes us avoid generating the shader translator output when we don't use it (on Android).
2012-03-02 15:42:49 -05:00
Marco Bonardo
873d1a20b1
Merge last green PGO from inbound to central
2012-03-01 14:27:31 +01:00
Benoit Jacob
a993b6f79a
Bug 713305 - Force staying on discrete GPU while any WebGL context is live - r=jrmuizel
2012-02-29 15:49:55 -05:00
Matt Brubeck
76df83ffd7
Merge last green changeset from inbound to mozilla-central
2012-02-29 10:47:38 -08:00
Serge Gautherie
0188df1611
Bug 629595. (Av3b) test_webgl_conformance_test_suite.html: Remove dump()s, Add ok()s and todo()s, Do a few related rewrites, Fix totalFailed calculation, Remove (obsolete) workaround for Windows 2000. r=bjacob.
2012-02-29 10:41:42 +01:00
Matt Brubeck
2349557dcf
Merge last green changeset from inbound to mozilla-central
2012-02-28 09:21:10 -08:00
Serge Gautherie
59bad68719
Bug 629595. (Bv1a) test_webgl_conformance_test_suite.html: Ensure waitForExplicitFinish() is executed, Disable test on Windows 2000 and (if necessary) on SeaMonkey, Move Mac OSX version check to a better place. r=bjacob.
2012-02-28 09:55:54 +01:00
Florian Boesch
935a075ea1
Bug 728354 - WebGL EXT_texture_filter_anisotropic: added the EXT suffix and adjusted conformance test - r=bjacob
2012-02-26 12:06:18 -05:00
Bas Schouten
0dcfc98c78
Bug 729116 - Followup: Skip crashtest which causes a crash on OS X. rs=philor
2012-02-28 06:49:37 +01:00
Bas Schouten
4a0e2dd8e7
Bug 729116 - Crashtest: Test if we deal with changing a canvas to a very large size. r=joe
2012-02-28 04:03:24 +01:00
Bas Schouten
c2e3c60fc5
Bug 729116: Try our best to have a valid mTarget even when having an invalid context. r=joe
2012-02-28 04:02:21 +01:00
Benoit Jacob
52aa0b3db4
backout 6a94d3142674 / bug 629595, it was bitrotted and caused mochitest-1 failure
2012-02-27 18:31:02 -05:00
Serge Gautherie
24fc66e121
Bug 629595 - test_webgl_conformance_test_suite.html: Ensure waitForExplicitFinish() is executed, Disable test on Windows 2000 and (if necessary) on SeaMonkey, Move Mac OSX version check to a better place - r=bjacob
2012-02-27 16:57:58 -05:00
Benoit Jacob
48c5b9a871
Bug 711656 - report force-enabled features in crash reports - r=jrmuizel
...
Force-enabled features will be reported with a '!' instead of the usual '?' in AppNotes in crash reports.
2012-02-27 16:33:19 -05:00
Rafael Ávila de Espíndola
80ae53a33b
Bug 729995 - Mark WebGLMemoryMultiReporter final. r=jmuizelaar.
2012-02-27 14:37:32 -05:00
David Mandelin
59dcf8cdf7
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79
Backout 4fc2f49371a8 (bug 725550) for build failures
2012-02-25 00:16:47 +01:00
Jeff Gilbert
126d53debb
Bug 727178 - Revert ANGLE path to using glFinish to resolve - r=bjacob
2012-02-24 15:10:18 -08:00
David Mandelin
ad7cda83f5
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
...
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Florian Boesch
fc9e33241d
Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
...
The spec proposal for this extension is at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html
This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Daniel Holbert
f0dcc1ad1e
Backout 5311f051974e (Bug 729272) due to webgl test failures
2012-02-22 16:36:43 -08:00
Masatoshi Kimura
d1bbe6a3ba
Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger
2012-02-23 01:34:14 +01:00
Jeff Gilbert
7ffdc4e477
Bug 729272 - Abandon ANGLE during WebGL init if can't provide d3d share handles - r=bjacob
2012-02-22 14:08:24 -08:00
Ed Morley
ec5a7c5b3d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-21 11:59:33 +00:00
Ms2ger
e97a8c75bc
Bug 727547 - Improve error handling in nsIDOMWebGLRenderingContext_Tex{,Sub}Image2D; r=bz
2012-02-21 10:34:02 +01:00
Andrew Quartey
c9d1a52e78
Bug 710594 - Adapt WebGL about:memory reporters to the new memory reporting API. r=njn,bjacob.
...
--HG--
extra : rebase_source : 49a48f5237e3fb8fe17ceb30e469de253e985028
2012-02-19 19:58:08 -08:00
Robert O'Callahan
42698402de
Bug 715401. Instead of trying to create a fallback surface, just leave mTarget alone. r=bas
2012-02-19 21:53:01 +13:00
Benoit Jacob
3ce6f75017
Bug 727614 - Use #ifdef ANDROID instead of #ifdef MOZ_WIDGET_ANDROID to cover B2G too. r=joe
2012-02-16 18:45:16 -05:00
Joe Drew
b8467f29df
Bug 725747 - Seems we run into a driver bug on OS X (on NVIDIA cards only) now. Mark these tests as failing. r=bjacob
2012-02-16 18:45:16 -05:00
Rafael Ávila de Espíndola
9026015e29
Bug 727226 - mark some classes in content/canvas/src final. r=:jrmuizel.
2012-02-16 08:24:18 -05:00
David Mandelin
0be0db4666
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Jeff Muizelaar
379c5b5aab
Bug 731117. Bound the size of CG surfaces to match cairo. r=bas
...
This fixes crashes that can happen when we try to create
an image surface from a quartz surface larger than the maximum
size supported by image surfaces.
--HG--
extra : rebase_source : 6ef9c66a91068f75ddef90a3453a7360dd91fa78
2012-02-29 21:30:11 -05:00
Matt Brubeck
a5ca4655ae
Merge from mozilla-central to mozilla-inbound
2012-02-28 10:08:33 -08:00
Rafael Ávila de Espíndola
44d02d371c
Bug 727230 - Add a virtual destructor to WebGLExtension. r=bjacob.
2012-02-15 07:26:14 -05:00
Jonathan Kew
6c8466bf46
bug 726988 - remove stray instances of PR_TRUE in WebGL. r=bjacob
2012-02-14 16:17:19 +00:00
Serge Gautherie
9c30509e0d
Bug 725349. (Av1) Add a missing space to log messages. r=gavin.sharp.
...
DONTBUILD (log-string only).
2012-02-08 19:45:48 +01:00
Bobby Holley
29328b7b57
Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap
2012-02-07 18:06:41 -08:00
Bas Schouten
db305dbad5
Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel
2012-02-07 06:14:21 +01:00
Marco Bonardo
0802466372
Merge last PGO-safe changeset from inbound to central
2012-02-06 09:37:30 +01:00
Phil Ringnalda
f5b7cf87b1
Bug 724455 - mark conformance/textures/texture-mips.html and conformance/textures/texture-npot.html as failing on 10.7, r=bjacob
2012-02-05 17:47:39 -08:00
Andreas Gal
f06cfe109a
Remove DOS carriage return (^M) from CanvasImageCache.cpp (bug 724362, r=cjones).
2012-02-05 13:23:08 +01:00
Panagiotis Koutsourakis
791aa57b19
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Edwin Flores
e20fcb14ba
Bug 719288 - Fill and stroke SVG text with one Draw call r=roc
2012-02-04 13:11:09 +00:00
Rafael Ávila de Espíndola
7ba91ee522
Bug 723853 - Remove dead default cases in content/canvas. r=jmuizelaar.
2012-02-03 17:10:58 +01:00
Rafael Ávila de Espíndola
b3cfb69371
Bug 723525 - Mark classes final or add virtual destructor in content/*. r=jmuizelaar.
2012-02-02 17:15:18 +01:00
Benoit Jacob
408f0c2355
Bug 700429 - mark uniformfBadArgs.html and uniformiBadArgs.html as passing on 10.7, r=jgilbert
2011-11-08 08:30:00 -08:00
Ms2ger
88766af7ad
Bug 407105 - Enable test_2d.strokeRect.zero.5.html; r=roc
2012-02-01 11:54:21 +01:00
Marco Castelluccio
9ee802a28e
Bug 702158 - [Skia] Get Skia backend working on Linux, part 2
2012-01-31 10:24:27 +09:00