Bas Schouten
466e713be2
Bug 740815 - Part 2: Generalize code for filling component alpha surfaces with opaque colors. r=jrmuizel
2012-04-03 22:25:52 +02:00
Jeff Gilbert
ab6e9099ad
Bug 735378 - Cache temporary composite surfaces - r=bgirard
2012-03-25 12:50:26 -07:00
Bas Schouten
ee64d142c2
Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc
2012-03-13 01:41:29 +00:00
Daniel Holbert
d8d7782972
Backout 4b46f6eff8f4 (Bug 732988) for linux Cipc orange
2012-03-11 16:43:12 -07:00
Bas Schouten
a1cb5a3d28
Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc
2012-03-11 22:33:22 +00:00
Bas Schouten
87964f395c
Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc
2012-02-16 04:26:19 +01:00
Benoit Jacob
48c5b9a871
Bug 711656 - report force-enabled features in crash reports - r=jrmuizel
...
Force-enabled features will be reported with a '!' instead of the usual '?' in AppNotes in crash reports.
2012-02-27 16:33:19 -05:00
Jacek Caban
4deb092f3a
Bug 723942 - ImageLayerD3D*.cpp does not compile on mingw r=bas
...
--HG--
extra : rebase_source : e98c15c62a8998c1c646a5d9851ec96514f0b376
2012-02-06 11:24:47 +01:00
Bas Schouten
f987b74374
Bug 715785: Make ImageContainers independent of LayerManagers. r=roc
2012-02-01 03:18:30 +01:00
aceman
9f40d11539
Bug 678982 - check for null pointer dereference in gfx/layers/d3d10/ImageLayerD3D10.cpp; r=bas.schouten
2012-01-19 15:53:56 +01:00
Jeff Muizelaar
4ac327e933
Bug 696398. Add an api to analyse frame rate. r=ajuma
...
This adds a startFrameTimeRecording() and stopFrameTimeRecording()
to DOMWindowUtils. stopFrameTimeRecording() returns an array of frame times in milliseconds.
2012-01-05 17:40:35 -05:00
Bas Schouten
bf4eadaee5
Bug 711063 - Part 11: Allow using Azure for content drawing with D3D10 layers. r=jrmuizel
2012-01-05 08:17:52 +01:00
Matt Woodrow
1e6a0c0b07
Bug 707563 - Restore the w component in the LayerManager shaders after applying the offset. r=Bas
2011-12-19 10:11:30 +13:00
Jeff Gilbert
4d60675b38
Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob
2011-12-16 14:24:46 -08:00
Jeff Gilbert
1be07963e0
Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob
2011-12-16 14:24:46 -08:00
Matt Woodrow
bea9136024
Bug 707563 - Convert vertex vector back into normal coordinate space before applying offset. r=Bas
2011-12-09 16:21:45 +13:00
Robert O'Callahan
f5a402ffe7
Bug 701528. Fix component alpha shader so correct destination alpha values are produced. r=bas
2011-11-14 17:42:08 +13:00
Jeff Gilbert
50ccee0ff9
Bug 571507 - Add checks for texture creation failure to ContainerLayerD3D* - r=bas.schouten
2011-11-03 12:10:10 -07:00
Ehsan Akhgari
2a602a5685
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
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Matt Woodrow
903d47038f
Bug 692968 - Check the return value of CreateTexture2D in ContainerLayerD3D10. r=Bas
2011-10-13 14:01:30 +13:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Matt Brubeck
eb9465f1a3
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
24e472b6ab
merge
2011-10-10 11:01:34 -04:00
Brad Lassey
a80dbfc6f5
Backed out changeset 703df62e855b due to crashes reported in bug 693086
2011-10-10 11:00:16 -04:00
Oleg Romashin
a86f160f81
Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones
...
--HG--
extra : rebase_source : 92daf535bc48e1fa2a80d3ef1a6ed20855135eb4
2011-10-02 17:19:32 -04:00
Jeff Gilbert
ddbd79d20d
Bug 692458 - Fix for GLContext currency error - r=bjacob
2011-10-07 15:16:48 -04:00
Matt Woodrow
37b2a02d8f
Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc
2011-10-07 10:24:32 +13:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ali Juma
e85791a064
Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones
2011-09-26 09:20:42 -04:00
Robert O'Callahan
8453430402
Bug 677095. Compute reasonable destination alpha values with component-alpha blending in D3D10. r=bas
...
--HG--
extra : rebase_source : b0264c52df9a37334d9524e1fdd1f15e4e4df866
2011-08-12 10:40:39 +12:00
Chris Jones
9003c2c033
Bug 648484, part C: Forward a shadow-layer transaction after rendering in the D3D10 backend, if remote. r=joedrew
...
* * *
Unrot bug 648484. r=Bas. To be folded.
2011-08-09 12:38:26 -07:00
Chris Jones
cf90535cbd
Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
df81c875f3
Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
cfdff93df0
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
d5c4f07060
Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
e119678c6c
Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
12b80c293a
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
fe42f83e74
Bug 648484, part 1: Fix some warning spam. r=roc
2011-08-09 12:38:26 -07:00
Matt Woodrow
cd05bbfd33
Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc
2011-08-03 15:04:20 +12:00
Marco Bonardo
b818d65b85
Merge mozilla-central and mozilla-inbound
2011-07-29 13:46:15 +02:00
Benoit Jacob
2bc65bec27
Bug 674042 - WebGL: crash in getUniformLocation with too long uniform identifiers - r=jrmuizel
...
This limits the length of uniform and attrib identifiers to 4095 characters, to steer clear GL implementation bugs with too long identifiers. The 4095 is totally arbitrary, all we know is that crashes happen after 2^22 chars.
2011-07-28 17:12:31 -04:00
Jeffrey Gilbert
a50f06d79d
Bug 674731 - WebGL/ANGLE interop with D3D layers requests incorrect extension - r=bjacob
2011-07-28 16:37:58 -04:00
Matthew Gregan
db3428cfec
Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe
2011-07-22 15:17:23 +12:00
Chris Jones
24f027292c
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
935a393f3a
Bug 648484, part C: Forward a shadow-layer transaction after rendering in the D3D10 backend, if remote. r=joedrew
...
* * *
Unrot bug 648484. r=Bas. To be folded.
2011-07-13 22:43:43 -07:00
Chris Jones
bdfb401e6b
Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
cb2ee3417a
Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
8325aff847
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
0a936edcc7
Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
9037e7684c
Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
46987600ab
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
7a11870b91
Bug 648484, part 1: Fix some warning spam. r=roc
2011-07-13 22:43:43 -07:00
Jacek Caban
3cdbb68a2e
Bug 670913 - LayerManagerD3D10.h fails to compile on mingw (r=joe)
2011-07-13 17:58:17 +02:00
Robert O'Callahan
26c67a621c
Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas
2011-07-08 22:42:21 +12:00
Matt Woodrow
dbbef6ee35
Bug 656185 - Part 4 - Upload the entire image for PlanarYCbCrImageD3D10 to a texture and clip using texture coordinates. r=Bas
2011-07-05 14:52:50 +12:00
Matt Woodrow
cc66446a05
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
379c7e6f82
Bug 656185 - Part 3 - Fix for D3D10. r=Bas
2011-06-27 14:32:34 +12:00
Bas Schouten
bfb8808747
Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel
2011-06-24 19:41:18 +02:00
Bas Schouten
933cae4fbb
Bug 651858 - Part 4: Implement API for creating a D3D10 compatible DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Robert O'Callahan
0041df680e
Bug 637852. Part 7: Remove resolution support from D3D10 layers. r=mattwoodrow
...
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Neil Rashbrook
a823051c1e
Fix DOS line endings rs=joedrew!
...
DONTBUILD
2011-05-26 20:41:33 +01: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
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
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
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
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
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
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
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
ca1fbaeed0
Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe
2011-02-25 20:44:22 +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
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
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
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
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
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
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
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
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
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
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