summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Rect.h
Commit message (Collapse)AuthorAgeFilesLines
* Optimize FBO drawing with regions.Romain Guy2010-11-021-12/+35
| | | | | | | | | This optimization is currently disabled until Launcher is modified to take advantage of it. The optimization can be enabled by turning on RENDER_LAYERS_AS_REGIONS in the OpenGLRenderer.h file. Change-Id: I2fdf59d0f4dc690a3d7f712173ab8db3848b27b1
* Fix rendering issue with layers.Romain Guy2010-10-221-4/+4
| | | | | | | | | | | A change was made earlier in the renderer to not snap the current clip rect on every clip operation. The clip rect must not be snapped to pixel boundaries before being used for pixel precision operations. Some operations were doing this correctly, others were not. For instance, a layer was always created by rounding to the correct pixels, but composing a layer was done with a non rounded clip, thus resulting in slightly odd behaviors. Change-Id: I31c2cf0a343450470bcd449c3f13fe37648b9c7c
* Fix layer rendering glitch.Romain Guy2010-10-131-4/+4
| | | | Change-Id: If2f987fe5526fc88743ca3e91edde4f8232ff658
* Add support for drawLines(), with anti-aliasingRomain Guy2010-09-161-1/+1
| | | | Change-Id: I16c0593c5671490909dec13a85df601e1428a1a6
* Snap layer bounds to pixel boundaries.Romain Guy2010-09-161-0/+7
| | | | Change-Id: I272ceebf469a119f01ea9d73cdd68519afdffa99
* Add support for Canvas flags on save.Romain Guy2010-09-011-2/+2
| | | | | | This is required for the rewrite of layers support. Change-Id: I5c0867dcf5aeb0392c8d0fbab05febb0eaff70d9
* Improve clip support (add intersect, union and replace.)Romain Guy2010-07-161-0/+19
| | | | | | | This change also modifies the way the clip is stored. The clip is now always stored in screen-space coordinates. Change-Id: I96375784d82dfe975bc6477a159e6866e7052487
* Reduced the complexity of layers composition.Romain Guy2010-06-271-0/+2
| | | | | | | | | | | This change also refactors the code base a bit by moving classes out of OpenGLRenderer into separate headers/implementations. This makes the code more manageable. This change also adds documentation for implementation methods. The undocumented methods are simply Skia's Canvas methods. Change-Id: I54c68b443580a0129251dddc1a7ac95813d5289e
* Convert tabs to spaces.Romain Guy2010-06-251-105/+105
| | | | Change-Id: I5d3ae48af79b19b6d293deff0521e4bb57d5114b
* Add colored rectangles implementation in OpenGLRenderer.Romain Guy2010-06-241-3/+17
| | | | | | | Drawing two rectangles one after the other discards the second one because of Z buffering issues. This will be fixed in another changelist. Change-Id: Ida1b3cde8a78e60cacc07e477abc44def527ff67
* Add implementations for clipRect(), save() and restore().Romain Guy2010-06-231-0/+125
The current implementation of clipRect() does not apply local transformations before setting the new clip. Change-Id: I5997871bb638dfcd1a8ef96354846af52427e445