diff options
| author | 2013-06-13 00:37:02 +0000 | |
|---|---|---|
| committer | 2013-06-13 00:37:02 +0000 | |
| commit | 149b015db9a478c6345cf0528fe4df3c7c2b5110 (patch) | |
| tree | 249c56eec7775891208a1c3ed0dc23ada71146c7 /libs/hwui/Matrix.h | |
| parent | af0fa4fd739aae14733615b6ee9a6b9ca025c628 (diff) | |
| parent | 28ce94a4ffc7576f40776d212f1ada79fafaa061 (diff) | |
Merge "Overdraw avoidance and merging of clipped ops"
Diffstat (limited to 'libs/hwui/Matrix.h')
| -rw-r--r-- | libs/hwui/Matrix.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h index df744bef6aca..af520bdc33e7 100644 --- a/libs/hwui/Matrix.h +++ b/libs/hwui/Matrix.h @@ -26,6 +26,12 @@ namespace android { namespace uirenderer { +#define MATRIX_STRING "[%.2f %.2f %.2f] [%.2f %.2f %.2f] [%.2f %.2f %.2f]" +#define MATRIX_ARGS(m) \ + (m)->get(0), (m)->get(1), (m)->get(2), \ + (m)->get(3), (m)->get(4), (m)->get(5), \ + (m)->get(6), (m)->get(7), (m)->get(8) + /////////////////////////////////////////////////////////////////////////////// // Classes /////////////////////////////////////////////////////////////////////////////// |