Commit Graph

207 Commits

Author SHA1 Message Date
Jeff Walden
0680b04f2c Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones 2011-11-20 12:22:51 -08:00
Jeff Walden
c167028945 Bug 702437 - Implement MOZ_OVERRIDE to encapsulate support for the contextual override keyword on virtual member functions. r=cjones 2011-11-14 10:31:46 -08:00
Oleg Romashin
d51578adc0 Bug 696013 - Nightly crashes @ mozilla::layers::BasicShadowCanvasLayer::DestroyFrontBuffer. r=cjones 2011-10-27 13:30:43 +02:00
Jeff Gilbert
3dcfe0667d Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob 2011-10-26 16:00:44 -04:00
Matt Woodrow
8464fcf66d Bug 695275 - Fix crashtest failures with BasicShadowableImageLayer. r=roc 2011-10-26 16:25:42 +13:00
Matt Woodrow
a40be8b494 Bug 696517 - Make sure our temporary surface allocation succeeded. r=roc 2011-10-26 16:15:53 +13:00
Oleg Romashin
beda637bd5 Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Marco Bonardo
6d5a4c1c2f Backout 73dc291f8974 (Bug 695406) to investigate Android Crashtests permaorange 2011-10-21 12:07:32 +02:00
Oleg Romashin
1ebf685771 Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Jeff Gilbert
c04e3b423a Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
f617ed1d5c Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00
Jeff Gilbert
11cc217dbe Adds support for multisampled GLContexts, esp. EGL, WGL paths 2011-10-19 15:09:57 -04:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Oleg Romashin
d6de6f7589 Bug 694140 - With GL layers, panning/zooming causes corruption and wrong colours on Fennec. r=ajuma 2011-10-15 21:07:10 +01:00
Oleg Romashin
7e015d23dc Bug 693282 - BasicShadowableThebesLayer leaking backBuffers. r=cjones 2011-10-10 16:43:56 -07:00
Matt Brubeck
b52acd4a93 Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:47:27 -07:00
Brad Lassey
a66324bb78 merge 2011-10-10 11:01:34 -04:00
Brad Lassey
947452a9cf Backed out changeset 703df62e855b due to crashes reported in bug 693086 2011-10-10 11:00:16 -04:00
Oleg Romashin
441dce8f04 Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones 2011-10-02 17:19:32 -04:00
Matt Woodrow
c005f5cf06 Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc 2011-10-07 10:24:32 +13:00
Matt Woodrow
1ed4f8e768 Bug 689501 - Use an offscreen surface for rendering 3d transformed content instead of PushGroup in BasicLayers. r=roc 2011-09-30 14:13:50 +13:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Oleg Romashin
2450d05d88 Bug 689045 - Canvas Shadow swap/Init API rework r=cjones 2011-09-27 15:19:28 -07:00
Oleg Romashin
a8041173c6 Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones 2011-09-27 15:19:26 -07:00
Ali Juma
6543bbd2e1 Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones 2011-09-26 09:20:42 -04:00
Benoit Jacob
8bd42f19f8 Bug 662258 - GCC warning about BasicThebesLayerBuffer::CreateBuffer getting hidden by ShadowThebesLayerBuffer::CreateBuffer. r=roc 2011-09-24 21:01:18 +02:00
Oleg Romashin
c55ed26949 Bug 685082 - Transparent plugins not cleared on Maemo; r=cjones 2011-09-14 08:51:24 +01:00
Benjamin Stover
b611fd3519 Bug 634759 Allow buffer rotation for mobile r=roc 2011-08-29 10:56:50 -07:00
Matt Woodrow
db01ba7513 Bug 675837 - Add 3D transforms support to BasicLayers. r=roc 2011-08-27 12:04:06 +12:00
Robert O'Callahan
08a8a5b351 Bug 657401. Ensure that when our double-buffering logic expects layers to clip to their visible regions, we actually do. r=tnikkel 2011-08-12 10:44:50 +12:00
Chris Jones
c824346fe0 Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-08-09 12:38:26 -07:00
Scott Ruff
2cb2697b9f Bug 649525 - WebGL layer compositing through the BasicCanvasLayer is very slow (desktop version). r=jmuizelaar 2011-07-27 13:00:17 +02:00
Matt Woodrow
61e5a7df09 Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf 2011-07-05 14:52:00 +12:00
Matt Woodrow
da5429fd82 Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
ac5a211678 Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf 2011-06-27 14:32:16 +12:00
Bas Schouten
15c277921b Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel 2011-06-24 19:41:18 +02:00
Robert O'Callahan
8249fc6a0e Bug 637852. Part 18: Support computing the "residual transform" for a ThebesLayer --- the difference between its snapped transform and the ideal transform --- and use it to align ThebesLayer drawing for transforms that aren't changing. r=tnikkel
This fixes bug 637597 and probably other bugs.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
bfa11ce4a7 Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
This is not needed anymore.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
34bf0ad04f Bug 637852. Part 1: Don't snap BasicThebesLayer effective transforms when we're not retaining layers. r=tnikkel
The ThebesLayer contents are going to be drawn through directly without retaining, so there's no point in snapping.
2011-06-23 00:11:27 +12:00
Oleg Romashin
f58206a6bd Bug 612335 - Render remote canvas directly into shared surface r=jones.chris.g 2011-06-09 21:17:02 -04:00
Robert O'Callahan
b9d85ea59b Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-30 15:48:34 +12:00
Robert O'Callahan
e0e855e927 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-30 15:48:29 +12:00
Robert O'Callahan
6b8d1397de 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-30 15:48:23 +12:00
Robert O'Callahan
33c205656e 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-30 15:48:13 +12:00
Robert O'Callahan
05c5ccfe68 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-30 15:48:08 +12:00
Robert O'Callahan
c9a1dc9de6 Bug 647560. Use passed-in aContext instead of getting it from the layer manager. r=tnikkel 2011-05-30 15:48:01 +12:00
Vivien Nicolas
283c8a2d07 backout bug 647560 - Pages on Fennec desktop does not not draw anymore 2011-05-20 17:45:00 +02:00
Robert O'Callahan
4ee06a761a Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-18 23:24:52 +12:00
Robert O'Callahan
93c969e997 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-18 23:24:52 +12:00
Robert O'Callahan
57c00a6f42 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