#include <context.h>
Public Member Functions | |
| Context (std::shared_ptr< impeller::Context > context) | |
| ~Context () override | |
| impeller::Context & | GetContext () |
| std::shared_ptr< impeller::Context > & | GetContextShared () |
Public Member Functions inherited from flutter::RefCountedDartWrappable< Context > | |
| virtual void | RetainDartWrappableReference () const override |
| virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Public Member Functions inherited from tonic::DartWrappable | |
| DartWrappable () | |
| virtual const DartWrapperInfo & | GetDartWrapperInfo () const =0 |
| Dart_Handle | CreateDartWrapper (DartState *dart_state) |
| void | AssociateWithDartWrapper (Dart_Handle wrappable) |
| void | ClearDartWrapper () |
| Dart_WeakPersistentHandle | dart_wrapper () const |
Static Public Member Functions | |
| static void | SetOverrideContext (std::shared_ptr< impeller::Context > context) |
| static std::shared_ptr< impeller::Context > | GetOverrideContext () |
| static std::shared_ptr< impeller::Context > | GetDefaultContext (std::optional< std::string > &out_error) |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
| enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
| virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
| static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
|
explicit |
Definition at line 72 of file context.cc.
|
overridedefault |
| impeller::Context & flutter::gpu::Context::GetContext | ( | ) |
Definition at line 77 of file context.cc.
Referenced by InternalFlutterGpu_CommandBuffer_Initialize(), InternalFlutterGpu_Context_GetDefaultColorFormat(), InternalFlutterGpu_Context_GetDefaultDepthStencilFormat(), InternalFlutterGpu_Context_GetDefaultStencilFormat(), InternalFlutterGpu_Context_GetMinimumUniformByteAlignment(), InternalFlutterGpu_Context_GetSupportsOffscreenMSAA(), InternalFlutterGpu_DeviceBuffer_Initialize(), InternalFlutterGpu_DeviceBuffer_InitializeWithHostData(), InternalFlutterGpu_RenderPass_SetColorAttachment(), InternalFlutterGpu_Texture_Initialize(), flutter::gpu::Shader::IsRegistered(), flutter::gpu::Texture::Overwrite(), and flutter::gpu::Shader::RegisterSync().
| std::shared_ptr< impeller::Context > & flutter::gpu::Context::GetContextShared | ( | ) |
Definition at line 81 of file context.cc.
Referenced by InternalFlutterGpu_CommandBuffer_Initialize().
|
static |
Definition at line 36 of file context.cc.
References flutter::UIDartState::Current(), GetOverrideContext(), fml::MakeCopyable(), and fml::TaskRunner::RunNowOrPostTask().
Referenced by InternalFlutterGpu_Context_InitializeDefault(), and InternalFlutterGpu_ShaderLibrary_InitializeWithAsset().
|
static |
Definition at line 32 of file context.cc.
Referenced by GetDefaultContext().
|
static |
Definition at line 28 of file context.cc.
Referenced by impeller::testing::RendererDartTest::GetIsolate().