Commit Graph

309 Commits

Author SHA1 Message Date
David Anderson
281419782d Merge from mozilla-central.
--HG--
rename : browser/components/sessionstore/test/browser/Makefile.in => browser/components/sessionstore/test/Makefile.in
rename : browser/devtools/webconsole/test/browser/Makefile.in => browser/devtools/webconsole/test/Makefile.in
rename : browser/devtools/webconsole/test/browser/browser_gcli_integrate.js => browser/devtools/webconsole/test/browser_gcli_integrate.js
rename : browser/devtools/webconsole/test/browser/browser_gcli_web.js => browser/devtools/webconsole/test/browser_gcli_web.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_595934_message_categories.js => browser/devtools/webconsole/test/browser_webconsole_bug_595934_message_categories.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_642108_pruneTest.js => browser/devtools/webconsole/test/browser_webconsole_bug_642108_pruneTest.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_653531_highlighter_console_helper.js => browser/devtools/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js
rename : browser/devtools/webconsole/test/browser/test-console-extras.html => browser/devtools/webconsole/test/test-console-extras.html
2011-12-16 15:06:51 -08: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
David Anderson
2fab108c59 Merge from mozilla-central. 2011-11-29 16:44:03 -08:00
David Anderson
5c48d7f631 Merge from mozilla-central.
--HG--
rename : gfx/thebes/GLContext.cpp => gfx/gl/GLContext.cpp
rename : gfx/thebes/GLContext.h => gfx/gl/GLContext.h
rename : gfx/thebes/GLContextProviderCGL.mm => gfx/gl/GLContextProviderCGL.mm
rename : gfx/thebes/GLContextProviderEGL.cpp => gfx/gl/GLContextProviderEGL.cpp
rename : gfx/thebes/GLContextProviderGLX.cpp => gfx/gl/GLContextProviderGLX.cpp
rename : gfx/thebes/GLContextProviderOSMesa.cpp => gfx/gl/GLContextProviderOSMesa.cpp
rename : gfx/thebes/GLContextProviderWGL.cpp => gfx/gl/GLContextProviderWGL.cpp
rename : gfx/thebes/GLXLibrary.h => gfx/gl/GLXLibrary.h
rename : gfx/thebes/WGLLibrary.h => gfx/gl/WGLLibrary.h
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
2011-11-23 15:19:11 -05:00
Sean Stangl
1f4a864ee4 Merge M-C -> IonMonkey.
--HG--
rename : mobile/app/mobile.js => mobile/xul/app/mobile.js
rename : mobile/app/nsBrowserApp.cpp => mobile/xul/app/nsBrowserApp.cpp
rename : mobile/chrome/content/BookmarkHelper.js => mobile/xul/chrome/content/BookmarkHelper.js
rename : mobile/chrome/content/BookmarkPopup.js => mobile/xul/chrome/content/BookmarkPopup.js
rename : mobile/chrome/content/ContextCommands.js => mobile/xul/chrome/content/ContextCommands.js
rename : mobile/chrome/content/TabsPopup.js => mobile/xul/chrome/content/TabsPopup.js
rename : mobile/chrome/content/Util.js => mobile/xul/chrome/content/Util.js
rename : mobile/chrome/content/WebappsUI.js => mobile/xul/chrome/content/WebappsUI.js
rename : mobile/chrome/content/aboutHome.xhtml => mobile/xul/chrome/content/aboutHome.xhtml
rename : mobile/chrome/content/bindings/arrowbox.xml => mobile/xul/chrome/content/bindings/arrowbox.xml
rename : mobile/chrome/content/browser-scripts.js => mobile/xul/chrome/content/browser-scripts.js
rename : mobile/chrome/content/browser-ui.js => mobile/xul/chrome/content/browser-ui.js
rename : mobile/chrome/content/browser.js => mobile/xul/chrome/content/browser.js
rename : mobile/chrome/content/browser.xul => mobile/xul/chrome/content/browser.xul
rename : mobile/chrome/content/common-ui.js => mobile/xul/chrome/content/common-ui.js
rename : mobile/chrome/content/content.js => mobile/xul/chrome/content/content.js
rename : mobile/chrome/content/downloads.js => mobile/xul/chrome/content/downloads.js
rename : mobile/chrome/content/extensions.js => mobile/xul/chrome/content/extensions.js
rename : mobile/chrome/content/forms.js => mobile/xul/chrome/content/forms.js
rename : mobile/chrome/content/localePicker.js => mobile/xul/chrome/content/localePicker.js
rename : mobile/chrome/content/localePicker.xul => mobile/xul/chrome/content/localePicker.xul
rename : mobile/chrome/content/preferences.js => mobile/xul/chrome/content/preferences.js
rename : mobile/chrome/content/sync.js => mobile/xul/chrome/content/sync.js
rename : mobile/chrome/content/tabs.xml => mobile/xul/chrome/content/tabs.xml
rename : mobile/chrome/content/webapps.xul => mobile/xul/chrome/content/webapps.xul
rename : mobile/chrome/jar.mn => mobile/xul/chrome/jar.mn
rename : mobile/chrome/tests/Makefile.in => mobile/xul/chrome/tests/Makefile.in
rename : mobile/chrome/tests/browser_awesomescreen.js => mobile/xul/chrome/tests/browser_awesomescreen.js
rename : mobile/components/Makefile.in => mobile/xul/components/Makefile.in
rename : mobile/components/MobileComponents.manifest => mobile/xul/components/MobileComponents.manifest
rename : mobile/components/SessionStore.js => mobile/xul/components/SessionStore.js
rename : mobile/confvars.sh => mobile/xul/confvars.sh
rename : mobile/installer/package-manifest.in => mobile/xul/installer/package-manifest.in
rename : mobile/locales/en-US/chrome/aboutHome.dtd => mobile/xul/locales/en-US/chrome/aboutHome.dtd
rename : mobile/locales/en-US/chrome/sync.dtd => mobile/xul/locales/en-US/chrome/sync.dtd
rename : mobile/locales/en-US/chrome/webapps.dtd => mobile/xul/locales/en-US/chrome/webapps.dtd
rename : mobile/modules/LocaleRepository.jsm => mobile/xul/modules/LocaleRepository.jsm
rename : mobile/modules/contacts.jsm => mobile/xul/modules/contacts.jsm
rename : mobile/themes/core/aboutHome.css => mobile/xul/themes/core/aboutHome.css
rename : mobile/themes/core/browser.css => mobile/xul/themes/core/browser.css
rename : mobile/themes/core/defines.inc => mobile/xul/themes/core/defines.inc
rename : mobile/themes/core/gingerbread/browser.css => mobile/xul/themes/core/gingerbread/browser.css
rename : mobile/themes/core/gingerbread/defines.inc => mobile/xul/themes/core/gingerbread/defines.inc
rename : mobile/themes/core/gingerbread/images/throbber.png => mobile/xul/themes/core/gingerbread/images/throbber.png
rename : mobile/themes/core/honeycomb/browser.css => mobile/xul/themes/core/honeycomb/browser.css
rename : mobile/themes/core/honeycomb/defines.inc => mobile/xul/themes/core/honeycomb/defines.inc
rename : mobile/themes/core/honeycomb/images/addons-default-hdpi.png => mobile/xul/themes/core/honeycomb/images/addons-default-hdpi.png
rename : mobile/themes/core/honeycomb/images/check-selected-hdpi.png => mobile/xul/themes/core/honeycomb/images/check-selected-hdpi.png
rename : mobile/themes/core/honeycomb/images/check-unselected-hdpi.png => mobile/xul/themes/core/honeycomb/images/check-unselected-hdpi.png
rename : mobile/themes/core/honeycomb/images/downloads-default-hdpi.png => mobile/xul/themes/core/honeycomb/images/downloads-default-hdpi.png
rename : mobile/themes/core/honeycomb/images/dropmarker-hdpi.png => mobile/xul/themes/core/honeycomb/images/dropmarker-hdpi.png
rename : mobile/themes/core/honeycomb/images/forward-default-hdpi.png => mobile/xul/themes/core/honeycomb/images/forward-default-hdpi.png
rename : mobile/themes/core/honeycomb/images/menu-hdpi.png => mobile/xul/themes/core/honeycomb/images/menu-hdpi.png
rename : mobile/themes/core/honeycomb/images/navigation-magnifier-30.png => mobile/xul/themes/core/honeycomb/images/navigation-magnifier-30.png
rename : mobile/themes/core/honeycomb/images/preferences-default-hdpi.png => mobile/xul/themes/core/honeycomb/images/preferences-default-hdpi.png
rename : mobile/themes/core/honeycomb/images/reload-hdpi.png => mobile/xul/themes/core/honeycomb/images/reload-hdpi.png
rename : mobile/themes/core/honeycomb/images/stop-hdpi.png => mobile/xul/themes/core/honeycomb/images/stop-hdpi.png
rename : mobile/themes/core/honeycomb/images/throbber.png => mobile/xul/themes/core/honeycomb/images/throbber.png
rename : mobile/themes/core/honeycomb/images/urlbar-border-side.png => mobile/xul/themes/core/honeycomb/images/urlbar-border-side.png
rename : mobile/themes/core/honeycomb/platform.css => mobile/xul/themes/core/honeycomb/platform.css
rename : mobile/themes/core/images/throbber.png => mobile/xul/themes/core/images/throbber.png
rename : mobile/themes/core/jar.mn => mobile/xul/themes/core/jar.mn
rename : mobile/themes/core/tablet.css => mobile/xul/themes/core/tablet.css
2011-11-18 15:27:12 -08:00
Bas Schouten
56d3b6d55c Bug 644199: Properly re-upload after clearing mTexture because of device reset. r=roc 2012-01-17 18:32:24 +01: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
David Anderson
1517ff3853 Merge from mozilla-central. 2011-11-04 14:02:27 -07: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
Marco Castelluccio
65fe650cde Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow 2011-11-18 17:00:37 +13:00
David Anderson
8ac30aa6e6 Merge from mozilla-central.
--HG--
rename : js/src/xpconnect/idl/nsIXPConnect.idl => js/xpconnect/idl/nsIXPConnect.idl
rename : js/src/xpconnect/loader/mozJSComponentLoader.cpp => js/xpconnect/loader/mozJSComponentLoader.cpp
rename : js/src/xpconnect/loader/mozJSComponentLoader.h => js/xpconnect/loader/mozJSComponentLoader.h
rename : js/src/xpconnect/loader/mozJSSubScriptLoader.cpp => js/xpconnect/loader/mozJSSubScriptLoader.cpp
rename : js/src/xpconnect/public/nsAXPCNativeCallContext.h => js/xpconnect/public/nsAXPCNativeCallContext.h
rename : js/src/xpconnect/public/xpc_map_end.h => js/xpconnect/public/xpc_map_end.h
rename : js/src/xpconnect/shell/xpcshell.cpp => js/xpconnect/shell/xpcshell.cpp
rename : js/src/xpconnect/src/Makefile.in => js/xpconnect/src/Makefile.in
rename : js/src/xpconnect/src/xpccallcontext.cpp => js/xpconnect/src/XPCCallContext.cpp
rename : js/src/xpconnect/src/xpccomponents.cpp => js/xpconnect/src/XPCComponents.cpp
rename : js/src/xpconnect/src/xpcconvert.cpp => js/xpconnect/src/XPCConvert.cpp
rename : js/src/xpconnect/src/xpcdebug.cpp => js/xpconnect/src/XPCDebug.cpp
rename : js/src/xpconnect/src/xpcinlines.h => js/xpconnect/src/XPCInlines.h
rename : js/src/xpconnect/src/xpcjsid.cpp => js/xpconnect/src/XPCJSID.cpp
rename : js/src/xpconnect/src/xpcjsruntime.cpp => js/xpconnect/src/XPCJSRuntime.cpp
rename : js/src/xpconnect/src/xpclog.cpp => js/xpconnect/src/XPCLog.cpp
rename : js/src/xpconnect/src/xpclog.h => js/xpconnect/src/XPCLog.h
rename : js/src/xpconnect/src/xpcmaps.cpp => js/xpconnect/src/XPCMaps.cpp
rename : js/src/xpconnect/src/xpcmaps.h => js/xpconnect/src/XPCMaps.h
rename : js/src/xpconnect/src/xpcquickstubs.cpp => js/xpconnect/src/XPCQuickStubs.cpp
rename : js/src/xpconnect/src/xpcquickstubs.h => js/xpconnect/src/XPCQuickStubs.h
rename : js/src/xpconnect/src/xpcruntimesvc.cpp => js/xpconnect/src/XPCRuntimeService.cpp
rename : js/src/xpconnect/src/xpcthreadcontext.cpp => js/xpconnect/src/XPCThreadContext.cpp
rename : js/src/xpconnect/src/xpcthrower.cpp => js/xpconnect/src/XPCThrower.cpp
rename : js/src/xpconnect/src/xpcvariant.cpp => js/xpconnect/src/XPCVariant.cpp
rename : js/src/xpconnect/src/xpcwrappedjs.cpp => js/xpconnect/src/XPCWrappedJS.cpp
rename : js/src/xpconnect/src/xpcwrappedjsclass.cpp => js/xpconnect/src/XPCWrappedJSClass.cpp
rename : js/src/xpconnect/src/xpcwrappednative.cpp => js/xpconnect/src/XPCWrappedNative.cpp
rename : js/src/xpconnect/src/xpcwrappednativeinfo.cpp => js/xpconnect/src/XPCWrappedNativeInfo.cpp
rename : js/src/xpconnect/src/xpcwrappednativejsops.cpp => js/xpconnect/src/XPCWrappedNativeJSOps.cpp
rename : js/src/xpconnect/src/xpcwrappednativeproto.cpp => js/xpconnect/src/XPCWrappedNativeProto.cpp
rename : js/src/xpconnect/src/xpcwrappednativescope.cpp => js/xpconnect/src/XPCWrappedNativeScope.cpp
rename : js/src/xpconnect/src/XPCWrapper.cpp => js/xpconnect/src/XPCWrapper.cpp
rename : js/src/xpconnect/src/XPCWrapper.h => js/xpconnect/src/XPCWrapper.h
rename : js/src/xpconnect/src/dom_quickstubs.qsconf => js/xpconnect/src/dom_quickstubs.qsconf
rename : js/src/xpconnect/src/nsXPConnect.cpp => js/xpconnect/src/nsXPConnect.cpp
rename : js/src/xpconnect/src/qsgen.py => js/xpconnect/src/qsgen.py
rename : js/src/xpconnect/src/xpcprivate.h => js/xpconnect/src/xpcprivate.h
rename : js/src/xpconnect/src/xpcpublic.h => js/xpconnect/src/xpcpublic.h
rename : js/src/xpconnect/tests/chrome/test_doublewrappedcompartments.xul => js/xpconnect/tests/chrome/test_doublewrappedcompartments.xul
rename : js/src/xpconnect/tests/components/native/xpctest_attributes.cpp => js/xpconnect/tests/components/native/xpctest_attributes.cpp
rename : js/src/xpconnect/tests/components/native/xpctest_params.cpp => js/xpconnect/tests/components/native/xpctest_params.cpp
rename : js/src/xpconnect/tests/components/native/xpctest_private.h => js/xpconnect/tests/components/native/xpctest_private.h
rename : js/src/xpconnect/tests/mochitest/file_doublewrappedcompartments.html => js/xpconnect/tests/mochitest/file_doublewrappedcompartments.html
rename : js/src/xpconnect/tests/mochitest/test_bug502959.html => js/xpconnect/tests/mochitest/test_bug502959.html
rename : js/src/xpconnect/tests/mochitest/test_bug505915.html => js/xpconnect/tests/mochitest/test_bug505915.html
rename : js/src/xpconnect/wrappers/AccessCheck.cpp => js/xpconnect/wrappers/AccessCheck.cpp
rename : js/src/xpconnect/wrappers/AccessCheck.h => js/xpconnect/wrappers/AccessCheck.h
rename : js/src/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/CrossOriginWrapper.cpp
rename : js/src/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/CrossOriginWrapper.h
rename : js/src/xpconnect/wrappers/FilteringWrapper.cpp => js/xpconnect/wrappers/FilteringWrapper.cpp
rename : js/src/xpconnect/wrappers/FilteringWrapper.h => js/xpconnect/wrappers/FilteringWrapper.h
rename : js/src/xpconnect/wrappers/WrapperFactory.cpp => js/xpconnect/wrappers/WrapperFactory.cpp
rename : js/src/xpconnect/wrappers/WrapperFactory.h => js/xpconnect/wrappers/WrapperFactory.h
rename : js/src/xpconnect/wrappers/XrayWrapper.cpp => js/xpconnect/wrappers/XrayWrapper.cpp
rename : js/src/xpconnect/wrappers/XrayWrapper.h => js/xpconnect/wrappers/XrayWrapper.h
2011-10-17 11:52:12 -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
Bas Schouten
f987b74374 Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Matt Brubeck
d9a00c1f73 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio
f70d384da0 Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Robert O'Callahan
46a8f52b3d Bug 703491. Silence useless assertion. r=bas 2011-11-21 17:40:11 +13: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
Brad Lassey
fc8ff8bbcb Backed out changeset 703df62e855b due to crashes reported in bug 693086 2011-10-10 11:00:16 -04:00
Matt Brubeck
d53193f383 Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:43:58 -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 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
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
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
Robert O'Callahan
f6d9e65b02 Bug 703491. Part 2: use bools, not nsresults, and silence the rest of the assertions. r=bas 2011-11-24 12:01:39 +13: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
Oleg Romashin
c4c535022d Bug 689045 - Canvas Shadow swap/Init API rework r=cjones
--HG--
extra : rebase_source : 7b2acb0ffededb54815d7222d79999d32506bee5
2011-09-27 15:19:28 -07:00
Oleg Romashin
ae53d5a0c3 Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones
--HG--
extra : rebase_source : 00d0c49f320c0969570917a321b8a95a3357a943
2011-09-27 15: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
Chris Jones
02362cc047 Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa 2011-07-06 13:29:27 -04:00
Matt Woodrow
cd05bbfd33 Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc 2011-08-03 15:04:20 +12: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
arno renevier
5388ac92cf Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Chris Jones
24f027292c Back out bug 648484 2011-07-15 11:35:55 -07:00
Chris Jones
d827503aa5 Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa 2011-07-06 13:29:27 -04: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
dd264db48d Bug 656185 - Part 3 - Upload the entire image for PlanarYCbCrImageD3D9 to a texture and clip using texture coordinates. r=Bas 2011-07-05 14:52:34 +12:00
Benoit Girard
dd61f3a2ea Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-04 09:15:05 -04:00
Benoit Girard
069dc7b333 Backout 627489bb6288. 2011-07-01 18:05:54 -04:00
Benoit Girard
c83b82cbd1 Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-01 16:57:15 -04:00
Matt Woodrow
cc66446a05 Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
31412c006b Bug 656185 - Part 4 - Fix for D3D9. r=Bas 2011-06-27 14:32:42 +12:00
Robert O'Callahan
64c5e295e0 Bug 637852. Part 8: Remove resolution support from D3D9 layers. r=mattwoodrow
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Masayuki Nakano
e06d6eb819 Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe 2011-06-12 11:30:16 +09: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
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
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
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
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
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
Benjamin Smedberg
7989cbf1bc Bug 635980. Change Nv3DVStreaming assert to warning. r=jmuizelaar, a=jmuizelaar 2011-03-01 13:00:35 +09: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
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
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
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
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
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
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
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
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
4875d1968d Bug 586683 - Part 3 - Add resolution handling to ThebesLayerD3D9. r=Bas a=blocking2.0 2011-02-09 09:39:09 +13: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
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
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
ad79053b53 Bug 621601. Part 2: Implement EndEmptyTransaction for D3D9. r=bas,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
Bas Schouten
ba51e3f9ed Bug 624088: Recreate our device agressively on device losses. r=jrmuizel a=joedrew 2011-01-17 21:28:24 +00: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
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
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
Robert O'Callahan
60388a174c Bug 622886 - spike in crashes [@ gfxContext::gfxContext(gfxASurface*) ]. r=bas, a=blocking 2011-01-04 12:59:00 -08: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
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
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
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
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
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
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
Matthew Gregan
fc868e4d64 Bug 584259 - Add support for StereoMode element. r=roc a=roc 2010-11-03 12:43:29 +13: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
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
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
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
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
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
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
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
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
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
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
50d248afd4 Bug 601928: Check result of create texture for tmpTexture. r=jrmuizel a=blocking-beta8 2010-10-08 18:02:53 +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
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
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
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
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
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