Closed
Bug 1207153
Opened 9 years ago
Closed 9 years ago
GLBlitHelper::BlitEGLImageImage restores texture binding to wrong target
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: jnicol, Assigned: jnicol)
Details
Attachments
(1 file)
669 bytes,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
GLBlitHelper::BlitEGLImageImage uses the texture target GL_TEXTURE_2D. Before using it it saves the texture currently bound to the target, then rebinds that texture when finished. However, the code currently rebinds the texture to the target GL_TEXTURE_EXTERNAL_OES rather than GL_TEXTURE_2D. This causes a GL_INVALID_OPERATION error, since we are binding the texture to a target other than the target which it was first bound to.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8664206 -
Flags: review?(snorp)
Assignee: nobody → jnicol
Comment on attachment 8664206 [details] [diff] [review] Patch v1 Review of attachment 8664206 [details] [diff] [review]: ----------------------------------------------------------------- Looks right to me. We get the 2D binding above, but try restoring it to external, which was definitely wrong.
Attachment #8664206 -
Flags: review?(snorp) → review+
Assignee | ||
Comment 3•9 years ago
|
||
I've verified it compiles and runs locally. Simple change so doesn't need additional try testing. Affects all branches but since we weren't seeing any negative consequences we probably just want to land this on nightly?
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/edf7e8ac4a7d
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•