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

157 Коммитов

Автор SHA1 Сообщение Дата
Chris Jones a4f6205eb3 Bug 834639: Use PREMULT blending for hwc layers. r=dwilson 2013-02-12 10:47:07 -08:00
Diego Wilson 4afc663c00 Bug 834819 - Make HwcComposer2D honors world transform. r=cjones 2013-01-29 20:21:04 -05:00
Robert O'Callahan 15c63857c3 Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Robert O'Callahan 956f4861da Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00
Robert O'Callahan 95006c8a82 Bug 826817. Part 1: Send WillPaintWindow/DidPaintWindow from all widget implementations. r=tnikkel 2013-01-28 13:34:03 -06:00
Matt Brubeck 4add9fcb8c Bug 833663 - Set MOZ_SOURCE_TOUCH for simulated mouse events in Gonk [r=cjones] 2013-01-24 06:53:39 -08:00
Diego Wilson a0d13480f7 Bug 810334: Honor layer clip rects in HwcComposer2D. r=vlad a=cjones 2013-01-17 13:34:01 -08:00
Ehsan Akhgari 56e1e4925d Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary 2013-01-14 16:21:54 -05:00
Diego Wilson 350a22731c Bug 810501: Get buffer offset from ThebesLayer when composing with hwc. r=cjones a=blocking-basecamp 2013-01-10 11:51:43 +01:00
Diego Wilson cf5376b186 Bug 808339: HWC fallback on multirect layer. r=cjones a=blocking-basecamp 2013-01-09 18:18:13 +01:00
Diego Wilson c12f10451a Bug 810361: Handle ColorLayers with HwcComposer2D. r=cjones a=blocking-basecamp 2013-01-09 13:56:37 +01:00
Ehsan Akhgari 304e36fea0 Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Ehsan Akhgari d807a8997a Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc 2013-01-05 23:07:27 -05:00
Masayuki Nakano 4138c5d022 Bug 822866 Make mozilla::widget::BaseEventFlags which is a POD struct for VC r=smaug 2012-12-28 23:13:18 +09:00
Justin Lebar c32ab06a51 Bug 819791 - Part 4: Remove an unnecessary TArray copy in OrientationObserver.cpp. r=mounir 2012-12-18 20:16:06 -05:00
Masayuki Nakano 6c6e7afae6 Bug 813445 part.10 Remove NS_EVENT_FLAG_DONT_FORWARD_CROSS_PROCESS and NS_EVENT_RETARGET_TO_NON_NATIVE_ANONYMOUS r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano bc637323fa Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Jeff Walden 120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Jonathan Kew 81c7d507db bug 819725 pt 1 - make widget move & resize methods take floating-point parameters, to allow passing fractional coordinates without rounding. r=roc 2012-12-12 09:57:38 +00:00
Doug Turner a27514f324 Bug 808262- Otoro/unagi sometimes start up in landscape and can't be switched to portrait. The working theory is that, for some reason, we can not access the fb. If that happens, just abort and try again later. r=dhylands a=blocking-basecamp 2012-12-07 16:02:48 -08:00
Makoto Kato 8c6ec2229f Bug 815945 - Gonk needs to implement nsLookAndFeel::GetPasswordCharacterImpl. r=mwu 2012-12-04 12:24:51 +09:00
Michael Wu 639709ef73 Bug 809665 - Boot animation support for B2G, r=cjones,joe 2012-11-28 13:43:19 -05:00
Makoto Kato 630d3b8360 Bug 816004 - Change password mask timer to 1.5s on Gonk. f=vingtetun r=mwu 2012-11-29 15:13:35 +09:00
Dave Hylands 07ef614712 Bug 814783 - terminate_string16 is called twice, causing segfault when an app exits. r=mwu
Add String16.cpp to libui so that we call the terminate_string16 from that file rather than
the one from android.
2012-11-28 13:59:54 -08:00
Dave Hylands 40d037c83d Bug 814549 - Fix OOP app segfault when exiting the app. r=cjones 2012-11-27 19:07:19 -08:00
Michael Wu fe1ca13ca3 Backed out changeset d12d63253125 (bug 809665) for red 2012-11-19 19:54:33 -06:00
Michael Wu ab9f16238f Bug 809665 - Boot animation support for B2G, r=cjones 2012-11-09 12:08:36 -08:00
Chris Jones 270f8e37db Bug 804852: Support for the hwc implementation of Composer2D. r=mattwoodrow,mwu,roc sr=roc
This is a rollup of the following patches

part 0: Add a dynamic cast to ColorLayer*

part 1: Add a Composer2D interface to enable implementations to more efficiently compose layer trees

part 2: Let widgets expose Composer2Ds, if they have them

part 3: Expose a layers ogl "friend" API that Composer2D will consume

part 4: Hook Composer2D into the LayerManagerOGL rendering pipeline

part 5: Implement all the goop to let widget/gonk use a Composer2D (HwcComposer2D)
2012-11-19 09:58:38 -08:00
Diego Wilson e4cc72f07d Bug 804852: Implement Composer2D for hwc. r=cjones 2012-11-19 09:58:37 -08:00
Nicolas Silva 51dd83878a Bug 806428 - Fix crash in omtc-linux caused by nsBaseWidget::SetLayersAcceleration, and rename xxxAcceleratedRendering into xxxLayersAcceleration for concistency. r=BenWa 2012-11-15 19:55:15 +01:00
Randy Lin 0c814d1bdf Bug 805744 - Add Support for media control on Wired Headset Button. r=fabrice 2012-11-07 09:45:54 +08:00
Gabriele Svelto 9e3fdc6388 Bug 808756 - Introduce a memory-pressure event that is not forwarded by the main process to its children. r=jlebar 2012-11-08 02:07:57 +01:00
Justin Lebar b6652156ac Bug 771195 - Follow-up: Fix debug build error on a CLOSED TREE. r=me 2012-10-31 14:08:07 -04:00
Justin Lebar 8fc123df0d Bug 771195 - Fire memory pressure events on Gonk. r=dhylands 2012-10-31 13:29:14 -04:00
Masayuki Nakano e1c5dfa43e Bug 801989 part.7 Set InputContext::mNativeIMEContext on Gonk r=cjones 2012-10-27 08:35:21 +09:00
Neil Deakin dbb5179c04 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Matt Woodrow c26250b08d Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Jonathan Kew ed41d7aef7 bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc 2012-09-29 12:35:08 +01:00
Mounir Lamouri 4444ef8203 Bug 787534 - Update the Gonk backend to take into account the new screen lock orientations values. r=mwu 2012-09-18 19:39:59 +01:00
Mounir Lamouri 37425e57ca Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar 2012-09-19 17:28:16 +01:00
Chris Jones ec4f0b7652 Bug 788943: Allow TabParents to capture event series for faster dispatch to subprocesses. Implements capturing of touch-event series. r=smaug sr=roc 2012-09-11 13:05:52 -07:00
Mounir Lamouri 41eb3be4c0 Bug 787532 - Update Android HAL backend to take into account new screen lock values. r=jlebar 2012-09-11 11:57:20 +01:00
Michael Wu 69aedb71ea Bug 771653 - Use HWComposer instead of swapBuffer where appropriate, r=cjones
Some vendors provide a hw composer module which should be used instead of swapBuffers on hardware surfaces.

Based on romaxa's patch.
2012-08-24 15:42:45 -04:00
Chris Jones acbbb62790 Bug 778261: Move this workaround back into the right place. r=fabrice 2012-08-30 09:45:59 -03:00
Michael Wu d79ca82da5 Bug 781039 - Mouse input support for gonk, r=cjones 2012-08-24 14:06:19 -04: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
Nicolas Silva 75542595f3 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Justin Lebar 431379fa00 Bug 776132 - When the gonk AppShell is trying to shut down the OrientationObserver, don't call OrientationObserver::GetInstance() -- that might /create/ an orientation observer! r=cjones
--HG--
extra : rebase_source : 72ad44ea6edf1c170cb0af6fb3e207550c7bee15
2012-08-18 09:55:59 -04:00
Chris Jones 02e97bd80f Bug 783139: Restore setting .widget on nsGUIEvent. r=dRdR 2012-08-15 17:54:18 -07:00
Neil Deakin 6b29afdf4b Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00