Robert O'Callahan
2c059fb8c2
Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones
2011-04-19 15:07:48 +12:00
Robert O'Callahan
fc7faceefc
Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
a7b4f1246b
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
a66b612e32
Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones
2011-04-19 15:07:22 +12:00
Robert O'Callahan
7228fe8d83
Bug 641426. Part 4: Create Margin template. r=joe,sr=cjones
2011-04-19 15:07:22 +12:00
Robert O'Callahan
1c5c997eb5
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
8498002a49
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
629c1b7e18
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
3c866720cc
Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
John Daggett
4e1a8c20b8
Bug 634286. Remove font cache size info from about:support on Windows. r=jmuizelaar
2011-04-19 10:11:09 +09:00
Matt Woodrow
66e0bad817
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
af306501e0
Bug 638323 - Skip unnecessary MakeCurrent calls in GLContextProviderCGL. r=bjacob
2011-04-19 10:49:00 +12:00
Matt Woodrow
688e762c8c
Bug 586508 - Improve GL error code output. r=bjacob
2011-04-19 10:47:40 +12:00
Timothy B. Terriberry
beb5d7222d
Bug 634557 - Implement ScaleYCbCr42xToRGB565_BilinearY_Row_NEON, r=jbramley
2011-04-14 17:34:18 -07:00
Timothy B. Terriberry
2bdc74c61a
Bug 634557 - ScaleYCbCrToRGB565: Reference C version, r=doublec
2011-04-14 17:32:15 -07:00
Zack Weinberg
d9ffdcb05b
Bug 174055, part 8: change GetLanguage to return a raw nsIAtom*.
2011-04-14 10:43:21 -07:00
Zack Weinberg
d856f0c057
Bug 174055, part 7: remove unnecessary members from nsFontMetrics.
2011-04-08 08:32:29 -07:00
Zack Weinberg
ef90e52c10
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
5731d401c8
Bug 174055, part 5: prune unused and unimplemented methods.
2011-04-07 20:07:27 -07:00
Zack Weinberg
d1c5f344ea
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
c49f97544f
Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics.
2011-04-07 18:05:25 -07:00
Zack Weinberg
9f143f420f
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Zack Weinberg
9828e9ed19
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
1628ea1551
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
86131020a5
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
f8eccd9ec7
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
ab24450ef1
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
f1c21fabf8
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
4e540ce52f
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
c510bc3046
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
cbabd3ce0f
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
ebb2f0c7ec
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
...
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Landry Breuil
5f1ab70d7c
Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic
2011-04-14 17:48:27 +09:00
Zack Weinberg
95cfe45230
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
212f73b280
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
b10116e2f8
bug 636957 - ensure DWrite font list is initialized in GetFontFamilyList(). r=jdaggett
2011-04-13 08:28:34 +01:00
Ms2ger
c36fc1ab40
Backed out changeset 3f82f25d7334
2011-04-12 14:28:53 +02:00
Jonathan Kew
9765228219
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
29efa43135
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
8f960175f1
Bug 649233 - Include ANGLE r611. r=joe
...
--HG--
extra : rebase_source : 7d917f7bdca76e0abbea6ce5ac41154e2285ec79
2011-04-12 00:36:13 -07:00
Benoit Jacob
fc87700d74
Bug 649233 - Include ANGLE r551. r=joe
...
--HG--
extra : rebase_source : 0124d3285a5b552b129e7057ce5a7bec23d3f3bf
2011-04-12 00:36:13 -07:00
Joe Drew
5853f1879d
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
12e2239a9c
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
97e0f97e09
Bug 648385: Remove gfxFont::GetUniqueName, r=jdaggett
...
--HG--
extra : rebase_source : 41f923803127440ab903e91c7f24e020b97b83f5
2011-04-11 17:59:42 -07:00
Bas Schouten
51d69e129d
Bug 600760: Optimize mask with rectangular clip. r=jrmuizel
2011-04-11 16:42:05 -07:00
Benjamin Stover
bd3081c90a
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-11 13:53:01 -07:00
Ehsan Akhgari
d532809012
Merge mozilla-central into cedar
2011-04-11 13:11:47 -04:00
Doug Turner
ada3b698b4
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
ecba336667
bug 644184 - ensure basic arabic shaping features are applied before ligature formation. r=jdaggett
2011-04-11 16:33:12 +01:00
Jonathan Kew
28e74a5ebe
bug 638764 - followup, fix a bunch of compilation warnings in cairo build. r=bas
2011-04-11 13:02:51 +01:00
Jonathan Kew
85be8ccf1c
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
aac95406d9
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
76d14be89f
Bug 648472 - [OS/2] avoid crashes when FcFontMatch() fails; r=wuno
2011-04-09 23:32:09 -04:00
L. David Baron
522a8d323e
Back out 1edfae12015b (Bug 642246) due to mobile unittest orange.
2011-04-09 18:21:27 -07:00
Benjamin Stover
3c025ebe4d
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-09 12:38:28 -07:00
Jeff Muizelaar
7d31ce1e77
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
962584e61d
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
21090ba813
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
61d4db165f
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
863e12aca2
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
ac600720a8
Merge cedar into mozilla-central
2011-04-08 11:05:22 -07:00
Matt Brubeck
5af1b06ef4
Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel
2011-04-08 10:15:37 -07:00
Ehsan Akhgari
b1b54b2a27
Merge cedar into mozilla-central
2011-04-08 02:27:03 -07:00
Ms2ger
d9bb1a34fe
Bug 647552 - Uninitialized variables in GLXLibrary::EnsureInitialized; r=bjacob
2011-04-07 21:55:10 -07:00
Matt Woodrow
4dd16cdfda
Bug 641250 - Rename GLContext::TextureState::Initialized to Allocated. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
9bd2dad0c1
Bug 640082 - Part 5 - Use texture_from_pixmap in CairoImageOGL. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
75254ce56e
Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
28ec02dbae
Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe
2011-04-07 16:58:08 -07:00
Jeff Muizelaar
b9abe889a0
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
30b3523f5d
Bug 640082 - Part 2 - Use texture_from_pixmap in CanvasLayerOGL. r=joe
2011-03-09 10:41:10 +13:00
Matt Woodrow
ce2fc8c5d5
Bug 640082 - Part 1 - Add texture_from pixmap support to GLContextProviderGLX. r=joe
2011-04-07 16:58:07 -07:00
Robert O'Callahan
95ad3e2df3
Bug 647315. Update ThebesLayerOGL with the same fix. r=mattwoodrow
2011-04-06 16:38:01 -07:00
Robert O'Callahan
5d14389f57
Bug 647315. Back out one line of changeset 844579d34200. r=mattwoodrow
2011-04-06 16:37:56 -07:00
Matheus Kerschbaum matjk7@gmail.com
8801ecb4d8
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
4eb6429f47
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Makoto Kato
f5ce31ccb8
Bug 644054 - Support WOFF on Android; r=jfkthame
2011-03-22 21:40:00 -04:00
Benoit Jacob
7834e7ecd7
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
cccdef8b2f
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
4342d9e7e4
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
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
912845af59
Merge backout
2011-03-31 18:58:11 -05:00
Chris Jones
699024f868
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)
0ce53bb598
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
1d850d4939
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
c4d5de5b84
bug 643502 - add missing cases to GetFontPrefLangFor(). r=smontagu
2011-03-31 09:47:02 +01:00
Josh Matthews
fe861bb901
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
23f78e2226
Merge mozilla-central into cedar
2011-03-30 13:55:31 -04:00
Makoto Kato
a63db003fb
Bug 613440. Make loading ICM profiles from non-ASCII paths work. r=jmuizelaar
2011-03-30 13:40:47 -04:00
Jeff Muizelaar
3ca9eceb0d
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
7b7e8f9ba7
Bug 643307 - Crash [@ nsThebesFontMetrics::GetMetrics ]. r=blassey
...
--HG--
extra : rebase_source : 6d878a2ff10aa1030f71526dacb64d6d92882322
2011-03-29 11:50:39 -07:00
John Daggett
0c31b91220
Bug 643649. Pass correct parameter value into registry call. r=joedrew
2011-03-29 12:11:22 +09:00
Ehsan Akhgari
8761668e87
Merge cedar into mozilla-central
2011-03-28 13:28:13 -04:00
Karl Tomlinson
fb9546d73f
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
c498655707
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
12d79b4b13
Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe
2011-03-28 12:59:46 +13:00
Robert O'Callahan
173828d394
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
3502d1e4ec
Bug 637180 - Unused function IsFloatInteger; r=matt.woodrow
2011-02-27 11:00:00 -05:00
Benoit Jacob
fda3835560
imported patch 640064
2011-03-09 05:17:00 -05:00
Robert O'Callahan
5d011f0505
Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe
2011-03-28 12:59:46 +13:00
Robert O'Callahan
6e81f6e5b2
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
3b4e2d8031
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
181c9b04ba
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
746312cb6f
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
023d0fa5da
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
cb6a971f1a
Merge cedar into mozilla-central
2011-03-25 14:21:07 -04:00
Ben Turner
ecf6425f70
Bug 640901: Clean up managees when manager ctor fails. r=cjones
2011-03-21 11:00:00 -05:00
Benjamin Smedberg
aca1d650f4
Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm
2011-03-25 11:03:35 -04:00
Matt Woodrow
554cdb272d
Bug 635383 - Fix black rendering on non-square container layers. r=joe,bz
2011-03-24 21:57:09 -04:00
Doug Turner
206af3f094
Bug 644747 - font.cache storage off by one. r=blassey
2011-03-25 11:06:53 +13:00
Matt Woodrow
7da8313783
Bug 635383 - Part 3 - Don't triple buffer reftests. r=joe
2011-03-25 11:06:04 +13:00
Matt Woodrow
084cbe71fb
Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe
2011-02-25 20:44:22 +13:00
Matt Woodrow
48cf99ff28
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
ce6a524e9b
Bug 615092 - Add a way to dump gfxASurfaces to a data URL. r=mattwoodrow
2011-03-25 11:04:46 +13:00
Matt Woodrow
2a1f0e9dcc
Bug 641250 - Upload full surface bounds if texture is uninitialized. r=joe
2011-03-25 11:04:11 +13:00
Ehsan Akhgari
a0a65195df
Merge cedar onto mozilla-central
2011-03-24 14:42:21 -04:00
Jonathan Kew
188a27ae29
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
7c95b79b48
Backout changeset f39ad7e4054e (bug 623711) because of reftest failure
2011-03-24 00:15:02 -04:00
Ehsan Akhgari
b529ab0290
Merge backout of bug 635639
2011-03-24 00:02:57 -04:00
Ehsan Akhgari
0744d6eee4
Backout bug 635639 because of test failure
2011-03-24 00:02:35 -04:00
Jonathan Kew
47178e5cc9
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
645d9c645b
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
932c6217ef
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
f2fe50481f
Merge mozilla-central into cedar
2011-03-23 18:29:19 -04:00
Chris Pearce
f507197104
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
fd6cce5849
Bug 580531 - Push ImageContainer subclass' locks up into a superclass monitor. r=roc
2011-03-24 11:28:57 +13:00
Ehsan Akhgari
7a74f6a5b4
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
a4544fbedb
Merge m-c to bs.
2011-03-19 07:56:17 -04:00
Steven Michaud
4dd89ed999
Bug 637367 - Stop DrawPlugin from accessing deleted nsObjectFrame. r=roc a=beltzner
2011-03-18 14:35:14 -05:00
Benoit Jacob
5e3593e053
Bug 641630. r=ted, a=respin
2011-03-17 15:07:16 -04:00
Mitchell Field
a514f06e6f
Merge mozilla-central to build-system.
2011-03-13 04:21:37 +11:00
Chris Jones
8617d00c98
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
0f1e24c309
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
f0e18eef74
Bug 616426 - fix paramater type. r=blassey. a=me
2011-03-11 15:41:32 -08:00
Brad Lassey
38a95f5928
bug 616426 - crash [@ nsThebesFontMetrics::GetMetrics ], follow up r=dougt a=blocking-fennec
2011-03-11 17:03:39 -05:00
Mitchell Field
e19aeb897a
Merge mozilla-central to build-system.
2011-03-11 11:05:04 +11:00
Alon Zakai
46e431003f
Bug 616426 - Crash in nsThebesFontMetrics::GetMetrics. r=blassey,stuart a=blocking-fennec
2011-03-10 14:07:55 -08:00
Timothy B. Terriberry
b816cb6603
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
d533a5513c
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
bf637c820f
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
dd8222d14c
Bug 635035, part 7: Remove obsoleted gfxASurface::SupportsSelfCopy. r=roc a=b
2011-03-09 11:27:37 -06:00
Chris Jones
5c61114efe
Bug 635035, part 6: Use gfxASurface::MovePixels() for self-copies of ThebesLayerBuffers. r=roc
2011-03-09 11:27:37 -06:00
Chris Jones
7121cde706
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
b09f4940f6
Bug 635035, part 4: Implement MovePixels() for image surfaces. r=roc
2011-03-09 11:27:37 -06:00
Chris Jones
48601a18b0
Bug 635035, part 3: Add gfxASurface::MovePixels() interface and generic impl. sr=roc
2011-03-09 11:27:37 -06:00
Chris Jones
ac95b431ba
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
267431c555
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
48cfbff3fe
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
6af9bf0044
Bug 637961 - Crash in [@ yv12_to_rgb565_neon]. r=jmuizelaar a=blocking-fennec
2011-03-08 09:59:44 +09:00
Jeff Muizelaar
c6c8c130fd
Bug 637828. Reset the transform on the dest image. r=joe a=blocking-fennec
2011-03-07 19:17:37 -05:00
Benoit Jacob
2866aaced4
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
9f99601882
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
712889b510
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
f513c853d0
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
808d55a6a9
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
59bf3bde04
Bug 635980. Change Nv3DVStreaming assert to warning. r=jmuizelaar, a=jmuizelaar
2011-03-01 13:00:35 +09:00
Matt Woodrow
db867791c5
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
0ad8b36894
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
76b8dd5301
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
d14ca44d44
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
9b3471bc51
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
a15340f7c5
Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe
2011-02-25 20:05:31 +13:00
John Daggett
61e41f577f
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
0ce267f38b
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
c35030b5e1
Bug 635401 - Segfault when checking name of graphics driver vendor - r=bas, a=joe
2011-02-24 17:17:34 -05:00
Chris Jones
dd441ebe3d
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
bd9b0c8073
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
ff809e8adc
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
ef64e8b9ae
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
cae4deaf71
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
33f7c43cb2
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
0312a750a6
bug 623136 - speed up font loading on android r=jdagget a=blocking-fennec
2011-01-12 23:04:42 -05:00
Philipp Wagner
f3c7895934
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
6334d5e4de
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
ea94d14d61
Bug 631513 - ots fails to compile on mingw r=jfkthame a=joe
2011-02-20 11:08:41 +00:00
Matt Woodrow
4236b394ee
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
af5cea269f
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
0111864653
backout of 6bad6cd2dded due to failure of test it added (a=backout-orange)
2011-02-19 11:08:39 -08:00
Matt Woodrow
c77e8384c9
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
e22a41f05e
Bug 635275: Only update portions within scaled texture bounds. r=roc a=blocking-betan
2011-02-19 04:51:10 +01:00
Doug Turner
9232a6a777
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
9dd537c979
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
8c00c071fe
Bug 634366 - Remove broken CreateForNativePixmapSurface usage from CairoImageOGL. r=joe a=blocking2.0
2011-02-18 12:19:38 +13:00
Matt Woodrow
1ee2b35ed6
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
df6d09eb2c
Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc
2011-02-17 16:56:06 +13:00
Bas Schouten
cac02ea69b
Bug 634669: Use scaled size for our drawing surface. r=mattwoodrow a=blocking-betan
2011-02-16 23:32:16 +01:00
Bas Schouten
d1a9be248e
Fix EOL-style in ThebesLayerD3D9. r=mattwoodrow a=lineendings
2011-02-16 23:32:13 +01:00
Chris Jones
3e5b9df077
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
f732d2dcac
Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel
2011-02-04 20:30:00 -06:00
Robert O'Callahan
3034c9b8d3
Bug 626602. Part 5: Implement ReadbackLayers for D3D9. r=bas
2011-02-16 16:43:30 -06:00
Robert O'Callahan
1619ca83d2
Bug 626602. Part 2: BasicLayers implementation of ReadbackLayer. r=cjones
2011-02-16 16:43:30 -06:00
Robert O'Callahan
1a14aa0939
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
7e79a59083
Bug 626602. Part 0: Fix header guards. r=bas
2011-02-16 16:43:30 -06:00
Chris Jones
0371b051bc
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
1fec28df44
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
ff210d3a1a
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
194b1dc82a
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
0318e6f30c
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
9c57c285f5
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
c5ab669823
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
12a17979f6
bug 633342 - get rid of windows newlines in thebes files. r=bas a=joe
2011-02-15 20:55:01 +00:00