summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Add logging of graphics acceleration info to bugreportsChet Haase2011-04-011-0/+1
| | | | Change-Id: I9fa4cda6ccf92df9d1c644ccdc0e7274a30106e0
* frameworks/base: remove LOCAL_PRELINK_MODULEIliyan Malchev2011-03-141-1/+0
| | | | | Change-Id: I54dd62ebef47e7690afa5a858f3cad941b135481 Signed-off-by: Iliyan Malchev <malchev@google.com>
* Add support for partial invalidates in WebViewRomain Guy2011-03-071-1/+0
| | | | | | | | | | | | 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
* Add rounded rects and circles support to OpenGLRenderer.Romain Guy2011-01-191-0/+1
| | | | Change-Id: I6cedf2b495d58de7c0437096809fa9e4518a1b8c
* Better backend for hardware layers.Romain Guy2011-01-111-0/+1
| | | | | | | | With this new backend, a hardware layer is only recreated when its associated view is udpated. This offers fast composition in GL and fast update of the layer in GL as well. Change-Id: I97c43a612f5955c6bf1c192c8ca4af10fdf1d076
* Optimize FBO drawing with regions.Romain Guy2010-11-021-1/+1
| | | | | | | | | 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 Caches singleton to avoid resource leaksChet Haase2010-10-241-0/+1
| | | | | | | | The declaration of Singleton objects must be in CPP files (not header files) to avoid creating separate instances of what is supposedly a single object. Change-Id: Ie903384824a458b5572f3ce5b6cfb359c18a9c44
* Optimizing display lists by referencing pointers to resources instead of ↵Chet Haase2010-10-211-0/+1
| | | | | | copying them Change-Id: I81ad3551d74aa1e5bb64d69e33d2eb29a6c1eb6a
* Use VBOs to render most geometries.Romain Guy2010-10-181-2/+2
| | | | Change-Id: I4360dc4fe5693ab425450c107282b2c22db4dca7
* Better cache for layers, reduce memory usage and increase framerate.Romain Guy2010-10-081-0/+1
| | | | Change-Id: I5ff864a361db4791bd5ff6be716f7ce692ef572d
* Adding display lists to the GL renderer (checkpoint.)Romain Guy2010-09-261-0/+1
| | | | Change-Id: Iaa49757600a53b39369dbb23f8c3feab282518e6
* Add debug mode to measure performance.Romain Guy2010-09-241-0/+2
| | | | Change-Id: I9d4c84034dc200b99c8266165942a7cdbcb5c0c5
* Apply gamma correction to font rendering.Romain Guy2010-08-271-0/+1
| | | | Change-Id: I1b05f40e356221b2a5eb9400e67d77ecd98ed6c4
* Add drop shadows.Romain Guy2010-08-131-1/+2
| | | | Change-Id: Ic6a72409d4785968d1fbdff229f17ee5c00b240b
* Make libhwui entirely optional.Romain Guy2010-08-081-28/+36
| | | | | | | | | | | | The makefile variable USE_OPENGL_RENDERER must be set to true to compile libhwui and the related code in the JNI layer. This change also removes obsolete APIs from Canvas that must not be used and would be confusing if left in. These APIs were remnants of our first attempt at an OpenGL renderer for the view hierarchy and had not been taken out before Android 1.0 was released. Change-Id: I2475ff1307212bab26c926724f3c508681c7dae1
* Add support for paths.Romain Guy2010-08-051-0/+1
| | | | | | | Rendering is implementing by rasterizing the paths into A8 textures. This cna be extremely inefficient if the path changes often. Change-Id: I609343f304ae38e0d319359403ee73b9b5b3c93a
* Add support for ColorFilters.Romain Guy2010-08-021-0/+1
| | | | | | Color filters are fully supported and can be used with shaders. Change-Id: Id90ccf1c81cb462f2431f366f3f8f710d7971e04
* Refactor Skia shaders handling.Romain Guy2010-07-301-0/+1
| | | | | | | | With this change, Skia shaders can easily be applied to any mesh. This change also supports ComposeShader. For instance, this can be used to blend a gradient and a bitmap togehter and paint a string of text with the result. Change-Id: I701c2f9cf7f89b2ff58005e8a1d0d80ccf4a4aea
* Generate shaders to cover all possible cases.Romain Guy2010-07-271-0/+1
| | | | | | | | | | With this change, all the vertex and fragment shaders used by the GL renderer are now generated based on a program description supplied by the caller. This allows the renderer to generate a large number of shaders without having to write all the possible combinations by hand. The generated shaders are stored in a program cache. Change-Id: If54d286e77ae021c724d42090da476df12a18ebb
* Add text rendering.Romain Guy2010-07-211-0/+1
| | | | Change-Id: Ibe5a9fa844d531b31b55e43de403a98d49f659b9
* Add support for linear gradients.Romain Guy2010-07-191-0/+1
| | | | Change-Id: Id15329da065045b3f06fdaed615f33cd57608496
* Refactoring to move vertex computing to the Patch class.Romain Guy2010-07-091-0/+1
| | | | | | This change is mostly cleanup to keep less code in OpenGLRenderer. Change-Id: I954375143b2943829457ab470423729b60b844f5
* Draw n-patches using OpenGL.Romain Guy2010-07-081-0/+1
| | | | | | Currently only tested with title bars and buttons. Change-Id: I8263a9281898dc0e943b1b8412827fe55639b9d6
* Simpler way to deal with the FBO multi-cache.Romain Guy2010-07-071-2/+1
| | | | | | | | This change removes the need for the SortedList and instead just add a generated id to each FBO stored in the cache. This is an artificial way to store several FBOs with the same dimensions. Change-Id: I9638364e9bdc0f2391261937a0c86096f20505bf
* Optimize FBO cache.Romain Guy2010-07-071-0/+1
| | | | | | | | | This change introduces a new generational cache called GenerationMultiCache that can store several values with the same key. This can be used to use multiple layers of the same size at the same time, without recreating them over and over again. Change-Id: I425466a20908b862c5f464a0f9e582ec18cbd7ac
* Add a layer (FBO) cache.Romain Guy2010-07-061-0/+1
| | | | | | | | | | | | | | The cache is used to draw layers so that a new texture does not have to be recreated every time a call to saveLayer() happens. The FBO cache used a KeyedVector, which is a bad idea. The cache should be able to store several FBOs of the same size (this happens a lot during scrolling with fading edges for instance.) This will be changed in a future CL. Change-Id: Ic316189e625f0dbcf0d273a71cc981a433d48726
* Add hooks for drawBitmap().Romain Guy2010-06-301-1/+2
| | | | | | | | Change-Id: I58e962c3a8b2bc75c2605fe369ad3002579d86e0 Add texture cache. Change-Id: I1c0e5581d228869e114438258a1014e33e024ad7
* Reduced the complexity of layers composition.Romain Guy2010-06-271-1/+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
* Fix simulator build again.Romain Guy2010-06-221-5/+0
| | | | Change-Id: Ifd204d64eaa4c356422e3363ec0a6e6aa61c52dc
* Fix the simulator build.Romain Guy2010-06-221-3/+17
| | | | Change-Id: Ie404f7c2c308f0657f273af19a56e8c039b61898
* Add glOrtho equivalent to the OpenGL ES 2.0 renderer.Romain Guy2010-06-211-0/+1
| | | | Change-Id: I063dad3d81dab7833acb1e7a9c7121f8efd2a044
* Add libhwui, to hardware accelerate the Canvas API using OpenGL ES 2.0.Romain Guy2010-06-171-0/+12
This is the initial checkin to setup the library and turn on OEGL ES 2.0 in ViewRoot, not a functional renderer. Change-Id: I6655c54166e2967da2e21e7d6dcfba78bf113b44