Descriptionchange X/GL thread to message loop for injecting task
1. there are need to allocate buffer in this thread, requested by other threads. therefore it is natural to use message loop instead of infinite loop.
2. in the future, gpu command buffer consumer is running on it own thread and own the eglContext. we need to post buffer allocation there, therefore this change make player_x11 more resemble the real workflow in chrome.
TEST= glVideoRender on host machine.
glesVideoRender/x11VideoRender on arm netbook.
BUGS=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49255
Patch Set 1 #Patch Set 2 : fix build bug and remove periodical paint. #
Total comments: 6
Patch Set 3 : name change to avoid overload the MediaFilter::message_loop_ #Patch Set 4 : fixing nits #
Total comments: 2
Messages
Total messages: 6 (0 generated)
|