Commit Graph

2954 Commits

Author SHA1 Message Date
Chris Jones
3a29ee3337 Bug 622838: Use the right rect-rounding mode to avoid accidentally resampling resolution-scaled ThebesLayer textures. r=jrmuizel a=b 2011-01-08 00:05:35 -05:00
Jeff Muizelaar
eede7fe911 Bug 623228. Remove some debugging code that snuck in. 2011-01-08 00:05:11 -05:00
Robert O'Callahan
60388a174c Bug 622886 - spike in crashes [@ gfxContext::gfxContext(gfxASurface*) ]. r=bas, a=blocking 2011-01-04 12:59:00 -08:00
Markus Stange
cade7f1d9a Bug 595180: Draw window resizer on Mac OS X. r=joe r=josh a=blocking2.0beta9+ 2011-01-07 15:32:42 -05:00
Benjamin Stover
8f61f2c5d1 Bug 612599 Gray lines when using content.scrollTo r=cjones a=blocking-fennec 2011-01-07 08:11:18 -08:00
Ms2ger
1774ecafea Bug 620355 - Fix uninitialized variable warnings in GLContext::UploadSurfaceToTexture; r=mattwoodrow a=joedrew 2011-01-07 14:37:50 +01:00
Jonathan Kew
945cdcf548 bug 617905 pt 2 - remove code to split long runs from the uniscribe shaper now that gfxFont code handles this earlier. r=karlt a=joe 2011-01-07 12:38:31 +00:00
Jonathan Kew
4f05106888 bug 617905 pt 1 - refactor gfxFont::InitTextRun so that all platforms benefit from splitting huge text runs. r=karlt a=joe 2011-01-07 12:38:28 +00:00
John Daggett
4af9bc9eb3 Bug 602792. Rework code for doing localized font family name lookups. r=jkew, a=blocker 2011-01-07 21:29:49 +09:00
Ms2ger
309dea2808 Bug 620356 - Fix uninitialized variable warning in CreateOffscreenPixmapContext; r=bjacob a=joedrew 2011-01-07 11:54:19 +01:00
Jonas Sicking
69e373af1d Bug 610823: Change a few users that use nsTArrays as buffers to explicitly use fallible tarray. r=jdaggett a=blocker 2011-01-06 20:45:10 -08:00
Vladimir Vukicevic
ccf4230fbc b=623367; correctly handle pbuffer attribs in EGL offscreen context resize; r=bjacob 2011-01-06 14:07:12 -08:00
Vladimir Vukicevic
5c358eba4e b=618892; [webgl] use ANGLE pbuffers to speed up webgl with d3d10 layers; r=bas 2011-01-06 14:07:12 -08:00
Vladimir Vukicevic
e24c8b11dd b=618892; [webgl] implement pbuffers in ANGLE for faster interop; r=upstream 2011-01-06 14:07:12 -08:00
Benoit Jacob
fdb9cba150 Bug 600079 - Crash in [@ @0x0 | mozilla::gl::GLContext::MarkDestroyed() ] - r=vlad, a=joe 2011-01-06 09:59:28 -05:00
Tatiana Meshkova
86662df445 Bug 621527: Ignore update if layer manager IsDestroyed(). r=cjones a=a 2010-12-27 08:48:00 -06:00
Jeff Muizelaar
d01407ff7f Bug 619578. Add Android GfxInfo. r=vlad
A very basic implementation.

--HG--
extra : rebase_source : 7eac8fb407d7df6b7c82d5fc176ad14048653428
2011-01-05 23:54:31 -05:00
Jeff Muizelaar
8ad59d6cc2 Bug 623228. Avoid calling glDeleteFramebuffers(1, &0). r=vlad
The Droid phones have a bug where calling glDeleteFramebuffers(1, &0) hangs
instead of being ignored.

--HG--
extra : rebase_source : dcfc98792404c5526845c587a378fb200e4faa95
2011-01-05 23:54:29 -05:00
Jeff Muizelaar
9a36b6ccec Bug 623228. Unify debug/release build gl wrappers. r=vlad
This will allow us to work around the Droid hangs
in a single place.

--HG--
extra : rebase_source : f7d51f5584d04a53cd192a46d1d265a74f4ac481
2011-01-05 23:54:27 -05:00
Chris Jones
3e974a81a0 Bug 623255: Ensure LayerOGL::Destroy is called for "orphaned" shadow OGL layers before the GLContext is deleted. r=vlad a=b 2011-01-05 22:54:47 -06:00
Chris Jones
36730f50aa Bug 623285: Initialize gfxImageSurface.mData. r=bjacob a=blocking-fennec 2011-01-05 13:42:09 -06:00
Robert O'Callahan
5af9b94883 Bug 615794. Part 2: Remove some usage of gfxUtils::ClipToRegionSnapped since snapping the visible region may not be correct. r=jrmuizel a=blocking 2011-01-04 23:35:57 +13:00
Oleg Romashin
1f78eadca8 Bug 620684 - Possible attempt to use invalid mGLContext. r=jmuizelaar a=approval2.0 2011-01-05 15:48:17 +02:00
Jonathan Kew
e1c1f355e9 bug 594889 - improve glyph spacing with DirectWrite fonts when ClearType is disabled by using GDI-compatible instead of 'ideal' metrics. r=bas a=blocking2.0 2011-01-04 16:58:31 +00:00
Chris Jones
8c8ad2f763 Bug 618265: Fix leaking gfxSharedImageSurfaces. r=joe sr=vlad a=b 2011-01-04 10:40:54 -06:00
Chris Jones
83c918d385 Bug 617863: Remove a pseudo-assertion that doesn't hold for plugin ImageLayers. r=roc a=a 2011-01-04 10:40:54 -06:00
Oleg Romashin
1d2b590fda Bug 618561 - Enable direct Qt rendering for Maemo6 r=dougt a=approval2.0
--HG--
extra : rebase_source : 104aca89d2827ec71a984baefae17aefec651a92
2011-01-04 17:37:24 +02:00
Oleg Romashin
ee28ea14ea Bug 621227 - Optimize thebes layer render function. r=vladimir a=approval2.0
--HG--
extra : rebase_source : e03927f5f491385725b8dc629060cc688cc299aa
2011-01-04 17:37:22 +02:00
Oleg Romashin
b9a3958eb3 Bug 618570 - -mfloat-abi=softfp should not be hardcoded in pixman r=jmuizelaar a=approval2.0
--HG--
extra : rebase_source : bdd986ff66400c7115214721aa11c3fb810138e3
2011-01-04 17:37:18 +02:00
Simon Montagu
2d56d2efaf Basic bidi support for SVG. Bug 620446, r=roc, a=roc 2011-01-04 00:52:17 -08:00
Robert O'Callahan
c148353f1a Bug 585258. Part 2: Make SimplifyOutward smarter by trying to avoid combinging rectangles that are vertically discontiguous. r=bzbarsky,a=blocking 2011-01-04 21:45:46 +13:00
Robert O'Callahan
e7c81607af Bug 613449. Extend GetLargestRectangle to support considering only rectangles that contain a given rectangle. r=robarnold 2011-01-04 16:56:57 +13:00
Robert O'Callahan
10f7e06464 Bug 539604. Part 12: Enable component alpha for containers that don't have an intermediate surface. r=bas,a=blocking 2011-01-03 15:04:59 +13:00
Bas Schouten
ae52927fa7 Bug 622678: Empty valid region when resources are cleared. r=roc a=blocking-betan 2011-01-04 02:37:13 +01:00
Bas Schouten
e83cf39bed Bug 593604 - Part 11: Remove code to support D2D/D3D9 interop. r+a=roc 2011-01-04 02:37:10 +01:00
Benoit Jacob
ad0d6fc246 Bug 622436 - Crash [@ GLEngine@0xaa6bc ], was making GL calls on wrong GL context - r=vlad, a=joe 2011-01-03 12:01:19 -05:00
Bas Schouten
005c4bc381 Bug 621156 - Followup: Clarify comment. r+a=comment DONTBUILD 2011-01-03 18:29:10 +01:00
Bas Schouten
337324ab1f Bug 621156: Return a properly working surface from GetAsSurface. r=jrmuizel a=blocking-final 2011-01-03 18:05:47 +01:00
Robert O'Callahan
65a4ff9706 Bug 593604. Back out changeset c20f34eefa5d to fix regression. a=blocking 2011-01-03 23:55:32 +13:00
Robert O'Callahan
0a2b0dfbde Bug 593604. Re-add missing hunk of part 10. a=blocking 2011-01-03 15:04:59 +13:00
Robert O'Callahan
e946441ff1 Bug 602757. Part 3: Change IsOpaque to GetOpaqueRegion so we can get useful opaque regions for content that uses border-radius. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
1e4d652a2a Bug 602757. Part 1: Create gfxContextAutoDisableSubpixelAntialiasing helper. r=vlad,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
b648fa5116 Bug 593604. Part 10: When ContainerLayerD3D9 uses an intermediate surface, try to copy up the background into the intermediate surface so we can composite component alpha into it correctly. r=bas,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
b890fea2f3 Bug 593604. Part 9: Support component alpha in ThebesLayerD3D9. r=bas,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
7e985e9c2e Bug 593604. Part 8.6: Add component-alpha shaders. r=bas,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
b61c7009d7 Bug 593604. Part 8.5: Add SupportsComponentAlphaChildren API. r=bas,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
ac7bd36fb0 Bug 593604. Part 8: Add SetAllowUseAsSource API for better diagnostics. r=jrmuizel,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
03b628b846 Bug 593604. Part 7: When doing a PushGroupAndCopyBackground on a gfxTeeSurface, copy the backgrounds of the subsurfaces pointwise. r=jrmuizel,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
f7ce3fced6 Bug 593604. Part 4: Create Layer::GetSurfaceMode to help determine what kind of alpha support the layer needs. r=vlad,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
2d7f1d77d0 Bug 593604. Part 2.5: cairo_pattern_get_surface should not call cairo_error. r=jrmuizel,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
206dd684c2 Bug 593604. Part 2: When compositing a tee surface into another tee surface, try to compose the subsurfaces pointwise. r=jrmuizel,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
3196f0174c Bug 593604. Part 1: Add gfxTeeSurface. r=jrmuizel,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
65086f2d01 Bug 363861. Part 4: Track rectangles of opaque content in RGBA surfaces and use them to make PushGroupAndCopyBackground work in more situations. r=jrmuizel,sr=vlad,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
8d6719b9ce Bug 363861. Part 3: Reenable Cleartype on surfaces where we know we'll only paint text over opaque pixels. r=jrmuizel,sr=vlad,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
07597c48c8 Bug 363861. Part 2.6: Wrap cairo API in gfxASurface::Get/SetSubpixelAntialiasingEnabled. r=vlad,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
ad251a9b0c Bug 363861. Part 2.3: Disable subpixel AA in gfxASurfaces with alpha channels by default. r=jrmuizel,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
0156f8d63d Bug 363861. Part 2: Introduce cairo_surface_get/set_subpixel_antialiasing. r=jrmuizel,sr=vlad,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
a5295c29ab Bug 363861. Part 1: Introduce gfxContext::PushGroupAndCopyBackground and use it to create opaque temporary surfaces for opacity groups which will be composited onto opaque surfaces. r=jrmuizel,sr=vlad,a=blocking 2011-01-03 14:48:08 +13:00
Oleg Romashin
dd6224b8dd Bug 619490 - Don't use double-buffered shadowed layers with OGL compositing r=cjones a=b-f 2010-12-31 09:40:31 +02:00
Oleg Romashin
5e4a6a5c25 Bug 619488 - Inform child processes of the compositor's layer-manager type. r=jones.chris.g a=b-f 2010-12-31 09:40:19 +02:00
Bas Schouten
e9e5023ac1 Bug 604452: Default to linear upscaling in D3D9 layers and adhere to mFiler. r=bjacob a=blocking-final 2010-12-29 19:22:18 +00:00
Bas Schouten
bf0f317029 Backed out changeset c59ea33927d7 2010-12-29 19:31:26 +00:00
-f
3ecf39d8bf Bug 604452: Default to linear upscaling in D3D9 layers and adhere to mFiler. r=bjacob a=blocking-final 2010-12-29 19:22:18 +00:00
Bas Schouten
a798fe031c Bug 620665 - Part 7: Do not use mManager pointer for basic layers. r=roc a=blocking-beta9 2010-12-29 01:07:18 +00:00
Bas Schouten
f34157c8d5 Bug 620665 - Part 6: Do not use mManager pointer for D3D9 layers. r=roc a=blocking-beta9 2010-12-29 01:07:15 +00:00
Bas Schouten
76fed664bf Bug 620665 - Part 5: Do not use mManager pointer for D3D10 layers. r=roc a=blocking-beta9 2010-12-29 01:07:12 +00:00
Bas Schouten
0c30be213f Bug 620665 - Part 3: Add some safety to ImageContainerD3D9::CreateImage. r=roc a=blocking-beta9 2010-12-29 01:07:06 +00:00
Bas Schouten
692f5c8f55 Bug 620665 - Part 2: Use fallback when ImageContainer's backend type doesn't match. r=roc a=blocking-beta9 2010-12-29 01:07:04 +00:00
Bas Schouten
e4cc92e61d Bug 620665 - Part 1: Expose backend type on ImageContainers. r=roc a=blocking-beta9 2010-12-29 01:07:00 +00:00
Vladimir Vukicevic
fdf0a111fc fix ANGLE build on Android (don't bother with OS detection with NSPR); bustage fix; a=b 2010-12-27 12:25:47 -08:00
Vladimir Vukicevic
0285a9d935 b=578877, reenable WebGL on Linux; r=vlad,a=b 2010-12-27 12:05:01 -08:00
Oleg Romashin
612ee54bef Bug 615870 - Remote HTML5 video rendering pipeline should be shorter. part1. r=jones.chris.g a=b-f
* * *
Bug 615870. Part 3. mRoot check r=roc a=b-f
2010-12-27 08:12:17 +02:00
timeless@mozdev.org
2d1e9665df Bug 620402 crash [@ gfxTextRun::BreakAndMeasureText] if haveHyphenation && !aProvider, r+a=roc 2010-12-20 15:54:00 -08:00
Vladimir Vukicevic
7a38ddd560 b=621067; Update angle to r515 to pick up crash fix; r+a=vlad 2010-12-22 15:31:02 -08:00
Jonathan Kew
dd723b2a02 bug 615445 - don't overwrite clusters when storing glyphs in textrun. r=karlt a=joe 2010-12-22 14:27:43 +00:00
Jonathan Kew
e6c77cc666 bug 618870 - CompressedGlyph::SetMissing should not overwrite the clusterStart bit. r=karlt a=roc 2010-12-22 14:27:43 +00:00
Jacek Caban
8c9652c9ac Bug 620669 - d3d9 layout does not compile on mingw; r=Bas a=Mossop 2010-12-21 05:52:00 -05:00
Oleg Romashin
9a7252a7ea Bug 618788 - Not initialized used in CairoImageOGL::SetData r=vladimir a=approval2.0 2010-12-21 20:46:31 +02:00
Oleg Romashin
3ae058666d Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-30 08:02:46 +02:00
Karl Tomlinson
819f8478e9 b=580962 enable crashtest 580233-1 even for gtk2widget
--HG--
extra : transplant_source : 3%EDw%D9%7C%E3%26s%E8u%A4%CC%5D%9D%B6-O%CC%7FF
2010-12-21 15:45:57 +13:00
Bas Schouten
72e0b70c33 Bug 615316 - Part 10: Support different layer managers in ImageLayerD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:30 +00:00
Bas Schouten
2f2ceb7f86 Bug 615316 - Part 9: Support changing devices for YCbCrImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:18 +00:00
Bas Schouten
116672a916 Bug 615316 - Part 8: Support GetAsSurface for CairoImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:11 +00:00
Bas Schouten
b6abb56232 Bug 615316 - Part 7: Support surfaces with Alpha for CairoImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:08 +00:00
Bas Schouten
67d24c5af4 Bug 615316 - Part 6: Support device changing for CairoImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:04 +00:00
Bas Schouten
9ba96ad8f7 Bug 615316 - Part 5: Factor out SurfaceToTexture in D3D9 Image layers. r=jrmuizel a=blocking-betan 2010-12-20 22:37:01 +00:00
Bas Schouten
db1c1db668 Bug 615316 - Part 4: Store device on CairoImageD3D9 instead of on the LayerManager. r=jrmuizel a=blocking-betan 2010-12-20 22:35:31 +00:00
Bas Schouten
402680c191 Bug 604647: Never create swap chains while the device is lost. r=jrmuizel a=blocking-final 2010-12-20 22:35:28 +00:00
Robert O'Callahan
8ad0efd198 Bug 612840. Part 4: Invert the meaning of CONTENT_NO_TEXT_OVER_TRANSPARENT and rename it. r=vlad 2010-12-20 14:26:14 +13:00
Robert O'Callahan
a946b15fb3 Bug 612840. Part 3: Make Layer::CONTENT_NO_TEXT_OVER_TRANSPARENT applicable to all layer types, and set CONTENT_NO_TEXT_OVER_TRANSPARENT on container layers. r=tnikkel,r=vlad 2010-12-20 14:26:14 +13:00
Robert O'Callahan
262f54d7e8 Bug 612840. Part 2: Remove unnecessary opacity check. r=cjones 2010-12-20 14:26:14 +13:00
Robert O'Callahan
21068b15a9 Bug 612840. Part 1: Remove CONTENT_NO_TEXT flag since it's not really used. Also remove ShouldRetainTransparentSurface and related code; we'll assume that when text is over opaque pixels in an RGBA surface we can always paint it with subpixel AA --- and make it so in later patches. r=vlad 2010-12-20 14:26:13 +13:00
Matt Woodrow
416cd3f0bb Bug 619934 - Fix startup crash in UploadSurfaceToTexture ra=jrmuizel
Some last minute changes caused this to assume that imageSurface->Data()
didn't return NULL.
2010-12-18 19:11:19 -05:00
Matt Woodrow
a2e7cac831 Bug 604101 - Part 6 - Add TextureImage::DirectUpload for faster texture uploads. r=jrmuizel a=blocking2.0 2010-12-16 23:50:26 -08:00
Matt Woodrow
47294e7de3 Bug 604101 - Part 5 - Use Pixel Buffer Objects in TextureImageCGL. r=joe,jrmuizel a=blocking2.0 2010-12-16 23:49:42 -08:00
Joe Drew
75093ce566 Bug 611433 - Add gfxQuartzImage constructor for data pointers. r=jrmuizel a=blocking2.0 2010-12-16 23:34:54 -08:00
Joe Drew
610ac9f1c9 Bug 611433 - Add cairo_quartz_surface_create_for_data. r=jrmuizel a=blocking2.0 2010-12-16 23:33:07 -08:00
Matt Woodrow
bdcc087748 Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0 2010-12-16 23:29:23 -08:00
Matt Woodrow
dab12e14f8 Bug 604101 - Part 3 - Use UploadSurfaceToTexture in CanvasLayerOGL. r=joe a=blocking2.0 2010-12-16 23:28:30 -08:00
Matt Woodrow
ccd0b4a069 Bug 604101 - Part 2 - Use UploadSurfaceToTexture in CairoImageOGL. r=joe a=blocking2.0 2010-12-16 23:27:56 -08:00
Matt Woodrow
fce27bc281 Bug 604101 - Part 1 - Add UploadSurfaceToTexture. r=joe a=blocking2.0 2010-12-16 23:23:07 -08:00
Matt Woodrow
58d947701c Bug 615741 - Too large canvases don't draw and be black. r=joe a=joe 2010-12-16 23:19:28 -08:00
Matthew Gregan
fc868e4d64 Bug 584259 - Add support for StereoMode element. r=roc a=roc 2010-11-03 12:43:29 +13:00
Vladimir Vukicevic
5a5c544bbf b=619798; upgrade ANGLE to r511; r+a=vlad 2010-12-16 12:49:06 -08:00
Bas Schouten
68b4817704 Bug 613790: Comment update follow-up. a=comment 2010-12-16 08:08:49 +00:00
Timothy Nikkel
47046855a6 Bug 619601. If we are asked to create a similar surface and our underling surface isn't valid just return null. r=jrmuizel,a=joe 2010-12-16 00:07:20 -08:00
Shawn Wilsher
08e6bfdd2e Merge Places and mozilla-central
a=bsmedberg
2010-12-15 19:24:51 -08:00
Bas Schouten
5bd3bb5cf5 Bug 613790: Use GDI compatible flag for our swap chains. r=jrmuizel a=blocking-final 2010-12-16 01:35:44 +00:00
Shawn Wilsher
1f59f3890b Merge mozilla-central to Places 2010-12-14 15:56:41 -08:00
Jonathan Kew
848ff489bf bug 618592 - fix harfbuzz hang on lookup with empty rule. r=behdad a=blocking-beta8 for landing on a CLOSED TREE 2010-12-13 18:46:07 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Karl Tomlinson
13e7636df7 b=618406 avoid crashy versions of FT_Face_GetCharVariantIndex r=jfkthame a=blocking
--HG--
extra : transplant_source : %C6%D21%5D%03_%07%1D%2B_O%F3%F1F%FF%B6%8F%5E%DB%9C
2010-12-14 08:44:55 +13:00
Michael Wu
007c1382ec Backing out bug 615870 34bd12eb4a9c for causing bug 618916, a=stuart 2010-12-13 16:15:16 -08:00
Michael Wu
a3ec8a5ae1 Backed out changeset 34bd12eb4a9c for causing bug 618916, a=stuart 2010-12-13 16:14:07 -08:00
Oleg Romashin
0da1b085e9 Bug 615870 - Remote HTML5 video rendering pipeline should be shorter r=roc a=b-f 2010-12-10 21:32:52 +02:00
Bas Schouten
355708a54f Bug 612042: Set extend mode properly for integer translations. r=joedrew a=blocking-betan 2010-12-12 06:18:27 +01:00
Bas Schouten
8214a72452 Bug 612042: Add HasOnlyIntegerTranslation function. r=joedrew 2010-12-12 06:18:21 +01:00
Benoit Jacob
eff6d05bfd Bug 618525 - ANGLE leaks locale objects (ANGLE bug 93) - r+a=vlad 2010-12-11 10:13:22 -05:00
Benoit Jacob
7b4994abe3 Bug 597946 - ANGLE compiler freezes on shader with bad #ifdef (ANGLE bug 40) - r=vlad, a=blocking-betaN 2010-12-11 10:13:22 -05:00
Shawn Wilsher
5f893d748b Merge mozilla-central into Places. 2010-12-07 15:06:32 -08:00
timeless@mozdev.org
0db9182e4f Bug 615528 gfx/ots/src/Makefile.in randomly clobbers VISIBILITY_FLAGS ifndef MOZ_ENABLE_LIBXUL instead of using config/system-headers
r=khuey a=joe
2010-12-07 10:42:00 -08:00
Bas Schouten
d6b50ba309 Bug 617242: Don't cull for transforms that flip the content. r=jrmuizel a=joedrew 2010-12-07 18:42:08 +01:00
Jeff Muizelaar
7fce1fff4d Bug 615753. Let the OpenGL layer manager handle double bufffering. r=vlad, a=blocking
Letting the OpenGL layer manager handle double buffering cleans things up
and makes them work properly.
2010-12-07 11:46:39 -05:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Jonathan Kew
624388b152 bug 467722 - don't short-circuit pref font search unless the previous search really did use the first font. r=jdaggett a=roc 2010-12-06 10:51:02 +00:00
Jonathan Kew
a23979cb8e bug 614904 - prefer CoreText path for complex-script fonts if AAT tables are present. r=jdaggett a=blocking-betaN 2010-12-06 10:41:29 +00:00
Shawn Wilsher
1a57bc2dca Merge mozilla-central to Places. 2010-12-02 09:05:33 -08:00
Jeff Muizelaar
feb59ecd24 Bug 614832. Refactor EGL surface creation. r=vlad,a=blocking
This factors CreateSurfaceForWindow() out of CreateForWindow() so that we can
reuse it in RenewSurface(). For this to work we also need to factor out
CreateConfig(). The QT implementation is also pulled out because it didn't
share any code.
2010-12-13 14:36:35 -08:00
Jonathan Kew
13248a80c1 bug 606419 - always return the dwrite factory once one has been created. r=bas a=blocking2.0 2010-12-02 10:37:17 +00:00
Jonathan Kew
9c693a7b81 bug 609691 - check result of gfxFontGroup::MakeTextRun for failure. r=karlt a=joe 2010-12-01 11:53:45 +00:00
Dave Townsend
5944c85a97 Backing out changeset ee61ea93a2fa from bug 609691 due to causing permanent orange on OSX crashtests. CLOSED TREE. a=backout 2010-12-01 11:07:40 -08:00
timeless@mozdev.org
3dbea022b0 Bug 603358 gfxHarfBuzzShaper::InitTextRun leaks hb_font_funcs_create() and hb_unicode_funcs_create(). r=jfkthame a=joe 2010-12-01 16:34:24 +00:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Bas Schouten
5ed3adcb07 Backout bug 595277. a=bustage 2010-12-07 05:39:19 +01:00
Bas Schouten
14cb808663 Bug 595277 - Part 0: Clear out user data on destroy. r=roc 2010-12-07 03:05:25 +01:00
Benoit Jacob
81ac2ab66c Bug 613079 - fix non-libxul build and style fixes - r=dholbert, a=fix-build-nonlibxul 2010-12-06 09:10:42 -05:00
Benoit Jacob
f3d3a4229e Bug 613079 - WebGL crash [@mozilla::gl::GLContextProviderGLX::CreateOffscreen] - r=mattwoodrow, a=blocking-betaN 2010-12-06 06:34:34 -05:00
Oleg Romashin
233ef8a80c Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Bas Schouten
476b6e29ba Bug 615316 - Part 3: Support any container in ImageLayerD3D10. r=jrmuizel a=blocking-betan 2010-12-15 21:37:15 +01:00
Bas Schouten
0ded4e0978 Bug 615316 - Part 2: Support GetAsSurface for CairoImageD3D10. r=jrmuizel 2010-12-15 21:37:12 +01:00
Bas Schouten
82a42d2ced Bug 615316 - Part 1: Factor out SurfaceToTexture conversion for D3D10 Image Layers. r=jrmuizel 2010-12-15 21:37:10 +01:00
Matt Woodrow
b424421392 Bug 614651: Intersect clip rects properly in D3D9 layers. r=bas a=blocking-final 2010-12-15 21:37:07 +01:00
Oleg Romashin
5654c20b27 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. use 16bpp neon r=roc a=blocking-fennec 2010-12-10 21:32:52 +02:00
Oleg Romashin
5658661615 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. Offscreen API r=roc a=b-f 2010-12-15 10:17:27 -08:00
Oleg Romashin
9b58852fa0 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. README and patch r=doublec a=blocking-fennec 2010-12-15 10:17:26 -08:00
Oleg Romashin
188c6d35d1 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. GetOffscreenFormat r=roc a=b-f 2010-12-15 10:17:26 -08:00
Oleg Romashin
6fbdf6304b Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. ycbcr r=chris.double a=blocking-fennec 2010-12-10 21:32:52 +02:00
Oleg Romashin
e2bbd5efeb Bug 592464. Redo EGL TextureImage code. r=jrmuizel,vlad,a=blocking-fennec 2010-11-26 16:41:53 -05:00
Jonathan Kew
73e737410a bug 609691 - check result of gfxFontGroup::MakeTextRun for failure. r=karlt a=joe 2010-12-01 11:53:45 +00:00
Bas Schouten
04de10e53d Bug 606372: Properly inverse transform the brushes in D2D. r=jrmuizel a=blocking-final 2010-12-01 02:17:05 +01:00
Karl Tomlinson
ce91e01757 bug 615121 - fix operator precedence error in glyph yoffset. r=jfkthame a=blocking-betaN 2010-11-30 15:44:35 +00:00
Ginn Chen
1308832119 Bug 612234 Part 3: Make internal pixman functions hidden for Solaris Studio compiler r=jmuizelaar a=blocking-2.0 2010-11-30 14:38:47 +08:00
Ginn Chen
7d659f52c9 Bug 612234 Part 2: Rename all pixman export functions r=jmuizelaar a=blocking-2.0 2010-11-30 14:38:22 +08:00
Ginn Chen
af3d6af6e5 Bug 612234 Part 1: Define MOZ_TREE_PIXMAN when using internal pixman r=jmuizelaar a=blocking-2.0 2010-11-30 14:38:02 +08:00
Justin Lebar
a34dc4c30c Merge backout. a=orange 2010-11-29 09:08:41 -08:00
Justin Lebar
43b18d2b18 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Markus Stange
68cb82f59c Bug 600476 - Restore a painting optimization that I accidentally removed in bug 572680. r=joe, r=roc, a=betaN 2010-11-27 00:31:01 +01:00
Makoto Kato
b163230e1d Bug 611389 - Minefield 64-bit crash of NVIDIA driver [@ nvwgf2umx.dll@0x56f71a ]. r=bsmedberg a=blocking-beta8+ 2010-11-17 14:50:39 +09:00
Vladimir Vukicevic
db3e386db3 b=612756; fix EGL TextureImage upload code; r=jrmuizel, a=b 2010-11-16 20:49:09 -08:00
Vladimir Vukicevic
77225bdf11 b=598328; clean up nv console spam; r=joe, a=b 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
36f8014890 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-11-16 20:33:03 -08:00
Tatiana Meshkova
7d6080201c bug 606730 - Remote thebesLayer BG color rendering always, even if it's not visible, Part 2: MarkLeafLayersCoveredByOpaque() for BasicLayers r=roc a=roc 2010-11-16 18:33:56 -05:00
Tatiana Meshkova
b3ef0bae09 bug 606730 - Remote thebesLayer BG color rendering always, even if it's not visible, Part 1: Add mLastChild to all ContainerLayer r=roc a=roc 2010-11-16 18:33:56 -05:00
Brad Lassey
77ba0ab35f bug 595919 - Implement PDF printing for "Save As PDF" on Android r=vlad a=blocking-fennec 2010-11-16 18:33:56 -05:00
Ryan VanderMeulen
b3c91154cb Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Jonathan Kew
98d536c5c1 bug 605043 followup - fix --with-system-cairo build breakage. r=karlt a=bustage 2010-11-16 08:38:44 +00:00
Jonathan Kew
55054bd8bf bug 611855 - work around incorrect font traits for helvetica light oblique on 10.6.5. r=jdaggett approval2.0=dbaron 2010-11-16 08:34:38 +00:00
Benoit Jacob
980bce6499 Bug 612171 - Regression: severe scrolling glitches with GL layers - r=joe, a=blocking-beta8 2010-11-15 18:13:56 -05:00
Markus Stange ext:(%2C%20Joe%20Drew%20%3Cjoe%40drew.ca%3E%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
19a64fc670 Bug 593342 - Use double buffering on Mac instead of flushing, for greater performance. r=vlad,roc,joe a=b 2010-09-21 14:39:38 -04:00
Karl Tomlinson
3f1c699647 b=605043 round inter-glyph spacing to pixels when glyphs will be pixel snapped r=jfkthame
--HG--
extra : transplant_source : %9Eu%09%E3N%EC%D7x%20O%EA%3E%0F%86%9C%93k9%7E%B2
2010-11-15 08:21:37 +13:00
Makoto Kato
c7c2568e01 Bug 611960 - bustage on Win64 after bug 583138 is landed. r=roc, a=roc 2010-11-14 00:42:02 +09:00
Joe Drew
19957ee9c6 Bug 611498 - Add a test for transparent areas overdrawing when repeatedly drawn. r=jrmuizel a=b
--HG--
extra : rebase_source : 42a63d58e136368a595ba1714ceac47134a0e1bf
2010-11-12 18:34:43 -05:00
Joe Drew
c2d219bdce Bug 611498 - Clear transparent surfaces before we draw into them. r=jrmuizel a=b
--HG--
extra : rebase_source : 0bda0fede9b4fb607906d93997de8f85402a5592
2010-11-12 18:34:36 -05:00
Benjamin Stover
8be1e69fae Bug 611799 Prefill newly created buffers with old content r=cjones a=blocking-fennec 2010-11-12 14:21:05 -08:00
Vladimir Vukicevic
4b44267bda b=609195; use GL_REPEAT for non-power-of-two textures if we have support for them; r=jrmuizel, a=b 2010-11-12 12:02:20 -08:00
Vladimir Vukicevic
18c7818ede b=609195; don't use GL_REPEAT for non-power-of-two textures; r=jrmuizel 2010-11-12 12:02:17 -08:00
Vladimir Vukicevic
32096750fc b=605063; fix android GL startup; r=jrmuizel 2010-11-12 12:02:11 -08:00
Jonathan Kew
94c89c69d7 bug 606714 - shape long text runs in sections. r=jdaggett a=blocking2.0 2010-11-11 11:21:05 +00:00
Chris Double
6656705ec5 Bug 583138 - Update to latest Chromium YCbCr to RGB Conversion code - r=roc a=blocking2.0 2010-11-11 12:54:27 +13:00
Chris Double
c8b0bb098e Bug 577843 - Scale videos at YCbCr conversion time - r=roc a=blocking2.0
--HG--
extra : rebase_source : ae011843fdd812dbeab7e5de0bf3b6029cccb3e5
2010-10-26 16:11:13 +13:00
Robert O'Callahan
41c36793bb Bug 608636. Clip to transformed bounds of BasicContainerLayers when compositing their opacity groups back to the target surface. r=vlad,a=blocking 2010-11-12 14:43:42 +13:00
Robert O'Callahan
32e1df6ff8 Bug 579885. Part 2: Never use SOURCE to composite ThebesLayers into the target, just use OVER and assume cairo backends will optimize. r=vlad,a=blocking 2010-11-12 14:43:42 +13:00
Robert O'Callahan
5dc58e0b07 Bug 579885. Part 4: Paint opaque surfaces using kPrivateCGCompositeCopy when possible. r=jrmuizel,a=blocking 2010-11-12 14:43:42 +13:00
Robert O'Callahan
2215e35a5d Bug 579985. Part 3.2: Remove gfxASurface::AreSimilarSurfacesSensitiveToContentType because it's effectively always true now. r=jrmuizel,a=blocking 2010-11-12 14:43:40 +13:00
Robert O'Callahan
d78da67af5 Bug 579985. Part 3.1: Pass cairo_content_t parameter when creating CGLayer surfaces. r=jrmuizel,a=blocking 2010-11-12 14:42:22 +13:00
Robert O'Callahan
bc9c9cca06 Bug 579985. Using CGContextSetAlpha to implement mask alpha doesn't work for some operators. r=jrmuizel,a=blocking 2010-11-12 14:42:22 +13:00
Robert O'Callahan
ec94c756f0 Bug 593270. Part 2: Treat EXTEND_PAD like EXTEND_NONE when painting. r=jrmuizel,a=joe 2010-11-12 14:42:22 +13:00
Robert O'Callahan
6cc10debb6 Bug 593270. Part 1: Move surface setup code to a helper function. r=jrmuizel,a=joe 2010-11-12 14:42:22 +13:00
Joe Drew
5d143ec57b Bug 575521 - bustage fix. r=me a=b 2010-11-11 16:04:36 -05:00
Joe Drew
a2aa4fefa9 Bug 575521 - Draw to a clipped context backed by the surface uploaded to OpenGL using APPLE_client_storage to avoid slowdowns in glTexSubImage2D. r=jrmuizel a=b 2010-11-11 15:31:23 -05:00
Joe Drew
01b68699c8 Bug 575521 - Use the APPLE_client_storage extension to reduce the number of copies of data we make when uploading textures. r=vlad 2010-11-11 15:31:23 -05:00
Joe Drew
37ef931f88 Bug 575521 - Support the APPLE_client_storage GL extension. r=vlad 2010-11-11 15:31:23 -05:00
Joe Drew
95cd602adf Bug 575521 - Use gfxASurface::GetAsImageSurface in TextureImageCGL to make it faster. r=jrmuizel 2010-11-11 15:31:23 -05:00
Joe Drew
c001466571 Bug 575521 - Add gfxQuartzSurface::GetAsImageSurface. r=jrmuizel,vlad 2010-11-11 15:31:23 -05:00
Joe Drew
69ac8b8909 Bug 575521 - Add cairo_quartz_surface_get_image to get the image associated with a quartz surface, if it exists. r=jrmuizel,vlad,bas 2010-11-11 15:31:23 -05:00
Joe Drew
6b38f4e09a Bug 575521 - Flush the CGContext before getting its raw image data. r=jrmuizel 2010-11-11 15:31:22 -05:00
Matt Woodrow
0a67be7b51 Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Jonathan Kew
06f2a83a6f merge backout of 7e3e4c91c0f7, a=backout 2010-11-11 12:18:56 +00:00
Jonathan Kew
9eeab3f07b Backed out changeset 7e3e4c91c0f7 due to Linux failures 2010-11-11 12:18:02 +00:00
Jonathan Kew
5677fae53c bug 606917 part 2 - update character property tables for harfbuzz to unicode 6.0. r=smontagu approval2.0=benjamin 2010-11-11 11:32:02 +00:00
Jonathan Kew
c2e6d96f80 bug 606714 - shape long text runs in sections. r=jdaggett a=blocking2.0 2010-11-11 11:21:05 +00:00
Oleg Romashin
5b01c5e03f Bug 609838 - Fennec double-tap zoom is broken with HW acceleration enabled. r=jones.chris.g a=b-f 2010-11-11 07:44:42 +02:00
Karl Tomlinson
891ba8205c b=597147 part 19: simplify gfxFcFont/gfxPangoFcFont ownership a little r=jfkthame
--HG--
extra : rebase_source : c7288edd9faefde36543d635c37b8a05d3d18a7b
2010-11-11 11:32:06 +13:00
Karl Tomlinson
46c8b1c97d b=597147 part 18: use GDK's default PangoFontMap when suitable r=jfkthame
--HG--
extra : rebase_source : 62f25ad9a6c0b926f8c357cae8b85adfb44f2988
2010-11-11 11:30:21 +13:00
Karl Tomlinson
0fdc24da53 b=597147 part 17: switch from pango_itemize to gfxScriptItemizer r=jfkthame
--HG--
extra : rebase_source : f0b1026020b765d1ffedd1f98d04373b8d8fbc9a
2010-11-11 11:25:59 +13:00
Karl Tomlinson
d8a4e4c012 b=597147 part 16: Add gfxFcFont::InitTextRun to shape with Pango r=jfkthame
--HG--
extra : rebase_source : bb1b064642eb58f86400b774bd8514f9baa956c4
2010-11-11 11:25:59 +13:00
Karl Tomlinson
f6dd30961a b=597147 part 15: set up PangoAnalysis for Pango shaping r=jfkthame
--HG--
extra : rebase_source : 89c6d15adbf7d82672939889aad64a80a36f945a
2010-11-11 11:25:59 +13:00
Karl Tomlinson
43e6d1b464 b=597147 part 14: Let gfxFcFont and gfxPangoFcFont share ownership of each other r=jfkthame
--HG--
extra : rebase_source : 13cc757a75d3a222634606e3f3220869da4bb12e
2010-11-11 11:25:59 +13:00
Karl Tomlinson
f82a1296af b=597147 part 13: Add a factory method to create a gfxPangoFcFont from gfxFcFont r=jfkthame
--HG--
extra : rebase_source : 460d3c74112cec7a42ca29c840dd9120457499e1
2010-11-11 11:25:59 +13:00
Karl Tomlinson
287a3dcee0 b=597147 part 12: un-inline some of gfxPangoFcFont r=jfkthame a=blocking
--HG--
extra : transplant_source : %B3%9C%C9%8E%91%D9%1D%F3%95%12%5CRg%40%7D%D3%E5%06L%0B
2010-11-11 09:04:19 +13:00
Karl Tomlinson
f3d9a0fdaa b=597147 part 11: Use C++ instance methods in gfxPangoFcFont r=jfkthame
--HG--
extra : transplant_source : %D9%15%DB%9C%EB%8CCi%03%C1%915-%9EOA3%B8%5C%7F
2010-11-11 08:46:55 +13:00
Karl Tomlinson
72fddc4960 b=597147 part 10: make font group language a real language for font shaping r=jfkthame
--HG--
extra : transplant_source : %BE%D9%0B%C0I%17%26%14%7E%ED9j%96%7BPE%8C%A3Q%09
2010-11-11 08:46:55 +13:00
Karl Tomlinson
36ae658015 b=597212 remove unnecessary extra nsILanguageAtomService::LookupLanguage r=jfkthame a=joe
--HG--
extra : transplant_source : p%23%5B%82.%9D70%F6%95%96%85%0C%EE%04%1C%BC9%27%D2
2010-11-11 08:45:00 +13:00
Karl Tomlinson
be1b3e0616 b=597212 hold a reference to language nsIAtom from gfxFontStyle r=jfkthame a=joe
--HG--
extra : transplant_source : %11e%10%CF%5E%90Ce%84S%ADj%16%EC%8FA%9A%0A%D5%29
2010-11-11 08:44:32 +13:00
Karl Tomlinson
17490b3745 b=597147 part 9: make language GetSampleLangForGroup parameter an atom r=jfkthame
--HG--
extra : transplant_source : %1C%3E%F6_%93%EFW%AEFx/%2B%8F%0F%AEO%9B%E5%CC%26
2010-11-08 11:44:51 +13:00
Karl Tomlinson
0553d786a8 b=597147 part 7: avoid some signed/unsigned comparisons r=jfkthame
--HG--
extra : transplant_source : %81b%3A%0F%D7Ul%FC%1F%B8/n%CD%25%BB%9E%D8%C2%F7%19
2010-11-08 11:44:51 +13:00
Karl Tomlinson
9c7c805dd5 b=597147 part 6: move Pango shaping out of FontGroup r=jfkthame
--HG--
extra : transplant_source : db%C4%E5%A8i%B7%8C-%16.P%F16%FDb%07P%A9%B6
2010-11-08 11:44:51 +13:00
Karl Tomlinson
41db32b4f0 b=597147 part 5: move glyph run routines from FontGroup to Font r=jfkthame
--HG--
extra : transplant_source : %3E%9A%B3%994%99%E9%08jQb%3D%08%B1y%C5%A36%C9%89
2010-11-08 11:44:51 +13:00
Karl Tomlinson
d3baabcd62 b=597147 part 4b: pass run script to FindFontForChar and add gfxPangoFontGroup implementation r=jfkthame
--HG--
extra : transplant_source : %1D%B2%B9O%9F%2C%05%81%B4%C8%BER%9B%5D%A0%3A-%AB%98%F5
2010-11-08 11:44:51 +13:00
Karl Tomlinson
decd4337ef b=597147 part 4a: move latin-for-common bug 590114 workaround from font group to shaper so as not to disrupt fontconfig font selection language r=jfkthame
--HG--
extra : transplant_source : %E4%29r%B2%84%3Bu%04C%07%EEm%AC%AD%7Ef%3DF%5Ee
2010-11-08 11:44:51 +13:00
Karl Tomlinson
cf72691334 b=597147 part 3: add gfxFcFont* gfxFcFontSet::GetFontAt(i) and use it for size-adjust measuring font r=jfkthame
--HG--
extra : transplant_source : a%F6%9D%D4%9E%89y%7C%A7%A5V%EF.%1F%EEs%B7k%BC7
2010-11-08 11:44:51 +13:00
Karl Tomlinson
bb3d9ff82b b=597147 part 2: rename gfxFcPangoFontSet to gfxFcFontSet, add GetBaseFont to return a gfxFcFont r=jfkthame
--HG--
extra : transplant_source : c%CD%A8%09%A0J%D6%AA%B6%F7lz%1Fj%A4%BC%9C-s%92
2010-11-08 11:44:50 +13:00
Karl Tomlinson
dd0403f1ff b=597147 part 1: remove unused WhichFontSupportsChar r=jfkthame
--HG--
extra : transplant_source : %8B%27%DA%C5R%B4%A0s%1Fb%DC%AF%98%3C%C0%9F%0A%02%E0%D3
2010-11-08 11:44:50 +13:00
L. David Baron
27a87fad7a Fix GLX version check so it won't break when the version hits 1.10. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
a9ab99d440 Use extension alternatives for GLX 1.3 features when GLX 1.3 is not available but equivalent extensions are. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
2917f2551e Don't repeatedly try to initialize GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
2c661ecb3f Add glXQueryExtensionsString to GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
0b1d00c690 Remove unused functions from GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
5ef5e39547 Remove non-working remnant of support for GLX versions less than 1.3. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
4a14a0d6f2 Make glXDestroyContext function pointer consistent with name of function. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
8fe93df76f Remove duplicate XFree call. (Bug 605992) r=vlad a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
ed2ce3bf01 Make 'bolder' and 'lighter' values of 'font-weight' be computed in the style system, per recent edits to CSS 2.1. (Bug 93725) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
850dc81ab2 Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Alon Zakai
0eea5c252a Bug 609678 - Fix memory leak in SetBackingBuffer. r=cjones a=blocking-fennec 2010-11-05 09:37:40 -07:00
Chris Jones
cfafc2d132 Bug 603885, part 8: Add logging for buffer creation and readback operations. r=roc 2010-11-05 02:17:07 -05:00
Chris Jones
5d4e5b42c3 Bug 603885, part 7: Remove front-buffer pre-fill code that is now subsumed by swap-and-readback (which also gets the pre-fill off the critical path for repainting). r=roc 2010-11-05 02:17:07 -05:00
Chris Jones
288dc3e604 Bug 603885, part 6: Implement swap-and-readback. r=roc 2010-11-05 02:17:07 -05:00
Chris Jones
8e5431c6bc Bug 603885, part 5: Move the code for getting a gfxContext for a quadrant update into its own method. r=roc 2010-11-05 02:17:07 -05:00
Chris Jones
26eb3d0bcb Bug 603885, part 4: Use unsafe-shmem-backed gfxSharedImageSurface for IPC shadow layers. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
06dffe7607 Bug 603885, part 3: Allow allocating gfxSharedImageSurface with unsafe Shmem. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
ec4a82019e Bug 603885, part 2: Set up the framework for swap-and-readback. r=roc sr=vlad 2010-11-05 02:17:07 -05:00
Chris Jones
db22ab9350 Bug 603885, part 1: Move separate a method decl/def and reindent a long block. r=roc 2010-11-05 02:17:07 -05:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Benjamin Smedberg
c26e61f8d5 Bug 596451 part E - Implement transparency using DIBs with builtin transparency. Flash at least does this correctly, and since nobody else really uses windowless transparency, this is going to be the Way It Is. r-pending=jimm/karlt 2010-10-27 09:03:09 -04:00
Oleg Romashin
04ff8b2cce Bug 606910 - RENDER_DIRECT mode for Qt widget (xshmPutImage). r=dougt a=blocking-fennec
--HG--
extra : rebase_source : 6ea776ea7e0b282d6b61d5e5fa570460e84f90be
2010-10-27 07:56:31 +03:00
Benjamin Smedberg
980b674f06 More build bustage from Bug 596451 part D. Explicitly initialize the const structures for GCC. 2010-10-25 16:25:01 -04:00
Bas Schouten
511f160332 Bug 606938: Toss out cached bitmaps when created with an old device. r=jrmuizel a=blocking-beta7 2010-10-27 06:52:41 +02:00