发明名称 Identifying a next window of idle time to perform pre-generation tasks of content portions outside of the displayable region stored in a message queue
摘要 In one embodiment, a computing device identifies a portion of a display object to pre-generate. The device may monitor a thread to identify the next upcoming window of idle time (i.e., the next opportunity when the thread will be idle for a minimum period of time). The device may add one or more selected pre-generation tasks to a message queue for execution by the thread during the window. The device may execute the one or more selected pre-generation tasks in the message queue by pre-generating at least one selected element of a display object with content for a portion of the content layout, and then return the display object.
申请公布号 US9207986(B2) 申请公布日期 2015.12.08
申请号 US201313861303 申请日期 2013.04.11
申请人 Facebook, Inc. 发明人 Kaldor Jonathan M.
分类号 G06F9/46;G06F9/50;G06F9/48 主分类号 G06F9/46
代理机构 Baker Botts L.L.P. 代理人 Baker Botts L.L.P.
主权项 1. A method comprising: by a thread of a computing device, beginning a frame buffer fill task for a displayable region of a content layout; by a computing device, identifying a portion of a display object to pre-generate, wherein the display object is associated with a portion of the content layout that is outside of the displayable region; by the computing device, monitoring the thread to identify a start point of a next window of idle time, the next window of idle time comprising the next opportunity when the thread will be idle for a minimum period of time, the start point being based at least in part on an estimated period of time required to perform the frame buffer fill task; by the computing device, adding one or more selected tasks to a message queue for execution by the thread upon completion of the frame buffer fill task, wherein each of the selected tasks pre-generates content for at least one selected element of the display object; by the computing device, upon completion of the frame buffer fill task, beginning execution of the selected tasks; and by the computing device, returning the display object.
地址 Menlo Park CA US