Flutter Engine
The Flutter Engine
|
A delegate implemented by a thread on which an OpenGL context is current. There may be multiple workers for the reactor to perform reactions on. In that case, it is the workers responsibility to ensure that all of them use either the same OpenGL context or multiple OpenGL contexts in the same sharegroup. More...
#include <reactor_gles.h>
Public Member Functions | |
virtual | ~Worker ()=default |
virtual bool | CanReactorReactOnCurrentThreadNow (const ReactorGLES &reactor) const =0 |
Determines the ability of the worker to service a reaction on the current thread. The OpenGL context must be current on the thread if the worker says it is able to service a reaction. More... | |
A delegate implemented by a thread on which an OpenGL context is current. There may be multiple workers for the reactor to perform reactions on. In that case, it is the workers responsibility to ensure that all of them use either the same OpenGL context or multiple OpenGL contexts in the same sharegroup.
Definition at line 67 of file reactor_gles.h.
|
virtualdefault |
|
pure virtual |
Determines the ability of the worker to service a reaction on the current thread. The OpenGL context must be current on the thread if the worker says it is able to service a reaction.
[in] | reactor | The reactor |
Implemented in flutter::AndroidContextGLImpeller::ReactorWorker, flutter::ReactorWorker, and impeller::PlaygroundImplGLES::ReactorWorker.