summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Patch.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Optimize state changesRomain Guy2011-12-121-1/+3
| | | | Change-Id: Iae59bc8dfd6427d0967472462cc1994987092827
* Make sure 9patches are not filtered when not necessaryRomain Guy2011-10-201-14/+19
| | | | | | Bug #5383406 Change-Id: I061c8069a4d9f4eaf45671283710b564639eeb32
* Correctly implement the CLEAR xfermode.Romain Guy2011-05-261-4/+28
| | | | | | | | | The previous implementation was using glBlendFunc with the parameters GL_ZERO/GL_ZERO which doesn't work for text, paths and other alpha sources (anti-aliasing.) The correct implementation is GL_ZERO/ GL_ONE_MINUS_SRC_ALPHA. Change-Id: I4cca65e57b6a37bbf5a41d382cb0648ee8e11e79
* Fix the fix for 9patches.Romain Guy2011-01-191-8/+0
| | | | Change-Id: I66dca835d9d0e9766d887746c3265e4b13ae688b
* Fix 9patches in LauncherRomain Guy2011-01-191-3/+15
| | | | Change-Id: Ieedf36ccaab253909b44ed8c222d523867f095be
* Fix 9patches, again...Romain Guy2011-01-181-16/+15
| | | | | | Bug #3365243 Change-Id: Id45a1f1fd5e099b1d691e6064401d3de1b0c5c20
* Yet another fix for 9patch rendering.Romain Guy2011-01-171-13/+14
| | | | | | Bug #3362133 Change-Id: Ia6521d31a8c208a2ad2506a23b6a01e5e442ad86
* Fix 9patch rendering in ExpandableListView.Romain Guy2011-01-161-4/+11
| | | | Change-Id: I60843d61a40b0cb7dd09923cb4489a5a76f20486
* Fix 9patch renderingRomain Guy2010-12-071-4/+4
| | | | | | | | Bug #3253396 Some quads were incorrectly assumed to be degenerate. Change-Id: I9155699edc3424afe9d5a131886bb9966d46b109
* Don't render degenerate triangles in 9patches.Romain Guy2010-12-031-20/+45
| | | | | | Bug #3251983 Change-Id: Ib0b38a7b8111542372f4c4c106b6321c26fe4ad4
* Correctly index transparent quads when generating 9patch meshes.Romain Guy2010-12-021-1/+12
| | | | | | Bug #3250026 Change-Id: Id7e051e9ed81f6b4e7748756503d8055ac7d531a
* Update 9patch structure when rendering with different divs/colors.Romain Guy2010-11-301-26/+79
| | | | | | Bug #3221488 Change-Id: Ifc9e42a991d630feadc9e8032322f37504d09d6d
* Optimize FBO drawing with regions.Romain Guy2010-11-021-2/+10
| | | | | | | | | 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
* Small cleanup.Romain Guy2010-10-251-2/+0
| | | | | | | Removes unnecessary forward class declaration, make Caches::currentBuffer private instead of public. Change-Id: Idba6325c8c602d89239e667cb8ec87e7943f8e75
* Small cleanup.Romain Guy2010-10-181-1/+0
| | | | Change-Id: I0e5b9154a2d93af793d62f462d68cb7c6c3f6d75
* Use VBOs to render most geometries.Romain Guy2010-10-181-3/+14
| | | | Change-Id: I4360dc4fe5693ab425450c107282b2c22db4dca7
* Optimize 9patch rendering.Romain Guy2010-10-121-9/+18
| | | | | | | This change detects empty quads in 9patches and removes them from the mesh to avoid unnecessary blending. Change-Id: I4500566fb4cb6845d64dcb59b522c0be7a0ec704
* Correctly free memory.Romain Guy2010-09-171-1/+1
| | | | Change-Id: I08fcbfa7d27ae413e0a8e8ca6ea305c8530a72c1
* Add support for drawLines(), with anti-aliasingRomain Guy2010-09-161-10/+3
| | | | Change-Id: I16c0593c5671490909dec13a85df601e1428a1a6
* Fix 9patch rendering.Romain Guy2010-09-151-97/+70
| | | | Change-Id: Ic4c18ff483cca95fbabcb10843f7714efe488adb
* Refactoring to move vertex computing to the Patch class.Romain Guy2010-07-091-0/+188
This change is mostly cleanup to keep less code in OpenGLRenderer. Change-Id: I954375143b2943829457ab470423729b60b844f5