Go to the source code of this file.
Classes | |
| struct | _FlMockTextureRegistrar |
Functions | |
| static void | fl_mock_texture_registrar_iface_init (FlTextureRegistrarInterface *iface) |
| G_DEFINE_TYPE_WITH_CODE (FlMockTextureRegistrar, fl_mock_texture_registrar, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE(fl_texture_registrar_get_type(), fl_mock_texture_registrar_iface_init)) static gboolean register_texture(FlTextureRegistrar *registrar | |
| if (self->texture !=nullptr) | |
| static FlTexture * | lookup_texture (FlTextureRegistrar *registrar, int64_t texture_id) |
| static gboolean | mark_texture_frame_available (FlTextureRegistrar *registrar, FlTexture *texture) |
| static gboolean | unregister_texture (FlTextureRegistrar *registrar, FlTexture *texture) |
| static void | fl_mock_texture_registrar_dispose (GObject *object) |
| static void | fl_mock_texture_registrar_class_init (FlMockTextureRegistrarClass *klass) |
| static void | fl_mock_texture_registrar_init (FlMockTextureRegistrar *self) |
| FlMockTextureRegistrar * | fl_mock_texture_registrar_new () |
| FlTexture * | fl_mock_texture_registrar_get_texture (FlMockTextureRegistrar *self) |
| gboolean | fl_mock_texture_registrar_get_frame_available (FlMockTextureRegistrar *self) |
Variables | |
| FlTexture * | texture |
| return | TRUE |
|
static |
Definition at line 79 of file mock_texture_registrar.cc.
References fl_mock_texture_registrar_dispose().
|
static |
Definition at line 73 of file mock_texture_registrar.cc.
References self.
Referenced by fl_mock_texture_registrar_class_init().
| gboolean fl_mock_texture_registrar_get_frame_available | ( | FlMockTextureRegistrar * | self | ) |
| FlTexture * fl_mock_texture_registrar_get_texture | ( | FlMockTextureRegistrar * | self | ) |
|
static |
Definition at line 65 of file mock_texture_registrar.cc.
References lookup_texture(), mark_texture_frame_available(), register_texture(), and unregister_texture().
|
static |
Definition at line 84 of file mock_texture_registrar.cc.
| FlMockTextureRegistrar * fl_mock_texture_registrar_new | ( | ) |
Definition at line 86 of file mock_texture_registrar.cc.
Referenced by TEST().
| G_DEFINE_TYPE_WITH_CODE | ( | FlMockTextureRegistrar | , |
| fl_mock_texture_registrar | , | ||
| G_TYPE_OBJECT | , | ||
| G_IMPLEMENT_INTERFACE(fl_texture_registrar_get_type(), fl_mock_texture_registrar_iface_init) | |||
| ) |
Definition at line 26 of file mock_texture_registrar.cc.
|
static |
Definition at line 33 of file mock_texture_registrar.cc.
References fl_texture_get_id(), self, and texture_id.
Referenced by fl_mock_texture_registrar_iface_init(), and mark_texture_frame_available().
|
static |
Definition at line 43 of file mock_texture_registrar.cc.
References fl_texture_get_id(), lookup_texture(), self, texture, and TRUE.
Referenced by fl_mock_texture_registrar_iface_init().
|
static |
Definition at line 53 of file mock_texture_registrar.cc.
References self, texture, and TRUE.
Referenced by fl_mock_texture_registrar_iface_init().
| self texture |
Definition at line 24 of file mock_texture_registrar.cc.
Referenced by _glBindTexture(), impeller::AHBSwapchainImplVK::AcquireNextDrawable(), add_mock_texture_to_registrar(), impeller::AddMipmapGeneration(), FlutterTextInputPlugin()::addToInputParentViewIfNeeded:, impeller::Bind(), impeller::testing::RecordingRenderPass::BindDynamicResource(), impeller::RenderPass::BindDynamicResource(), impeller::testing::RecordingRenderPass::BindResource(), impeller::RenderPass::BindResource(), flutter::egl::ProcTable::BindTexture(), impeller::BulkUpdateAtlasBitmap(), impeller::SamplerGLES::ConfigureBoundTexture(), impeller::ConfigureFBO(), flutter::ImageEncodingImpeller::ConvertDlImageToSkImage(), impeller::TextureMTL::Create(), impeller::Paint::CreateContents(), impeller::DlPlayground::CreateDlImageForFixture(), impeller::GoldenPlaygroundTest::CreateDlImageForFixture(), impeller::compiler::ShaderBundleData::CreateFlatbuffer(), flutter::testing::TestMetalContext::CreateMetalTexture(), impeller::CreateTexture(), impeller::Playground::CreateTextureCubeForFixture(), impeller::CreateTextureForDecompressedImage(), impeller::Playground::CreateTextureForFixture(), flutter::UnrefQueue< T >::DeleteTexture(), flutter::gpu::RenderPass::Draw(), impeller::DlDispatcherBase::drawImage(), impeller::interop::DisplayListBuilder::DrawTexture(), impeller::interop::DisplayListBuilder::DrawTextureRect(), impeller::Canvas::DrawVertices(), flutter::testing::EmbedderTestContextMetal::EmbedderTestContextMetal(), impeller::BlitGenerateMipmapCommandGLES::Encode(), fl_engine_gl_external_texture_frame_callback(), fl_pixel_buffer_texture_get_id(), fl_pixel_buffer_texture_populate(), fl_test_texture_populate(), fl_texture_gl_get_id(), fl_texture_registrar_mark_texture_frame_available(), fl_texture_registrar_register_texture(), fl_texture_registrar_unregister_texture(), FlutterEngineInitialize(), G_DECLARE_DERIVABLE_TYPE(), G_DECLARE_INTERFACE(), impeller::TextureMTL::GenerateMipmap(), impeller::BlitPass::GenerateMipmap(), flutter::ImageEncodingImpeller::GetColorSpace(), flutter::testing::EmbedderTestContextMetal::GetNextDrawable(), impeller::RenderTarget::GetRenderTargetPixelFormat(), flutter::GPUSurfaceMetalImpeller::GetSurfaceData(), flutter::testing::GetSurfaceFromTexture(), impeller::interop::ImpellerDisplayListBuilderDrawTexture(), impeller::interop::ImpellerDisplayListBuilderDrawTextureRect(), flutter::testing::DlMetalSurfaceProvider::ImpellerSnapshot(), impeller::interop::ImpellerTextureCreateWithContentsNew(), impeller::interop::ImpellerTextureCreateWithOpenGLTextureHandleNew(), impeller::interop::ImpellerTextureGetOpenGLHandle(), impeller::interop::ImpellerTextureRelease(), impeller::interop::ImpellerTextureRetain(), InferMetalPlatformViewCreationCallback(), InternalFlutterGpu_RenderPass_BindTexture(), InternalFlutterGpu_RenderPass_SetColorAttachment(), InternalFlutterGpu_RenderPass_SetDepthStencilAttachment(), InternalFlutterGpu_Texture_Initialize(), InternalFlutterGpu_Texture_Overwrite(), lookup_texture(), impeller::FilterInput::Make(), impeller::DlImageImpeller::Make(), impeller::FilterInput::Make(), impeller::SurfaceMTL::MakeFromTexture(), impeller::testing::MetalScreenshotter::MakeScreenshot(), impeller::testing::VulkanScreenshotter::MakeScreenshot(), MakeSkSurfaceFromBackingStore(), mark_texture_frame_available(), mark_texture_frame_available(), flutter::EmbedderEngine::MarkTextureFrameAvailable(), impeller::testing::mockIsTexture(), impeller::GoldenPlaygroundTest::OpenPlaygroundHere(), flutter::gpu::Texture::Overwrite(), flutter::TextureLayer::Paint(), flutter::FlutterWindowsTextureRegistrar::PopulateTexture(), impeller::AHBTexturePoolVK::Push(), register_texture(), flutter::PlatformViewIOS::RegisterExternalTexture(), flutter::TextureRegistry::RegisterTexture(), flutter::EmbedderEngine::RegisterTexture(), flutter::PlatformView::RegisterTexture(), flutter::TextureRegistrarImpl::RegisterTexture(), impeller::VerticesSimpleBlendContents::Render(), impeller::testing::RendererDartTest::RenderDartToPlayground(), impeller::testing::RendererDartTest::RendererDartTest(), impeller::PassBindingsCacheMTL::SetTexture(), impeller::TextureContents::SetTexture(), impeller::TiledTextureContents::SetTexture(), impeller::VerticesSimpleBlendContents::SetTexture(), impeller::GlyphAtlas::SetTexture(), impeller::ComputePassBindingsCacheMTL::SetTexture(), flutter::SetTextureLayout(), impeller::testing::TEST(), impeller::TEST(), impeller::testing::TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), impeller::testing::TEST(), flutter::TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::interop::testing::TEST_P(), impeller::interop::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), impeller::interop::Texture::Texture(), impeller::CommandBufferVK::Track(), impeller::CommandBufferVK::Track(), impeller::TrackedObjectsVK::Track(), unregister_texture(), unregister_texture(), flutter::EmbedderEngine::UnregisterTexture(), impeller::UpdateAtlasBitmap(), flutter::ImageDecoderImpeller::UploadTextureToStorage(), impeller::TextureGLES::WrapFBO(), impeller::WrapInput(), impeller::TextureMTL::Wrapper(), impeller::TextureGLES::WrapTexture(), impeller::WrapTextureMTL(), and impeller::WrapTextureWithRenderTarget().
| return TRUE |
Definition at line 30 of file mock_texture_registrar.cc.
Referenced by mark_texture_frame_available(), and unregister_texture().