-
公开(公告)号:US10261982B2
公开(公告)日:2019-04-16
申请号:US15430193
申请日:2017-02-10
Applicant: Facebook, Inc.
Inventor: Robert Douglas Arnold , Denis Koroskin , Jonathan M. Kaldor
IPC: G06F3/0481 , G06F17/22 , G06F3/0485 , G06Q50/00 , G06F3/0488 , G06T13/00 , H04W4/18
Abstract: Particular embodiments of a computing device may provide a main thread, a graphics thread to handle tasks related to rendering and presenting a graphical user interface (GUI), and an input thread to handle tasks related to processing input-related events. The GUI may comprise at least one animated component associated with a set of state variables. The main thread may handle tasks to generate a GUI hierarchy and provide copies of the GUI hierarchy to the input thread and the graphics thread. The input thread may handle tasks to initialize and update the state variables and provide information about the state variables to the graphics thread. The graphics thread may then handle tasks to update the GUI by rendering a first frame of the animation based on the state variables.
-
公开(公告)号:US20170154014A1
公开(公告)日:2017-06-01
申请号:US15430193
申请日:2017-02-10
Applicant: Facebook, Inc.
Inventor: Robert Douglas Arnold , Denis Koroskin
IPC: G06F17/22 , G06F3/0488 , G06T13/00 , G06F3/0485
CPC classification number: G06F17/2241 , G06F3/0481 , G06F3/0485 , G06F3/04883 , G06Q50/01 , G06T13/00 , H04W4/18 , H04W4/185
Abstract: Particular embodiments of a computing device may provide a main thread, a graphics thread to handle tasks related to rendering and presenting a graphical user interface (GUI), and an input thread to handle tasks related to processing input-related events. The GUI may comprise at least one animated component associated with a set of state variables. The main thread may handle tasks to generate a GUI hierarchy and provide copies of the GUI hierarchy to the input thread and the graphics thread. The input thread may handle tasks to initialize and update the state variables and provide information about the state variables to the graphics thread. The graphics thread may then handle tasks to update the GUI by rendering a first frame of the animation based on the state variables.
-
公开(公告)号:US09569062B2
公开(公告)日:2017-02-14
申请号:US14572289
申请日:2014-12-16
Applicant: Facebook, Inc.
Inventor: Robert Douglas Arnold , Denis Koroskin
IPC: G06F3/00 , G06F3/0481 , G06F3/0485 , G06Q50/00 , H04W4/18
CPC classification number: G06F17/2241 , G06F3/0481 , G06F3/0485 , G06F3/04883 , G06Q50/01 , G06T13/00 , H04W4/18 , H04W4/185
Abstract: Particular embodiments of a computing device may provide a main thread, a graphics thread to handle tasks related to rendering and presenting a graphical user interface (GUI), and an input thread to handle tasks related to processing input-related events. The GUI may comprise at least one animated component associated with a set of state variables. The main thread may handle tasks to generate a GUI hierarchy and provide copies of the GUI hierarchy to the input thread and the graphics thread. The input thread may handle tasks to initialize and update the state variables and provide information about the state variables to the graphics thread. The graphics thread may then handle tasks to update the GUI by rendering a first frame of the animation based on the state variables.
Abstract translation: 计算设备的特定实施例可以提供主线程,图形线程以处理与呈现和呈现图形用户界面(GUI)相关的任务,以及输入线程来处理与处理输入相关事件相关的任务。 GUI可以包括与一组状态变量相关联的至少一个动画组件。 主线程可以处理任务以生成GUI层次结构,并将GUI层次结构的副本提供给输入线程和图形线程。 输入线程可以处理任务来初始化和更新状态变量,并向图形线程提供关于状态变量的信息。 然后,图形线程可以通过基于状态变量呈现动画的第一帧来处理任务来更新GUI。
-
公开(公告)号:US20150339033A1
公开(公告)日:2015-11-26
申请号:US14284304
申请日:2014-05-21
Applicant: Facebook, Inc.
Inventor: Robert Douglas Arnold , Jonathan M. Kaldor , Denis Koroskin
IPC: G06F3/0484 , G06F3/0485
CPC classification number: G06F3/04842 , G06F3/0481 , G06F3/0484 , G06F3/0485 , G06F3/04883 , G06F9/451 , G06Q50/01
Abstract: Particular embodiments provide for asynchronous execution of instructions using a multi-threaded approach to outsource low-level input/output-handling tasks. Particular embodiments may use (1) a main thread to handle execution of instructions to generate a hierarchy of layers representing a GUI, wherein each layer represents a logical grouping of components of the GUI, (2) an input thread to handle asynchronous execution of instructions to process user input based on interactions with the GUI, and (3) a graphics thread to handle asynchronous execution of instructions to generate and/or update display output in relation to one or more layers of the GUI hierarchy. The input thread may send information about received input directly to the graphics thread and the main thread at the same time, thereby enabling the graphics thread to begin refreshing the display output while the main thread performs any necessary processing of the user input.
Abstract translation: 特定实施例提供使用多线程方法异步执行指令以外包低级输入/输出处理任务。 特定实施例可以使用(1)主线程来处理指令的执行以生成表示GUI的层的层次,其中每个层表示GUI的组件的逻辑分组,(2)处理指令的异步执行的输入线程 基于与GUI的交互来处理用户输入,以及(3)图形线程,用于处理异步执行指令以相对于GUI层级的一个或多个层生成和/或更新显示输出。 输入线程可以将关于接收到的输入的信息直接发送到图形线程和主线程,从而使得图形线程在主线程执行用户输入的任何必要处理时开始刷新显示输出。
-
公开(公告)号:US20150339002A1
公开(公告)日:2015-11-26
申请号:US14572289
申请日:2014-12-16
Applicant: Facebook, Inc.
Inventor: Robert Douglas Arnold , Denis Koroskin
IPC: G06F3/0481 , H04L29/08 , G06F3/0485
CPC classification number: G06F17/2241 , G06F3/0481 , G06F3/0485 , G06F3/04883 , G06Q50/01 , G06T13/00 , H04W4/18 , H04W4/185
Abstract: Particular embodiments of a computing device may provide a main thread, a graphics thread to handle tasks related to rendering and presenting a graphical user interface (GUI), and an input thread to handle tasks related to processing input-related events. The GUI may comprise at least one animated component associated with a set of state variables. The main thread may handle tasks to generate a GUI hierarchy and provide copies of the GUI hierarchy to the input thread and the graphics thread. The input thread may handle tasks to initialize and update the state variables and provide information about the state variables to the graphics thread. The graphics thread may then handle tasks to update the GUI by rendering a first frame of the animation based on the state variables.
Abstract translation: 计算设备的特定实施例可以提供主线程,图形线程以处理与呈现和呈现图形用户界面(GUI)相关的任务,以及输入线程来处理与处理输入相关事件相关的任务。 GUI可以包括与一组状态变量相关联的至少一个动画组件。 主线程可以处理任务以生成GUI层次结构,并将GUI层次结构的副本提供给输入线程和图形线程。 输入线程可以处理任务来初始化和更新状态变量,并向图形线程提供关于状态变量的信息。 然后,图形线程可以通过基于状态变量呈现动画的第一帧来处理任务来更新GUI。
-
-
-
-