summaryrefslogtreecommitdiffstats
path: root/libs/hwui/TextDropShadowCache.h
Commit message (Collapse)AuthorAgeFilesLines
* Add overrides and switch to nullptr keywordChris Craik2014-12-221-4/+4
| | | | | | | | Changes generated with clang-modernize. Additionally, fixed some struct-vs-class usage to make clang happy. Change-Id: Ic6ef2427401ff1e794d26f21f7b44868fc75fb72
* Clean up physical couplingTom Hudson2014-10-151-1/+2
| | | | | | | | Narrow the use of #include directives in hwui, replacing with forward declarations where straightforward. Speeds compiles; doesn't do any restructuring of code. Change-Id: Icac2baffb5896f55d8c6718e9bd9d4bfa02d3ca0
* Use const where possible for drawing parametersChris Craik2014-01-031-2/+2
| | | | | | They should never be modified by a Renderer, only read and copied. Change-Id: I9d8d55dca19115ee9dfeb2bb3f092ba2fb327cd4
* Introduce Caches::bindTexture() to reduce glBindTexture callsRomain Guy2013-06-041-1/+3
| | | | Change-Id: Ic345422567c020c0a9035ff51dcf2ae2a1fc59f4
* Fix crash in TextDropShadowCacheRomain Guy2012-11-301-2/+4
| | | | | | The lengths used to copy/read arrays were completely wrong. Change-Id: If21f23a73cce59bbd32975760e6d728eeeb9e40d
* Use LruCache instead of GenerationCache in libhwuiRomain Guy2012-11-291-47/+49
| | | | Change-Id: Ic26ddc7151eb5462bcd243b21daf7187ed6d3bec
* Add drop shadow for drawPosText in hwui renderer.Raph Levien2012-07-201-4/+17
| | | | | | | | | | | | | | This patch adds support for drop shadows (setShadowLayer) for drawPosText in the hwui renderer. In and of itself, it's not very important, but it's on the critical path for correct mark positioning, tracked as bug 5443796. The change itself is fairly straightforward - it basically just adds an extra "positions" argument to all draw and measure methods on the code path for drawing drop shadowed text, as well as to the cache key for cached shadow textures. Change-Id: Ic1cb63299ba61ccbef31779459ecb82aa4a5e672
* TextureView works best when it draws stuff.Romain Guy2011-09-291-1/+1
| | | | | | Bug #5391188 Change-Id: I5e754881ccb08ff288ebd60de77282c9cbcf3f86
* Add support to OpenGLRendere to draw BiDi text.Romain Guy2011-06-011-1/+0
| | | | | | Bug #4350336 Change-Id: I1cf31693f7ca9653fa3a41b5b91c27ef288d680f
* Add support for partial invalidates in WebViewRomain Guy2011-03-071-1/+21
| | | | | | | | | | | | Bug #3461349 This change also fixes two bugs that prevented partial invalidates from working with other views. Both bugs were in our EGL implementation: they were preventing the caller from comparing the current context/surface with another context/surface. This was causing HardwareRenderer to always redraw the entire screen. Change-Id: I33e096b304d4a0b7e6c8f92930f71d2ece9bebf5
* Avoid UTF-8 conversions and string copies whenever possible.Romain Guy2011-03-011-12/+12
| | | | Change-Id: Ie4584417bbb7247e6c567fbfdb819529e548bb8f
* Correctly blend translucent GIF bitmaps.Romain Guy2011-02-241-0/+1
| | | | Change-Id: Ifeb2c1d97a4c6dfeb1a7b5b26f1a3153e9f8da7f
* Fixes cache misses and extra allocations.Romain Guy2011-02-031-21/+9
| | | | | | Bug #3421454 Change-Id: If4d5c960a7e4c581a9d213073e658284b4e1c497
* Correctly compare strings in UTF-8 instead of UTF-16Romain Guy2010-12-101-18/+17
| | | | | | Bug #3272858 Change-Id: Idacd5d7c2c052b4834a8ddb5906ab32b3f548f73
* Optimize FBO drawing with regions.Romain Guy2010-11-021-3/+3
| | | | | | | | | 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
* Move GenerationCache to the utils directory.Romain Guy2010-10-081-1/+1
| | | | Change-Id: I210ffa8f1d76a102bb7d971c649c20a74d03fbe6
* Use only one GL context per process, share chaches.Romain Guy2010-08-241-10/+11
| | | | Change-Id: Ieabaa25338d2f4b8d4fd90e7401ad6e7452eae11
* Speedup TextView fades (no more layers required.)Romain Guy2010-08-181-9/+19
| | | | | | | Also fixes a crash in the drop shadows cache and improves drop shadows caching. Change-Id: I9c0208a49467f9201d786ae0c129194b8d423923
* Correctly set the viewport in layers.Romain Guy2010-08-171-1/+1
| | | | | | Bug #2919295 Change-Id: I16ce79ab0d5747cb01c6c1abe531da3dfd93fb54
* Add drop shadows.Romain Guy2010-08-131-0/+140
Change-Id: Ic6a72409d4785968d1fbdff229f17ee5c00b240b