Commit Graph

625 Commits

Author SHA1 Message Date
Vladimir Vukicevic
a5386bab8a b=616360; add missing return in WebGL RenderbufferStorage; r=bjacob, a=b 2010-12-03 14:44:01 -08:00
Vladimir Vukicevic
2a475c1a6c update in-tree webgl conformance tests copy; r=npotb 2010-12-03 14:44:01 -08:00
Vladimir Vukicevic
5aa671acea b=603367, disable ANGLE/WebGL on Linux until build system issues are fixed (bug 559964) 2010-12-03 14:44:01 -08:00
Vladimir Vukicevic
8db3cedac7 b=603367; use ANGLE for WebGL on Win32; r=bjacob 2010-12-03 14:44:01 -08:00
Boris Zbarsky
adf0cee825 Bug 478445 and bug 499628. strokeText needs to not re-stroke the current path. r=vlad, a=vlad 2010-11-30 13:19:56 -05:00
Boris Zbarsky
ce4d032cff Bug 608914 part 2. Get rid of some temporary strings now that we can AppendFloat to an nsAString. r=dbaron 2010-11-30 13:18:15 -05:00
Dave Townsend
7a0e0a5cd9 Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Daniel Holbert
0a08273c27 Bug 613283: Remove unused/duplicate method 'InternalFormatHasAlpha'. r=vlad a=bsmedberg 2010-11-30 21:27:30 -08:00
Boris Zbarsky
81f1570669 Bug 478445 and bug 499628. strokeText needs to not re-stroke the current path. r=vlad, a=vlad 2010-11-30 13:19:56 -05:00
Boris Zbarsky
325022b283 Bug 608914 part 2. Get rid of some temporary strings now that we can AppendFloat to an nsAString. r=dbaron 2010-11-30 13:18:15 -05:00
Benoit Jacob
cf89e4601d Bug 613350 - Pass 2 more WebGL draw-test - r=vladimir a=joe 2010-11-25 09:00:00 -05:00
Benoit Jacob
9a5d41bb65 Bug 613324 - update WebGL constants - r=vladimir 2010-11-25 08:59:35 -05:00
Benoit Jacob
122178a201 Bug 613306 - fix bufferSubData quickStub - r=vladimir 2010-11-25 08:59:33 -05:00
Vladimir Vukicevic
5f7897cd98 b=612334; update in-tree webgl tests from svn; npotb 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
b9722edd50 b=612334; fix webgl read-pixels test; r=bjacob 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
da08b74ae8 b=612334; fix webgl tex-image-invalid-data test; r=bjacob 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
6187f48cf2 b=612334; fix webgl program-test test; r=bjacob 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
b56e0f1c92 b=612334; fix webgl invalid-passed-params test; r=bjacob 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
e8053d8870 b=612334; fix webgl context type; r=bz
--HG--
rename : dom/interfaces/canvas/nsICanvasRenderingContextWebGL.idl => dom/interfaces/canvas/nsIDOMWebGLRenderingContext.idl
2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
0e4487d73c b=612334; fix webgl bind-uniform-location test; r=bjacob 2010-11-16 20:33:03 -08:00
Vladimir Vukicevic
8de28684e8 b=612334; fix webgl depth-clear-value getter type; r=bjacob 2010-11-16 20:33:03 -08:00
Vladimir Vukicevic
ad2ff3f1b8 b=528042; add missing toDataURL support for webgl canvases; r=bjacob 2010-11-16 20:33:03 -08:00
Vladimir Vukicevic
36f8014890 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-11-16 20:33:03 -08:00
Benoit Jacob
a4ffbdf2ae Bug 610435 - WebGL crash in drawElements - r=vladimir, a=blocking-betaN 2010-11-14 12:26:26 -05:00
Mike Kristoffersen
9df583f18e Bug 575647 - [e10s] Move FlushLayoutForTree to nsContentUtils r=jonas, a=approval2.0 2010-11-03 13:57:15 +01:00
Benoit Jacob
ab9bf7d5a8 Bug 607774 - Implement the spec on Renderbuffers and Framebuffers - r=vladimir 2010-11-05 15:57:58 -04:00
Benoit Jacob
f14ad5f406 Bug 593867 - crash [@WebGLContext::ValidateProgram] in NVIDIA driver on Mac - r=vladimir 2010-11-05 15:57:58 -04:00
Benoit Jacob
d432550e48 Bug 604395 - try OSMesa as last resort - r=vladimir 2010-11-05 15:57:58 -04:00
Benoit Jacob
7e7409bac3 Bug 606276 - More WebGL message fixes - r=vladimir 2010-11-05 15:57:58 -04:00
Benoit Jacob
6004bc5481 Bug 605462 - WebGLContextGL.cpp:3248: warning: unused variable 'debugFlags' - r=dholbert 2010-11-05 15:57:57 -04:00
Benoit Jacob
ed937ae331 Bug 576620 - crash: getParameter stack corruption in the paths returning 4 ints - r=joe, a=blocking-beta7 2010-11-01 13:13:00 -07:00
Chris Jones
74d3598b51 Bug 606279, part 4: Only allocate an image large enough to cover the <canvas>. r=joe a=blocking-fennec 2010-10-26 17:20:53 -05:00
Chris Jones
39681b94d6 Bug 606279, part 3: Port transformed rendering to PDocumentRenderer. r=joe 2010-10-26 17:20:53 -05:00
Chris Jones
d12924f284 Bug 606279, part 2: Use more concise types in PDocumentRenderer. r=joe 2010-10-26 17:20:53 -05:00
Chris Jones
462563a78f Bug 606279, part 1: Excise shmem-backed canvas. r=joe sr=vlad 2010-10-26 17:20:53 -05:00
Mike Kristoffersen
460854b815 Bug 575652 - [e10s] inline DeallocShmem setup. r=cjones, a=dougt 2010-10-21 11:20:41 +02:00
Ms2ger
5427337c29 Bug 589581 - Don't throw on non-finite values in canvas2Dcontext.isPointInPath; r+a=vlad 2010-10-17 20:24:31 +02:00
Benoit Jacob
13eed571e9 Bug 594393 - Better, less confusing, messages when drawing with not-yet-uploaded textures - r=vladimir, a=joe 2010-10-15 17:50:15 -04:00
Benoit Jacob
9c58e4d58b Bug 598838 - Fix WebGL messages (were printing uninitialized values) - r=vladimir 2010-10-15 17:50:15 -04:00
Benoit Jacob
cf2adbbfa2 Bug 598825 - Turn WebGL messages into JS warnings, prefix with WebGL - r=vladimir 2010-10-15 17:50:15 -04:00
Benoit Jacob
b4a76cc42b Bug 594352 - Optimize texture conversion when no conversion needed - r=vladimir 2010-10-15 17:50:15 -04:00
Benoit Jacob
cab7b5774f Bug 594195 - Optimizations in texel conversion functions - r=vladimir 2010-10-15 17:50:15 -04:00
Benoit Jacob
f2663173fe Bug 593496 - Fix WebGL textures: conversions, flipping, premultiplication, unpack alignment - r=vladimir 2010-10-15 17:50:15 -04:00
Vladimir Vukicevic
627e0fc07d b=603235, fix string usage; r=bas, a=crash 2010-10-10 20:10:16 -07:00
Vladimir Vukicevic
d0b53174f7 b=602396; upgrade ANGLE to r445, mozilla portion; r=bjacob a=b 2010-10-09 12:44:25 -07:00
Vladimir Vukicevic
5f1547b612 b=528746; 2dcontext.drawImage paints webgl canvas upside down; r=jrmuizel 2010-10-09 12:44:24 -07:00
Vladimir Vukicevic
d6d667fe54 Update in-tree WebGL test suite to r12629 2010-10-09 12:44:24 -07:00
Vladimir Vukicevic
5585ebca9f b=582053; integrate webgl confromance suite as mochitest, angle followup; r=bjacob 2010-09-13 08:53:52 -07:00
L. David Baron
f3487dd947 Remove canvas shadow quirk that was recently removed from the spec. (Bug 600428) r=roc a2.0=blocking2.0:beta8 2010-10-09 09:34:58 -07:00
Bas Schouten
7093f0f17d Bug 600941: Follow-up to properly process review comment, typo. r=vlad a=blocking-betaN 2010-10-08 18:13:47 +02:00
Bas Schouten
69868a0008 Bug 600909: Optimize DrawPath for working with D2D surfaces. r=vlad a=blocking-betaN 2010-10-08 18:02:56 +02:00
Justin Wood
71fa9278b0 Bug 600767 - [SeaMonkey] Linux Mochi-1 test_2d.composite.uncovered.image.destination-atop.html failing. r=khuey f=vlad a=NPOTB 2010-10-01 01:24:40 -04:00
Jae-Seong Lee-Russo
899edfc45d Bug 575651 - "[e10s] packing order in nsCanvasRenderingContext2D" r=doug.turner a=blassey
--HG--
extra : rebase_source : 5c90926e6796a302b13674ffed46814e825f5fed
2010-07-23 14:10:00 -04:00
Benoit Jacob
764d885972 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 21:40:08 -07:00
Boris Zbarsky
a6899e1701 Fix this test to deal better with float rounding issues. Followup to bug 587106, a=bustage 2010-10-06 23:41:34 -04:00
Boris Zbarsky
7b56db1ca0 Followup for bug 587106. Update test to the new syntax. a=bustage 2010-10-06 22:40:41 -04:00
Boris Zbarsky
22c696308a Bug 587106. Make the alpha value of strokeStyle and company correct even for small alpha values. r=vlad, a=vlad 2010-10-06 21:01:37 -04:00
Benoit Jacob
061f405623 fix compilation on windows. r+a=fixing-bustage 2010-10-06 17:07:16 -04:00
Benoit Jacob
20a45b4898 Backed out changeset 638ce363a9b1 2010-10-06 17:05:19 -04:00
Benoit Jacob
b5bc302c89 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 16:43:25 -04:00
Benoit Jacob
7cb3c79799 Bug 602183 - Crash [@ atioglxx.dll@0x15a1d3 ] on certain site - r=joe, a=blocking2.0-b7 2010-10-06 16:43:21 -04:00
Masatoshi Kimura
57f204e676 b=600120; fix canvas composite.uncovered.image tests; r+a=vlad 2010-09-29 15:24:40 -07:00
Vladimir Vukicevic
b0850c29d5 b=599698; remove UpdateSurfaceClip speedtrap in canvas drawImage; r+a=shaver 2010-09-25 23:57:56 -07:00
Benoit Jacob
b4b87e2c68 Bug 596034 - make sure gl_PointCoord is available in the shader language - r=vladimir, a=blocking-beta7 2010-09-27 16:20:15 -04:00
Kyle Huey
a7eebf92ec Backing out Bug 599698. a=me 2010-09-26 08:19:20 -04:00
Vladimir Vukicevic
f665e88bd3 b=599698; remove UpdateSurfaceClip speedtrap in canvas drawImage; r+a=shaver 2010-09-25 23:57:56 -07:00
David Humphrey
ed8cc3d825 Bug 553938 - add crashtest. a=NPOTB 2010-09-24 11:34:23 -07:00
Benoit Jacob
0edb206ab4 Bug 585832 - Graphics feature tests are too strict - r+a=joe 2010-09-20 13:20:45 -04:00
Kyle Huey
a9713881d1 Bug 565843: Implement <canvas>.mozGetAsFile(name, type). r+a=sicking
--HG--
extra : rebase_source : 1a7a635dc5a7da047967d8feb57d637e83027618
2010-09-17 21:14:59 -04:00
Tom Brinkman
ceef26ba74 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Benoit Jacob
579e06ee36 Bug 594874 - GfxInfo blocklist needs to be used by D3D, WebGL, OpenGL - 3/3 - r=vladimir, a=blocking2.0 2010-09-16 12:45:23 -04:00
Benoit Jacob
bae3d0affc Bug 596032 - check and clear GL error flag after WebGL initialization - r=vladimir, a=blocking2.0 2010-09-16 12:45:01 -04:00
Chris Jones
ee72f210ea Merge m-c --> cedar 2010-09-13 19:24:09 -05:00
Vladimir Vukicevic
c3fb6786b3 b=593850; [webgl] fix bad-arguments and null-object-behaviour tests; r=bjacob, a=b 2010-09-13 08:57:25 -07:00
Vladimir Vukicevic
c3b2630ecb b=593850; [webgl] remove bogus webgl debug utils from tests; r=bjacob 2010-09-13 08:56:13 -07:00
Vladimir Vukicevic
d8a5653695 b=593850; [webgl] fix test null-uniform-location; r=bjacob 2010-09-13 08:56:01 -07:00
Vladimir Vukicevic
15f8e02ea1 b=593850; [webgl] fix gl-uniform-arrays test; r=bjacob 2010-09-13 08:55:45 -07:00
Vladimir Vukicevic
66e6b95063 b=593850; [webgl] fix gl-scissor test; r=bjacob 2010-09-13 08:55:29 -07:00
Vladimir Vukicevic
2fca7b118a b=593850; [webgl] fix gl-object-get-calls test; r=bjacob 2010-09-13 08:55:07 -07:00
Vladimir Vukicevic
c5d2c16c6c b=593720; make webgl less verbose; r=bjacob 2010-09-13 08:40:01 -07:00
Oleg Romashin
497f2db326 Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Chris Jones
4820da2166 Merge m-c --> cedar 2010-09-08 17:25:30 -05:00
Ginn Chen
472f5bdab7 Bug 594734 Use $(TAR) instead of tar for content/canvas/test/webgl r=bjacob a=testing file only 2010-09-10 20:56:33 +08:00
Chris Jones
9e23f35349 Merge m-c --> cedar 2010-09-07 17:35:15 -05:00
Robert Sayre
4659902f34 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
L. David Baron
b272e35a61 Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly.  It was previously a
multiplication by 1 due to integer division.  CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.

This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec.  This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).

This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly.  This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes.  It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Chris Jones
23f5ee4db4 Bug 590294, part 4: IGNORE_VIEWPORT_SCROLLING currently implies interpreting the visible region as being relative to document space. Displayport rendering wants everything IGNORE_VIEWPORT_SCROLLING implies, except it wants the visible region to be relative to the viewport. So, split the coordinate-space interpretation into a new flag DOCUMENT_RELATIVE, which interprets the visible region as document-relative. r=tn sr=roc 2010-09-03 15:10:46 -05:00
Robert O'Callahan
0356f8659e Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad 2010-09-02 21:18:40 +12:00
Robert O'Callahan
a150e0aa96 Bug 579276. Part 1: Change layer/layermanager user data API to use keys and values. r=cjones,sr=vlad 2010-09-02 21:18:39 +12:00
Benoit Jacob
ec819c1af2 Bug 593608 - drawArrays() crash - r+a=vladimir 2010-09-05 17:27:04 -04:00
David Mandelin
5eba7a1580 [JAEGER] Merge from Tracemonkey. 2010-08-31 10:36:08 -07:00
Vladimir Vukicevic
e34eb5ed0f b=592101; [webgl] don't use GLSL translator output on real GLESv2 targets; r=bas a=b5 2010-08-30 19:56:40 -04:00
Vladimir Vukicevic
6f53c918aa b=592103; [webgl] return invalid uniform names as null correctly from webgl; r=bas; a=b5 2010-08-30 19:56:32 -04:00
David Mandelin
f575742690 [JAEGER] Merge from Tracemonkey. 2010-08-30 11:38:48 -07:00
Robert O'Callahan
79b8d06302 Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
--HG--
extra : rebase_source : e644ae08007e52c524c3237d336441f1413f846b
2010-08-23 21:30:07 +12:00
Bas Schouten
927a33b4b7 Bug 593268 - Part 2: Make Canvas use LayerManager::CreateOptimalSurface. r=vlad 2010-09-08 05:27:31 +02:00
Benoit Jacob
667e7a61ef Disable uniform-location.html test. r=vlad 2010-08-26 20:46:15 +00:00
Peter Van der Beken
1de207af3c Fix for bug 565742 (too much QIing/Addrefing/Releasing under NativeInterface2JSObject). r=smaug, a=bsmedberg. 2010-07-13 17:44:51 +02:00