Граф коммитов

9151 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan 6d59f643e5 Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-18 23:24:52 +12:00
Robert O'Callahan 0038d4ea2e Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-18 23:24:52 +12:00
Robert O'Callahan 20341cc459 Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.

This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-18 23:24:52 +12:00
Robert O'Callahan cde7ecd865 Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-18 23:24:52 +12:00
Robert O'Callahan d202584b1d Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-18 23:24:52 +12:00
Robert O'Callahan 768405383a Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones 2011-05-18 23:24:52 +12:00
Mounir Lamouri f638f0e2ab Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley a618c989ae Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Mounir Lamouri bac56e54f3 Backout bug 629866 and bug 647560. 2011-05-17 11:44:17 +02:00
Robert O'Callahan 45110d1301 Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-17 11:42:19 +12:00
Robert O'Callahan ff31ee4559 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-17 11:42:11 +12:00
Robert O'Callahan 571ce8c609 Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.

This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-17 11:42:05 +12:00
Robert O'Callahan 11e12d337e Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-17 11:41:57 +12:00
Robert O'Callahan d52656b3f2 Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-17 11:41:48 +12:00
Robert O'Callahan f989dc57ac Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones 2011-05-17 11:41:39 +12:00
Siarhei Siamashka a4bd64f306 Bug 656782 - Runtime CPU features detection does not work for pixman in Android [r=jmuizelaar]
Pixman upgrade from bug 640250 resulted in ARM cpu features
not being detected properly in Android. As a result, NEON
optimizations were not used at all.
2011-05-12 15:26:00 -04:00
Matt Brubeck b871596c7c Bug 598736 - Use bilinear image scaling when NEON is available [r=jrmuizel] 2011-04-08 10:15:37 -07:00
Nicholas Nethercote 5c2f5ea43b Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Matt Woodrow e65fc16ee9 Bug 606855 - Re-enable checking of GLX extensions. r=bjacob 2011-05-23 11:04:22 +12:00
Bas Schouten 2198f588d8 Bug 657141: Avoid excessive clipping by only popping to the common ancestor. r=jrmuizel 2011-05-17 21:27:05 +02:00
Florian Hänel f25d1afc56 Bug 643793 - Convert OpenGL scissor rects to world space in ContainerLayerOGL. r=joe 2011-05-14 12:11:37 +12:00
Jim Mathies 164b0cdd00 Bug 633282 - Add ToNearestPixels to nsRegion. r=roc. 2011-05-13 11:40:46 -05:00
Jim Mathies f14fea2d56 Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc. 2011-05-13 11:40:46 -05:00
Oleg Romashin 211bd45282 Bug 656167 - Temorarily disable or back out fixed layers. r=jones.chris.g 2011-05-12 09:49:33 -07:00
Matt Woodrow 96fdcb3355 Bug 649417 - Check if BasicShadowableImageLayer has a current image before attempting to use it. r=cjones 2011-05-13 12:38:44 +12:00
Matt Woodrow 7394887e94 Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe 2011-04-21 16:38:39 +12:00
Matt Woodrow cabb08bee6 Bug 649417 - Part 1 - Create a SharedImage ipdl union and pass this to ShadowImageLayer::Swap . r=cjones 2011-04-21 11:21:56 +12:00
Jonathan Kew 323d7fa265 bug 654057 - fix the zeroing of diacritic widths to resolve misplaced accents with Segoe UI. r=jdaggett 2011-05-11 20:24:56 +01:00
Oleg Romashin 959216c6bc Bug 612407 - Add FPS counter like fraps r=joe,jrmuizel 2011-05-10 21:45:42 -04:00
John Daggett 576cfb60e8 Bug 567552. Disable font auto-activation. r=josh 2011-05-11 09:44:35 +09:00
John Daggett 863b47e616 Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel 2011-05-11 09:30:20 +09:00
Jeff Muizelaar 1ea1bee777 qcms: avoid unnecessary promotion to double. r=ehsan 2011-05-10 12:01:48 -04:00
Jeff Muizelaar 9be3f56657 Bug 605179. qcms: revert build warning fixes. r=ehsan
0ec22e77aefc fixed some build warnings that no longer happen because pedantic is disabled.
2011-05-10 11:55:39 -04:00
John Daggett 0af50348d0 Backed out changeset d34dd7156b4d 2011-05-09 15:19:33 +09:00
John Daggett 62a8a1bc2e Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel 2011-05-09 14:56:27 +09:00
Matt Woodrow 4a5ece78be Bug 649685 - Don't flip when drawing the backbuffer to the window with OpenGL. r=joe 2011-05-09 11:44:03 +12:00
Makoto Kato b2df3bf8b7 Bug 571739 - Fix VC8 support on Win64. r=neil 2011-05-09 00:07:58 +09:00
Jonathan Kew d952177286 bug 655138 - don't use font entry after it's been replaced. r=jdaggett 2011-05-08 13:09:03 +01:00
Matt Woodrow c37edc8bc5 Bug 651469 - Add FastMovePixels to gfxASurface and use it where appropriate. r=roc 2011-05-08 13:19:11 +12:00
Mounir Lamouri c53927c21a Backout 2348924d6410 (bug 612407) for build bustage. 2011-05-06 11:42:42 +02:00
Oleg Romashin a67d01d0fe Bug 612407 - Add FPS counter like fraps r=joe 2011-05-06 11:04:14 +02:00
Benoit Jacob e58e8b7ac3 Bug 645407 - remove useless GLX checks - r=karlt 2011-05-03 16:07:17 -04:00
Benoit Jacob 61a538af76 Bug 645407 - remove old blacklisting - r=karlt 2011-05-03 16:07:17 -04:00
Jonathan Kew 1734a9f26e bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc 2011-05-04 12:29:56 +01:00
Nicholas Nethercote 8e0d4202dc Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Benoit Jacob eed97c076c backout bug 645407, bug 639842, bug 642502 2011-05-03 17:18:44 -04:00
Benoit Jacob 1443f929f7 Bug 645407 - remove useless GLX checks - r=karlt 2011-05-03 16:07:17 -04:00
Benoit Jacob 53b145ad99 Bug 645407 - remove old blacklisting - r=karlt 2011-05-03 16:07:17 -04:00
Jonathan Kew 004962ea23 bug 33032 - synthesize various Unicode space characters rather than showing missing glyphs. r=jdaggett 2011-05-02 10:01:55 +01:00
Jonathan Kew 6bf03f9a72 bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett 2011-04-28 09:01:59 +01:00
Jonathan Kew 939c664133 bug 653408 - [ots] fix GDEF sanitizer so it doesn't reject LinLibertine. r=jdaggett 2011-05-02 10:01:54 +01:00
Jonathan Kew 395460bdc6 bug 653705 - ensure mIsCFF is not left uninitialized for downloaded fonts. r=jdaggett 2011-05-02 10:01:54 +01:00
Zack Weinberg a6a12a6d7c Bug 651498: call gfxPlatform::Init when necessary and not earlier. r=joedrew,bsmedberg
--HG--
extra : rebase_source : fa6eae9a0656197d2c245f7c15120f36face2347
2011-04-21 12:36:49 -07:00
Chris Jones fbd51041fd Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Oleg Romashin bb92b93561 Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Jonathan Kew ed121617c7 Backed out changeset 52b6489a3140 (bug 653100) because of reftest oranges. 2011-04-28 10:52:04 +01:00
Jonathan Kew 15f8eabb77 bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett 2011-04-28 09:01:59 +01:00
Jonathan Kew 25bd38e286 bug 653098 - remove unused function gfxUserFontSet::RemoveFamily. r=jdaggett 2011-04-28 09:01:19 +01:00
Jonathan Kew 56f1d74f89 bug 608940 - remove unused function gfxTextRun::Clone. r=jdaggett 2011-04-28 06:06:53 +01:00
Jonathan Kew 95ad18f198 bug 650639 - cancel current font-downloaders when updating the user font set. r=dbaron 2011-04-28 06:04:45 +01:00
Masatoshi Kimura 8d45d0f741 bug 643460 pt 3 - remove gfx.downloadable_fonts.sanitize.preserve_otl_tables preference, no longer needed with new OTS version. r=jfkthame 2011-04-26 16:29:43 +01:00
Masatoshi Kimura c6a16fb85f bug 643460 pt 2 - apply patches to OTS for local build/platform issues. r=jfkthame 2011-04-26 16:29:39 +01:00
Masatoshi Kimura 218eaa8b24 bug 643460 pt 1 - import OTS r.62 from http://code.google.com/p/ots/. r=jfkthame 2011-04-26 16:29:36 +01:00
Makoto Kato 8dbf1e340f Bug 571739 - Use SIMD for conversion from RGB to YUV on Win64. r=kinetik 2011-04-18 09:51:18 +09:00
Zack Weinberg b4a3d4143c Bug 651926: abort (even in production) if anything in gfxPlatform::Init fails, its callers can't cope. r=jrmuizel 2011-04-21 12:36:53 -07:00
Zack Weinberg 9a7e164108 Bug 649429 part 1: fix undefined behavior in gfxASurface::CheckSurfaceSize. r=jrmuizel
--HG--
extra : rebase_source : 145c3c4b2acd86e2743811f4be5eba599dcc1df3
2011-04-12 12:22:45 -07:00
Daniel Holbert 038b7adefd Back out 0736b014d4a5 (Bug 610155) for breaking canvas reftests on android 2011-04-21 14:52:22 -07:00
Oleg Romashin d5fc3618b5 Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Jonathan Kew 232567647c bug 642589 - expose prefs for tweaking DirectWrite/D2D antialiasing behavior. r=jdaggett 2011-04-21 07:29:50 +01:00
Timothy B. Terriberry 105fe7bce3 Bug 650834 - Add casts to pointer differences in assertion r=dougt 2011-04-18 12:22:51 -07:00
Zack Weinberg b30f8db70b Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg b69bb8a5da Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -07:00
Zack Weinberg 571967fe43 Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg ad62b34b30 Bug 651017, part 3: Make nsThebesDeviceContext not an nsIObserver. Also remove some more obsolete junk from nsThebesDeviceContext itself.
--HG--
extra : rebase_source : 38fdc667532509e272726bf8098c6f728e94e8ad
2011-04-16 18:22:41 -07:00
Zack Weinberg bd454f49fa Bug 651017, part 2: wrap gfxPlatform::Init/Shutdown in a service and register it for app-startup. Also prune some dead CIDs from nsGfxCIID.h.
--HG--
extra : rebase_source : d296ac53c4c60d79f7e2d6904dd54ce930099bbd
2011-04-16 18:22:41 -07:00
Zack Weinberg f8bc216403 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Jonathan Kew bd8a633e91 bug 589682 - ignore GDEF table in italic faces of times new roman, to work around font bug. r=jdaggett 2011-04-19 09:01:21 +01:00
Robert O'Callahan 1b33f5aceb Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel 2011-04-19 15:07:51 +12:00
Robert O'Callahan d729b7c290 Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones 2011-04-19 15:07:48 +12:00
Robert O'Callahan 1ed92bdb3e Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan 10ed771425 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 b4ac03bbc3 Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones 2011-04-19 15:07:22 +12:00
Robert O'Callahan 4b2e60d67e Bug 641426. Part 4: Create Margin template. r=joe,sr=cjones 2011-04-19 15:07:22 +12:00
Robert O'Callahan fb90994bd0 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 e47b6bcc98 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 e4d736bde3 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 b395d04fb7 Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
John Daggett c9fdaa00f4 Bug 634286. Remove font cache size info from about:support on Windows. r=jmuizelaar 2011-04-19 10:11:09 +09:00
Matt Woodrow 3d4d90fb03 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 0cc9f90583 Bug 638323 - Skip unnecessary MakeCurrent calls in GLContextProviderCGL. r=bjacob 2011-04-19 10:49:00 +12:00
Matt Woodrow 790908ba3e Bug 586508 - Improve GL error code output. r=bjacob 2011-04-19 10:47:40 +12:00
Timothy B. Terriberry ab4c567f5b Bug 634557 - Implement ScaleYCbCr42xToRGB565_BilinearY_Row_NEON, r=jbramley 2011-04-14 17:34:18 -07:00
Timothy B. Terriberry cecf6c14fa Bug 634557 - ScaleYCbCrToRGB565: Reference C version, r=doublec 2011-04-14 17:32:15 -07:00
Zack Weinberg 64833125e2 Bug 174055, part 8: change GetLanguage to return a raw nsIAtom*. 2011-04-14 10:43:21 -07:00
Zack Weinberg cae4281327 Bug 174055, part 7: remove unnecessary members from nsFontMetrics. 2011-04-08 08:32:29 -07:00
Zack Weinberg 100dba00ae Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg 76072c4258 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg 1ac406ae0d 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 8efcfb667c Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics. 2011-04-07 18:05:25 -07:00
Zack Weinberg 9d9261f8e6 Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg b3a5481c69 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 2c36a76906 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 5e656e5cc3 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 8d0e3c1244 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 0a900bbeff 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 ef4e5d30f5 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 3486378dac 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 23271beb1d 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 bc1b57d997 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 a08d8cc742 Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Landry Breuil 429a294f03 Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic 2011-04-14 17:48:27 +09:00
Zack Weinberg 842ed1ee0b 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 a81e747578 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 579fec84e0 bug 636957 - ensure DWrite font list is initialized in GetFontFamilyList(). r=jdaggett 2011-04-13 08:28:34 +01:00
Ms2ger eb396c876e Backed out changeset 3f82f25d7334 2011-04-12 14:28:53 +02:00
Jonathan Kew 78a3823cd4 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 bcabab2934 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 98776c648f Bug 649233 - Include ANGLE r611. r=joe
--HG--
extra : rebase_source : 7d917f7bdca76e0abbea6ce5ac41154e2285ec79
2011-04-12 00:36:13 -07:00
Benoit Jacob 7804064362 Bug 649233 - Include ANGLE r551. r=joe
--HG--
extra : rebase_source : 0124d3285a5b552b129e7057ce5a7bec23d3f3bf
2011-04-12 00:36:13 -07:00
Joe Drew cf22764661 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 cd68c9b0d3 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 1ebe10321c Bug 648385: Remove gfxFont::GetUniqueName, r=jdaggett
--HG--
extra : rebase_source : 41f923803127440ab903e91c7f24e020b97b83f5
2011-04-11 17:59:42 -07:00
Bas Schouten b7437a81d3 Bug 600760: Optimize mask with rectangular clip. r=jrmuizel 2011-04-11 16:42:05 -07:00
Benjamin Stover 82295a5a9c Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-11 13:53:01 -07:00
Ehsan Akhgari 344d97231d Merge mozilla-central into cedar 2011-04-11 13:11:47 -04:00
Doug Turner 20d8f7a215 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 daef70db08 bug 644184 - ensure basic arabic shaping features are applied before ligature formation. r=jdaggett 2011-04-11 16:33:12 +01:00
Jonathan Kew e0597eec5c bug 638764 - followup, fix a bunch of compilation warnings in cairo build. r=bas 2011-04-11 13:02:51 +01:00
Jonathan Kew 85e0403c24 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 20edfee3f1 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 22a714aa13 Bug 648472 - [OS/2] avoid crashes when FcFontMatch() fails; r=wuno 2011-04-09 23:32:09 -04:00
L. David Baron 8fa0e899ac Back out 1edfae12015b (Bug 642246) due to mobile unittest orange. 2011-04-09 18:21:27 -07:00
Benjamin Stover 885567bc0f Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-09 12:38:28 -07:00
Jeff Muizelaar 2236d88da3 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 ce18495cf1 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 d0b57754e4 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 c8ff4326f6 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 7739083216 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 ecceffe363 Merge cedar into mozilla-central 2011-04-08 11:05:22 -07:00
Matt Brubeck 73376c2323 Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel 2011-04-08 10:15:37 -07:00
Ehsan Akhgari eef6bac0eb Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Ms2ger 071052b010 Bug 647552 - Uninitialized variables in GLXLibrary::EnsureInitialized; r=bjacob 2011-04-07 21:55:10 -07:00
Matt Woodrow e9c429a9d2 Bug 641250 - Rename GLContext::TextureState::Initialized to Allocated. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow 1617cb1944 Bug 640082 - Part 5 - Use texture_from_pixmap in CairoImageOGL. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow 84b73ba2cf Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow d6e76c296a Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe 2011-04-07 16:58:08 -07:00
Jeff Muizelaar 1c38c3b384 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 6bbe101969 Bug 640082 - Part 2 - Use texture_from_pixmap in CanvasLayerOGL. r=joe 2011-03-09 10:41:10 +13:00
Matt Woodrow 07250ef298 Bug 640082 - Part 1 - Add texture_from pixmap support to GLContextProviderGLX. r=joe 2011-04-07 16:58:07 -07:00
Robert O'Callahan a85ed65a9f Bug 647315. Update ThebesLayerOGL with the same fix. r=mattwoodrow 2011-04-06 16:38:01 -07:00