summaryrefslogtreecommitdiffstats
path: root/libs/ui/Rect.cpp
Commit message (Collapse)AuthorAgeFilesLines
* libgui: Pass surface damage through BufferQueueDan Stoza2015-04-151-0/+2
| | | | | | | | | | This change adds support for passing surface damage all of the way down from the EGL interface through the consumer side of the BufferQueue. Depends on system/core change Ie645e6a52b37b5c1b3be19481e8348570d1aa62c Bug: 11239309 Change-Id: I4457ea826e9ade4ec187f973851d855b7b93a31b
* take the "transparent region" into account for blendingMathias Agopian2013-05-101-0/+31
| | | | | | | | | | | until now it was only used to discard a layer entirely. we're now reducing the size of the layer if it is still visible, if possible. this works for instance when a surfaceView is used and only the menu bar is displayed over it. Change-Id: I3f5527c5cd1e69ecc968272c8948f1513ada8c55
* reformat Rect.{cpp|h}Mathias Agopian2013-05-101-30/+24
| | | | Change-Id: I45b1f6646541a1abacce1e70df00a770e47b820e
* SurfaceFlinger: add a crop to the layer stateJamie Gennis2012-05-111-1/+1
| | | | | | | | | This change adds a crop rectangle specified in window coordinates to the layer state. The all window pixels outside this crop rectangle are treated as though they were fully transparent. This change also adds the plumbing necessary for WindowManager to set that crop. Change-Id: I582bc445dc8c97d4c943d4db8d582a6ef5a66081
* libui: add the Rect::transform methodJamie Gennis2012-05-071-0/+21
| | | | | | | | This change adds a method to Rect to transform a rectangle by a graphics HAL transform. Change-Id: Ic0d0988e731bdb5662faee41a5927b1242891658 Bug: 6299171
* Add ANativeWindow API for directly drawing to the surface bits.Dianne Hackborn2010-07-091-4/+4
| | | | | | | | | | | Also other cleanup and fixes: - We now properly set the default window format to 565. - New APIs to set the window format and flags from native code. - Tweaked glue for simpler handling of the "destroy" message. - Um, other stuff. Change-Id: Id7790a21a2fa9a19b91854d225324a7c1e7c6ade
* minor clean-up to Rect and Point.Mathias Agopian2009-05-261-10/+19
| | | | | | - return "const" objects for overloaded operators to disallow constructs like: (a+b) = c; - don't return references to non-static members, it's not always safe. - Point.cpp was empty, so get rid of it
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+86
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-86/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+86