Commit Graph

985 Commits

Author SHA1 Message Date
Robert O'Callahan
b49eae116d 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
c0afe87a4e 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
9a390fc021 Bug 647560. Use passed-in aContext instead of getting it from the layer manager. r=tnikkel 2011-05-30 15:48:01 +12:00
Robert O'Callahan
66a57a0a84 Bug 639168. Don't try to reuse a buffer if we don't have one. r=tnikkel 2011-05-30 15:29:07 +12:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Neil Rashbrook
a823051c1e Fix DOS line endings rs=joedrew!
DONTBUILD
2011-05-26 20:41:33 +01:00
Oleg Romashin
d4e430f071 Bug 659217 - HW accelerated video crashing with OGL layerss enabled. r=matt.woodrow
--HG--
extra : rebase_source : bd3b7998f5b8193a01d927c388ee2375d2a6bacf
2011-05-25 10:09:55 +02:00
Benoit Jacob
2c0eb7e54e Bug 657748 - Update ANGLE to r653 - a=joe
This ANGLE update fixes bugs, brings large performance improvements, and adds major new features that web devs are looking forward to: vertex shader texture lookup and float textures.

http://code.google.com/p/angleproject/

This update is also needed because the version we're currently using is the chrome_m10 branch and that's no longer maintained. This update will make it much easier to apply security fixes if needed.
2011-05-24 11:05:56 -04:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Robert O'Callahan
ea286efab6 Bug 654950. Fix scissor rect calculations for descendants of container layers with intermediate surfaces. r=bas 2011-05-23 12:27:03 +12:00
Vivien Nicolas
8b7b339cab backout bug 647560 - Pages on Fennec desktop does not not draw anymore 2011-05-20 17:45:00 +02:00
Florian Hänel
8e0d9ab286 Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe 2011-05-19 12:53:02 +02:00
Robert O'Callahan
4ada86d2cb Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-18 23:24:52 +12:00
Robert O'Callahan
77cd75a0d2 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-18 23:24:52 +12:00
Robert O'Callahan
ebe9f8f585 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
887d235ef0 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
99936bcd94 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
80101e2ad0 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
eceb98864c Backout bug 629866 and bug 647560. 2011-05-17 11:44:17 +02:00
Robert O'Callahan
c5e00b2e8a Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-17 11:42:19 +12:00
Robert O'Callahan
e5e28d9ac2 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-17 11:42:11 +12:00
Robert O'Callahan
03d1ea7300 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
3e50014290 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
d1fe5a6711 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
0bca45c661 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
Florian Hänel
ba640eeb4a Bug 643793 - Convert OpenGL scissor rects to world space in ContainerLayerOGL. r=joe 2011-05-14 12:11:37 +12:00
Oleg Romashin
5c6eaea720 Bug 656167 - Temorarily disable or back out fixed layers. r=jones.chris.g 2011-05-12 09:49:33 -07:00
Matt Woodrow
1b63f405ae 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
9d7dd64918 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
d3c4acee47 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
Oleg Romashin
13f01190c4 Bug 612407 - Add FPS counter like fraps r=joe,jrmuizel 2011-05-10 21:45:42 -04:00
Matt Woodrow
a4d6cf8613 Bug 649685 - Don't flip when drawing the backbuffer to the window with OpenGL. r=joe 2011-05-09 11:44:03 +12:00
Mounir Lamouri
ad09541e90 Backout 2348924d6410 (bug 612407) for build bustage. 2011-05-06 11:42:42 +02:00
Oleg Romashin
bf1f0f0f3d Bug 612407 - Add FPS counter like fraps r=joe 2011-05-06 11:04:14 +02:00
Chris Jones
ed22df8f64 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
0dbd90df0c Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Daniel Holbert
96fc781c65 Back out 0736b014d4a5 (Bug 610155) for breaking canvas reftests on android 2011-04-21 14:52:22 -07:00
Oleg Romashin
8869e128b5 Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Zack Weinberg
d5e47757d8 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
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e 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
307547d062 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
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Matt Woodrow
c43047b608 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
Timothy B. Terriberry
bc00a0826c Bug 634557 - ScaleYCbCrToRGB565: Reference C version, r=doublec 2011-04-14 17:32:15 -07:00
Zack Weinberg
f5a0843ac7 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
Jan Küchler
5ef6bf26cf 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
Benjamin Stover
3dc5b1f7a2 Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-11 13:53:01 -07:00
L. David Baron
ad4318958b Back out 1edfae12015b (Bug 642246) due to mobile unittest orange. 2011-04-09 18:21:27 -07:00
Benjamin Stover
3270dd31cd Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-09 12:38:28 -07:00
Tim Terribe
cb46080bbf 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
Chris Double
8ea4897f3e 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
631800dfd2 Bug 607417 - Part1: position:fixed frames mark layers r=roc
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Matt Woodrow
6043fccf2f Bug 640082 - Part 5 - Use texture_from_pixmap in CairoImageOGL. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
c2d0ad4ae4 Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
30e6da146a Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
179c7950e6 Bug 640082 - Part 2 - Use texture_from_pixmap in CanvasLayerOGL. r=joe 2011-03-09 10:41:10 +13:00
Robert O'Callahan
acc1dd656b Bug 647315. Update ThebesLayerOGL with the same fix. r=mattwoodrow 2011-04-06 16:38:01 -07:00
Robert O'Callahan
de0d6f2c5e Bug 647315. Back out one line of changeset 844579d34200. r=mattwoodrow 2011-04-06 16:37:56 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Robert O'Callahan
1f51cb45b0 Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
e865324942 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Robert O'Callahan
750234b3f1 Bug 635373. When resampling a ThebesLayer, ensure that D3D9 and OpenGL layers paint the entire layer as one quad to avoid unnecessary aliasing. r=bas 2011-04-01 10:33:46 +13:00
Robert O'Callahan
4b58755a9e Bug 635373. ThebesLayerOGL needs to make sure we only sample valid pixels too. r=mattwoodrow 2011-04-01 10:33:46 +13:00
Robert O'Callahan
bfb12d86f0 Bug 635373. If we need to resample a ThebesLayer texture, make sure we make all the pixels of the texture valid in case they get sampled. r=bas 2011-04-01 10:33:46 +13:00
Robert O'Callahan
4bd5d3cedf Bug 641770. Ensure that the cliprect for a layer is interpreted in the coordinate system of its container in MarkLeafLayersCoveredByOpaque. r=bas 2011-04-01 10:33:46 +13:00
Ehsan Akhgari
931bd6ee19 Back out bug 622072 because it caused bug 645987 2011-03-29 14:31:53 -04:00
Robert O'Callahan
333b8d0f05 Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
6536947736 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ben Turner
3e1c82c126 Bug 640901: Clean up managees when manager ctor fails. r=cjones 2011-03-21 11:00:00 -05:00
Benjamin Smedberg
4f1ecb131c Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm 2011-03-25 11:03:35 -04:00
Matt Woodrow
faf46f850f Bug 635383 - Fix black rendering on non-square container layers. r=joe,bz 2011-03-24 21:57:09 -04:00
Matt Woodrow
3f8b8cc124 Bug 635383 - Part 3 - Don't triple buffer reftests. r=joe 2011-03-25 11:06:04 +13:00
Matt Woodrow
ca1fbaeed0 Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe 2011-02-25 20:44:22 +13:00
Matt Woodrow
d678e84d15 Bug 635383 - Part 1 - Make GL layers always y-flipped and handle this inside GLContext. r=joe 2011-02-25 20:44:18 +13:00
Chris Pearce
38662eb161 Bug 580531 - Record first paint time and number of images painted in ImageContainer. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
18e05ec12b Bug 580531 - Push ImageContainer subclass' locks up into a superclass monitor. r=roc 2011-03-24 11:28:57 +13:00
Steven Michaud
65c49866d2 Bug 637367 - Stop DrawPlugin from accessing deleted nsObjectFrame. r=roc a=beltzner 2011-03-18 14:35:14 -05:00
Timothy B. Terriberry
e2473b98ea Bug 641019 - "Crash on video with odd widths and 16-bit displays" [r=tterribe a=stuart] 2011-03-15 15:01:00 -07:00
Timothy B. Terriberry
85f70e68b5 Bug 640588 - "Bad rendering of webm and ogv with 16-bits displays on Linux" [r=jones.chris.g a-2.0=doug.turner]
--HG--
extra : rebase_source : 8407e60c8e2c24252c4ce36daddd793ebf4cbd9d
2011-03-11 16:07:00 -08:00
Chris Jones
ae4b79a620 Bug 640444: Self-copies end up changing all buffer content, so we need to read back the entire buffer after swapping. r=Bas a=b 2011-03-11 23:22:39 -06:00
Ehsan Akhgari
7acd6a32ad Bug 639885 - Don't use named Windows kernel objects because they will cause conflicts when running multiple Firefox processes concurrently; r=jrmuizel a=stuart 2011-03-11 21:22:38 -05:00
Chris Jones
a75b587386 Followup to bug 635373: Shadow-layer buffers might be resampled in the chrome process. r=roc a=b 2011-03-09 11:28:26 -06:00
Chris Jones
9bdc1fed20 Bug 635035, part 6: Use gfxASurface::MovePixels() for self-copies of ThebesLayerBuffers. r=roc 2011-03-09 11:27:37 -06:00
Chris Jones
d732dc2d94 Bug 635035, part 2: Ensure that the buffer rect only grows in the presence of scaling. r=roc 2011-03-09 11:27:37 -06:00
Chris Jones
c193ee330f Bug 635035, part 1: Separate the extended draw region and computed draw region so that shadow-layer readback gets the same quadrant as what was drawn. r=mattwoodrow 2011-03-09 11:27:37 -06:00
Ehsan Akhgari
6be46d4acc Bug 639885 - Abort the program execution if the status of program is unsafe due to thread safety issues in ReadbackManagerD3D10; r=Bas,jrmuizel,cjones a=beltzner 2011-03-09 09:49:29 -05:00
Makoto Kato
0b526ebb5a Bug 637961 - Crash in [@ yv12_to_rgb565_neon]. r=jmuizelaar a=blocking-fennec 2011-03-08 09:59:44 +09:00
Benoit Jacob
7f1f831a27 Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe 2011-03-02 15:50:36 -05:00
joe@drew.ca
2f9eaad891 Bug 636870 - Using webgl on optimus hardware causes instant crash [part1] (r=jmuizelaar, a=blocker). 2011-03-01 17:00:33 -08:00
Robert O'Callahan
52981696d3 Bug 632423. Enable subpixel AA when we draw into the opaque subrect of a surface. r=tnikkel a=beltzner 2011-03-01 14:32:23 -06:00
Robert O'Callahan
5fb4e9f52c Bug 635373. Disable ThebesLayerBuffer rotation for non-identity resolutions, and add API to disable rotation explicitly. r=cjones a=beltzner 2011-03-01 14:30:16 -06:00
Benjamin Smedberg
7989cbf1bc Bug 635980. Change Nv3DVStreaming assert to warning. r=jmuizelaar, a=jmuizelaar 2011-03-01 13:00:35 +09:00
Matt Woodrow
7f306f9fcc Bug 637040 - Set the correct active texture unit for plugin layers. r=roc a=blocking2.0 2011-03-01 16:05:20 +13:00
Ms2ger
734fc0c5a4 Bug 637184 - Missing newline at end of file in MacIOSurfaceImageOGL.h; r=mattwoodrow a=josh 2011-02-28 13:01:37 -08:00
Ehsan Akhgari
0b71287da9 Bug 622942 - Set the antialiasing flag on OpenGL layers with component alpha content.
r+a=roc
2011-02-26 13:40:47 +01:00
Matt Woodrow
852f3221c8 Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe 2011-02-25 20:05:31 +13:00
Chris Jones
184d25116b Bug 636093: Remove assertion that's no longer asserting what it was intended to. r=roc a=a 2011-02-24 15:59:26 -06:00
Matt Woodrow
780ff82ea8 Bug 634132 - Reset the current GL context after drawing thebes layers. r=joe a=blocking2.0 2011-02-24 09:31:49 +13:00
Jeff Muizelaar
c97adad679 Bug 626678. Try to handle docking station device resets better. r=bas,a=b
Docking stations seem to cause DEVICELOST errors that never become
DEVICERESET so we don't ever succeed in reseting the device. We now
try to detect these situations and recreate the device.
2011-02-23 09:18:00 -08:00
Matt Woodrow
260ec13425 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker. 2011-02-20 11:19:11 +13:00
Mike Shaver
4b8d36a579 backout of 6bad6cd2dded due to failure of test it added (a=backout-orange) 2011-02-19 11:08:39 -08:00
Matt Woodrow
24de18c7d0 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker.
See also bug 635383 for improving this logic in the longer term.
2011-02-18 18:11:00 -08:00
Bas Schouten
601534bd2e Bug 635275: Only update portions within scaled texture bounds. r=roc a=blocking-betan 2011-02-19 04:51:10 +01:00
Matt Woodrow
f194fbbc42 Bug 634366 - Remove broken CreateForNativePixmapSurface usage from CairoImageOGL. r=joe a=blocking2.0 2011-02-18 12:19:38 +13:00
Matt Woodrow
cebc8097cd Bug 634784 - Fix scaling being applied twice on component alpha surfaces. r=joe a=blocking2.0 2011-02-18 11:47:04 +13:00
Matt Woodrow
9cb4fc37b6 Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc 2011-02-17 16:56:06 +13:00
Bas Schouten
0b629adab9 Bug 634669: Use scaled size for our drawing surface. r=mattwoodrow a=blocking-betan 2011-02-16 23:32:16 +01:00
Bas Schouten
2060524e0d Fix EOL-style in ThebesLayerD3D9. r=mattwoodrow a=lineendings 2011-02-16 23:32:13 +01:00
Bas Schouten
a2492ec1e6 Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel 2011-02-04 20:30:00 -06:00
Robert O'Callahan
579e5a534f Bug 626602. Part 5: Implement ReadbackLayers for D3D9. r=bas 2011-02-16 16:43:30 -06:00
Robert O'Callahan
fa3219929b Bug 626602. Part 2: BasicLayers implementation of ReadbackLayer. r=cjones 2011-02-16 16:43:30 -06:00
Robert O'Callahan
2c94778839 Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-16 16:43:30 -06:00
Robert O'Callahan
93e5f40859 Bug 626602. Part 0: Fix header guards. r=bas 2011-02-16 16:43:30 -06:00
Matt Woodrow
6e0aac0d5e Bug 622585 - Use Clamp instead of Wrap texture sampling in D3D10 layers. r=Bas a=blocking2.0 2011-02-16 16:19:45 +13:00
Matt Woodrow
5fa1760531 Bug 622585 - Disable texture wrapping for intermediate surface in OpenGL. r=jrmuizel a=blocking2.0 2011-02-16 16:19:45 +13:00
Matt Woodrow
5a77adecad Bug 622585 - Fix logic deciding when to flip the scissor rect in OpenGL layer. r=jrmuizel a=blocking2.0 2011-02-16 16:19:45 +13:00
Ehsan Akhgari
0592088281 Bug 632781 - Scroll non-accelerated canvases correctly with the content; r=matt,joe,roc a=blocking-betaN 2011-02-14 18:23:50 -05:00
Ehsan Akhgari
42ecdcdea2 Back out changeset f3d13890fbe3 because of Windows reftest orange; a=orange
--HG--
extra : rebase_source : c7e2bdd935612251477b264ba64c65531916d0a3
2011-02-15 13:30:33 -05:00
Ehsan Akhgari
e4734bc273 Bug 632781 - Scroll non-accelerated canvases correctly with the content; r=matt,joe,roc a=blocking-betaN 2011-02-14 18:23:50 -05:00
Bas Schouten
1875232a5d Bug 629866 - Part 10: Do not upload during SetData call on D3D9. r=jrmuizel a=blocking-final 2011-02-15 00:47:33 +01:00
Bas Schouten
265dd7c2c2 Bug 629866 - Part 9: Improve ImageLayerD3D9 uploading code. r+a=roc 2011-02-15 00:47:30 +01:00
Matt Woodrow
b6b769faf1 Bug 591687: Add new image type for IOSurfaces on Mac OS X. r=roc r=benwa a=blocking2.0betaN+ 2011-02-12 11:02:08 -05:00
Alex Pakhotin
1a6065f482 Bug 629100 - Fullscreen video stretches top and bottom rows of pixels to edge of screen [r=roc a=blocking-fennec] 2011-02-11 18:31:09 -08:00
Bas Schouten
d209c742ad Bug 633511: Detect surface content type in the correct spot. r=jrmuizel a=blocking-betan 2011-02-11 23:46:28 +01:00
Robert O'Callahan
af73763023 Bug 633040 - [regression] Text rendering looks scaled; r=cjones a=blocking-final/fennec 2011-02-10 20:01:54 -05:00
Bas Schouten
cc02bd1677 Bug 628173 - Part 2: Update CanvasLayerD3D10 to match D3D9 style. r=jrmuizel a=blocking-final 2011-02-10 21:03:51 +01:00
Bas Schouten
5ebefc9aa2 Bug 628173 - Part 1: Update CanvasLayerD3D9 to respect surface content type. r=jrmuizel a=blocking-final 2011-02-10 21:03:24 +01:00
Robert O'Callahan
18f02b2962 Bug 625672. Part 1.5: Make layer managers silently do nothing when ending a transaction with no root layer. r=bas,a=blocker 2011-02-10 21:58:11 +13:00
Jeff Muizelaar
e129abb21a Bug 632822. Hookup LayerManager ReportFailure to LogFailure. r=bas,a=ehsan
--HG--
extra : rebase_source : 1ed9c86005f4ce8c5088b4b5fca6976a0e41113d
2011-02-09 14:28:39 -05:00
Marco Bonardo
aaac8f2d4c Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Bas Schouten
8a936691da Bug 612103 - Followup: Only report a failure when the call actually fails. r=jrmuizel a=blocking-final 2011-02-08 18:44:14 -06:00
Bas Schouten
88246aed65 Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel 2011-02-04 20:30:00 -06:00
Robert O'Callahan
290a193f72 Bug 626602. Part 5: Implement ReadbackLayers for D3D9. r=bas 2011-02-08 18:44:14 -06:00
Robert O'Callahan
3a611eb9da Bug 626602. Part 2: BasicLayers implementation of ReadbackLayer. r=cjones 2011-02-08 18:44:13 -06:00
Robert O'Callahan
a02e22f69f Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-08 18:44:13 -06:00
Robert O'Callahan
5f8299aa98 Bug 626602. Part 0: Fix header guards. r=bas 2011-02-08 18:44:12 -06:00
Matt Woodrow
0072c1c361 Bug 586683 - Part 4 - Add resolution handling to ThebesLayerD3D10. r=Bas a=blocking2.0 2011-02-09 09:40:34 +13:00
Matt Woodrow
4875d1968d Bug 586683 - Part 3 - Add resolution handling to ThebesLayerD3D9. r=Bas a=blocking2.0 2011-02-09 09:39:09 +13:00
Matt Woodrow
20867e8f85 Bug 586683 - Part 2b - Add resolution handling to ThebesLayerOGL. r=joe a=blocking2.0 2011-02-09 09:37:47 +13:00
Matt Woodrow
c0ff9d37e2 Bug 586683 - Part 1 - Add resolution handling to BasicLayers. r=roc a=blocking2.0 2011-02-09 09:35:54 +13:00
Oleg Romashin
1a9564c770 Bug 607936 - Make possible to apply transform on topLevel LayerManager scene r=matt,roc a=joe 2011-02-04 14:47:06 -05:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
Oleg Romashin
19db525f87 Bug 607936 - Make possible to apply transform on topLevel LayerManager scene r=matt,roc a=joe
--HG--
extra : rebase_source : 7983ed59e06d33e5c17878a24434eef409684d25
2011-02-04 14:47:06 -05:00
Alon Zakai
eb6d3ef5f2 Bug 610727 - Mark canvas layers inactive when relevant. r=roc a=blocking-fennec 2011-02-04 10:11:24 -08:00
Robert O'Callahan
7551593e3e Bug 626962. Implement empty transactions for GL. r=bas,a=blocking 2011-01-25 21:45:17 +13:00
Vladimir Vukicevic
1b67db06c8 Bug 630019 - updated ANGLE PBuffers patch (makes ANGLE work again) - r=bjacob, a=blocking2.0 2011-01-31 20:58:21 -05:00
Bas Schouten
9c39576160 Bug 612846 - Part 5: Make ContainerLayerD3D10 support component alpha. r=jrmuizel a=blocking-betan 2011-01-28 06:34:33 +01:00
Matt Woodrow
f1d664e045 Bug 612846 - Part 4: Make ThebesLayerD3D10 support component alpha. r=bas a=blocking-betan 2011-01-28 06:34:31 +01:00
Matt Woodrow
3864321693 Bug 612846 - Part 3: Add component alpha shaders to D3D10. r=bas a=blocking-betan 2011-01-28 06:34:29 +01:00
Matt Woodrow
f1a534a9d2 Bug 612846 - Part 1: Refactor ThebesLayers to only draw within Validate. r=bas a=blocking-betan 2011-01-28 06:34:25 +01:00
Ehsan Akhgari
7b8491f08d Backout bug 626962 on suspicion of causing test failures and being completely untested before landing 2011-01-26 17:36:24 -05:00
Chris Jones
25f99d5ee7 Fix for the fix for the fix of bug 627273. r=roc a=b 2011-01-26 16:12:06 -06:00
Chris Jones
a1980df2a0 Followup to bug 627273: Fix bad fix. r=Bas a=b 2011-01-26 13:25:48 -06:00
Chris Jones
831b2f174e Bug 627273, part 4: Basic impl of ImageLayer tiling for basic layers. r=roc,vlad 2011-01-26 00:26:37 -06:00
Chris Jones
3ce1002c85 Bug 627273, part 3: Add gfxContext::FillWithOpacity. sr=vlad 2011-01-26 00:26:37 -06:00
Chris Jones
c90390e987 Bug 627273, part 1: API for tiling Layers. r=Bas sr=roc 2011-01-26 00:26:37 -06:00
Bas Schouten
b4fa1d9cec Bug 628658: Ensure the container layer's clip is reset when done drawing a layer. r=roc,joedrew a=blocking-final 2011-01-26 05:54:35 +01:00
Vladimir Vukicevic
ff24947788 b=606218; webgl Y axis upside down; followup to fix opacity; r=cjones 2011-01-25 14:18:41 -08:00
Robert O'Callahan
88f0fd8a69 Bug 627393. Set correct alpha value for D3D10 ColorLayers. r=bas,a=blocking 2011-01-25 21:45:49 +13:00
Robert O'Callahan
71d12a2836 Bug 626962. Implement empty transactions for GL. r=bas,a=blocking 2011-01-25 21:45:17 +13:00
Oleg Romashin
6ad82781f7 Bug 627661 - RGBA surface clear was broken in 593733 r=roc,mattwoodrow a=approval2.0 2011-01-24 21:31:35 +02:00
Bas Schouten
d6d0b3d6a8 Bug 625043: Properly save and restore old clip rect. r=jrmuizel a=blocking-final 2011-01-24 19:57:19 +01:00
Bas Schouten
c63254dad3 Bug 627399: Do not forget mTarget if a transaction is incomplete. r=cjoned a=blocking-beta10 2011-01-21 06:46:38 +01:00
Ryan VanderMeulen
29c38a5ecf Bug 586130 - Warning C4099 fixes (ipc). r=cjones a=bsmedberg 2011-01-20 19:49:09 -08:00
Doug Turner
b7faa64b5f [mq]: Backout of df6f10906476 2011-01-19 20:47:45 -08:00
Doug Turner
d69908e871 [mq]: Backout of 69e4f4ecbdc2 2011-01-19 20:46:08 -08:00
Doug Turner
d9f12a52f9 [mq]: Backout of aeb9104f1534 2011-01-19 20:45:20 -08:00
Doug Turner
a8fdfda435 [mq]: Backout of 89c2c85429fb 2011-01-19 20:44:35 -08:00
Matt Woodrow
bb828dfbec Bug 627179 - Fix LayerManagerD3D10 debug name. r=Bas a=joe 2011-01-20 15:47:47 +13:00
Matt Woodrow
4aaf7f9305 Bug 612846 - Part 5 - Make ContainerLayerD3D10 support component alpha. r=Bas a=blocking2.0 try: -b do -p win32 -u all -t all 2011-01-20 15:47:39 +13:00
Matt Woodrow
23cdfad3a4 Bug 612846 - Part 4 - Make ThebesLayerD3D10 support component alpha. r=Bas a=blocking2.0 2011-01-20 15:47:39 +13:00
Matt Woodrow
97982d28f7 Bug 612846 - Part 3 - Add component alpha shaders to LayerManagerD3D10. r=Bas a=blocking2.0 2011-01-20 15:47:39 +13:00
Matt Woodrow
67ffd26855 Bug 612846 - Part 1 - Refactor ThebesLayerD3D10 to only draw within Validate(). r=Bas a=blocking2.0 2011-01-20 15:47:38 +13:00
Vladimir Vukicevic
deb3b45692 b=606218; [webgl] content appears upside down when rendered via shadow layers; r=cjones, a=b 2011-01-19 00:55:31 -08:00
Robert O'Callahan
69dc2ae3e3 Bug 621601. Part 4: Fix ImageLayers to handle null current image. r=bas,a=me 2011-01-19 21:27:54 +13:00
Robert O'Callahan
d50c26afdc Bug 621601. Part 3: Implement EndEmptyTransaction for D3D10. r=bas,a=joe 2011-01-19 21:27:54 +13:00
Robert O'Callahan
ad79053b53 Bug 621601. Part 2: Implement EndEmptyTransaction for D3D9. r=bas,a=joe 2011-01-19 21:27:54 +13:00
Robert O'Callahan
409b6ce451 Bug 621601. Part 1: Change empty transaction API to EndEmptyTransaction. r=bas,tnikkel,a=joe 2011-01-19 21:27:54 +13:00
Robert O'Callahan
b36673c985 Bug 625409. ColorLayer implementations need to premultiply by the alpha value of their color. r=bas,a=blocking 2011-01-19 21:27:54 +13:00
Jeff Muizelaar
61fd279abc Bug 625508. This moves the GfxInfo checks out of LayerManagerOGL and into the callers. r=vlad
--HG--
extra : rebase_source : 6545f8a3982b04147b41907f1d2f2dd4768538e2
2011-01-18 15:11:19 -05:00
Jeff Muizelaar
d3fa82fc42 Bug 625508. Move context creation out of LayerManagerOGL::Initialize() r=vlad
- Removes support for reinitialization.
- Moves context creation up to the callers.

--HG--
extra : rebase_source : 66716292da75af8513eaa5a7dff1211cafdf8236
2011-01-18 15:11:18 -05:00
Matt Woodrow
b4e55ae952 Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN 2011-01-18 08:22:25 +01:00
Matt Woodrow
1752246ab3 Bug 593733 - Make TextureImage::BeginUpdate return a surface, not a context. r=joe, a=betaN 2011-01-18 08:21:12 +01:00
Matt Woodrow
a567dd6b52 Bug 622165 - Don't try to draw ThebesLayerOGL's that are greater than the max texture size. r=joe a=blocking2.0 2011-01-18 14:32:40 +13:00
Matt Woodrow
9cd9789d4f Bug 621778 - Allow TextureImage to upload regions instead of only rectangles. r=joe a=blocking2.0 2011-01-18 14:32:40 +13:00
Matt Woodrow
521f5c4aad Bug 586683 - ImageContainers can have no manager. r=Bas a=bustage 2011-01-18 12:00:43 +13:00
Matt Woodrow
9301918144 Bug 620799 - Fallback to normal surface allocation if creating a PBO fails. r=joe a=blocking2.0 2011-01-18 10:47:18 +13:00
Matt Woodrow
f5f4d25848 Bug 586683 - Part 4 - Move images into a separate ImageLayer when they are the only item in a ThebesLayer. r=roc a=blocking2.0 2011-01-18 10:47:18 +13:00
Bas Schouten
ba51e3f9ed Bug 624088: Recreate our device agressively on device losses. r=jrmuizel a=joedrew 2011-01-17 21:28:24 +00:00
Robert O'Callahan
0c3dfcf61b Bug 594253. Update mValidRegion by OR-ing with the visible region after repainting, instead of OR-ing with the redrawn region, since this leads to simpler region structures. r=cjones,a=blocking 2011-01-16 23:38:45 +13:00
Bas Schouten
8d4fe7465c Bug 622482 - Part 5: Enable subpixel AA for D2D surfaces that we believe do not need component alpha. r=roc a=blocking-betaN 2011-01-16 03:30:05 +01:00
Mark Banner
c089e851d9 Bustage fix for non-IPC and for shared builds following bug 605618. a=bustage fix 2011-01-13 20:01:45 +00:00
Benjamin Stover
bd474a4f0f Bug 605618 Part 7: Include viewport and content size in API r=cjones sr=roc 2011-01-13 09:45:14 -08:00
Benjamin Stover
dd38a31a1f Bug 605618 Part 1: Tag layers with scrollable information r=cjones sr=roc a=blocking-fennec 2011-01-13 09:45:14 -08:00
Oleg Romashin
af7e6bca87 Bug 618788 - Not initialized used in CairoImageOGL::SetData r=roc a=approval2.0 2011-01-13 15:20:46 +02:00
Dhiren Bhatia
4079e0a4d6 Bug 617220 - Add 3DVision stereoscopic rendering support to D3D10 layers. r=bas.schouten r=vlad a=roc a=vlad 2011-01-12 17:51:27 +13:00
Bas Schouten
909613e5a2 Bug 612103 - Followup: Remove accidentally introduced tabs. r+a=DONTBUILD 2011-01-12 23:29:11 +01:00
Chris Jones
c326a0a9fc 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
Bas Schouten
967e85547a 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
897bd83b70 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
8cf8dbf2c9 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
11c0641ff9 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
cd11268459 Bug 623451: Don't double-release surfaces. r=jrmuizel a=b 2011-01-11 15:34:31 -06:00
Robert O'Callahan
abf01d108d 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
d18586045a 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
Bas Schouten
7322ecf52c 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
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
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
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
Tatiana Meshkova
86662df445 Bug 621527: Ignore update if layer manager IsDestroyed(). r=cjones a=a 2010-12-27 08:48:00 -06: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Bas Schouten
68b4817704 Bug 613790: Comment update follow-up. a=comment 2010-12-16 08:08:49 +00: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
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
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
Chris Jones
6434c45265 Bug 613000: Updates to thebes-layer textures must account for resolution. r=jrmuizel a=b 2010-12-09 16:26:13 -06:00
Bas Schouten
9f23097d84 Bug 595277 - Part 0: Clear out user data on destroy. r=roc 2010-12-07 03:05:25 +01: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
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
Ms2ger
3ec44ade0c Bug 605179 - Fix build warnings in gfx/; r=roc a=bsmedberg
--HG--
extra : rebase_source : f9bd24d5f4bc6124b431ce22e6ac72bd218dc208
2010-12-05 18:38:12 +00:00
Oleg Romashin
61e5abed8a Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part2 r=roc a=apporval2.0 2010-11-30 07:51:56 +02:00
Bas Schouten
cec0586948 Bug 601273: Properly retain copied region. r=jrmuizel a=blocking-final 2010-12-02 19:44:18 +01:00
Justin Lebar
43b18d2b18 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08: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
251e12c687 Bug 614762: Null autoptr instead of release. r=jrmuizel a=blocking-beta8 2010-11-26 00:18:56 +01:00
Chris Jones
eb12aa0eda Bug 612573: Make sure shadowable layers aren't destroyed in the middle of transactions. r=karlt a=2.0 2010-11-24 21:33:37 -06:00
Dave Townsend
1244f0ae62 Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Brad Lassey
2eaf077f1c bug 604533 - Tearing/Shearing while panning on local pages/error console in Fennec r=cjones,roc a=blocking-fennec 2010-11-23 22:04:58 -05:00
Bas Schouten
648e0fa2c0 Bug 614111: Clear and recreate VertexBuffer on device reset. r=jrmuizel a=blocking-beta8 2010-11-23 17:24:39 +01:00
Benjamin Smedberg
f05b9e173c Bug 611595 - Prevent a crash when D3D9 texture creation fails because the screen is locked. In CairoImageD3D9::SetData, save the surface as a member. Try to create the texture immediately, but also try to create the texture again when painting if it failed the first time. r=bas a=blocker-topcrash 2010-11-18 13:47:59 -05:00
Vladimir Vukicevic
77225bdf11 b=598328; clean up nv console spam; r=joe, a=b 2010-11-16 20:33:04 -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
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
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
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
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
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
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
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Robert O'Callahan
669ff953e8 Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker 2010-11-08 22:06:15 +13:00
Matt Woodrow
eb10edeff3 Bug 599507. Propagate opacity and transform from single-child ContainerLayerOGL to child. r=joe, a=blocker 2010-11-08 22:06:14 +13:00
Jacek Caban
24de518aff Bug 606155 - LayerManagerD3D9.cpp compilation failure on mingw r=bas.schouten a=benjamin
--HG--
extra : rebase_source : c7689b0313df5701fe7bb6297fc932c11d17ff0d
2010-11-06 14:24:19 +00:00
Oleg Romashin
06749b4eac Bug 609637 - Don't swapBuffers with NULL EndTransaction call r=jones.chris.g a=b-f 2010-11-06 10:42:56 +02:00
Benoit Jacob
d888a0f39f Bug 604571 - Copying frames from <video> to <canvas> with drawImage glitches - r+a=vladimir 2010-11-05 15:57:58 -04:00
Oleg Romashin
8ada90638c Bug 572651 - ThebesLayer shader program (GetBGRXLayerProgram) is slow on mobile r=vladimir a=b-f 2010-11-05 08:40:19 +02: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
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
Bas Schouten
dde42e33c1 Bug 606411: Remove ImageContainerD3D10 dependencies on LayerManagerD3D10. r=roc a=blocking-final 2010-10-26 00:24:57 +02:00
Robert O'Callahan
260e34f8ed Bug 593839. Part 2: Remove DESTINED_FOR_SCREEN flag now that it's no longer used. r=vlad a=blocking-betaN 2010-10-25 16:39:27 +02:00
Bas Schouten
911e5dfba9 Bug 584494: Avoid creating intermediate surfaces in D3D9 layers. r=roc a=blocking-betaN 2010-10-21 22:41:04 +02:00
Bas Schouten
f2b22b6625 Bug 603071 - Part 2: Fix race condition in PlanarYCbCrImageD3D10. r=roc a=blocking-beta8 2010-10-19 21:08:34 +02:00
Bas Schouten
3e8591afde Bug 603071 - Part 1: Properly propagate LayerManager destruction through layer tree. r=roc a=blocking-beta8 2010-10-19 21:08:31 +02:00
Bas Schouten
a6c66f0992 Bug 546514: Address D3D10 Layers backend review comments. r=jrmuizel 2010-10-19 21:08:27 +02:00
Chris Jones
4b82fba0c3 Fix --disable-libxul bustage from bug 602431 and bug 602428. a=bustage 2010-10-13 18:36:44 -05:00
Chris Jones
ad5cce517f Bug 602428, part 6: Turn on real allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
51fc2de345 Bug 602428, part 5: Implement HW-decelerating ShadowContainerLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
dd6710b8fc Bug 602428, part 4: Implement HW-decelerating ShadowThebesLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
ace8a9c91c Bug 602428, part 3: Implement HW-decelerating ShadowImageLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones
f0dd48964f Bug 602428, part 2: Implement HW-decelerating ShadowCanvasLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
6f8a6ea683 Bug 602428, part 1: Implement HW-decelerating ShadowColorLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones
55a81f3a07 Bug 602428, part 0.5: Add dummy allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
b9441008dc Bug 602428, part 0: Add NSPR layers logging to OGL backend and log ThebesLayer resolution. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
4c54015a6b Bug 602431, part 7: Honor shadow-layer attributes in the GL layers backend. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
57d3708463 Bug 602431, part 6: Honor shadow-layer attributes in the basic layers backend and take off the container-transform training wheels. r=roc 2010-10-13 17:55:45 -05:00
Chris Jones
72ebe49a58 Bug 602431, part 3: Add a ShadowContainerLayer base class and BasicShadowContainerLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
0f138edde0 Bug 602431, part 2: Add a ShadowColorLayer base class and BasicShadowColorLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
08140e03cb Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
4c32a6c59e Bug 601888, part 1: Teach ThebesLayerOGL to draw backing buffers drawn with a resolution other than 1.0. r=mattwoodrow,vlad 2010-10-13 17:55:45 -05:00
Vladimir Vukicevic
910d74f7e0 Bug 602659 - <video> playback is twitchy / possessed by the devil with OpenGL layers - r=jmuizelaar, a=blocking-beta7 2010-10-13 17:19:12 -04:00
Chris Jones
b51dfd9724 Bug 604058: Shadowable layers might not have shadows. r=joe a=blocking-betaN 2010-10-13 14:22:17 -05:00
Benoit Jacob
9840c2c44d Bug 602659 - move some mutex locking - r=roc 2010-10-12 17:01:59 -04:00
Benjamin Stover
cc825b09f6 Bug 600908 Always retain shadowable layers r=cjones a=2.0b2+ 2010-10-11 11:36:20 -07:00
Bas Schouten
50d248afd4 Bug 601928: Check result of create texture for tmpTexture. r=jrmuizel a=blocking-beta8 2010-10-08 18:02:53 +02:00
Bas Schouten
4fe7e27b52 Bug 601785: Use true pointer size for x64 builds. r=vlad a=approval2.0 2010-10-08 18:02:41 +02:00
Bas Schouten
9f234ad045 Bug 601053: Prevent DXGI from handling alt+enter. r=vlad a=blocking-beta8 2010-10-08 18:02:39 +02:00
Benoit Jacob
764d885972 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 21:40:08 -07:00
Benoit Jacob
20a45b4898 Backed out changeset 638ce363a9b1 2010-10-06 17:05:19 -04:00
Benoit Jacob
b5bc302c89 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 16:43:25 -04:00
Vladimir Vukicevic
31056ac783 b=600863; disable framebuffer blit optimization for TEXTURE_RECTANGLE targets; r=joe a=b7 2010-10-01 20:56:56 -07:00
Bas Schouten
15fb5328a2 Bug 593678: Initialize RenderTargetOffset as part of setting up the pipeline. r=jrmuizel a=joedrew 2010-10-02 00:25:00 +02:00
Bas Schouten
1a307b788a Bug 601257: Clean up usage of shader constants in D3D9 layers. r=jrmuizel a=joedrew 2010-10-02 00:24:58 +02:00
Bas Schouten
67888ccd42 Bug 546514 - Part 4: Build D3D10 layers. r=vlad 2010-10-01 00:53:51 +02:00
Bas Schouten
176e99bd57 Bug 546514 - Part 3: Add D3D10 layers code. r=vlad 2010-10-01 00:53:49 +02:00
Joe Drew
bbb5aece59 Bug 598143 - Flush the WebGL canvas's context before reading from it on a different context. r=vlad, a=b
--HG--
extra : rebase_source : 6acf05aa439c11b056f0ae15c3cf8bae37d81ec4
2010-09-29 18:46:22 -04:00
Matt Woodrow
934603a171 Bug 598538 - Reset the viewport rect when we create a temporary VBO, which can be bigger than the viewport! r=vlad a=b 2010-09-29 14:36:32 -04:00
Chris Jones
678312b9e1 Bug 599359, part 2: When we allocate a new front/back buffer pair, pre-fill the new front buffer with what we painted into the back buffer to stabilize the first Swap(). r=vlad a=blocking-fennec 2010-09-28 17:05:30 -05:00
Chris Jones
33cc73ab7e Bug 599359, part 1: Fix a minor bug with previous Swap() implementation that was irrelevant in practice. r=vlad 2010-09-28 17:05:30 -05:00
Chris Jones
03e574157d Bug 599562: Allocate cross-process layers surfaces from SyS V shm instead of /dev/shm to avoid being arbitrarily capped on maemo5/N900. r=stuart a=blocking-fennec 2010-09-27 19:59:43 -05:00
Bas Schouten
7706293fb5 Bug 594779: Bail out when texture creation fails, to avoid NULL pointer dereference. r=vlad a=blocking-beta7 CLOSED TREE 2010-09-27 04:57:40 +00:00
Chris Jones
f8b4169a1c Bug 591555: Shadow layer resources are scoped to their PLayerParent, of which there may be many for one layer manager, so move resource management down into Shadow*Layer. r=joe sr=roc 2010-09-24 17:41:31 -05:00
Oleg Romashin
fc88947b5d Bug 598531 - Fennec Remote Layer rendering is slow on N900 (pixman hitting slow path). r=roc a=blocking-fennec 2010-09-23 20:09:00 -07:00
Chris Jones
31344283ca Bug 597336, part 3: Generalize the not-using-X-compositing check when creating shadow-layer backing surfaces. r=karl 2010-09-23 20:00:06 -05:00
Oleg Romashin
e01fadb4cc Bug 598531 - pixman hitting slow path. disable scaling. r=roc a=blocking-fennec 2010-09-23 16:06:27 -07:00
Joe Drew
40d107bd4e Bug 596784 - Only draw the rects of the visible region, not the bounds. r=vlad a=b 2010-09-22 14:17:01 -04:00
Vladimir Vukicevic
0a2aa77b6f Bug 596784 - Implement faster scrolling for GL thebes layers. r=roc,mattwoodrow a=b 2010-09-21 15:41:24 -04:00
Chris Jones
3a1a617c6f Bug 598265: Initialize BasicImageLayer::mSize. r=roc a=blocking-fennec 2010-09-21 01:57:25 -05:00
Matt Woodrow
c9c6ee11c6 Bug 596050 - Set the correct GL minification/magnification filter based on the GraphicsFilter set by content. r=joe a=b 2010-09-21 12:32:17 -04:00
Chris Jones
1a07a8c8df Bug 596240: Don't front() on an empty vector. r=joe a=blocking-2.0 2010-09-20 14:40:30 -05:00
Benoit Jacob
162bd97e20 Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r+a=shaver 2010-09-18 11:59:06 -04:00
Oleg Romashin
d5f22b4e04 Bug 597565 - Qt Port crashes on N900 (-graphicssystem raster by default). r=karlt a=npodb 2010-09-17 16:32:16 -07:00
Chris Jones
6c9bacbfa6 Bug 593175, part 3: Let CreateOffscreenSurface() decide which image format to use on X11 platforms. r=karl a=blocking-fennec 2010-09-17 14:15:18 -05:00
Doug Turner
ab70a6a3a6 Bug 593175, part 2: Use 5-6-5 opaque gfxSharedImageSurfaces on mobile platforms. r=karl a=blocking-fennec 2010-09-16 16:24:20 -05:00
Chris Jones
b5f4f77a8e Bug 593175, part 1: Request backing buffers with gfxContentType rather than gfxImageFormat. r=karl a=blocking-fennec 2010-09-16 16:24:17 -05:00
Chris Jones
ab9691cd8f Bug 593175, part 0: Allow forcing use of Shmem-backed cross-process layers in DEBUG builds. r=karl a=blocking-fennec 2010-09-14 00:51:49 -05:00
Robert O'Callahan
36f52dc8db Bug 584494. Avoid clipping in BasicThebesLayer when not necessary. r=cjones a2.0=blocking2.0:betaN 2010-09-17 12:29:52 -07:00
Bas Schouten
9720e04483 Bug 597320: Blacklist NVidia Optimus technology drivers for d3d9 layers. r=jrmuizel a=blocking-beta7 2010-09-17 18:57:46 +00:00
Oleg Romashin
7ab9f25f57 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Joe Drew
171200229b Fix mismerge. a=bustage 2010-09-17 11:17:32 -07:00
Matt Woodrow
5365430c59 Bug 595938 - Garbage/overdrawing when using -moz-transform: Fix the clip rect before clearing the FBO. r=vlad a=b
--HG--
extra : transplant_source : %FE%06%7Bq%F1%AE%F58%FFW%0Fr%A6W%DA%2B%8B%08%C1%89
2010-09-13 21:30:00 -07:00
Matt Woodrow
29577d4de5 Bug 594643 - Fix typo in ImageLayerOGL::SetData. r=joe a=b
--HG--
extra : transplant_source : %B3%DC%24%EF%E8X%7D%C3A8%9F%9F%B2%C3o%87%B0d%24T
2010-09-13 14:01:28 -07:00
Benoit Jacob
ab08d9888f Bug 594874 - GfxInfo blocklist needs to be used by D3D, WebGL, OpenGL - 2/3 - r=vladimir 2010-09-16 12:45:19 -04:00
Benoit Jacob
cd99425493 Bug 594874 - GfxInfo blocklist needs to be used by D3D, WebGL, OpenGL - 1/3 - r=vladimir 2010-09-16 12:45:15 -04:00
Benoit Jacob
ff872b84ee Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r=vladimir 2010-09-16 12:45:08 -04:00
Oleg Romashin
fb56a869f7 Bug 596769 - ShadowLayers not expecting Layer create/destruction during transaction. r=jones.chris.g a=approval2.0 2010-09-15 21:49:31 -07:00
Chris Jones
0a1ec83bc9 Merge m-c --> cedar 2010-09-15 18:28:06 -05:00
Bas Schouten
3a223b0317 Bug 596489 - Part 3: Recreate the layer manager when a device is removed. r=roc 2010-09-15 22:16:02 +00:00
Bas Schouten
bf697e7d43 Bug 596489 - Part 2: Expose when a device manager is removed. r=jrmuizel 2010-09-15 22:15:59 +00:00
Bas Schouten
a41f88e4e6 Bug 596489 - Part 1: Refactor DeviceManager ownership. r=jrmuizel 2010-09-15 22:15:56 +00:00
Bas Schouten
910c08e31f Bug 596419: Fix up layer destruction scheme. r=jrmuizel 2010-09-15 22:15:49 +00:00
Chris Jones
2bb3bb3e9c Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones
242dbbc943 Bug 596542: Repainting a thebes layer with a non-1.0 resolution shouldn't (always) force buffer reallocs. r=roc 2010-09-15 16:03:13 -05:00
Chris Jones
110d280286 Merge m-c --> cedar 2010-09-14 14:28:39 -05:00
Chris Jones
c8b26707ee Bug 570625, part 9: When updating thebes layers, swap out back/front buffers and invalidate the newly-painted region on the old front buffer. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
5c7d89b4f0 Bug 570625, part 8: Share Xlib surfaces across processes on X11 platforms. r=karl 2010-09-14 00:23:08 -05:00