We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 261d42b + a1d34e7 commit 27d382fCopy full SHA for 27d382f
1 file changed
services/surfaceflinger/Layer.h
@@ -117,7 +117,7 @@ class Layer : public virtual RefBase {
117
uint32_t bufferTransform;
118
bool transformToDisplayInverse;
119
Region transparentRegionHint;
120
- std::shared_ptr<renderengine::ExternalTexture> previousBuffer;
+ std::weak_ptr<renderengine::ExternalTexture> previousBuffer;
121
std::shared_ptr<renderengine::ExternalTexture> buffer;
122
sp<Fence> acquireFence;
123
std::shared_ptr<FenceTime> acquireFenceTime;
0 commit comments