Closed Bug 706297 Opened 13 years ago Closed 13 years ago

Unnecessary glFinish before glReadPixels in LayerManagerOGL

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla11

People

(Reporter: jgilbert, Assigned: jgilbert)

Details

Attachments

(1 file)

In LayerManagerOGL::CopyToTarget(), we use glReadPixels to download the data from the GPU. glReadPixels implies glFinish, which means the preceeding glFinish here is redundant.
Everytime a useless glFinish call goes away, my personal happiness gets incremented.
Assignee: nobody → jgilbert
Attachment #578131 - Flags: review?(bjacob)
Attachment #578131 - Flags: review?(bjacob) → review+
Derp, almost forgot the inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/e0dd8b223460
Target Milestone: --- → mozilla11
https://hg.mozilla.org/mozilla-central/rev/e0dd8b223460
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: