Open
Bug 1544877
Opened 5 years ago
Updated 2 years ago
Consider enabling the mIsLocked assert in TextureClient::BorrowMappedData
Categories
(Core :: Graphics: Layers, task, P3)
Core
Graphics: Layers
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox68 | --- | affected |
People
(Reporter: mstange, Unassigned)
References
Details
TextureClient::BorrowMappedData
contains the following commented-out code:
// TODO - SharedRGBImage just accesses the buffer without properly locking
// the texture. It's bad.
// MOZ_ASSERT(mIsLocked);
// if (!mIsLocked) {
// return nullptr;
//}
I'm removing SharedRGBImage's call to BorrowMappedData
in bug 1544478, by making the user of SharedRGBImage pull out the texture client. The new code now does the correct locking.
So I think it might be possible to enable this assert now.
Updated•5 years ago
|
Type: defect → task
Updated•5 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•