We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a2d68c9 + 491189f commit 278836eCopy full SHA for 278836e
libs/hwui/DisplayListRenderer.cpp
@@ -91,7 +91,9 @@ void DisplayList::outputLogBuffer(int fd) {
91
fflush(file);
92
}
93
94
-DisplayList::DisplayList(const DisplayListRenderer& recorder) {
+DisplayList::DisplayList(const DisplayListRenderer& recorder) :
95
+ mTransformMatrix(NULL), mTransformCamera(NULL), mTransformMatrix3D(NULL) {
96
+
97
initFromDisplayListRenderer(recorder);
98
99
@@ -124,9 +126,6 @@ void DisplayList::initProperties() {
124
126
mWidth = 0;
125
127
mHeight = 0;
128
mPivotExplicitlySet = false;
- mTransformMatrix = NULL;
- mTransformCamera = NULL;
129
- mTransformMatrix3D = NULL;
130
mCaching = false;
131
132
0 commit comments