Граф коммитов

42 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert d04e5840f2 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Bas Schouten 839048be74 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
David Anderson 3b9fed8952 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson a264d0ebc8 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
Jeff Gilbert 88506f3b6e Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard 2012-08-20 17:13:32 -07:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Anderson e7f516869b Merge from mozilla-central. 2012-07-30 13:15:39 -07:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Anderson edaeadf3ad Merge from mozilla-central. 2012-05-21 14:40:04 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
David Anderson d86d1bfe9a Merge from mozilla-central.
--HG--
rename : dom/system/nsDeviceMotion.cpp => dom/system/nsDeviceSensors.cpp
rename : dom/system/nsDeviceMotion.h => dom/system/nsDeviceSensors.h
2012-03-26 14:17:28 -07:00
Jeff Gilbert c962e216ff Bug 735378 - Cache temporary composite surfaces - r=bgirard 2012-03-25 12:50:26 -07:00
Sean Stangl 7821d0df18 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
Marco Castelluccio 2f7388d5b7 Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow 2011-11-18 17:00:37 +13:00
David Anderson 22bb25d029 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 92064e6d3f 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
Matt Brubeck 65a5f3ea90 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio d303f502ae Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Michael Wu d2b70213ac 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 131092869e Bug 689045 - Canvas Shadow swap/Init API rework r=cjones
--HG--
extra : rebase_source : 7b2acb0ffededb54815d7222d79999d32506bee5
2011-09-27 15:19:28 -07:00
Benoit Girard 5b3036138c Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-04 09:15:05 -04:00
Benoit Girard 3a51e1fdfa Backout 627489bb6288. 2011-07-01 18:05:54 -04:00
Benoit Girard 4ec96c8c7f Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-01 16:57:15 -04:00
Robert O'Callahan 6e81f6e5b2 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
Ehsan Akhgari acac18d785 Back out bug 622072 because it caused bug 645987 2011-03-29 14:31:53 -04:00
Robert O'Callahan 173828d394 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 7e79a59083 Bug 626602. Part 0: Fix header guards. r=bas 2011-02-16 16:43:30 -06:00
Bas Schouten a50d7fec39 Bug 628173 - Part 1: Update CanvasLayerD3D9 to respect surface content type. r=jrmuizel a=blocking-final 2011-02-10 21:03:24 +01:00
Marco Bonardo 562557746d 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 b686367c7d Bug 626602. Part 0: Fix header guards. r=bas 2011-02-08 18:44:12 -06:00
Bas Schouten 482b106a38 Bug 593604 - Part 11: Remove code to support D2D/D3D9 interop. r+a=roc 2011-01-04 02:37:10 +01:00
Robert O'Callahan 26f24119f8 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
Bas Schouten a09e9678c4 Bug 584494: Avoid creating intermediate surfaces in D3D9 layers. r=roc a=blocking-betaN 2010-10-21 22:41:04 +02:00
Bas Schouten 90d4b99c8d Bug 596419: Fix up layer destruction scheme. r=jrmuizel 2010-09-15 22:15:49 +00:00
Bas Schouten 9ff24ead27 Bug 595154 - Part 3: Recreate/update CanvasLayerD3D9 texture when needed. r=vlad 2010-09-14 12:57:03 +02:00
Bas Schouten 05782c80c6 Bug 595154 - Part 2: Clean CanvasLayerD3D9 resources when needed. r=jrmuizel 2010-09-14 12:56:56 +02:00
Bas Schouten 9f3321e5ee Bug 593268 - Part 3: Implement CreateOptimalSurface for D3D9 layers and use interop in CanvasLayerD3D9. r=jrmuizel 2010-09-08 05:27:36 +02:00
Matt Woodrow 2441967f84 Bug 589978 - [D3D9] 2D canvas layers always have premultiplied alpha. r=bas, a=beta5+ 2010-08-23 20:58:27 -07:00
Vladimir Vukicevic 27b296ce6e b=575469; use CreateOffscreen in layers; r=bas 2010-07-18 22:01:14 -07:00
Matt Woodrow 47f140fb7d Bug 564991. Part 8: Hoist GetLayerType out of individual layer manager types and make it available for all layers. r=jrmuizel,sr=vlad 2010-07-01 20:01:09 -05:00
Bas Schouten 34ebfb3b84 Numerous whitespace fixes in D3D9 layers code. 2010-05-29 05:27:03 +02:00
Bas Schouten 01d768b811 Bug 546515: Part 1: Add a layers backend based on Direct3D9. r=jrmuizel 2010-05-24 17:28:51 +02:00