Closed
Bug 1665280
Opened 4 years ago
Closed 4 years ago
WebGLParent deserialization should yield Range<const T> wrapping shmem
Categories
(Core :: Graphics: CanvasWebGL, enhancement, P1)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: jgilbert, Assigned: jgilbert)
Details
Attachments
(1 file)
Deserialize shows up in profiles so we know this will help.
It's also obviously the right thing to do.
The main trickiness is alignment requirements: Reading e.g. a float[4]
requires 4-byte alignment of data, so we can't yield a Range<const float> at an offset of e.g. 3 bytes into the shmem.
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6c70c86f2069 For RawBuffer reads, return a view into the shmem. r=lsalzman
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•