Commit Graph

325 Commits

Author SHA1 Message Date
Robert O'Callahan
a976e4bcd0 Backed out changeset 1672d4c79e82 2010-03-04 17:50:28 +13:00
Robert O'Callahan
3b1564e57f Backing out more stuff to try to fix test failure 2010-03-04 17:50:01 +13:00
Robert O'Callahan
d1f6ca832a Backed out changeset c9ff351b0738 2010-03-04 17:49:36 +13:00
Robert O'Callahan
65a2683e00 Back out due to Linux-64 build bustage 2010-03-04 14:38:23 +13:00
Robert O'Callahan
5ef23a16ea Backed out changeset b35354fe21e3 2010-03-04 14:38:00 +13:00
Vladimir Vukicevic
42ec90deac b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
eeec82577a Update canvas tests to fix =~ usage and to mark passing tests as ok 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
fa7984e74f b=525984; [webgl] reset mThebesSurface on OSX in case of error to avoid crash; r=jrmuizel 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
02fe8f1b07 b=534735; use custom quickstubs for canvas fillStyle and strokeStyle; r=bz 2010-03-03 16:40:25 -08:00
Vladimir Vukicevic
eec75b1143 Nuke some stale/unused files 2010-01-22 18:29:49 -08:00
Zack Weinberg
96887d3f38 Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Ginn Chen
4658b768cd Bug 545097 [webgl] crash [@strstr] [@nsGLPbufferGLX::Init] on Sun Ray client r=vladimir 2010-03-02 13:54:34 +08:00
Michael Ventnor
25bc9c7d85 Bug 542361 - Fix and remove the GetUsedX assertions r=roc
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Robert O'Callahan
11a3d788af Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Jonathan Kew
d274131f59 Bug 548751 - make canvas respect the style's language when resolving fonts. r=dbaron 2010-02-26 08:58:48 -08:00
Jonathan Kew
f3a8507386 Bug 547267 followup - rename nsPresContext::GetLanguage to GetLanguageFromCharset for clarity. r=dbaron 2010-02-26 06:20:35 -08:00
Jonathan Kew
3d28b28018 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Serge Gautherie
271756558e Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
55ebf80987 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Dão Gottwald
5bf54b4622 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor
2b0c157e9a Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Vladimir Vukicevic
2beaf43c12 b=543680; [webgl] use correct enum to obtain number of texture units; r=jdaggett 2010-02-02 01:18:34 -08:00
Vladimir Vukicevic
4b74ead161 b=542336; webgl texImage2D broken due to overzealous argc checking (regression from bug 533663); r=jrmuizel 2010-01-26 14:23:49 -08:00
Vladimir Vukicevic
a3b000cac9 ugh, backout this until I figure out what's wrong with linux 2010-01-22 18:28:19 -08:00
Vladimir Vukicevic
6bffab46ef more bustage fix, linux 64-bit 2010-01-22 18:17:02 -08:00
Vladimir Vukicevic
4521fc20e4 bustage fix 2010-01-22 17:56:57 -08:00
Vladimir Vukicevic
ad09806b1d [webgl] (no bug, just removing unused/stale files) 2010-01-22 16:50:24 -08:00
Vladimir Vukicevic
21e2f78a75 b=539756; [webgl] remove old typed getters; r=jmuizelaar 2010-01-22 16:50:22 -08:00
Vladimir Vukicevic
553a8c9c5a b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
Peter Van der Beken
42d2df338a Back out changeset aa4791e4dad9 (Bug 529386 - optimize canvas.width = canvas.width) to fix orange. 2010-01-14 12:59:53 +01:00
Saint Wesonga
5d81ff915d Bug 529386 - optimize canvas.width = canvas.width. r=vlad 2010-01-14 11:45:57 +01:00
Robert O'Callahan
9778f1c9c6 Bug 366283. Enable canvas tests for correct compositing operators. 2010-01-07 13:55:08 +13:00
Robert O'Callahan
39ec4fde08 Bug 366283. Make canvas 'copy' operator behave as unbounded by clearing the surface before we render the source. r=jrmuizel 2010-01-07 13:55:08 +13:00
Robert O'Callahan
a8dbceb4f6 Bug 366283. Enable/disable shadows correctly as per spec. r=jrmuizel 2010-01-07 13:55:08 +13:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Chris Jones
4a0c6ae1dc bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Vladimir Vukicevic
4a9388f762 b=526957, use correct types 2009-12-02 13:38:39 -08:00
Mark Steele
6714e94c89 b=529717, change webgl object prefix to WebGL instead of Canvas; r=vlad 2009-12-02 13:38:39 -08:00
Mark Steele
4aacb4b100 b=526957; add array indexers to webgl arrays; r=vlad 2009-12-02 13:38:38 -08:00
jacek@codeweavers.com
e3e929e6b1 Bug 516213 - Fix webgl compilation on mingw. r=vlad 2009-12-02 13:38:38 -08:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Vladimir Vukicevic
65e9728bf5 b=525673; not repainting correctly on canvas animation; r=roc 2009-11-18 12:55:59 -08:00
Mark Steele
87b01b3cfc b=526185, [webgl] accept WebGLArrays instead of JS arrays in texImage2D; r=vlad 2009-11-18 12:42:35 -08:00
Mark Steele
63bf2da952 b=526017, [webgl] collapse state query calls; r=vlad 2009-11-18 12:42:35 -08:00
L. David Baron
4ee286e827 Call RuleMatched method on CSS rules when they are matched. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
Boris Zbarsky
99027aa785 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Chris Jones
fb5e908958 bug 525677: shuffle some headers to appease gcc 4.2. IRC r=fred23,bsmedberg 2009-11-04 23:11:33 -06:00
Benjamin Smedberg
bbfa38694c Bug 523224 - nsFrameLoader::TryNewProcess crashes if reflow hasn't happened yet and created a view for our remote tab. Fix this by separating the process of creating the IFrameEmbedding and hooking up the view. IFrameEmbedding creation is analogous to creating a docshell, and we can hook up the view/widget hierarchy later.
* * *
imported patch fennelectrolysis-workihng
2009-10-28 16:41:46 -04:00
Benjamin Smedberg
dc8e9dc660 Bug 525106 - Make WebGL compile with UNCODE defined or not-defined by using explicit W annotations on the relevant functions/structs, r?vlad 2009-10-29 14:48:21 -04:00
Joe Drew
f911423115 Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-29 13:58:31 -04:00
Joe Drew
ba49904511 Back out asyncDrawXULElement, since WebGL isn't ready to be compiled with -DUNICODE. 2009-10-28 18:51:59 -04:00
Joe Drew
b35a06c330 Missed one nsresult->bool fix. 2009-10-28 17:29:12 -04:00
Joe Drew
9a1d3b9f0a Bug 505847 - Fix non-MOZ_IPC builds. 2009-10-28 17:27:28 -04:00
Joe Drew
00437f1258 Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-28 16:55:49 -04:00
Mike Kristoffersen
c455958dbd Bug 526304 - White spaces at EOL in nsCanvasRenderingContext2D.cpp. r=vlad 2009-11-05 14:54:35 +01:00
Daniel Holbert
4e279efed4 Bug 526423: Remove unused variables in WebGLContextValidate.cpp to fix build warning. r=mwsteele 2009-12-10 09:26:27 -08:00
mwsteele@gmail.com
f782295830 b=528013; [webgl] BindFramebuffer checking target against wrong constants; r=vlad 2009-12-07 15:10:04 -08:00
Vladimir Vukicevic
e76548dd8f [webgl] revert part of previous commit, exposes strange latent bug 2009-12-06 19:29:17 -08:00
Vladimir Vukicevic
2e0f9d6bd7 b=523959; [webgl] enable WebGL with EGL on Maemo and WinCE; r=stuart 2009-12-06 16:07:58 -08:00
Vladimir Vukicevic
4353ae576f b=532541; [webgl] drawElements needs to support ubyte as well as ushort index arrays; r=mwsteele 2009-12-06 16:07:56 -08:00
Jim Blandy
c93384a279 Bug 517566: Enable WebGL in configure.in, and check for requisite headers. r=vladimir,r=dbaron 2009-10-27 09:05:51 -07:00
Benjamin Smedberg
9c88ee28a3 Bug 525106 - Make WebGL compile with UNCODE defined or not-defined by using explicit W annotations on the relevant functions/structs, r=vlad
--HG--
extra : rebase_source : 4a1092dc67cc0f9a2c93cf2564ac5fd1e49a8bc8
2009-11-11 14:25:42 -05:00
Mark Steele
5a808159d5 b=524042, [webgl] texImage & texSubImage need to support flipY, r=vlad 2009-11-01 16:33:47 -08:00
Vladimir Vukicevic
bd9d980243 [webgl] Reland earlier-backed out patches, b=520708, b=520920, b=522201; r=me/mwsteele 2009-11-01 16:33:39 -08:00
Vladimir Vukicevic
bd38bc47ba Revert previous commits due to weird talos crash. 2009-10-30 01:09:24 -07:00
Vladimir Vukicevic
69504aa621 fix type bustage 2009-10-29 23:47:51 -07:00
Mark Steele
bdd6d45aee b=522201, [webgl] clear() doesn't call invalidate correctly, r=vlad 2009-10-29 23:01:06 -07:00
Mark Steele
37c453311d b=520708, [webgl] crash at WebGLFramebuffer assignment, r=vlad 2009-10-29 23:01:06 -07:00
Vladimir Vukicevic
dd411b7dd9 b=520920, update webgl arrays to support views, part2; r=mark 2009-10-29 23:01:06 -07:00
Mark Steele
a2670491ca b=520920, update WebGL arrays to support views, r=vlad 2009-10-29 23:01:06 -07:00
Johnny Stenback
039b7eb41d Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Boris Zbarsky
16e03f7999 Bug 497794. Don't allocate two copies of the image data when doing GetImageData/CreateImageData, just to throw one away immediately. r=robarnold,jwalden 2009-10-26 16:57:41 -04:00
Olli Pettay
572d40007e Bug 521608 - nsCanvasRenderingContext2D::GetPresShell may crash or leak, r=vlad, sr=jst 2009-10-24 18:02:26 +03:00
Daniel Holbert
50681f7146 Bug 518894: Remove unused variable 'argPixelsLen' in WebGLContextGL.cpp. r=vlad 2009-10-19 16:57:50 -07:00
Vladimir Vukicevic
7a249d6564 b=523229; WebGL rename clearDepthf/depthRangef to get rid of f suffix; r=mwsteele 2009-10-19 15:14:09 -07:00
Saint Wesonga
9c0060a84d Bug 467988 - delete unused test files after speeding up canvas mochitests, r=roc 2009-10-17 18:19:26 -07:00
Vladimir Vukicevic
8a342dc565 bustage fix for webgl-disabled builds 2010-06-02 14:05:24 -07:00
Benoit Jacob
c36ca62771 b=567449; fix webgl param getters; r=vlad 2010-06-01 23:09:19 -07:00
Benoit Jacob
4c1b5ed665 b=565404; add WebGLUniformLocation object; r=vlad 2010-06-01 23:09:19 -07:00
Benoit Jacob
d834cb1e8c b=567565; better WebGL buffer validation for element array buffers; r=vlad 2010-06-01 23:09:18 -07:00
Vladimir Vukicevic
449d599aa8 b=568526 (related); add env var for switching 2d canvas to image surfaces; r=bz 2010-05-28 21:13:08 -07:00
Vladimir Vukicevic
0c765f221e b=520136; clear canvaselement member on SetCanvasElement; r=joe 2010-05-28 16:41:02 -07:00
Vladimir Vukicevic
1a00421b87 b=551771; WebGL calls broken with boolean args in loop (qsgen octet handling); also rename all WebGL types to avoid conflicts with system GL types; r=jorendroff,joe 2010-05-28 15:52:39 -07:00
Benoit Jacob
dcd971b230 b=525538; webgl readPixels fix; r=vlad 2010-05-26 16:53:15 -07: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
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
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
Vladimir Vukicevic
181dc2f7d0 b=561168, removed too much from the NotSupported webgl file, putting it back 2010-05-19 13:46:08 -07:00
Benoit Jacob
7dfee0fad7 b=565417; add OSMesa GLContextProvider (pbuffers only); r=vlad 2010-05-19 13:46:08 -07:00