summaryrefslogtreecommitdiffstats
path: root/libs/hwui/ShapeCache.h
Commit message (Collapse)AuthorAgeFilesLines
* Work-around for a Skia rasterization bugRomain Guy2012-04-271-34/+80
| | | | | | | | | Bug #6411457 Skia does not generates the bottom right pixel of a rect when drawing a rect as an SkPath into an alpha8 bitmap. Change-Id: Ifb5286ae67745c9e44ee387b6d6ad607a9a2e6ce
* Record possible clip rejects when recording display listsRomain Guy2012-02-171-11/+9
| | | | | | | | | | | This optimization allows us to quickly skip operations that lie entirely outside of the known bounds of a display list. Because of ViewGroup.setClipChildren, we must keep the operations recorded in the display list. setClipChildren(false) is however a very uncommon operation and we will therefore often benefit from this new optimization. Change-Id: I0942c864e55298e6dccd9977d15adefbce3ba3ad
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-1/+1
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-061-1/+1
| | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
* Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-3/+3
| | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
* Clip text correctlyRomain Guy2011-12-051-1/+2
| | | | | | | | | | | | | | | | | Bug #5706056 A newly introduced optimization relied on the display list renderer to properly measure text to perform fast clipping. The paint used to measure text needs to have AA and glyph id encoding set to return the correct results. Unfortunately these properties were set by the GL renderer and not by the display list renderer. This change simply sets the properties in the display list renderer instead. This change also improves the error message printed out when the application attempts to use a bitmap larger than the max texture size. Change-Id: I4d84e1c7d194aed9ad476f69434eaa2c8f3836a8
* Optimize away unnecessary state changesRomain Guy2011-11-301-2/+2
| | | | Change-Id: I0f6816f9f6234853575ecee5033186ad19e76380
* Make sure we correctly copy caches keys.Romain Guy2011-08-121-40/+0
| | | | | | Bug #5136067 Change-Id: I366e840bef44415436dc7b13d89cfb610feed663
* Improve rendering performance on some GPUsRomain Guy2011-07-251-5/+2
| | | | | | | | This change sets textures filtering to GL_NEAREST by default. GL_LINEAR filtering is only used when textures are transformed with a scale or a rotation. This helps save a couple of fps on some GPUs. Change-Id: I1efaa452c2c79905f00238e54d886a37203a2ac1
* Align paths on pixel boundaries when rasterizing in bitmaps.Romain Guy2011-07-081-1/+1
| | | | | | Bug #5003739 Change-Id: I3dfbf4eb92e2c870f33c96947a7d6439e3730965
* Fix rendering issue with paths when the stroke width is 0Romain Guy2011-06-171-5/+6
| | | | Change-Id: I5d8ac23dc69e9e17df4ef6b5195186b5207e2524
* When deleting a path, remove it from the path cache.Romain Guy2011-03-241-2/+5
| | | | | | Bug #4170585 Change-Id: I6be4d251ceb908c89afe49c2ff85c05f36c73b70
* Fix paths rendering issues.Romain Guy2011-03-181-3/+6
| | | | | | See ApiDemos, PathEffect and PathFillTypes. Change-Id: I9f9593c1da33d0d013b5b89c86bc5bd71128a192
* Skia Merge (revision 808)Derek Sollenberger2011-02-221-1/+1
| | | | | | This is a companion CL to the one found in /external/skia Change-Id: If81748545435cab20a5d8479329ab333cb973e16
* Add support for arcs.Romain Guy2011-01-231-0/+60
| | | | Change-Id: I96c057ff4eb1b464b03f132da0b85333777bee4f
* Add support for ovals and stroked rectangles.Romain Guy2011-01-231-1/+79
| | | | Change-Id: I1292e241386763c82e6622c8f7ed90b0f5b7bd4f
* Log only 1 line per process when using OpenGLRenderer.Romain Guy2011-01-211-2/+2
| | | | Change-Id: Idbdd6b84f31301e58ed53e0d50fd61fece192dfa
* Remove unnecessary code.Romain Guy2011-01-201-30/+58
| | | | Change-Id: I83eba3406c26a4028af08b4d4c95ecd02803e75a
* Add rounded rects and circles support to OpenGLRenderer.Romain Guy2011-01-191-0/+464
Change-Id: I6cedf2b495d58de7c0437096809fa9e4518a1b8c