Closed
Bug 1654475
Opened 5 years ago
Closed 5 years ago
SharedSurface_SurfaceTexture: Only ReleaseTexImage if IsSingleBuffer
Categories
(Core :: Graphics, task)
Core
Graphics
Tracking
()
RESOLVED
FIXED
82 Branch
| Tracking | Status | |
|---|---|---|
| firefox82 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file)
SharedSurface_SurfaceTexture::ProducerReadReleaseImpl() handles java::GeckoSurfaceTexture. But it is very confusing. The GeckoSurfaceTexture is not SurfaceTexture of this class's GeckoSurface when current process is content process. SurfaceTexture of this class's GeckoSurface does not exist in this process. It exists in compositor's process. Then GeckoSurfaceTexture in this process is a sync surface that copies back the SurfaceTextrure from compositor's process.
Then it is better to add a comment to the function.
ProducerReadReleaseImpl() is added by Bug 1642994.
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → sotaro.ikeda.g
| Assignee | ||
Comment 1•5 years ago
|
||
The following diagram might help to understand the relationship.
https://github.com/sotaroikeda/firefox-diagrams/blob/master/mobile/mobile_SurfaceAllocatorService_68.pdf
| Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Attachment #9165319 -
Attachment description: Bug 1654475 - Add comment to SharedSurface_SurfaceTexture::ProducerReadReleaseImpl() → Bug 1654475 - SharedSurface_SurfaceTexture: Only ReleaseTexImage if IsSingleBuffer
Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c03b98619846
SharedSurface_SurfaceTexture: Only ReleaseTexImage if IsSingleBuffer r=jgilbert
Comment 4•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
| Assignee | ||
Updated•5 years ago
|
Summary: Add comment to SharedSurface_SurfaceTexture::ProducerReadReleaseImpl() → SharedSurface_SurfaceTexture: Only ReleaseTexImage if IsSingleBuffer
You need to log in
before you can comment on or make changes to this bug.
Description
•