Benoit Jacob
545b47b406
Bug 779611 - part 1 - port WebGLShaderPrecisionFormat to WebIDL bindings - r=bz
2012-10-03 17:13:05 -04:00
Anthony Jones
c6094de81d
Bug 794463 - Fix nullptr failure in Azure canvas. r=roc
2012-09-29 12:32:57 -04:00
Benoit Jacob
99b9faff74
Bug 785734 - reject certain rare, but legal, texImage2D calls to work around a driver bug - r=jgilbert
2012-09-28 07:41:45 -04:00
Benoit Jacob
5cdc4fdb18
Bug 790879 - work around Mac bufferData bug - r=jgilbert
2012-09-28 07:41:44 -04:00
Benoit Jacob
26ad5de498
Bug 791905 - reject WebGL canvas sizes greater than INT_MAX - r=jgilbert
2012-09-27 10:13:45 -04:00
Benoit Jacob
eb01982a02
Bug 791521 - return early on resizing WebGLContext where the canvas is null - r=jgilbert
2012-09-27 10:13:44 -04:00
Benoit Jacob
74e4b9ffe8
Bug 790946 - remove last remnant of MOZ_ prefix: we were still advertising MOZ_EXT_texture_filter_anisotropic even though we don't support the prefixed name anymore - no review, trivial omission
2012-09-26 14:52:38 -04:00
Benoit Jacob
a16b428247
Bug 750862 - forgot to add the next WebGL compressed texture extensions to WebGLContextNotSupported - no review, bustage of --disable-webgl build
2012-09-26 14:46:09 -04:00
Ryan VanderMeulen
a76e94c127
Backout bug 792215 for suspected Windows m-oth leaks.
...
CLOSED TREE
2012-09-25 22:40:56 -04:00
Boris Zbarsky
1b97afe0c2
Bug 792215 part 1. Convert quickstubs to using JSNative getters and setters. r=peterv
2012-09-25 14:44:40 -04:00
Benoit Jacob
e87660d62e
Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert
2012-09-25 08:49:28 -04:00
Benoit Jacob
8a05af4222
Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert
2012-09-25 08:49:28 -04:00
Bobby Holley
5af5a73d3d
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Benoit Jacob
03d1746439
Bug 790946 - Remove support for the MOZ_ prefixed EXT_texture_filter_anisotropic ext name - r=jgilbert
2012-09-21 16:02:37 -04:00
Benoit Jacob
5c7eac569f
Bug 732660 - Efficient drawElements validation on subarray and/or dynamically updated array - r=jgilbert
2012-09-21 13:44:35 -04:00
Benoit Jacob
7b7e3533ce
Bug 777967 - move the InvalidateCachedMinInUseAttribArrayLength calls a bit - r=jgilbert
2012-09-21 13:44:35 -04:00
Benoit Jacob
dd0684008c
Bug 790138 - raise WebGL context limits on desktop - r=jgilbert
2012-09-21 13:44:35 -04:00
Ms2ger
5b4f3272e0
Merge PGO-green changeset from m-i to m-c.
2012-09-20 11:51:47 +02:00
Ms2ger
33b350e909
Bug 776243 - Unpref WebGL context bindings; r=peterv
2012-09-20 09:55:36 +02:00
Robert O'Callahan
649093f28b
Bug 772726. Part 15: Change check for Azure content drawing to handle cases where Azure is preffed on but isn't being used. r=nrc
2012-09-12 17:30:25 +12:00
Robert O'Callahan
fc3689264b
Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
...
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
George Wright
afff6bb1cb
Bug 777614 - It seems we used to pass this test by accident. Now we're in line with all the other Azure backends. r=nrc
2012-09-18 15:41:37 -04:00
Robert O'Callahan
6eab080a20
Bug 772726. Make nsCanvasRenderingContext2DAzure::DrawWindow use Azure content drawing if that's enabled. r=bas
2012-09-04 16:24:09 +12:00
Ms2ger
9a5b31990e
Bug 788525 - Remove ErrorResult& arguments to infallible methods in WebGL; r=bjacob
2012-09-17 10:37:20 +02:00
Phil Ringnalda
2bbe270302
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
2268aac36b
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
be3ee369b8
Bug 777967 - Cache the computation of WebGLContext::ValidateBuffers for better performances. r=bjacob
2012-09-11 14:54:39 -04:00
Anthony Jones
137530eb05
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
7bb6709ba5
Bug 743755 - Remove OSMesa support r=bjacob
2012-09-07 18:35:22 -04:00
Jeff Gilbert
081dc9ddc7
Bug 782860 - Mark failing WebGL reftests as failing - r=bjacob
2012-09-06 18:46:43 -07:00
Jeff Gilbert
df14baa628
Bug 782860 - Add basic WebGL reftests - r=bjacob
2012-09-06 18:46:39 -07:00
Edwin Flores
0dd30d4b22
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
f7c91e83b4
Backout 013743bb609e (bug 591358) for Windows orange.
2012-09-05 19:53:43 -04:00
Anthony Jones
d6ecfa29f2
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
0d7d3fa58b
Bug 786913 - Fix Azure short-circuiting of 0px fonts. r=roc
2012-09-05 17:52:34 -04:00
Robert O'Callahan
72d8ae53e3
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
e5b3162f1a
Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug
2012-08-31 10:45:45 -07:00
Anthony Jones
7232f42a67
Bug 784573 - Reftest for azure/cairo transform problem. r=joe
2012-09-03 17:49:33 -04:00
Anthony Jones
0aef976df5
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
38dffad114
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
30cd2208d4
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
112c161693
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
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Boris Zbarsky
8b94e798f8
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
cf2ea39a29
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
6a8ff69ba1
Backout bug 781731.
2012-08-27 12:27:40 +02:00
Anthony Jones
00a632ec43
Bug 781731 - Fixed crash caused by an empty shadow region; r=Bas
2012-08-27 11:35:10 +02:00
Anthony Jones
845006b170
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
eac6b7c446
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
c67126fb9b
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
8ee1742fda
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
caa4d06a27
Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert
2012-08-23 14:56:17 -04:00
Boris Zbarsky
268aef67fb
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Matt Brubeck
125d6375fe
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
f6e99e646b
Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE
2012-08-23 14:08:42 -07:00
Boris Zbarsky
0a47f4e83c
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Benoit Jacob
bd1a76ff71
Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert
2012-08-23 14:56:17 -04:00
Ehsan Akhgari
8c296bbcd4
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
c8c8475e5c
Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob
2012-08-21 16:13:26 -07:00
David Zbarsky
b27894f902
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
Bobby Holley
48b42305ee
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
c8f5ef765b
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
b457a9ddf0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Aryeh Gregor
e2dd9c2028
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Alexander Boldyrev
f61c980db5
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
Matt Woodrow
0d1fb01e6c
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
db6ab8b1ba
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
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Benoit Jacob
b20d5706f9
Bug 777028 - WebGL: allow only 16 samplers per program on Mesa - r=jgilbert
2012-08-09 22:30:17 -04:00
Nicholas Cameron
9456a0f61f
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
991653b152
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
1964812e04
Bug 727547 - Add test.
2012-08-09 09:10:43 +02:00
Andrew McCreight
bf9a1b75ba
Bug 779669 - Return error in GetMozDash. r=peterv
2012-08-06 08:12:06 -07:00
Bobby Holley
943789da00
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
dbbe8d097a
Bug 780392. Crashtest. r=bas
...
--HG--
extra : rebase_source : b2761827d90ceb99818b7beda5bcc596de90d7a3
2012-08-09 08:17:03 +12:00
David Zbarsky
fe804d085c
[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
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Benoit Jacob
055434264a
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
503e9e0853
Bug 749678 - re-add missing MakeCurrent call in certain WebGL uniform setters - r=jgilbert
2012-08-02 17:28:02 -04:00
Ryan VanderMeulen
263263202d
Bustage fix for bug 779535 follow-up.
2012-08-01 18:40:24 -04:00
Oleg Romashin
aee12c8242
Bug 779535 - readability followup. r=jgilbert
2012-08-01 15:13:49 -07:00
Oleg Romashin
7a20b9b98b
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
666c8e4e67
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 18:30:10 +12:00
Nicholas Cameron
8c560786c6
Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz
2012-07-26 14:31:26 +12:00
Eric Faust
2456ed4b53
Bug 749535 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz)
2012-07-31 20:45:20 -07:00
Eric Faust
921d44b1c5
Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
...
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
edf460e8a0
Bug 747935 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz)
2012-07-31 20:06:35 -07:00
Boris Zbarsky
667e3189a2
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
45704eb121
Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849
2012-07-31 18:17:23 +12:00
Nicholas Cameron
3570f3ac38
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 13:45:59 +12:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Brian Hackett
4da0b7720d
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
56b126b4bc
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
60faad2875
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
067366aaee
Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc
2012-07-26 13:56:42 +12:00
Nicholas Cameron
ec9d1e95ee
Bug 764125; mochitest for isPointInPath and multiple transforms. r=Bas
2012-07-25 12:46:24 +12:00
Nicholas Cameron
e115a7a16e
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
5a6045fc8c
Bug 748116; Get windows taskbar tab previews working with Skia/Azure canvas; r=roc
2012-04-26 10:04:36 +12:00
Nicholas Cameron
5e7721090d
Bug 748116; nsCanvasRenderingContext2DAzure::InitializeWithSurface. r=roc
2012-07-24 22:18:39 +12:00