Commit Graph

571 Commits

Author SHA1 Message Date
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
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
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
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
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
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Vladimir Vukicevic
a827c80a2f b=583375; update ANGLE to r367; r=vlad 2010-07-30 15:22:11 -07:00
Bas Schouten
e02e026ac3 Bug 567169: Followup changeset 4a3e8596e8fc - addresses review comments I neglected to process when pushing the patch. a=blocking-betaN 2010-07-30 21:31:15 +02:00
Jeff Muizelaar
ea5785d3e3 Bug 576169: Use fill() where possible rather than clip-paint. r=vlad 2010-07-30 20:57:19 +02:00
Nicholas Nethercote
9dfbe8877d Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3, TM-specific part). r=gal. 2010-07-27 22:33:42 -07:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Bobby Holley
ff6a2fbd06 Bug 578511 - Canvas API to disable sync decoding of images.r=roc,sr=vlad 2010-07-26 17:20:45 -04:00
L. David Baron
cca635c194 Update to latest spec changes for ctx.font setter and getter. (Bug 508452) r=bzbarsky 2010-07-24 12:17:38 -07:00
L. David Baron
f6ad06f444 Revert incorrect changes made in http://hg.mozilla.org/mozilla-central/rev/f6beeb315747 (Bug 508452) r=bzbarsky
Note: the tests in this patch don't actually pass until the next one is applied as well.
2010-07-24 12:17:38 -07:00
Nicholas Nethercote
be11c2f1c9 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
73f4f96e19 Bustage fix for bug 552812. 2010-07-25 22:02:18 -07:00
Andreas Gal
a5591066f8 Don't use broken js_NewArrayObjectWithCapacity API (581264, r=bz,jst,dwitte). 2010-07-23 15:25:42 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre
38029f43fa Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
Ms2ger@gmail.com
0792cf5941 Bug 401788 - Canvas throws exceptions on invalid string values. r=sicking 2010-07-12 16:51:17 +02:00
Robert Sayre
34b4182b78 Merge mozilla-central to tracemonkey. 2010-07-08 18:15:52 -07:00
Robert Sayre
1ae649adc3 Merge mozilla-central to tracemonkey. 2010-07-06 11:05:39 -07:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Benoit Jacob
482cbc4e3f b=576620; fix bufferData parameter validation; r=vladimir 2010-07-03 18:34:07 -04:00
Benoit Jacob
54efe381b9 b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir 2010-07-03 18:33:05 -04:00
Benoit Jacob
75dbbc1f1f b=576067; Let WebGL use CheckedInt; r=vladimir 2010-07-03 18:32:19 -04:00
Benoit Jacob
df50b21008 b=576086; Remove sizeInBytes from WebGL; r=vladimir 2010-07-03 18:27:56 -04:00
Benoit Jacob
22cf5106de b=576081; Remove gfx/layers/opengl/glDefs.h; r=vladimir 2010-07-03 18:26:56 -04:00
Chris Jones
d37c23f270 Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05:00
Vladimir Vukicevic
560f0324e2 b=573720; some small fixes to make OSMesa work; r=bjacob 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
e25c12a8ab b=571831; use the new CreateOffscreen API in WebGL; r=bjacob 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
e5aa4fb514 b=575469; implement CreateOffscreen and context sharing in GLContexts; r=bas 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
dbd5cb620b b=575032; make GL Context providers static, allow for multiple providers; r=bas 2010-07-18 22:01:14 -07:00
timeless@mozdev.org
17c47ea0b8 Bug 579316 warning: "LOCAL_GL_MAX_VARYING_VECTORS" redefined
r=bjacob

--HG--
extra : rebase_source : 4c28828d1e0163efda83be33c256ef4b6bdf7951
2010-07-18 04:26:38 +03:00
Benoit Jacob
725da75b5b Bug 579191; crash in WebGLContext::CompileShader; r=vladimir 2010-07-16 15:23:01 -04:00
Benoit Jacob
dabf3bdbc0 b=578843; Fix uniform arrays; r=vladimir 2010-07-16 10:31:53 -04:00
Benoit Jacob
1744b25626 b=578164; better invalid enum messages; r=vladimir 2010-07-16 10:31:48 -04:00
Benoit Jacob
1cb4d4966e b=577016; Reject transpose; r=vladimir 2010-07-16 10:30:32 -04:00
Benoit Jacob
ed72295022 b=577013; Rework GetConcreteObject and friends, return INVALID_VALUE on unexpected null objects; r=vladimir 2010-07-16 10:30:32 -04:00
Benoit Jacob
60151b43cf b=578769; handling of count==0 in drawArrays and drawElements; r=vladimir 2010-07-16 10:30:31 -04:00
Benoit Jacob
9c0a0aef33 b=578439; fix webgl quickstubs; r=vladimir 2010-07-16 10:30:31 -04:00
Robert O'Callahan
8e44ae607d Bug 564991. Part 12: Refactor RenderDocument to use nsLayoutUtils::PaintFrame. r=mats 2010-07-16 09:07:52 +12:00
Robert O'Callahan
a7c0fe60ac Bug 564991. Part 2: Create retained layer API: methods on FrameLayerBuilder that frames can use to access, reuse and invalidate retained layers. r=mats,sr=vlad 2010-07-16 09:07:46 +12:00
Ms2ger@gmail.com
3ce7f6d318 Bug 571532 - Remove support for ctx.globalCompositeOperation = 'darker'. r=vlad
--HG--
extra : rebase_source : 0d4c977df2d807642228c4ebeca567dd40beb09d
2010-07-15 10:12:34 +02:00
Vladimir Vukicevic
54ce864ca8 b=571172; disable ANGLE compilation on Linux-x86_64, until build slaves are fixed 2010-07-14 20:52:37 -07:00
Vladimir Vukicevic
79bbb0f9ca b=571172; import and use ANGLE GLSL ES shader validator (disabled by default for now); r=joe 2010-07-14 20:52:34 -07:00
Robert Sayre
4ed4f1f76a merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Jonathan Kew
1341e3f276 bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
timeless@mozdev.org
aa5018590a Bug 576360 WebGLContext::VertexAttribPointer compares WebGLuint stride < 0
r=vlad

--HG--
extra : rebase_source : 640274fe5267a4caa6cf68fb1e0c9dec96fb6fbd
2010-07-02 17:21:13 +03:00
Vladimir Vukicevic
009c726767 b=582407; generate new layer if webgl context is resized; r=bjacob 2010-07-28 14:24:09 -07:00
Vladimir Vukicevic
74195c1120 b=580345; fix up some GLESv2 vs. desktop GL differences; r=joe 2010-07-28 14:24:09 -07:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Vladimir Vukicevic
bac000af87 b=580737; use correct webgl initial clear depth; r=bjacob 2010-07-21 12:34:26 -07:00
Markus Stange
deaa46fc54 Bug 572680 - Shuffle some gfx dependencies around. r=joe
--HG--
extra : rebase_source : 982a57f4466a69e6e6a2053794b6b09c2b470b12
2010-07-01 18:43:33 +02:00
Doug Turner
ba5d48b7ab merge with mc 2010-06-30 10:50:45 -07:00
Benoit Jacob
b98f0a2f67 b=573705; support ImageData signatures of tex[Sub]Image2D; r=vladimir 2010-06-30 11:51:34 -04:00
Benoit Jacob
a5df0a74df b=573705; fix computation of texel sizes and refactor WebGLenum validation functions; r=vladimir 2010-06-30 11:49:59 -04:00
Benoit Jacob
f1886bd4e3 b=573541; More WebGLenum validation/fixes; r=vladimir 2010-06-30 11:48:30 -04:00
Oleg Romashin
6366a23349 Bug 575526 - NON-IPC build is broken in e10s branch r=joe 2010-06-29 10:47:32 -07:00
Jeff Muizelaar
a0f3acaf98 Backout f298567cdf2c. Causes problems on linux 2010-06-29 16:31:20 -04:00
Jeff Muizelaar
2db84a3a1a Bug 575347. canvas: remove unnecessary call to UpdateSurfaceClip(). r=vlad
UpdateSurfaceClip isn't really useful so we can save some time by not calling
UpdateSurfaceClip.
2010-06-29 13:58:20 -04:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Vladimir Vukicevic
8645026b0b Bug 572274 - Canvas memory usage in about:memory is incorrect. r=robarnold 2010-06-29 00:04:13 +02:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Oleg Romashin
a4467eb490 Bug 568632 - rename MozGetShmemContent to MozGetAsyncContext. r=joe 2010-06-08 13:27:24 -04:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Daniel Holbert
a7de49793d Backed out changeset 5da9fc2be835 (Bug 557566) 2010-06-26 20:00:11 -07:00
Daniel Holbert
d37294426a Bug 557566, part 2: Add FAIL_ON_WARNINGS to Makefiles in some build-warning-free directories. r=ted 2010-06-26 14:25:22 -07:00
Oleg Romashin
7a883a2803 Bug 548437 - Implement a SysV shared memory backend for Shmem and allow them to be used with Xshm. r=joe,sr=vladimir 2010-06-04 09:58:22 -04:00
Oleg Romashin
b36fb69349 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
timeless@mozdev.org
1c329f2e8b Bug 565393 useless initialization of src in WebGLContext::DOMElementToImageSurface. r=vlad
--HG--
extra : rebase_source : fb8c42a04580f12e5d1ca89dd67861f8a2941bc8
2010-05-23 15:36:14 -07:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Vladimir Vukicevic
e976fe877d b=563701; add memory reporters for imglib, canvas, and some gfx surfaces; r=joe 2010-05-21 21:10:14 -07:00
Doug Turner
8f97a20153 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Jeff Walden
a8ac2fc31a Bug 565604 - Typed-array properties don't work when accessed from an object whose prototype is a typed array. r=vlad
--HG--
extra : rebase_source : 6ac630f7a9d2cb04a9a996c2a675be41130ea2b1
2010-05-19 14:25:20 -07:00
Vladimir Vukicevic
16351c92d3 Some DEBUG_vladimir stuff needs to run on GLES2 only (npotb) 2010-05-19 13:47:13 -07:00
timeless@mozdev.org
85e0ab7b5b Bug 565620 the NativeJSContext constructor needs to initialize more variables or the class needs to be much more careful; r=vlad 2010-05-19 13:47:07 -07:00
Vladimir Vukicevic
3d7e2b9c24 b=566129; synthesize GL errors instead of throwing exceptions in webgl; based on patch from Cedric Vivier <cedricv@neonux.com>; r=cedricv/vlad 2010-05-15 21:55:45 +08:00
Cedric Vivier
bc9e088401 b=566676; allow null as arg to teximage2d; r=vlad 2010-05-19 13:46:08 -07:00