Robert O'Callahan
6536947736
Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
...
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ms2ger
548bbd157d
Bug 494744. Fix testcase to actually test what it means to test. r=roc
2011-03-28 12:49:11 -04:00
Ms2ger
ff9e7daf3f
Bug 632474 - Throw a TYPE_MISMATCH_ERR on drawImage(null); r=sicking
2011-03-31 15:38:30 -04:00
Benjamin Smedberg
47387e2693
Bug 617539 - Merge nsIDOMWebGLRenderingContext_MOZILLA_2_0_BRANCH, r=jrmuizel
2011-03-25 11:03:35 -04:00
Mounir Lamouri
5c636d8313
Bug 610212 - canvas.width and canvas.height should be reflected as unsigned int. r=jst
2011-03-25 12:40:55 +01:00
Robert O'Callahan
6880cc64d6
Bug 639689. Part 5: Track whether the current path in the canvas context is empty. If it is, then optimize path save/restore to not make a copy of the current path. r=joe
2011-03-24 16:13:59 +13:00
Robert O'Callahan
6efae32538
Bug 639689. Part 4: Optimize Redraw by creating custom RedrawUser, which avoids having to do user->device rectangle transformation if we've already invalidated the full canvas. Also, if the last batch of canvas drawing operations contained many operations causing us to invalidate the full canvas, assume that the next batch will also contain many operations and invalidate the full canvas in the first operation of the batch, r=joe
2011-03-24 16:13:58 +13:00
Robert O'Callahan
3dd0479a61
Bug 639689. Part 3: Remove unnecessary full context save/restore, and redundant SetPattern call. r=joe
2011-03-24 16:13:58 +13:00
Robert O'Callahan
4bccc6ddf8
Bug 639689. Part 2: Some trivial cleanup and microoptimizations. r=joe
2011-03-24 16:13:58 +13:00
Robert O'Callahan
6826c493e7
Bug 639689. Part 1: Cache nsIImageLoadingContent pointer to avoid expensive do_QueryInterface in CanvasImageCache::Lookup hit path. r=joe
2011-03-24 16:13:58 +13:00
Robert O'Callahan
82c852c903
Bug 638241. Test that painting an <img>, changing its src attribute and then painting the <img> again paints the new image.
2011-03-24 16:13:58 +13:00
Robert O'Callahan
0788ccd0dd
Bug 638241. Use a cache to avoid redoing SurfaceForElement and DoDrawImageSecurityCheck. r=bzbarsky
2011-03-24 16:13:56 +13:00
Robert O'Callahan
c83de15a66
Bug 638241. Part 1: remove useless QI. r=bzbarsky
2011-03-24 16:13:18 +13:00
L. David Baron
802da587ae
Merge layout work from projects/birch, part 2.
2011-03-23 17:39:29 -07:00
Ehsan Akhgari
ca95c68a1e
Merge mozilla-central into cedar
2011-03-23 18:29:19 -04:00
Craig Topper
72d7c1f754
Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
...
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
L. David Baron
4a7745e74d
Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett
2011-03-03 13:18:42 -08:00
Benoit Jacob
be066bd5d0
Bug 635059 - Update WebGL test suite to version 1.0.0 from khronos.org - a=NPOTB
2011-03-03 11:02:36 -05:00
Benoit Jacob
c97dc1d43a
Bug 635068 - WebGL test array-unit-tests.html fails - r=jag, a=blocking2.0
2011-03-03 11:02:35 -05:00
Benoit Jacob
7f1f831a27
Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe
2011-03-02 15:50:36 -05:00
Benoit Jacob
5e3a96aa87
Bug 632587 - 3/3 - add isContextLost - r=jrmuizel, a=joe
2011-03-01 17:25:22 -05:00
Benoit Jacob
7d7c017074
Bug 632587 - 2/3 - add isContextLost - r=jrmuizel, a=blocking2.0
2011-03-01 17:25:22 -05:00
Vladimir Vukicevic
a4aac0595c
Bug 632587 - 1/3 - implement getSupportedExtensions - r=bjacob, a=blocking2.0
2011-03-01 17:25:22 -05:00
Benoit Jacob
e7797b975e
Bug 636613 - Let WebGL mochitest run on Windows XP - r=jrmuizel, a=joe
2011-03-01 17:25:22 -05:00
Benoit Jacob
c39751ce2b
Bug 636906 - GFX blacklisting not affecting WebGL; r=joe a=hardblocker
2011-02-28 15:14:33 -08:00
Benoit Jacob
84ea51cd32
Bug 636002 - better messages about attrib index validation - r=jrmuizel, a=joe
2011-02-24 17:17:34 -05:00
Benoit Jacob
16d3658b63
Bug 636356 - WebGL crash [@mozilla::WebGLBuffer::ZeroDataIfElementArray] - r=jrmuizel, a=joe
2011-02-24 17:17:34 -05:00
Benoit Jacob
ad8f7fa5c9
Bug 635666 - part 3/3 - WebGL crash [@mozilla::WebGLContext::CopyTexSubImage2D] - r=jrmuizel, a=joe
2011-02-24 17:17:34 -05:00
Benoit Jacob
7b38bd3532
Bug 635666 - part 2/3 - WebGL crash [@mozilla::WebGLContext::CopyTexSubImage2D] - r=jrmuizel, a=joe
2011-02-24 17:17:34 -05:00
Benoit Jacob
39d78774a8
Bug 635666 - part 1/3 - WebGL crash [@mozilla::WebGLContext::CopyTexSubImage2D] - r=jrmuizel, a=joe
2011-02-24 17:17:34 -05:00
Benoit Jacob
d6905754de
Bug 631420 - OS X WebGL crash with too-small attrib 0 + optimizations - r=vlad, a=blocking2.0
2011-02-24 17:17:34 -05:00
Wes Johnston
1ae3289ab2
backout logging for bug 634532 a=cleanup-test, DONTBUILD
2011-02-17 11:33:50 -08:00
Wes Johnston
6f5dee4313
Bug 634532 - Add some logging to debug random oranges r=dougt, a=input-is-good
2011-02-16 09:45:26 -08:00
Hiroyuki Ikezoe
0a3d5cd1ed
Bug 496673 - Needless check in nsCanvasRenderingContext2D::Render; r=vlad a=joe
...
--HG--
extra : rebase_source : 530762971207ea48fefd60c477e3bb7379ba00eb
2011-02-15 17:09:35 -05:00
Benoit Jacob
bf6803e6ae
Bug 634032 - remove FIXME in test list filenames - r=vlad, a=joe
...
--HG--
rename : content/canvas/test/webgl/00_testFIXME_list.txt => content/canvas/test/webgl/00_test_list.txt
rename : content/canvas/test/webgl/conformance/00_testFIXME_list.txt => content/canvas/test/webgl/conformance/00_test_list.txt
2011-02-14 16:39:55 -05:00
Benoit Jacob
f1f9b80cdd
Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel
2011-02-11 18:11:30 -05:00
Benoit Jacob
7f6e80fbdd
Bug 633622 - Make the webgl mochitest use ANGLE on test machines - r=vlad, a=hardblocker
2011-02-14 12:04:54 -05:00
Kyle Huey
c9434a9a90
Backing out Bug 632587. a=bsmedberg
2011-02-14 10:58:35 -05:00
Kyle Huey
af523adca3
Backed out changeset 7ed4cb02ffbf
2011-02-14 10:57:49 -05:00
Vladimir Vukicevic
cbdf33fdbe
Bug 632587 - implement getSupportedExtensions - r=bjacob, a=blocker
2011-02-11 18:11:30 -05:00
Benoit Jacob
414569f071
oops -- fix list of webgl tests expected to fail -- r+a=bustage
2011-02-12 17:12:08 -05:00
Benoit Jacob
b0a4e99d3c
Bug 632546 - pass is-object test - r=vlad, a=jrmuizel
2011-02-11 18:11:30 -05:00
Benoit Jacob
a271bc267f
Bug 631707 - pass buffer-data-array-buffer... again - r=vlad, a=jrmuizel
2011-02-11 18:11:30 -05:00
Kyle Huey
9132ccf4bc
Backout
2011-02-11 23:08:16 -05:00
Benoit Jacob
aeb24b4fe0
Bug 632546 - pass is-object test - r=vlad, a=jrmuizel
2011-02-11 18:11:30 -05:00
Benoit Jacob
9d4789070f
Bug 631707 - pass buffer-data-array-buffer... again - r=vlad, a=jrmuizel
2011-02-11 18:11:30 -05:00
Benoit Jacob
4ff6fe0115
Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel
2011-02-11 18:11:30 -05:00
Vladimir Vukicevic
5a9819225e
Bug 632587 - implement getSupportedExtensions - r=bjacob, a=blocker
2011-02-11 18:11:30 -05:00
Chris Leary
7cd988f331
Merge tracemonkey and mozilla-central. (a=blockers)
2011-02-11 09:56:19 -08:00
Jim Blandy
b775bfcb46
Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
...
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Boris Zbarsky
9fe041c03d
Bug 630465. Don't pretend everything is ok when allocating image surfaces failes. r=vlad, a=joe
2011-02-08 16:30:54 -05:00
Ehsan Akhgari
44c6ad0a4f
Merge backout of bug 622072
2011-03-29 14:32:11 -04:00
Ehsan Akhgari
931bd6ee19
Back out bug 622072 because it caused bug 645987
2011-03-29 14:31:53 -04:00
Alon Zakai
eb6d3ef5f2
Bug 610727 - Mark canvas layers inactive when relevant. r=roc a=blocking-fennec
2011-02-04 10:11:24 -08:00
Vladimir Vukicevic
1e4ebe844d
b=630177, update webgl tests for slice->subarray renaming, a=block
2011-02-01 17:43:55 -08:00
Jonas Sicking
e0cf36d329
Backed out changesets 808970eca6d5 and 84c8b33619e0 due to continued orange. a=bustage
2011-02-01 16:45:54 -08:00
Jonas Sicking
bf711df83f
Fix orange from bug 630117. a=bustage
2011-02-01 16:19:22 -08:00
Ms2ger
c73a5e40aa
Bug 630036 - Throw NOT_SUPPORTED_ERR instead of SYNTAX_ERR when calling cx.create{Linear|Radial}Gradient with non-finite values; r+a=roc
2011-02-02 08:48:57 +13:00
Ms2ger
057761e85c
Bug 630062 - Don't throw on setting lineWidth and ignore non-positive values; r+a=roc
2011-02-02 08:47:24 +13:00
Ms2ger
efa9ee5a7b
Bug 630056 - Don't throw on setting miterLimit and ignore non-positive values; r+a=roc
2011-02-02 08:46:44 +13:00
Ms2ger
1a2ff9c3c4
Bug 630068 - Throw when attempting to create an arc with a negative radius; r+a=roc
2011-02-02 08:45:48 +13:00
Chris Leary
86d81ea3d6
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-31 19:43:36 -08:00
Jim Blandy
672dd55a28
Bug 621103: Rename js::Anchor to JS::Anchor: 'JS' is the public namespace. r=waldo
2011-01-31 14:42:53 -08:00
Vladimir Vukicevic
d3ceab719a
b=625353; webgl canvas "show image" upside down; r=bjacob, a=b
2011-01-31 13:11:04 -08:00
Vladimir Vukicevic
364f2eea00
b=629149; [webgl] TextureImageUnits used instead of TextureUnits; r=bjacob
2011-01-31 13:10:49 -08:00
Benoit Jacob
95e9471ced
CLOSED TREE - Bug 629396 - update list of failing webgl tests after driver update on test slaves to fix WebGL mochitest failures - r+a=bustage
2011-01-27 12:26:11 -05:00
Benoit Jacob
0e625ec75b
Bug 629933 - WebGL mochitest mistakenly disabled on Mac OS 10.6 - r=vlad, a=obviously-should-be-blocking2.0
2011-01-29 22:31:21 -05:00
Benoit Jacob
5525ebbdf3
Bug 569431 - Optimization in DrawElements - followup: fix warning - r=vlad, a=blocking2.0
2011-01-29 22:31:20 -05:00
Benoit Jacob
b5bb1fe80d
Bug 628403 - rename webgl.prefer_gl to webgl.prefer-native-gl - r=vlad, a=joe
2011-01-28 21:12:25 -05:00
Benoit Jacob
950ed5f435
Bug 628403 - introduce webgl.force-enabled and webgl.disabled prefs - r=vlad, a=joe
2011-01-28 21:12:24 -05:00
David Mandelin
46f9ff2b07
Bug 628612 followup: fix mochitest that assumes constructors are non-configurable, r=orange, a=blocker
2011-01-25 18:57:59 -08:00
Benoit Jacob
d7b1e86c41
Bug 625118 - block WebGL on OpenGL on intel cards on windows - r=vlad, a=joe
2011-01-25 22:21:45 -05:00
Benoit Jacob
c58d25cdd5
Bug 628382 - Use 24 bit depth buffers where available - r=vlad, a=joe
2011-01-25 22:20:35 -05:00
Benoit Jacob
f6146ea7aa
Bug 569431 - Optimization in DrawElements - r=vlad, a=joe
2011-01-25 22:19:46 -05:00
Vladimir Vukicevic
d8fb8ce6db
b=628800; [webgl] VALIDATE_STATUS should always be 1 on MacOS X; r=bjacob, a=b
2011-01-25 14:23:55 -08:00
Benoit Jacob
80aa7bed71
Bug 626996 - WebGL tests shouldn't be loading pages from the Internet - r=ehsan a=jrmuizel
...
--HG--
extra : rebase_source : c5760b5cedd4077a5e3d01985f9f0bbd103d1924
2011-01-20 17:24:47 -05:00
Benoit Jacob
65754f9740
CLOSED TREE Bug 582053 - that test fails on windows - r+a=bustage
2011-01-14 16:17:00 -05:00
Benoit Jacob
62991b997f
Bug 582053 - gl-teximage passes now, remove from failing-tests list - r+a=bustage
2011-01-14 14:21:15 -05:00
Benoit Jacob
6afc30e375
Bug 582053 - Integrate WebGL conformance suite as a mochitest - r=vlad, a=blocking2.0
...
--HG--
rename : content/canvas/test/webgl/failing_tests.txt => content/canvas/test/webgl/failing_tests_linux.txt
2011-01-14 13:40:05 -05:00
Peter Annema
be44124daf
Bug 438702 - Canvas text baselines not fully implemented; r=roc
2011-03-22 11:05:22 -04:00
Jonathan Kew
d7548946ee
bug 624359 - iterate by clusters for mozTextAlongPath; r=vlad
2011-03-22 10:59:25 -04:00
Boris Zbarsky
423b8adc19
Bug 613794. Throw a reasonable exception when passed bogus imagedata. r=vlad
2011-01-14 10:34:39 -05:00
Vladimir Vukicevic
89eb608706
b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b
2011-01-12 17:45:13 -08:00
Vladimir Vukicevic
1628ac3a66
Bug 624505 - Avoid unnecessary uploads of canvas to improve the panorama zooming performance among other things; r=jrmuizel sr=roc a=joe
2011-01-11 18:59:26 -05:00
Chris Jones
c0d9b1b0d4
Bug 618249: Default remote-browser to synchronous scrolling, and let users change that. r=tn sr=roc a=a
2011-01-11 15:34:31 -06:00
Jonathan Kew
13736eae4a
bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc
2011-01-11 11:17:00 +00:00
Benoit Jacob
bf702c0855
b=623629; [webgl] fix copyTex[Sub]Image2D; r=vlad, a=b
2011-01-06 14:07:13 -08:00
Vladimir Vukicevic
4a4277793f
b=623404; [webgl] misc additional test suite fixes; r=bjacob
2011-01-06 14:07:13 -08:00
Vladimir Vukicevic
8ce5d28ef2
b=623394; [webgl] don't allow non-ascii characters in GLSL source; r=bjacob
2011-01-06 14:07:13 -08:00
Vladimir Vukicevic
02f7125137
no bug, remove debug printfs that snuck in, a=b
2011-01-05 14:57:48 -08:00
Vladimir Vukicevic
7afd914e2a
b=523286; [webgl] fix webgl framebuffer attachment test and misc error type; r=bjacob, a=b
2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
213b65d8ea
b=622956; [webgl] add stub extension mechanism, fixes extension tests; r=bjacob
2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
8519d5a8e3
b=622957; [webgl] fix depth-stencil test and attachment point; r=bjacob
2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
7214c89338
b=622959; [webgl] fix vertexattribpointer test; r=bjacob
2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
c228ddb5ec
b=621986; fix webgl is-object test; r=bjacob
2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
fb4b3ea6da
b=622961; [webgl] fix getparam/getuniform test; r=bjacob
2011-01-05 13:08:53 -08:00
Benoit Jacob
13a84cfec0
Bug 621987 - unary - applied to unsigned var in ConvertImage - r=vlad, a=joe
2011-01-03 12:01:16 -05:00
Rich Walsh
a3e2a835ae
Bug 621809: followup to Bug 615994: rename CanvasRenderingContextWebGL; also, add DOMCI_DATA for WebGLActiveInfo, r=vlad, a=NPOTB bustage
2010-12-28 17:16:00 -08:00
Vladimir Vukicevic
0285a9d935
b=578877, reenable WebGL on Linux; r=vlad,a=b
2010-12-27 12:05:01 -08:00
Vladimir Vukicevic
302f5a4df2
b=621571; fix webgl is-object test; r=vlad,a=b
2010-12-27 12:04:58 -08:00