Commit Graph

447 Commits

Author SHA1 Message Date
Benoit Jacob
0edb206ab4 Bug 585832 - Graphics feature tests are too strict - r+a=joe 2010-09-20 13:20:45 -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
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
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
Chris Jones
4820da2166 Merge m-c --> cedar 2010-09-08 17:25:30 -05:00
Chris Jones
9e23f35349 Merge m-c --> cedar 2010-09-07 17:35:15 -05: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
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
Bas Schouten
927a33b4b7 Bug 593268 - Part 2: Make Canvas use LayerManager::CreateOptimalSurface. r=vlad 2010-09-08 05:27:31 +02:00
Benoit Jacob
e0b194f072 Bug 592737 - vertexAttrib3fv crash [@JSObject::getClass] - r=vladimir, a=blocking2.0 2010-09-02 10:46:51 -04:00
Benoit Jacob
68da606240 Bug 592416 - Various WebGL fixes - r=vladimir 2010-09-02 10:38:26 -04:00
Benoit Jacob
64bf8cac02 Bug 571054 - emulate vertex attrib 0 on desktop GL - r=vladimir 2010-09-02 10:34:08 -04:00
Benoit Jacob
f599f168f9 Bug 588918 - fix many valgrind uninitialized value errors - r=vladimir 2010-09-02 10:30:26 -04:00
Benoit Jacob
705b0dc1a4 Bug 591084 - various WebGLTexture improvements - r=vladimir 2010-09-02 10:29:41 -04:00
Benoit Jacob
970240fc6f Bug 591042 - validation fix in copyTexImage2D and update list of failing tests - r=vladimir, a=blocking2.0 2010-09-02 10:28:38 -04: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
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
Benoit Jacob
7331fd3eeb Bug 588918 - Make WebGL test suite pass without Valgrind errors - r=vladimir, a2.0=blocking+ 2010-08-25 08:17:08 -04:00
Benoit Jacob
73a8edee37 Bug 589901 - Fix validation typo in readPixels() - r=vladimir, a=blocking-beta5 2010-08-25 08:16:04 -04:00
Benoit Jacob
9452348114 Bug 586811 - Handle incomplete and NPOT textures - r=vladimir a=blocking2.0 2010-08-23 17:03:53 -04:00
Benoit Jacob
8277999173 Bug 585199 - Implement WebGLActiveInfo, remove NativeJSContext, adapt WebGL code to that - r=vladimir a=blocking2.0 2010-08-23 17:03:49 -04:00
Benoit Jacob
996e56543a Bug 584840 - Fix texParameter methods - r=vladimir a=blocking2.0 2010-08-23 17:03:44 -04:00
Benoit Jacob
0331356d16 Bug 584861 - Fix CheckSaneSubrectSize - r=vladimir a=blocking2.0 2010-08-23 17:03:40 -04:00
Benoit Jacob
bdd75613ba Bug 584501 - another round of texture fixes - r=vladimir a=blocking2.0 2010-08-23 17:03:35 -04:00
Benoit Jacob
66c3eb510a Bug 582053 - Integrate WebGL conformance suite as a mochitest - r=ctalbert,vladimir a=blocking2.0
--HG--
rename : content/canvas/test/webgl/test_list.txt => content/canvas/test/webgl/00_testFIXME_list.txt
rename : content/canvas/test/webgl/conformance/00_test_list.txt => content/canvas/test/webgl/conformance/00_testFIXME_list.txt
rename : content/canvas/test/webgl/more/00_test_list.txt => content/canvas/test/webgl/more/00_testFIXME_list.txt
2010-08-25 08:14:12 -04: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
Vladimir Vukicevic
8531116032 b=589011; always check if webgl shader validator is enabled; r=joe, a=blocking 2010-08-19 19:50:38 -07:00
Zack Weinberg
bc4afbe28a Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Jim Mathies ext:(%2C%20Rob%20Arnold%20%3Crobarnold%40cs.cmu.edu%3E)
69070bf96e Bug 559613 - Reuse the rendering context for tab previews and drop the cache time to 5 seconds. r=robarnold,jimm sr=vlad
a=blocking2.0
2010-08-19 08:22:46 -07:00
Vladimir Vukicevic
aaaa0e8330 b=587304; fix no-op optimization back to what it really says; r=jrmuizel 2010-08-14 12:59:52 -07:00
Vladimir Vukicevic
af97417715 b=587304; fix some string usage in WebGL shader validation; r=jeff 2010-08-14 12:59:29 -07:00
Markus Stange
438fa8a236 Bug 506826 - Invalidate -moz-element rendering observers when necessary. r=roc 2010-08-13 15:36:13 +02:00
Vladimir Vukicevic
50178dcff6 b=585502; WebGL shader validation crash; r=bjacob 2010-08-09 23:51:56 -07:00
Vladimir Vukicevic
eb17125496 b=584815; enable WebGL shader validation and remove obsolete texture API; r=bjacob 2010-08-06 22:10:38 -07:00
Vladimir Vukicevic
c44e0d0074 b=583838; add ANGLE/D3D WebGL support - part 2 - build EGL on windows and try to use it; r=bjacob 2010-08-06 22:09:18 -07:00
Joe Drew
6bd778ec0d Bug 552809 - XSync the results of our out-of-process canvas draws after we've finished drawing, so we're able to reliably read the updated contents from the chrome process. r=cjones,romaxa a=blocking-fennec2.0a1+ 2010-08-05 13:46:00 -05:00
Bas Schouten
c9dbd837ab Bug 584663: Make sure we begin a new path for the rectangle/fill call. r=vlad
--HG--
extra : rebase_source : e2fe17353d43e90432f78c7e5848b9d74dee73f2
2010-08-05 21:39:00 +02:00
Benoit Jacob
232c2bb77d Bug 568761; WebGL memory leaks; r=vladimir 2010-08-05 09:58:47 -04:00
Benoit Jacob
dafc0ae8dd Bug 579529; fix validation Uniform and VertexAttrib functions taking arrays; r=vladimir 2010-08-05 09:55:56 -04:00
Jonathan Kew
f9fab4a776 bug 581092 - use unrounded width when advancing x-position to draw RTL text run in canvas. r=vlad a=blocking2.0 2010-08-05 10:18:39 +01:00