commit | ddb80bebb0776e6d852aab6e8bba5d5591847a55 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Sep 20 19:04:33 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Tue Sep 21 16:48:50 2010 -0700 |
tree | 460e39e115bf75648a3b4dbc9788c911751bd848 | |
parent | ee916f14cbd1fe1422c063ce2ef7b185e2bc5c6f [diff] [blame] |
Add support for circular gradients to the GL renderer. This change also adds full support for local transformation matrices on sweep and radial gradients. Change-Id: Id8773bc0766575190e3f3d51984fc5e57b266c3f
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h index c247a67..0608efe 100644 --- a/libs/hwui/Matrix.h +++ b/libs/hwui/Matrix.h
@@ -83,6 +83,8 @@ load(u); } + void multiply(float v); + void translate(float x, float y, float z) { Matrix4 u; u.loadTranslate(x, y, z);