Flutter Engine
 
Loading...
Searching...
No Matches
impeller::testing::TestWorker Class Reference
Inheritance diagram for impeller::testing::TestWorker:
impeller::ReactorGLES::Worker impeller::ReactorGLES::Worker impeller::ReactorGLES::Worker

Public Member Functions

bool CanReactorReactOnCurrentThreadNow (const ReactorGLES &reactor) const override
 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.
 
- Public Member Functions inherited from impeller::ReactorGLES::Worker
virtual ~Worker ()=default
 

Detailed Description

Definition at line 22 of file reactor_unittests.cc.

Member Function Documentation

◆ CanReactorReactOnCurrentThreadNow()

bool impeller::testing::TestWorker::CanReactorReactOnCurrentThreadNow ( const ReactorGLES reactor) const
inlineoverridevirtual

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.

Parameters
[in]reactorThe reactor
Returns
If the worker is able to service a reaction. The reactor assumes the context is already current if true.

Implements impeller::ReactorGLES::Worker.

Definition at line 24 of file reactor_unittests.cc.

25 {
26 return true;
27 }

The documentation for this class was generated from the following file: