summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Properties.h
Commit message (Collapse)AuthorAgeFilesLines
* Memory optimizations for libhwuiRomain Guy2011-11-041-0/+5
| | | | | | | | | | | Bug #5566149 Lazily initialize font renderers Keep 60% of the texture cache when an app goes to the background Delete least used font renderer when going to the background Delete all font renderers on full memory trim Change-Id: I3c2454d46dc1107ec0f0f72a9ce69cbbcc8825e7
* Move constants to the correct headerRomain Guy2011-08-221-0/+6
| | | | Change-Id: Id4bd14f72487bd7156cd2e1930eaf97b47896273
* Reclaim more memory, more often.Romain Guy2011-07-271-1/+1
| | | | | | Yay. Change-Id: I04557ad575c307a55088549f48f0e9ad994b7275
* Fix debugging for hwui cachesKenny Root2011-07-131-1/+1
| | | | | | | | | Debugging code attempted to delete a stack item. Also, the flag fields weren't exactly clear, so rewrite it so it's clear that kDebugMoreCaches is a combined flag. Change-Id: If42b7f0f754919343301da5656aee5943cc9bd4a
* Add support to OpenGLRendere to draw BiDi text.Romain Guy2011-06-011-0/+3
| | | | | | Bug #4350336 Change-Id: I1cf31693f7ca9653fa3a41b5b91c27ef288d680f
* Optimize rect-shaped layers.Romain Guy2011-03-181-2/+0
| | | | | | | This brings back an optimization disabled in HC-MR1. This time the correct geometry is generated to avoid unnecessary blending. Change-Id: Id56404dc46bb84c75facc25c18488a690741b592
* Fix performance issue in LauncherRomain Guy2011-03-151-0/+2
| | | | | | | | | | | | | | Bug #3515248 The problem is caused by the fast path when compositing layers on screen. The fast path draws a single quad using glDrawArrays() whereas the general path draws an arbitrary mesh using glDrawElements(). It looks like there's an issue in the driver since glDrawArrays() is significantly slower than glDrawElements() for a quad (6 vertices!) This change just gets rid of the fast path. Change-Id: Ib2361253ec67f44a988270f76c183422f12ce537
* Allocate layers from the layers pool.Romain Guy2011-02-021-3/+3
| | | | | | | | | | | Bug #3413433 This change will be beneficial to Launcher to avoid hiccups when swiping pages of icons. When a layer is discarded, it is kept in the layers pool instead of being destroyed right away. This favors memory reuse over allocations. Change-Id: Ifb6944ba83d6ceb67c331527c0827b26ce648eb1
* Add rounded rects and circles support to OpenGLRenderer.Romain Guy2011-01-191-0/+2
| | | | Change-Id: I6cedf2b495d58de7c0437096809fa9e4518a1b8c
* Reenable region composition pipeline for layersRomain Guy2011-01-121-1/+1
| | | | | | | | Bug #3341848 It works this time! Change-Id: I0d371d8b2c75c67d4ce5009ddb990fe5e55a0a27
* Disable the region compositing pipeline for layers.Romain Guy2011-01-111-1/+1
| | | | | | | This composition mode is affecting Gmail in a bad way. Disabling until I can figure out the problem. Change-Id: I00e657ea2d05fc7b4a606242d19dc84dd88c1e35
* Composite layers as regions.Romain Guy2011-01-101-1/+1
| | | | | | | | | | This change detects what area of a layer was drawn into and generates a mesh to match this area exactly. This can be used to avoid blending empty pixels when the layer is composited. This change also adds proper layers support to lines rendering and implements layers composition in a more readable way. Change-Id: I4a5588b98b19bd66891ebdc39631b193c5e31999
* Correctly compare strings in UTF-8 instead of UTF-16Romain Guy2010-12-101-1/+2
| | | | | | Bug #3272858 Change-Id: Idacd5d7c2c052b4834a8ddb5906ab32b3f548f73
* Don't render degenerate triangles in 9patches.Romain Guy2010-12-031-0/+3
| | | | | | Bug #3251983 Change-Id: Ib0b38a7b8111542372f4c4c106b6321c26fe4ad4
* Add new runtime debug flags.Romain Guy2010-11-101-0/+23
| | | | Change-Id: I07955de166a89b5053c6c13f250bb3e2936ca86e
* Optimize FBO drawing with regions.Romain Guy2010-11-021-5/+5
| | | | | | | | | 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
* Tweak layers caching for better performance in Launcher.Romain Guy2010-10-121-2/+2
| | | | Change-Id: Ia6e67699d98f69c8a93385b3ecbdd814c7b16921
* Don't update 9patches on every frame.Romain Guy2010-10-081-1/+1
| | | | Change-Id: I7ffb2365f83e0453e7d0a0cdcb3fc9308b305238
* Better cache for layers, reduce memory usage and increase framerate.Romain Guy2010-10-081-3/+3
| | | | Change-Id: I5ff864a361db4791bd5ff6be716f7ce692ef572d
* Optimize saveLayer() when the clip flag is set.Romain Guy2010-10-051-1/+1
| | | This speeds up applications, especially Launcher.
* Add debug mode to measure performance.Romain Guy2010-09-241-3/+5
| | | | Change-Id: I9d4c84034dc200b99c8266165942a7cdbcb5c0c5
* Apply gamma correction to font rendering.Romain Guy2010-08-271-0/+9
| | | | Change-Id: I1b05f40e356221b2a5eb9400e67d77ecd98ed6c4
* Use only one GL context per process, share chaches.Romain Guy2010-08-241-0/+12
| | | | Change-Id: Ieabaa25338d2f4b8d4fd90e7401ad6e7452eae11
* Add drop shadows.Romain Guy2010-08-131-0/+1
| | | | Change-Id: Ic6a72409d4785968d1fbdff229f17ee5c00b240b
* Add support for paths.Romain Guy2010-08-051-1/+1
| | | | | | | Rendering is implementing by rasterizing the paths into A8 textures. This cna be extremely inefficient if the path changes often. Change-Id: I609343f304ae38e0d319359403ee73b9b5b3c93a
* Cleanup, added properties for the FontRenderer.Romain Guy2010-07-231-0/+35
Change-Id: I909c74815d3ac394438ad8071d17fef5401dbeed