Commit Graph

3337 Commits

Author SHA1 Message Date
Robert O'Callahan
763a5f47a7 Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones 2011-04-19 15:07:22 +12:00
Robert O'Callahan
cffed533b7 Bug 641426. Part 4: Create Margin template. r=joe,sr=cjones 2011-04-19 15:07:22 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
8b71e83f60 Bug 641426. Part 2.5: Make gfxBlur bail out in all cases where the blur rect is empty. r=tnikkel 2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
John Daggett
a5724434f7 Bug 634286. Remove font cache size info from about:support on Windows. r=jmuizelaar 2011-04-19 10:11:09 +09:00
Matt Woodrow
c43047b608 Bug 648741 - Correctly bind pixmaps to textures during the draw call on X11 accelerated layers. r=bjacob 2011-04-19 10:50:54 +12:00
Matt Woodrow
8fd6e01911 Bug 638323 - Skip unnecessary MakeCurrent calls in GLContextProviderCGL. r=bjacob 2011-04-19 10:49:00 +12:00
Matt Woodrow
1b93d0832f Bug 586508 - Improve GL error code output. r=bjacob 2011-04-19 10:47:40 +12:00
Timothy B. Terriberry
371832a9bb Bug 634557 - Implement ScaleYCbCr42xToRGB565_BilinearY_Row_NEON, r=jbramley 2011-04-14 17:34:18 -07:00
Timothy B. Terriberry
bc00a0826c Bug 634557 - ScaleYCbCrToRGB565: Reference C version, r=doublec 2011-04-14 17:32:15 -07:00
Zack Weinberg
8f84e87563 Bug 174055, part 8: change GetLanguage to return a raw nsIAtom*. 2011-04-14 10:43:21 -07:00
Zack Weinberg
2c3c349dad Bug 174055, part 7: remove unnecessary members from nsFontMetrics. 2011-04-08 08:32:29 -07:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
1c1eb035f0 Bug 174055, part 3: deCOM ns(I|Thebes)FontMetrics. Code outside gfx/ not fixed up.
--HG--
rename : gfx/src/nsThebesFontMetrics.cpp => gfx/src/nsFontMetrics.cpp
rename : gfx/src/nsThebesFontMetrics.h => gfx/src/nsFontMetrics.h
2011-04-07 18:05:26 -07:00
Zack Weinberg
d6425e8bd1 Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics. 2011-04-07 18:05:25 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
f5d56fa57a Bug 648197 (2/2): make nsIDeviceContext::FirstExistingFont and ::GetLocalFontName into complete stubs; remove the alias table. 2011-04-07 14:47:04 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
d8db59d068 Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1 Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00
Zack Weinberg
b7e2ce1e01 Bug 266236 part 5: Make all nsRenderingContext methods with no out-parameters and that never fail return nothing.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 7c11bd0cd2a93d30347a1bb6c1b7675e85f0f579
2011-04-07 18:04:40 -07:00
Zack Weinberg
5a4a96e54e Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b2911406bbe1b5995d1a501c59e02b5fffefa390
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
09deeaef3d Bug 266236 part 2: Merge nsIRenderingContext with nsThebesRenderingContext (the sole implementation) and remove XPCOM vestiges. Non-mechanical fixups. DOES NOT COMPILE without part 3.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 9e149d30da5222d072071043d30d83033fec9787
2011-04-07 18:04:39 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Landry Breuil
5334f0f25b Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic 2011-04-14 17:48:27 +09:00
Zack Weinberg
2698de77fc Fix partial DOS line endings in nsRect.cpp, rs=khuey, no bug
--HG--
extra : rebase_source : 0bf86cf3015a3eecb19282159277581656136734
2011-04-13 10:16:36 -07:00
Jonathan Kew
99d0c392b8 bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
Jonathan Kew
5a633fc5ed bug 636957 - ensure DWrite font list is initialized in GetFontFamilyList(). r=jdaggett 2011-04-13 08:28:34 +01:00
Ms2ger
4c894d44d4 Backed out changeset 3f82f25d7334 2011-04-12 14:28:53 +02:00
Jonathan Kew
d9c320b9df bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
Matt Woodrow
38a5c34624 Bug 640082 followup - Fix typo that caused all black rendering with accelerated layers on X. r=bjacob
--HG--
extra : rebase_source : 38479709267224557c0e619a71430a3505806e40
2011-04-12 00:36:13 -07:00
Benoit Jacob
0a4801660a Bug 649233 - Include ANGLE r611. r=joe
--HG--
extra : rebase_source : 7d917f7bdca76e0abbea6ce5ac41154e2285ec79
2011-04-12 00:36:13 -07:00
Benoit Jacob
d78d9c76dd Bug 649233 - Include ANGLE r551. r=joe
--HG--
extra : rebase_source : 0124d3285a5b552b129e7057ce5a7bec23d3f3bf
2011-04-12 00:36:13 -07:00
Joe Drew
8452c3dcf1 Bug 641630 - Write proper makefiles for ANGLE. r=bjacob,khuey,ted
--HG--
extra : rebase_source : ff1657325b7ccb3dede8ab587c16e1749ab28c46
2011-03-29 18:16:39 -04:00
Joe Drew
e8ff106234 Bug 641630 - Rename compiler/debug.{h,cpp} to compiler/compilerdebug.{h,cpp} r=bjacob
--HG--
rename : gfx/angle/src/compiler/debug.cpp => gfx/angle/src/compiler/compilerdebug.cpp
rename : gfx/angle/src/compiler/debug.h => gfx/angle/src/compiler/compilerdebug.h
extra : rebase_source : cc2d21846981ffd28bf0d7215274171569f43bbd
2011-03-29 18:16:39 -04:00
Zack Weinberg
1a54f9512d Bug 648385: Remove gfxFont::GetUniqueName, r=jdaggett
--HG--
extra : rebase_source : 41f923803127440ab903e91c7f24e020b97b83f5
2011-04-11 17:59:42 -07:00
Bas Schouten
9f51158443 Bug 600760: Optimize mask with rectangular clip. r=jrmuizel 2011-04-11 16:42:05 -07:00
Benjamin Stover
3dc5b1f7a2 Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-11 13:53:01 -07:00
Ehsan Akhgari
8e2d030028 Merge mozilla-central into cedar 2011-04-11 13:11:47 -04:00
Doug Turner
bb9cf72cbb Backing out Bug 598736 - Use bilinear image scaling on mobile. Perf regression caused. r=me 2011-04-11 09:25:59 -07:00
Jonathan Kew
6206d783fa bug 644184 - ensure basic arabic shaping features are applied before ligature formation. r=jdaggett 2011-04-11 16:33:12 +01:00
Jonathan Kew
5b310ec5f3 bug 638764 - followup, fix a bunch of compilation warnings in cairo build. r=bas 2011-04-11 13:02:51 +01:00
Jonathan Kew
97dc391126 bug 638764 - print DirectWrite text via ExtTextOut using a GDI font, to get decent PDF output. r=bas 2011-04-11 13:02:31 +01:00
Jonathan Kew
95036edb98 bug 623495 - revise prefs for dispatching scripts to shaping backends; enable harfbuzz for Hebrew on OS X. r=smontagu 2011-04-11 12:17:31 +01:00
Rich Walsh
463cdad8da Bug 648472 - [OS/2] avoid crashes when FcFontMatch() fails; r=wuno 2011-04-09 23:32:09 -04:00
L. David Baron
ad4318958b Back out 1edfae12015b (Bug 642246) due to mobile unittest orange. 2011-04-09 18:21:27 -07:00
Benjamin Stover
3270dd31cd Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-09 12:38:28 -07:00
Jeff Muizelaar
4b4fccbd45 Bug 648446. Remove -pedantic from CFLAGS in qcms. r=khuey
-pedantic causes warnings that we don't care about
2011-04-08 11:34:16 -07:00
Tim Terribe
cb46080bbf Bug 641014 - Fix broken NEO Y'CbCr to RGB conversion - r=doublec
--HG--
extra : rebase_source : fddd6ccddd083484c8b46a53747fb2058a46463e
2011-04-09 06:59:22 +12:00
Tim Terribe
6bbc2a8bd4 Bug 583958 - Add NEON detection to SSE.h - r=jmuizelaar
--HG--
extra : rebase_source : 2ae9de7e5a914e7ea30c3ef432edfa100027d656
2011-04-09 06:57:52 +12:00
Chris Double
8ea4897f3e Bug 639415 - Disable prescaling of videos if they have an offset due to chromium scaling code not supporting offsets - r=kinetik
--HG--
extra : rebase_source : 0b72a504f731a81a498876a28dfae0d7c4aebded
2011-03-14 17:31:48 +13:00
Oleg Romashin
631800dfd2 Bug 607417 - Part1: position:fixed frames mark layers r=roc
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Ehsan Akhgari
c142d20d2c Merge cedar into mozilla-central 2011-04-08 11:05:22 -07:00
Matt Brubeck
170c710ac7 Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel 2011-04-08 10:15:37 -07:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Ms2ger
1528a3aa42 Bug 647552 - Uninitialized variables in GLXLibrary::EnsureInitialized; r=bjacob 2011-04-07 21:55:10 -07:00
Matt Woodrow
099fef4367 Bug 641250 - Rename GLContext::TextureState::Initialized to Allocated. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
6043fccf2f Bug 640082 - Part 5 - Use texture_from_pixmap in CairoImageOGL. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
c2d0ad4ae4 Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
30e6da146a Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe 2011-04-07 16:58:08 -07:00
Jeff Muizelaar
c64cd62159 Bug 646321. qcms: Avoid implicit conversion to double. r=bjacob
The double literal will cause us to unnecessarily convert to double.
2011-04-07 16:59:12 -07:00
Matt Woodrow
179c7950e6 Bug 640082 - Part 2 - Use texture_from_pixmap in CanvasLayerOGL. r=joe 2011-03-09 10:41:10 +13:00
Matt Woodrow
0ff89b8752 Bug 640082 - Part 1 - Add texture_from pixmap support to GLContextProviderGLX. r=joe 2011-04-07 16:58:07 -07:00
Robert O'Callahan
acc1dd656b Bug 647315. Update ThebesLayerOGL with the same fix. r=mattwoodrow 2011-04-06 16:38:01 -07:00
Robert O'Callahan
de0d6f2c5e Bug 647315. Back out one line of changeset 844579d34200. r=mattwoodrow 2011-04-06 16:37:56 -07:00
Matheus Kerschbaum matjk7@gmail.com
83489c2891 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
--HG--
extra : rebase_source : bd8d7491d0fee17e0319ce130bd2988fefe82e93
2011-04-06 21:59:25 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Makoto Kato
0aac0cc47c Bug 644054 - Support WOFF on Android; r=jfkthame 2011-03-22 21:40:00 -04:00
Benoit Jacob
a4d00bab86 Bug 640064 - crash [@ libc.so@0x1c25e] going to about:support crashes ideos s7; r=jmuizelaar 2011-03-09 05:17:00 -05:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
29f9a86daa Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Zack Weinberg
2ec3d0e203 Bug 571989, much-delayed part 6: merge gfx/src/thebes into gfx/src. r=joedrew
--HG--
rename : gfx/src/thebes/mozilla-decoder.cpp => gfx/src/mozilla-decoder.cpp
rename : gfx/src/thebes/mozilla-decoder.h => gfx/src/mozilla-decoder.h
rename : gfx/src/thebes/nsIThebesFontMetrics.h => gfx/src/nsIThebesFontMetrics.h
rename : gfx/src/thebes/nsSystemFontsAndroid.cpp => gfx/src/nsSystemFontsAndroid.cpp
rename : gfx/src/thebes/nsSystemFontsAndroid.h => gfx/src/nsSystemFontsAndroid.h
rename : gfx/src/thebes/nsSystemFontsGTK2.cpp => gfx/src/nsSystemFontsGTK2.cpp
rename : gfx/src/thebes/nsSystemFontsGTK2.h => gfx/src/nsSystemFontsGTK2.h
rename : gfx/src/thebes/nsSystemFontsMac.h => gfx/src/nsSystemFontsMac.h
rename : gfx/src/thebes/nsSystemFontsMac.mm => gfx/src/nsSystemFontsMac.mm
rename : gfx/src/thebes/nsSystemFontsOS2.cpp => gfx/src/nsSystemFontsOS2.cpp
rename : gfx/src/thebes/nsSystemFontsOS2.h => gfx/src/nsSystemFontsOS2.h
rename : gfx/src/thebes/nsSystemFontsQt.cpp => gfx/src/nsSystemFontsQt.cpp
rename : gfx/src/thebes/nsSystemFontsQt.h => gfx/src/nsSystemFontsQt.h
rename : gfx/src/thebes/nsSystemFontsWin.cpp => gfx/src/nsSystemFontsWin.cpp
rename : gfx/src/thebes/nsSystemFontsWin.h => gfx/src/nsSystemFontsWin.h
rename : gfx/src/thebes/nsThebesDeviceContext.cpp => gfx/src/nsThebesDeviceContext.cpp
rename : gfx/src/thebes/nsThebesDeviceContext.h => gfx/src/nsThebesDeviceContext.h
rename : gfx/src/thebes/nsThebesFontEnumerator.cpp => gfx/src/nsThebesFontEnumerator.cpp
rename : gfx/src/thebes/nsThebesFontEnumerator.h => gfx/src/nsThebesFontEnumerator.h
rename : gfx/src/thebes/nsThebesFontMetrics.cpp => gfx/src/nsThebesFontMetrics.cpp
rename : gfx/src/thebes/nsThebesFontMetrics.h => gfx/src/nsThebesFontMetrics.h
rename : gfx/src/thebes/nsThebesGfxFactory.cpp => gfx/src/nsThebesGfxFactory.cpp
rename : gfx/src/thebes/nsThebesRegion.cpp => gfx/src/nsThebesRegion.cpp
rename : gfx/src/thebes/nsThebesRegion.h => gfx/src/nsThebesRegion.h
rename : gfx/src/thebes/nsThebesRenderingContext.cpp => gfx/src/nsThebesRenderingContext.cpp
rename : gfx/src/thebes/nsThebesRenderingContext.h => gfx/src/nsThebesRenderingContext.h
2011-03-31 11:30:28 -07:00
Jonathan Kew
6b4f50d01a bug 643502 - add missing cases to GetFontPrefLangFor(). r=smontagu 2011-03-31 09:47:02 +01:00
Josh Matthews
b2ae468243 Bug 640968 - Avoid using null cache if the singleton does not actually exist. r=blassey 2011-03-24 19:37:07 -04:00
Ehsan Akhgari
de907a39be Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Makoto Kato
14ea2bfa7f Bug 613440. Make loading ICM profiles from non-ASCII paths work. r=jmuizelaar 2011-03-30 13:40:47 -04:00
Jeff Muizelaar
24bc5d4c25 Bug 645947 - Remove unneeded copy constructors from gfxRGBA, gfxPoint and gfxRect; r=bjacob
This lets us get smaller code (by 1KB) and potentially faster code too.
2011-03-29 18:29:22 -04:00
Doug Turner
ef35aa039b Bug 643307 - Crash [@ nsThebesFontMetrics::GetMetrics ]. r=blassey
--HG--
extra : rebase_source : 6d878a2ff10aa1030f71526dacb64d6d92882322
2011-03-29 11:50:39 -07:00
John Daggett
6fb5fc67de Bug 643649. Pass correct parameter value into registry call. r=joedrew 2011-03-29 12:11:22 +09:00
Ehsan Akhgari
db0e06d061 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Karl Tomlinson
00d3f613f1 b=626192 blacklist ATI libGL due to seg faults on querying server info r=bjacob
--HG--
extra : transplant_source : %15Ay%22pB%8B%7D%B2%5Eph%12%18%17%91G%FC%D7%10
2011-03-25 16:38:59 +13:00
Karl Tomlinson
620408b145 b=617703 use target visual to determine target format r=roc
--HG--
extra : transplant_source : L%E8%90%93Mar%3EO%A5w%D8%7B%F1%9DH%0B%7EUi
2011-03-25 16:38:59 +13:00
Robert O'Callahan
333b8d0f05 Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
6536947736 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ms2ger
220863e8d9 Bug 637180 - Unused function IsFloatInteger; r=matt.woodrow 2011-02-27 11:00:00 -05:00
Benoit Jacob
71406e87b5 imported patch 640064 2011-03-09 05:17:00 -05:00
Robert O'Callahan
1f51cb45b0 Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
e865324942 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Robert O'Callahan
750234b3f1 Bug 635373. When resampling a ThebesLayer, ensure that D3D9 and OpenGL layers paint the entire layer as one quad to avoid unnecessary aliasing. r=bas 2011-04-01 10:33:46 +13:00
Robert O'Callahan
4b58755a9e Bug 635373. ThebesLayerOGL needs to make sure we only sample valid pixels too. r=mattwoodrow 2011-04-01 10:33:46 +13:00
Robert O'Callahan
bfb12d86f0 Bug 635373. If we need to resample a ThebesLayer texture, make sure we make all the pixels of the texture valid in case they get sampled. r=bas 2011-04-01 10:33:46 +13:00
Robert O'Callahan
4bd5d3cedf Bug 641770. Ensure that the cliprect for a layer is interpreted in the coordinate system of its container in MarkLeafLayersCoveredByOpaque. r=bas 2011-04-01 10:33:46 +13:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Ben Turner
3e1c82c126 Bug 640901: Clean up managees when manager ctor fails. r=cjones 2011-03-21 11:00:00 -05:00
Benjamin Smedberg
4f1ecb131c Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm 2011-03-25 11:03:35 -04:00
Matt Woodrow
faf46f850f Bug 635383 - Fix black rendering on non-square container layers. r=joe,bz 2011-03-24 21:57:09 -04:00
Doug Turner
c022bddecd Bug 644747 - font.cache storage off by one. r=blassey 2011-03-25 11:06:53 +13:00
Matt Woodrow
3f8b8cc124 Bug 635383 - Part 3 - Don't triple buffer reftests. r=joe 2011-03-25 11:06:04 +13:00
Matt Woodrow
ca1fbaeed0 Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe 2011-02-25 20:44:22 +13:00
Matt Woodrow
d678e84d15 Bug 635383 - Part 1 - Make GL layers always y-flipped and handle this inside GLContext. r=joe 2011-02-25 20:44:18 +13:00
Robert O'Callahan
443b94ac3c Bug 615092 - Add a way to dump gfxASurfaces to a data URL. r=mattwoodrow 2011-03-25 11:04:46 +13:00
Matt Woodrow
423b5b30b7 Bug 641250 - Upload full surface bounds if texture is uninitialized. r=joe 2011-03-25 11:04:11 +13:00
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Jonathan Kew
bf757a9d0e Bug 623711 - erratic font selection with multiple @font-face rules and bad font resources; r=jdaggett 2011-03-23 23:01:50 -04:00
Ehsan Akhgari
d40a33c22e Backout changeset f39ad7e4054e (bug 623711) because of reftest failure 2011-03-24 00:15:02 -04:00
Ehsan Akhgari
296c1a56a2 Merge backout of bug 635639 2011-03-24 00:02:57 -04:00
Ehsan Akhgari
91d9bbfb48 Backout bug 635639 because of test failure 2011-03-24 00:02:35 -04:00
Jonathan Kew
44181a8da0 Bug 635639 - Vowels are not rendered correctly in some Persian/Arabic/Hebrew fonts; r=jdaggett 2011-03-23 22:55:06 -04:00
Jonathan Kew
5ee6d5ba04 bug 635639 - vowels are not rendered correctly in some Persian/Arabic/Hebrew fonts. r=jdaggett 2011-03-24 15:07:11 +00:00
Ehsan Akhgari
7804c38300 Merge mozilla-central into cedar, in order to import work targetted at Firefox 4 into the tree 2011-03-23 19:18:30 -04:00
Ehsan Akhgari
ca95c68a1e Merge mozilla-central into cedar 2011-03-23 18:29:19 -04:00
Chris Pearce
38662eb161 Bug 580531 - Record first paint time and number of images painted in ImageContainer. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
18e05ec12b Bug 580531 - Push ImageContainer subclass' locks up into a superclass monitor. r=roc 2011-03-24 11:28:57 +13:00
Ehsan Akhgari
47cf269311 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Kyle Huey
782df80bf2 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Steven Michaud
65c49866d2 Bug 637367 - Stop DrawPlugin from accessing deleted nsObjectFrame. r=roc a=beltzner 2011-03-18 14:35:14 -05:00
Benoit Jacob
00c9ea8ba6 Bug 641630. r=ted, a=respin 2011-03-17 15:07:16 -04:00
Mitchell Field
8a39ea72b9 Merge mozilla-central to build-system. 2011-03-13 04:21:37 +11:00
Chris Jones
ae4b79a620 Bug 640444: Self-copies end up changing all buffer content, so we need to read back the entire buffer after swapping. r=Bas a=b 2011-03-11 23:22:39 -06:00
Ehsan Akhgari
7acd6a32ad Bug 639885 - Don't use named Windows kernel objects because they will cause conflicts when running multiple Firefox processes concurrently; r=jrmuizel a=stuart 2011-03-11 21:22:38 -05:00
Doug Turner
61c35070ce Bug 616426 - fix paramater type. r=blassey. a=me 2011-03-11 15:41:32 -08:00
Brad Lassey
6277b5a31b bug 616426 - crash [@ nsThebesFontMetrics::GetMetrics ], follow up r=dougt a=blocking-fennec 2011-03-11 17:03:39 -05:00
Mitchell Field
a7b458884e Merge mozilla-central to build-system. 2011-03-11 11:05:04 +11:00
Alon Zakai
cfddbcbdfd Bug 616426 - Crash in nsThebesFontMetrics::GetMetrics. r=blassey,stuart a=blocking-fennec 2011-03-10 14:07:55 -08:00
Timothy B. Terriberry
e2473b98ea Bug 641019 - "Crash on video with odd widths and 16-bit displays" [r=tterribe a=stuart] 2011-03-15 15:01:00 -07:00
Timothy B. Terriberry
85f70e68b5 Bug 640588 - "Bad rendering of webm and ogv with 16-bits displays on Linux" [r=jones.chris.g a-2.0=doug.turner]
--HG--
extra : rebase_source : 8407e60c8e2c24252c4ce36daddd793ebf4cbd9d
2011-03-11 16:07:00 -08:00
Chris Jones
a75b587386 Followup to bug 635373: Shadow-layer buffers might be resampled in the chrome process. r=roc a=b 2011-03-09 11:28:26 -06:00
Chris Jones
bd10a2887b Bug 635035, part 7: Remove obsoleted gfxASurface::SupportsSelfCopy. r=roc a=b 2011-03-09 11:27:37 -06:00
Chris Jones
9bdc1fed20 Bug 635035, part 6: Use gfxASurface::MovePixels() for self-copies of ThebesLayerBuffers. r=roc 2011-03-09 11:27:37 -06:00
Chris Jones
8f802d6998 Bug 635035, part 5: Add a helper to check whether a gfxRect is rounded within a given epsilon. sr=roc 2011-03-09 11:27:37 -06:00
Chris Jones
aa1ced7f8a Bug 635035, part 4: Implement MovePixels() for image surfaces. r=roc 2011-03-09 11:27:37 -06:00
Chris Jones
d1fd67bbe8 Bug 635035, part 3: Add gfxASurface::MovePixels() interface and generic impl. sr=roc 2011-03-09 11:27:37 -06:00
Chris Jones
d732dc2d94 Bug 635035, part 2: Ensure that the buffer rect only grows in the presence of scaling. r=roc 2011-03-09 11:27:37 -06:00
Chris Jones
c193ee330f Bug 635035, part 1: Separate the extended draw region and computed draw region so that shadow-layer readback gets the same quadrant as what was drawn. r=mattwoodrow 2011-03-09 11:27:37 -06:00
Ehsan Akhgari
6be46d4acc Bug 639885 - Abort the program execution if the status of program is unsafe due to thread safety issues in ReadbackManagerD3D10; r=Bas,jrmuizel,cjones a=beltzner 2011-03-09 09:49:29 -05:00
Makoto Kato
0b526ebb5a Bug 637961 - Crash in [@ yv12_to_rgb565_neon]. r=jmuizelaar a=blocking-fennec 2011-03-08 09:59:44 +09:00
Jeff Muizelaar
8a7f7e69e4 Bug 637828. Reset the transform on the dest image. r=joe a=blocking-fennec 2011-03-07 19:17:37 -05:00
Benoit Jacob
7f1f831a27 Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe 2011-03-02 15:50:36 -05:00
Ehsan Akhgari
3e6038e7e0 Work around the Windows subpixel antialiasing craziness as a result of changesets 502114bb31e8 and c1d77dbe4193 by adding a padding to the div containing the text; rs=roc a=orange 2011-03-01 18:57:11 -08:00
joe@drew.ca
2f9eaad891 Bug 636870 - Using webgl on optimus hardware causes instant crash [part1] (r=jmuizelaar, a=blocker). 2011-03-01 17:00:33 -08:00
Robert O'Callahan
52981696d3 Bug 632423. Enable subpixel AA when we draw into the opaque subrect of a surface. r=tnikkel a=beltzner 2011-03-01 14:32:23 -06:00
Robert O'Callahan
5fb4e9f52c Bug 635373. Disable ThebesLayerBuffer rotation for non-identity resolutions, and add API to disable rotation explicitly. r=cjones a=beltzner 2011-03-01 14:30:16 -06:00
Benjamin Smedberg
7989cbf1bc Bug 635980. Change Nv3DVStreaming assert to warning. r=jmuizelaar, a=jmuizelaar 2011-03-01 13:00:35 +09:00
Matt Woodrow
7f306f9fcc Bug 637040 - Set the correct active texture unit for plugin layers. r=roc a=blocking2.0 2011-03-01 16:05:20 +13:00
Ms2ger
734fc0c5a4 Bug 637184 - Missing newline at end of file in MacIOSurfaceImageOGL.h; r=mattwoodrow a=josh 2011-02-28 13:01:37 -08:00
Jeff Muizelaar
20900cc870 Bug 506207 - Check the return value of fread to make sure the readed data is valid; r,a=joe 2011-02-28 13:01:05 -08:00
Karl Tomlinson
0cba2f1d40 b=634556 don't assume 16-bit text when wordStartsInsideLigature r+a=roc
--HG--
extra : transplant_source : %3F%AB_%7E%C1Y%9A%CC%0DLRh%5B2y%E1%E9%02%C6%C4
2011-02-28 08:31:39 +13:00
Ehsan Akhgari
0b71287da9 Bug 622942 - Set the antialiasing flag on OpenGL layers with component alpha content.
r+a=roc
2011-02-26 13:40:47 +01:00
Matt Woodrow
852f3221c8 Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe 2011-02-25 20:05:31 +13:00
John Daggett
8c52aa33e6 Bug 630201. Don't use DirectWrite for pre-RTM versions of Windows 7. r=bas, a=joedrew 2011-02-25 10:31:16 +09:00
Matt Woodrow
5a9d39c5e9 Bug 629857 - When invalidating transformed items, round the original area out to the nearest pixel. r=roc a=roc 2011-02-25 11:55:23 +13:00
Benoit Jacob
8cffd874ec Bug 635401 - Segfault when checking name of graphics driver vendor - r=bas, a=joe 2011-02-24 17:17:34 -05:00
Chris Jones
184d25116b Bug 636093: Remove assertion that's no longer asserting what it was intended to. r=roc a=a 2011-02-24 15:59:26 -06:00
Doug Turner
4e523fad21 Bug 636086 - build bustage when building with --disable-pango. r=karlt a=build-bustage
--HG--
extra : rebase_source : 0ce7c97eed2291ba7ede603ed4ed8175d35a158b
2011-02-24 09:59:37 -08:00
Matt Woodrow
780ff82ea8 Bug 634132 - Reset the current GL context after drawing thebes layers. r=joe a=blocking2.0 2011-02-24 09:31:49 +13:00
Jeff Muizelaar
c97adad679 Bug 626678. Try to handle docking station device resets better. r=bas,a=b
Docking stations seem to cause DEVICELOST errors that never become
DEVICERESET so we don't ever succeed in reseting the device. We now
try to detect these situations and recreate the device.
2011-02-23 09:18:00 -08:00
Jonathan Kew
bd37a3bdb7 bug 635768 - restore explicit font selection in gfxGDIFont::GetGlyphWidth to fix spacing issues when printing. r=roc a=blocker 2011-02-23 09:39:21 +00:00
Jonathan Kew
64909ee7be bug 635451 - don't reject glyph index 31 in type-1 fonts. r=jdaggett a=joe 2011-02-22 17:04:37 +00:00
Brad Lassey
b8fa7c23de bug 623136 - speed up font loading on android r=jdagget a=blocking-fennec 2011-01-12 23:04:42 -05:00
Philipp Wagner
1f9b040255 Bug 631657 - Bogus WARNING: Overflowed nscoord_MAX in conversion to nscoord; r=roc, a2.0=dbaron 2011-02-20 16:15:58 +01:00
Jacek Caban
c8c54a7aac Bug 635593 - Compilation failure in gfxWindowsPlatform.h during compilation without DWrite r=jfkthame a=joe 2011-02-21 13:47:32 +00:00
Jacek Caban
f9c161ea75 Bug 631513 - ots fails to compile on mingw r=jfkthame a=joe 2011-02-20 11:08:41 +00:00
Matt Woodrow
260ec13425 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker. 2011-02-20 11:19:11 +13:00
Jonathan Kew
066aec9326 bug 634762 - Don't call cairo_win32_scaled_font_select_font from SetupCairoFont, but from DCFromContext, and SaveDC/RestoreDC around it; fix usage of DC and font in Uniscribe/GDI shapers. r=roc a=blocking 2011-02-19 20:48:33 +00:00
Mike Shaver
4b8d36a579 backout of 6bad6cd2dded due to failure of test it added (a=backout-orange) 2011-02-19 11:08:39 -08:00
Matt Woodrow
24de18c7d0 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker.
See also bug 635383 for improving this logic in the longer term.
2011-02-18 18:11:00 -08:00
Bas Schouten
601534bd2e Bug 635275: Only update portions within scaled texture bounds. r=roc a=blocking-betan 2011-02-19 04:51:10 +01:00
Doug Turner
cd5b5337e5 Bug 634734 - Fennec ASSERTION: mFUnitsConvFactor not valid: mFUnitsConvFactor > 0.0f [r=karlt a-2.0=pavlov] Whitespace followup. DONTBUILD 2011-02-17 16:04:34 -08:00
Doug Turner
e860851571 Bug 634734 - "Fennec ASSERTION: mFUnitsConvFactor not valid: 'mFUnitsConvFactor > 0.0f" [r=karlt a-2.0=pavlov] 2011-02-16 15:46:00 -08:00
Matt Woodrow
f194fbbc42 Bug 634366 - Remove broken CreateForNativePixmapSurface usage from CairoImageOGL. r=joe a=blocking2.0 2011-02-18 12:19:38 +13:00
Matt Woodrow
cebc8097cd Bug 634784 - Fix scaling being applied twice on component alpha surfaces. r=joe a=blocking2.0 2011-02-18 11:47:04 +13:00
Matt Woodrow
9cb4fc37b6 Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc 2011-02-17 16:56:06 +13:00
Bas Schouten
0b629adab9 Bug 634669: Use scaled size for our drawing surface. r=mattwoodrow a=blocking-betan 2011-02-16 23:32:16 +01:00
Bas Schouten
2060524e0d Fix EOL-style in ThebesLayerD3D9. r=mattwoodrow a=lineendings 2011-02-16 23:32:13 +01:00
Chris Jones
11ef1d1487 Bug 626602, part 7: Copy the impl of < and <= from nsIntSize to gfxIntSize. Sigh. sr=roc 2011-02-16 16:43:31 -06:00
Bas Schouten
a2492ec1e6 Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel 2011-02-04 20:30:00 -06:00
Robert O'Callahan
579e5a534f Bug 626602. Part 5: Implement ReadbackLayers for D3D9. r=bas 2011-02-16 16:43:30 -06:00
Robert O'Callahan
fa3219929b Bug 626602. Part 2: BasicLayers implementation of ReadbackLayer. r=cjones 2011-02-16 16:43:30 -06:00
Robert O'Callahan
2c94778839 Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-16 16:43:30 -06:00
Robert O'Callahan
93e5f40859 Bug 626602. Part 0: Fix header guards. r=bas 2011-02-16 16:43:30 -06:00
Chris Jones
134e4da0ea Bug 629799, part 3: Ensure that SharedDIBWins are aligned well for alpha recovery. r=jimm 2011-02-16 16:43:30 -06:00
Chris Jones
b2e95d051c Bug 629799, part 2: Ensure that gfxImageSurfaces are aligned well for alpha recovery. r=roc 2011-02-16 16:43:30 -06:00
Chris Jones
1d0f567d0f Bug 629799, part 1: Add some helpers for aligning surfaces for alpha recovery. sr=roc 2011-02-16 16:43:30 -06:00
Matt Woodrow
6e0aac0d5e Bug 622585 - Use Clamp instead of Wrap texture sampling in D3D10 layers. r=Bas a=blocking2.0 2011-02-16 16:19:45 +13:00
Matt Woodrow
5fa1760531 Bug 622585 - Disable texture wrapping for intermediate surface in OpenGL. r=jrmuizel a=blocking2.0 2011-02-16 16:19:45 +13:00
Matt Woodrow
5a77adecad Bug 622585 - Fix logic deciding when to flip the scissor rect in OpenGL layer. r=jrmuizel a=blocking2.0 2011-02-16 16:19:45 +13:00
Jonathan Kew
a66e635a6c bug 633342 - allow subpixel AA but not the manual show_glyphs path when Asian font has embedded bitmaps. r=bas a=joe 2011-02-15 20:55:01 +00:00
Jonathan Kew
201f78023c bug 633342 - get rid of windows newlines in thebes files. r=bas a=joe 2011-02-15 20:55:01 +00:00
Jonathan Kew
c821b99718 bug 633342 - get rid of windows newlines in cairo files. r=bas a=joe 2011-02-15 20:55:01 +00:00
Ehsan Akhgari
0592088281 Bug 632781 - Scroll non-accelerated canvases correctly with the content; r=matt,joe,roc a=blocking-betaN 2011-02-14 18:23:50 -05:00
Ehsan Akhgari
42ecdcdea2 Back out changeset f3d13890fbe3 because of Windows reftest orange; a=orange
--HG--
extra : rebase_source : c7e2bdd935612251477b264ba64c65531916d0a3
2011-02-15 13:30:33 -05:00