Merge commit '6c502d0b2ab2605b96cf1e677746fa7a53cda28b' into eclair-mr2-plus-aosp * commit '6c502d0b2ab2605b96cf1e677746fa7a53cda28b': Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
This commit is contained in:
@@ -438,6 +438,7 @@ void Context::setVertex(ProgramVertex *pv)
|
|||||||
} else {
|
} else {
|
||||||
mVertex.set(pv);
|
mVertex.set(pv);
|
||||||
}
|
}
|
||||||
|
mVertex->forceDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Context::assignName(ObjectBase *obj, const char *name, uint32_t len)
|
void Context::assignName(ObjectBase *obj, const char *name, uint32_t len)
|
||||||
|
|||||||
@@ -44,6 +44,10 @@ protected:
|
|||||||
ObjectBaseRef<Allocation> mConstants;
|
ObjectBaseRef<Allocation> mConstants;
|
||||||
|
|
||||||
mutable bool mDirty;
|
mutable bool mDirty;
|
||||||
|
|
||||||
|
|
||||||
|
public:
|
||||||
|
void forceDirty() {mDirty = true;}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user