Commit Graph

7864 Commits

Author SHA1 Message Date
Vladimir Vukicevic
44d1f1a0b6 b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b 2011-01-12 17:45:13 -08:00
Bas Schouten
2c54dbc85c Bug 612103 - Followup: Remove accidentally introduced tabs. r+a=DONTBUILD 2011-01-12 23:29:11 +01:00
Chris Jones
78d126ab89 Bug 623728: Don't process transactions on destroyed shadow layer managers, even when the layer manager hasn't been explicitly destroyed. r=jrmuizel a=b 2011-01-12 14:13:41 -06:00
Jonathan Kew
a3e5752a14 bug 623974 - use GDI aliased spacing in DW when ClearType is off. r=bas a=joe 2011-01-12 10:34:11 +00:00
Bas Schouten
23f20bb473 Bug 612103 - Part 2: Do not attempt to draw with a shader resource view belonging to an old device. r=jrmuizel a=blocking-final 2011-01-12 01:52:29 +01:00
Bas Schouten
7aefbe99a7 Bug 612103 - Part 1: Do not attempt to do anything when we fail to create a texture for a surface. r=jrmuizel a=blocking-final 2011-01-12 01:52:27 +01:00
Bas Schouten
826f567c32 Bug 612103 - Part 0.5: Add ReportFailure for D3D10 Layers. r=jrmuizel a=blocking-final 2011-01-12 01:52:25 +01:00
Jeff Muizelaar
169ebd334c Bug 623446. Turn the layer acceleration prefs into a tri-state. r=joe,a=b
This removes:
 layers.accelerate-all
 layers.accelerate-none

and adds:
 layers.acceleration.disabled
 layers.acceleration.force-enabled

This is closer to what D2D does.
2011-01-11 17:01:37 -05:00
Chris Jones
7afafb885d Bug 623451: Don't double-release surfaces. r=jrmuizel a=b 2011-01-11 15:34:31 -06:00
Jeff Muizelaar
8f8c4fd85d Bug 590591. Update the cairo symbol mangling. a=b 2011-01-10 09:16:23 -05:00
Markus Stange
80c932200b Bug 621762 - Change the way native windows are notified about toolbars. r=roc, a=betaN 2011-01-11 14:03:16 +01:00
Jonathan Kew
8129240876 bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc 2011-01-11 11:17:00 +00:00
Robert O'Callahan
53cc70b575 Bug 624170. Part 1: Don't try to release the DC for null surfaces. r=bas; a=blocking-beta9+ landed on a CLOSED TREE 2011-01-10 17:24:10 -05:00
Robert O'Callahan
79c9c9869f Bug 622886 - Further wallpaper over crashes in gfxContext::gfxContext(gfxASurface *). r=bas,jrmuizel a=blocking-beta9+, CLOSED TREE 2011-01-10 17:07:49 -05:00
Benoit Jacob
639f78fdb5 CLOSED TREE - Bug 624390 - With GLX, blacklist everything but NVIDIA proprietary driver - r=jmuizelaar, a=joe 2011-01-10 16:14:14 -05:00
Bas Schouten
622018a9e6 Bug 623807: Do not use the GDI compatibility flag for the swap chain on optimus devices. r=jrmuizel a=blocking-beta9 2011-01-08 06:39:15 +01:00
Chris Jones
5288f48439 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
96b6061fdb Bug 623228. Remove some debugging code that snuck in. 2011-01-08 00:05:11 -05:00
Robert O'Callahan
cf43350e69 Bug 622886 - spike in crashes [@ gfxContext::gfxContext(gfxASurface*) ]. r=bas, a=blocking 2011-01-04 12:59:00 -08:00
Markus Stange
cc800a0b7a 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
5aecf79a2c Bug 612599 Gray lines when using content.scrollTo r=cjones a=blocking-fennec 2011-01-07 08:11:18 -08:00
Ms2ger
10a3317409 Bug 620355 - Fix uninitialized variable warnings in GLContext::UploadSurfaceToTexture; r=mattwoodrow a=joedrew 2011-01-07 14:37:50 +01:00
Jonathan Kew
8ecf41b816 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
bd9aea4565 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
0471ac96b4 Bug 602792. Rework code for doing localized font family name lookups. r=jkew, a=blocker 2011-01-07 21:29:49 +09:00
Ms2ger
49dd647431 Bug 620356 - Fix uninitialized variable warning in CreateOffscreenPixmapContext; r=bjacob a=joedrew 2011-01-07 11:54:19 +01:00
Jonas Sicking
182872882a 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
146f5d0b4d b=623367; correctly handle pbuffer attribs in EGL offscreen context resize; r=bjacob 2011-01-06 14:07:12 -08:00
Vladimir Vukicevic
1f95129bca 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
9765b7449a b=618892; [webgl] implement pbuffers in ANGLE for faster interop; r=upstream 2011-01-06 14:07:12 -08:00
Benoit Jacob
7eb2d8209d Bug 600079 - Crash in [@ @0x0 | mozilla::gl::GLContext::MarkDestroyed() ] - r=vlad, a=joe 2011-01-06 09:59:28 -05:00
Tatiana Meshkova
e8afa2d979 Bug 621527: Ignore update if layer manager IsDestroyed(). r=cjones a=a 2010-12-27 08:48:00 -06:00
Jeff Muizelaar
fbaf7d1423 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
e8677bd7ee 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
f1bc2b7751 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
ff1aab8620 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
e38ff2750a Bug 623285: Initialize gfxImageSurface.mData. r=bjacob a=blocking-fennec 2011-01-05 13:42:09 -06:00
Robert O'Callahan
173ad45857 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
5c49ccb1ac Bug 620684 - Possible attempt to use invalid mGLContext. r=jmuizelaar a=approval2.0 2011-01-05 15:48:17 +02:00
Jonathan Kew
20bd210d2f 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
ac5d644f3f Bug 618265: Fix leaking gfxSharedImageSurfaces. r=joe sr=vlad a=b 2011-01-04 10:40:54 -06:00
Chris Jones
afb34a00d3 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
c3747dd718 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
1d932a6704 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
274d8fe300 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
3bd533614c Basic bidi support for SVG. Bug 620446, r=roc, a=roc 2011-01-04 00:52:17 -08:00
Robert O'Callahan
be89ff2fde 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
665bd1fded 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
957f9c6e7a 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
d4e5ed2167 Bug 622678: Empty valid region when resources are cleared. r=roc a=blocking-betan 2011-01-04 02:37:13 +01:00
Bas Schouten
482b106a38 Bug 593604 - Part 11: Remove code to support D2D/D3D9 interop. r+a=roc 2011-01-04 02:37:10 +01:00
Benoit Jacob
410256668b 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
b870051fb7 Bug 621156 - Followup: Clarify comment. r+a=comment DONTBUILD 2011-01-03 18:29:10 +01:00
Bas Schouten
4941d55ad8 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
1b586856fa Bug 593604. Back out changeset c20f34eefa5d to fix regression. a=blocking 2011-01-03 23:55:32 +13:00
Robert O'Callahan
43225ec75d Bug 593604. Re-add missing hunk of part 10. a=blocking 2011-01-03 15:04:59 +13:00
Robert O'Callahan
a352316479 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
64c483c0b7 Bug 602757. Part 1: Create gfxContextAutoDisableSubpixelAntialiasing helper. r=vlad,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
38e3e7272a 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
87a38bca9b Bug 593604. Part 9: Support component alpha in ThebesLayerD3D9. r=bas,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
7ad864ce97 Bug 593604. Part 8.6: Add component-alpha shaders. r=bas,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
64931e1915 Bug 593604. Part 8.5: Add SupportsComponentAlphaChildren API. r=bas,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
cb5e2b5146 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
f8c9217eec 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
1afaa01821 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
2f62cc20e9 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
66963e8acf 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
485f99439a Bug 593604. Part 1: Add gfxTeeSurface. r=jrmuizel,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
ef18a76a76 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
8a25d93acd 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
a3d23236bc 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
e0e0e8c2f4 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
75aa744061 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
bb4e717119 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
88c2013756 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
08463ea8b9 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
40d0aeb1ea 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
4f17fd5d9e Backed out changeset c59ea33927d7 2010-12-29 19:31:26 +00:00
-f
1ea9e4158e 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
fe47c52e05 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
8c0e855348 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
1d82583232 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
0deeee99d4 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
59e9bd71ff 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
4bb2625477 Bug 620665 - Part 1: Expose backend type on ImageContainers. r=roc a=blocking-beta9 2010-12-29 01:07:00 +00:00
Vladimir Vukicevic
f37460a48d 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
ad540d7188 b=578877, reenable WebGL on Linux; r=vlad,a=b 2010-12-27 12:05:01 -08:00
Oleg Romashin
e8ef8e8cb9 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
1af35bfc8a Bug 620402 crash [@ gfxTextRun::BreakAndMeasureText] if haveHyphenation && !aProvider, r+a=roc 2010-12-20 15:54:00 -08:00
Vladimir Vukicevic
18927f5894 b=621067; Update angle to r515 to pick up crash fix; r+a=vlad 2010-12-22 15:31:02 -08:00
Jonathan Kew
3a0c2e1fce 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
8623f5ad22 bug 618870 - CompressedGlyph::SetMissing should not overwrite the clusterStart bit. r=karlt a=roc 2010-12-22 14:27:43 +00:00
Jacek Caban
5e381048c4 Bug 620669 - d3d9 layout does not compile on mingw; r=Bas a=Mossop 2010-12-21 05:52:00 -05:00
Oleg Romashin
7775e7fd3f Bug 618788 - Not initialized used in CairoImageOGL::SetData r=vladimir a=approval2.0 2010-12-21 20:46:31 +02:00
Oleg Romashin
4d098d2cca 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
fbb39766b4 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
be7bc31176 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
4a36c18e42 Bug 615316 - Part 9: Support changing devices for YCbCrImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:18 +00:00
Bas Schouten
6dadf14a29 Bug 615316 - Part 8: Support GetAsSurface for CairoImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:11 +00:00
Bas Schouten
d57c481abf Bug 615316 - Part 7: Support surfaces with Alpha for CairoImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:08 +00:00