Commit Graph

416 Commits

Author SHA1 Message Date
Doug Turner
d08632917d Merge with mc 2010-03-08 10:09:55 -08:00
Markus Stange
d7e8315247 Bug 549747 - Fix a bad null check in WebGLContext::ValidateProgram. r=vlad 2010-03-08 13:28:19 +01:00
Markus Stange
90f17b8799 Bug 549747 - Add a null check for tex in WebGLContext::FramebufferTexture2D. r=vlad 2010-03-08 13:27:22 +01:00
Peter Van der Beken
e5d87ec5bb Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Doug Turner
5daaf36bf1 Merge 2010-03-01 15:36:51 -08:00
Chris Jones
bc05dd163b Merge from mozilla-central 2010-02-22 21:31:18 -06:00
Jae-Seong Lee-Russo
30218c70c3 Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Vladimir Vukicevic
e86557b1a2 b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
9f83ebcfb7 Nuke some stale/unused files
* * *
attempt to fix x86-64 burning
2010-01-22 18:29:49 -08:00
Robert O'Callahan
daba5acae2 Backing out bug 534467 to try to fix test failure 2010-03-04 17:50:57 +13:00
Robert O'Callahan
a976e4bcd0 Backed out changeset 1672d4c79e82 2010-03-04 17:50:28 +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
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
Saint Wesonga
9427e2d267 Bug 542930: Check return value of CallGetService in NativeJSContext.cpp. r=vlad 2010-03-10 12:32:40 -08:00
Justin Lebar
f7fb801ff8 Bug 519400: Speed up Canvas's [get|put]ImageData() r=vlad 2009-12-04 19:21:45 -08: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
Julian Seward
84617e1046 Bug 549501 - nsCanvasRenderingContext2D::DrawImage redraws undefined rectangles. r=vlad 2010-03-11 07:43:20 +01:00
timeless@mozdev.org
23d8836728 Backed out changeset ff971b92f74c 2010-04-28 10:18:46 +02:00
timeless@mozdev.org
ca471192ce Bug 551089 fix canvas warnings
r=vlad
2010-04-28 10:13:38 +02:00
Vladimir Vukicevic
d23a940437 b=571078; fix webgl attribute validation; r=bjacob 2010-06-10 10:45:00 -07:00
Vladimir Vukicevic
77abe946b5 b=570660; add ability to resize pbuffer GL contexts; r=joe 2010-06-09 15:07:12 -07:00
Daniel Holbert
ca818b27ce Bug 570257: fix unsigned/signed comparison build warning in WebGLContextValidate.cpp. r=vlad 2010-06-09 13:28:29 -07:00
Vladimir Vukicevic
65c3a85ff2 b=570538; [webgl] fix up buffer validation with interleaved data; r=bjacob 2010-06-08 15:14:43 -07:00
Benoit Jacob
81a5415676 # User Benoit Jacob <bjacob@mozilla.com>
b=569976; Make GetUniformLocation preserve equality, and invalidate uniform locations on relinking of program; r=vladimir
2010-06-08 17:25:27 -04:00
Benoit Jacob
4df06c8cec b=569943; validate Enable/Disable args; r=vladimir 2010-06-08 14:45:23 -04:00
Benoit Jacob
a28efc37b4 b=569714; Pass WebGL gl-get-calls conformance test; r=vladimir 2010-06-08 10:40:23 -04:00
Benoit Jacob
f831941708 b=569731; Implement canvas attribute in WebGLContext; r=vladimir 2010-06-08 10:34:56 -04:00
Robert Sayre
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
L. David Baron
3eacc25287 Split nsStyleSet::ResolveStyleForRules into two different APIs for the two different types of uses. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
Robert Sayre
404189ee98 Merge mozilla-central to tracemonkey. 2010-04-02 10:10:27 -04:00
Robert Sayre
baeb2d1edf Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Jeff Walden
ba84f1175f Readd ctypes, xpconnect, plugin, xpinstall, canvas, and typed array changes from bug 548702. 2010-03-29 19:47:40 -07:00
Jeff Walden
0973dfd6ab Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
95422c65a3 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Vladimir Vukicevic
e50b68c1f6 b=548200; incorrect static array size; r=joe,sr=roc 2010-04-01 14:36:26 -07:00
Robert Sayre
6303fcb826 Bustage fix: Change canvas quickstub tvr usage to the new name. 2010-03-13 12:13:03 -05:00
Robert Sayre
84b14d6f30 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Jeff Walden
106fbd8085 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Robert Sayre
5cf27a725e Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Nicholas Nethercote
c8a754a27d Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Andreas Gal
9d5b1c0316 Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Robert Sayre
27b5a3b6fb Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Robert Sayre
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Luke Wagner
f032df96b4 Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Benjamin Smedberg
3ad7eb7f3a Merge mozilla-central into electrolysis. 2010-02-09 21:22:09 -05:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Benjamin Smedberg
f64a66954c Merge mozilla-central into electrolysis. 2010-02-03 13:28:22 -05: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
Benjamin Smedberg
1e0aa446aa Merge mozilla-central into electrolysis. 2010-01-27 09:56:07 -05:00
Benjamin Smedberg
0ba2d6e348 Merge mozilla-central with electrolysis. 2010-01-25 11:57:19 -05: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
Benjamin Smedberg
570f731f49 Merge mozilla-central to electrolysis. 2010-01-07 22:11:14 -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
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
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
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
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
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
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
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Boris Zbarsky
ca01cf3893 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04: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
Rob Arnold
effa8413e8 Bug 508860 - Crash [@ nsCanvasRenderingContext2D::InitializeWithSurface]
r=vladimir
2009-09-21 18:19:24 +02:00
Mark Steele
f010e409f2 b=517717; fix up webGL array compat (rename WebGL*Array->Canvas); r=vlad 2009-09-20 14:33:40 -07:00
Mark Steele
56bcb7f28d b=517717; fix up webgl impl array args, accept Canvas*Arrays as valid params; r=vlad 2009-09-20 12:05:25 -07:00
Vladimir Vukicevic
191e11b68b b=517729; rename more canvas3d prefs to webgl; r=mwsteele 2009-09-20 12:05:23 -07:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Olli Pettay
c9f70daaaa b=516213; followup fix for older linux systems; r=vlad 2009-09-18 16:53:27 -07:00
Vladimir Vukicevic
51833424c4 b=517559; remove runtime (startup) dependency on opengl32.dll, to fix Ts; r=mwsteele 2009-09-18 16:48:36 -07:00
Vladimir Vukicevic
411b62d064 b=517557; remove --enable-canvas; r=ted 2009-09-18 16:48:35 -07:00
Vladimir Vukicevic
371933ca83 b=516213; Freshen WebGL implementation and enable on trunk (part 2); r=mwsteele,roc 2009-09-17 23:01:12 -07:00
Mark Steele
aa9ed3207a b=516213; freshen WebGL implementation and enable on trunk (part 1); r=vlad 2009-09-17 23:01:07 -07:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Neil Rashbrook
a7a6159b14 Bug 513156 VC7.1 bustage fix r=vlad 2009-09-04 22:57:33 +01:00
Mark Steele
0a322165de b=513156; update Canvas 3D to implement WebGL (still disabled by default via configure); r=vlad 2009-09-02 17:47:49 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
L. David Baron
48c0c7d6aa Remove InspectorCSSUtils, part 1: Move GetStyleContextForContent to nsComputedDOMStyle. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
bcebc6f79b Add more parameters to nsStyleSet::ResolveStyleForRules. (Bug 435441) r=bzbarsky 2009-08-10 15:52:29 -07:00
Peter Weilbacher
03d2968cb4 Bug 509188 - Fix OS/2-only build break in nsCanvasRenderingContext2D.cpp, r=bzbarsky 2009-08-10 10:39:02 +02:00
Rob Arnold
7697869972 Bug 502715 - Enable the canvas 2d context to function without an actual canvas element r=vladimir 2009-08-04 14:36:02 -07:00
Takanori MATSUURA
db49dc246f Bug 505663. Remove obsolete header files from canvas3D. r=jdrew 2009-08-04 09:52:07 +12:00
Rob Arnold
4b817e70c5 Bug 503355 - drawWindow should have an option to draw with scrollbars and at the current viewport r=vladimir
--HG--
extra : rebase_source : afad172931caa4d1fa37edeeaabec0e933cc447c
2009-07-21 15:45:21 -07:00
Mats Palmgren
a3f1cd61e9 Fix --enable-canvas3d build error with gcc 4.3.3. b=501004 r=vlad 2009-07-02 11:57:36 +02:00
Mats Palmgren
d16962b638 Remove unnecessary #includes. b=500988 r=roc 2009-07-02 11:57:35 +02:00
timeless@mozdev.org
b9104e9f88 Bug 494688 nsCanvasRenderingContext2D::CreateImageData warning: comparison between signed and unsigned
r+sr=vlad
2009-06-27 18:42:51 -07:00
Vladimir Vukicevic
5e215020b8 fixup for msvc 2009-06-27 17:33:06 -07:00
Vladimir Vukicevic
d49b688ab5 b=500883; put canvas3d into core (disabled by default, configure flag to enable); r=me,npotb 2009-06-27 16:44:35 -07:00
Vladimir Vukicevic
4ffe8ab539 b=500493; fix bogus getter_AddRefs in canvas code; r=stuart 2009-06-27 16:44:32 -07:00
Vladimir Vukicevic
408d89bc73 b=492724 followup; put back original CheckSaneSubrectSize 2009-06-25 14:12:57 -07:00
Vladimir Vukicevic
5ffc3df659 b=487693; avoid aggressive invalidation in canvas; r=roc 2009-06-25 13:31:35 -07:00
Vladimir Vukicevic
ce0b21af22 b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Saint Wesonga
478108b350 Reset clipping region it PutImageData so that it doesn't clip the output, per spec. r=vlad sr=dbaron (Bug 433397) 2009-06-23 14:09:27 -07:00
Dirk Schulze
af1d0235a1 Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.

Relanding this now that 499161 has landed which should fix test failures.
2009-06-17 13:57:50 -04:00
Jeff Muizelaar
ea694cb6f0 Backout Bug 471281 changeset b116b49459f8 because of Mochitest failures on Mac OS X 2009-06-17 16:43:12 -04:00
Robert Longson
1973deec58 Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
Dirk Schulze
50a8dd0633 Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.
2009-06-17 13:57:50 -04:00
Boris Zbarsky
7b0ee90b96 Bug 495499. Speed up PutImageData for cases when the array contains doubles. r=brendan,vlad,jorendorff 2009-06-11 10:35:41 -04:00
Jeff Muizelaar
6038010641 bug 473443 - drawImage of canvas onto self is incorrect r=vlad 2009-04-20 11:26:44 -04:00
Boris Zbarsky
fcb79320f6 Bug 485631 followup. Only disable the dirty frae asserts under drawWindow if the flag to not flush was passed in. r+sr=roc 2009-04-09 12:43:15 -04:00
Vladimir Vukicevic
008463d971 b=483412; don't overaggressively invalidate on canvas drawWindow; r=roc 2009-04-08 13:27:20 -07:00
Vladimir Vukicevic
5289a01dc6 b=436932, add imageRenderingQuality property to 2D canvas, r=roc 2009-04-07 12:05:41 -07:00
Jeff Muizelaar
9980cb2188 Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Robert Longson
b2f8e75361 Bug 486934 - video display should take account of image-rendering CSS property. r+sr=roc 2009-04-06 12:05:29 +01:00
Joe Drew
fc5c15825a Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar
eaef2088cb Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
Doug Turner
b9def8385d Backing out bug 473443 - drawImage of canvas onto self is incorrect. WINCE only. 2009-03-12 09:56:44 -07:00
Doug Turner
6418098a80 Bug 473443 - Backing out bitblt for windows ce. This patch causes image sheering in fennec. r=blassey 2009-03-05 10:27:27 -08:00
Jonathan Kew
94391277aa Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
L. David Baron
696da4e4ee Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 09:48:37 -08:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
84cbc5d035 Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-19 07:29:27 -08:00
Ginn Chen
b09d87a170 Bug 479022 fast path of nsCanvasRenderingContext2D::PutImage() is wrong on BIG ENDIAN machine r=vladmir 2009-02-19 21:00:41 +08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
ba0329dd6d Initialize mLastStyle to avoid valgrind warnings. (Bug 477961) r=vlad 2009-02-18 17:13:24 -08:00
Vladimir Vukicevic
67e7923d04 Dummy checkin for CLOSED TREE (patchset is Windows CE only) 2009-02-12 18:26:02 -08:00
Brad Lassey
bb73fc3637 bug 473443 - drawImage of canvas onto self is incorrect r=jrmuizel,vlad 2009-02-10 18:44:40 -05:00
L. David Baron
f8774a93ef Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Robert O'Callahan
4659c94f44 Bug 472244. Flush out MozAfterPaint for previously painted areas before we go ahead and fire MozReftestInvalidate to test invalidation. Also make canvas.drawWindow take float parameters so we can more precisely specify the area to render when 'device pixels' don't match CSS pixel boundaries. r=dbaron,vlad 2009-01-07 21:31:36 +13:00
Stuart Parmenter
91c3580bb5 bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me 2008-12-12 02:50:31 -08:00
Martin Stránský
bbe42c7104 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson
5286ba753b backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
Michael Ventnor
e758b80cd9 Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Markus Stange
6ea716947b Bug 459796 - fixing unit test orange, r+sr=roc 2008-10-14 11:29:53 +02:00
Stuart Parmenter
e8fef4bbbc bug 459796. Add optional flags to drawWindow to allow finer control. r=vlad 2008-10-13 23:29:30 -07:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Taras Glek
da36423743 s/if NS_FAILED(rv)/if(NS_FAILED(rv)/ sr=roc 2008-09-25 18:44:05 -07:00
Vladimir Vukicevic
4f48417c20 b=310682, add support for shadows in HTML Canvas; patch from Eric Bulter; r=vlad 2008-09-25 12:53:52 -07:00