Closed Bug 875246 Opened 11 years ago Closed 11 years ago

Ensure that UpdateTexture DispatchImageClientUpdate only dispatches if not in the ImageBridge thread

Categories

(Core :: Graphics: Layers, defect)

23 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: nical, Assigned: chiajung)

Details

Attachments

(1 file, 1 obsolete file)

Dispatching this task is only a way to prevent IPDL methods to be called from outside the ImageBridge thread. It seems that we are calling it from within this thread, in which case we should not reschedule.
PostTask to the current running thread cause longer latency for real-time application like Camera. Just PostTask only when we are not running on the ImageBridge thread.
Attachment #753191 - Flags: review?(kchen)
Attachment #753191 - Flags: review?(kchen) → review+
Please add a well formatted commit header message in the patch before landing
Add commit comment before landing, carry r+
Attachment #753191 - Attachment is obsolete: true
Attachment #753547 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/1fbc7860ddbc
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: