Flutter Impeller
render_pass_gles_unittests.cc File Reference

Go to the source code of this file.

Classes

class  impeller::testing::TestReactorGLES
 
class  impeller::testing::MockWorker
 
struct  impeller::testing::DiscardFrameBufferParams
 
class  impeller::testing::RenderPassGLESWithDiscardFrameBufferExtTest
 
class  impeller::testing::RenderPassGLESCommandTest
 

Namespaces

 impeller
 
 impeller::testing
 

Functions

 impeller::testing::TEST_P (RenderPassGLESWithDiscardFrameBufferExtTest, DiscardFramebufferExt)
 
 impeller::testing::INSTANTIATE_TEST_SUITE_P (FrameBufferObject, RenderPassGLESWithDiscardFrameBufferExtTest, ::testing::ValuesIn(std::vector< DiscardFrameBufferParams >{ {.frame_buffer_id=0,.expected_attachments={GL_COLOR_EXT, GL_DEPTH_EXT, GL_STENCIL_EXT}}, {.frame_buffer_id=1,.expected_attachments={GL_COLOR_ATTACHMENT0, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT}}}), [](const ::testing::TestParamInfo< DiscardFrameBufferParams > &info) { return(info.param.frame_buffer_id==0) ? "Default" :"NonDefault";})
 
 impeller::testing::TEST_P (RenderPassGLESWithDiscardFrameBufferExtTest, InvalidateFramebuffer)
 
 impeller::testing::TEST (RenderPassGLESTest, ResolvingMultisampleTextureCachesResolveFBO)
 
 impeller::testing::TEST_F (RenderPassGLESCommandTest, ViewportCachedAcrossCommands)
 
 impeller::testing::TEST_F (RenderPassGLESCommandTest, CommandsWithoutViewportGetRenderPassViewport)
 
 impeller::testing::TEST_F (RenderPassGLESCommandTest, ViewportWithNonZeroXOffsetReachesGL)
 
 impeller::testing::TEST_F (RenderPassGLESCommandTest, HardwareInstancedArrayDraw)
 
 impeller::testing::TEST_F (RenderPassGLESCommandTest, HardwareInstancedElementsDraw)
 
 impeller::testing::TEST_F (RenderPassGLESCommandTest, EmulatedInstancedArrayDraw)
 
 impeller::testing::TEST_F (RenderPassGLESCommandTest, EmulatedInstancedElementsDraw)
 
 impeller::testing::TEST_F (RenderPassGLESCommandTest, NonInstancedDrawIssuesSingleDrawArrays)
 
 impeller::testing::TEST_F (RenderPassGLESCommandTest, ZeroInstanceCountIssuesNoDraw)
 

Variable Documentation

◆ command_buffer

◆ context

std::shared_ptr<ContextGLES> context

Definition at line 74 of file render_pass_gles_unittests.cc.

Referenced by impeller::AHBSwapchainImplVK::AcquireNextDrawable(), impeller::KHRSwapchainImplVK::AcquireNextDrawable(), impeller::AHBTextureSourceVK::AHBTextureSourceVK(), impeller::CommandBufferVK::AllocateDescriptorSets(), impeller::AllocatedTextureSourceVK::AllocatedTextureSourceVK(), impeller::android::SurfaceTransaction::Apply(), impeller::testing::CanBatchSubmitTest(), impeller::testing::CanUseFramebufferFetch(), impeller::testing::CanUseMipgeneration(), impeller::testing::CanUsePrimitiveRestartSubmitTest(), IMPELLER_HPP_NAMESPACE::VulkanSwapchain::Create(), impeller::ContextMTL::Create(), impeller::SwapchainVK::Create(), impeller::KHRSwapchainImplVK::Create(), impeller::interop::ContextMTL::Create(), impeller::AHBSwapchainImplVK::Create(), impeller::ContextVK::Create(), impeller::interop::ContextVK::Create(), impeller::interop::ContextGLES::Create(), impeller::CommandPoolVK::CreateCommandBuffer(), impeller::egl::Display::CreateContext(), impeller::CreateDefaultPipeline(), impeller::testing::CreateDefaultPipeline(), impeller::testing::CreateGlyphAtlas(), impeller::TypographerContextSkia::CreateGlyphAtlas(), impeller::CreateGradientTexture(), impeller::ComputePlaygroundTest::CreateHostVisibleDeviceBuffer(), impeller::RenderTargetAllocator::CreateOffscreen(), impeller::RenderTargetCache::CreateOffscreen(), impeller::RenderTargetAllocator::CreateOffscreenMSAA(), impeller::RenderTargetCache::CreateOffscreenMSAA(), impeller::LazyGlyphAtlas::CreateOrGetGlyphAtlas(), impeller::CreatePipelineFuture(), impeller::testing::RenderPassGLESCommandTest::CreateRenderPassGLESContext(), impeller::interop::testing::CreateSharedSurface(), impeller::testing::CreateTestCanvas(), impeller::testing::CreateTestYUVTextures(), impeller::CreateTexture(), impeller::CreateTextureForDecompressedImage(), impeller::Playground::CreateTextureForMapping(), impeller::interop::CreateTypefaceFromFontData(), impeller::CompressedImageSkia::Decode(), impeller::DisplayListToTexture(), impeller::egl::EGLMakeCurrentIfNecessary(), impeller::ExternalSemaphoreVK::ExternalSemaphoreVK(), impeller::testing::FlushTestContentContext::FlushTestContentContext(), IMPELLER_HPP_NAMESPACE::ColorSource::FragmentProgram(), IMPELLER_HPP_NAMESPACE::ImageFilter::FragmentProgram(), impeller::KHRSwapchainImplVK::GetCurrentUnderlyingSurfaceSize(), impeller::CommandPoolRecyclerVK::GetGlobalPoolCount(), impeller::interop::ContextVK::GetInfo(), impeller::interop::testing::PlaygroundTest::GetInteropContext(), impeller::SurfaceMTL::GetMetalDrawableAndValidate(), ImGui_ImplImpeller_Init(), impeller::interop::ImpellerColorSourceCreateFragmentProgramNew(), impeller::interop::ImpellerContextCreateMetalNew(), impeller::interop::ImpellerContextCreateOpenGLESNew(), impeller::interop::ImpellerContextCreateVulkanNew(), impeller::interop::ImpellerContextGetVulkanInfo(), impeller::interop::ImpellerContextRelease(), impeller::interop::ImpellerContextRetain(), impeller::interop::ImpellerImageFilterCreateFragmentProgramNew(), impeller::interop::ImpellerParagraphBuilderNew(), impeller::interop::ImpellerSurfaceCreateWrappedFBONew(), impeller::interop::ImpellerSurfaceCreateWrappedMetalDrawableNew(), impeller::interop::ImpellerTextureCreateWithContentsNew(), impeller::interop::ImpellerTextureCreateWithOpenGLTextureHandleNew(), impeller::interop::ImpellerTypographyContextNew(), impeller::interop::ImpellerTypographyContextRegisterFont(), impeller::interop::ImpellerTypographyContextRelease(), impeller::interop::ImpellerTypographyContextRetain(), impeller::interop::ImpellerVulkanSwapchainCreateNew(), impeller::ComputePipelineBuilder< ComputeShader_ >::InitializePipelineDescriptorDefaults(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), impeller::GPUTracerVK::InitializeQueryPool(), impeller::testing::IsBadVersionTest(), main(), impeller::ComputePipelineBuilder< ComputeShader_ >::MakeDefaultPipelineDescriptor(), impeller::interop::ColorSource::MakeFragmentProgram(), impeller::interop::ImageFilter::MakeFragmentProgram(), impeller::SurfaceMTL::MakeFromMetalLayerDrawable(), impeller::SurfaceMTL::MakeFromTexture(), impeller::testing::MetalScreenshotter::MakeScreenshot(), impeller::ContentContext::MakeSubpass(), impeller::interop::testing::PlaygroundTest::OpenAssetAsHPPTexture(), impeller::GoldenPlaygroundTest::OpenPlaygroundHere(), impeller::Playground::OpenPlaygroundHere(), impeller::DlPlayground::OpenPlaygroundHere(), impeller::PlaygroundImplMTL::PlaygroundImplMTL(), impeller::PlaygroundImplVK::PlaygroundImplVK(), impeller::SurfaceMTL::PreparePresent(), impeller::SurfaceMTL::Present(), impeller::RuntimeEffectContents::Render(), impeller::testing::RendererDartTest::RenderDartToPlayground(), impeller::RenderToTarget(), impeller::RenderTarget::SetupDepthStencilAttachments(), impeller::CommandQueueVK::Submit(), impeller::interop::SwapchainVK::SwapchainVK(), impeller::GoldenPlaygroundTest::TearDown(), impeller::android::testing::TEST(), impeller::TEST(), impeller::testing::TEST(), impeller::testing::TEST_P(), impeller::interop::testing::TEST_P(), impeller::interop::Texture::Texture(), IMPELLER_HPP_NAMESPACE::Texture::WithContents(), IMPELLER_HPP_NAMESPACE::Texture::WithOpenGLTexture(), IMPELLER_HPP_NAMESPACE::Surface::WrapFBO(), impeller::SurfaceGLES::WrapFBO(), IMPELLER_HPP_NAMESPACE::Surface::WrapMetalDrawable(), impeller::SurfaceVK::WrapSwapchainImage(), impeller::CommandPoolVK::~CommandPoolVK(), impeller::DescriptorPoolVK::~DescriptorPoolVK(), and impeller::glvk::Trampoline::~Trampoline().

◆ dummy_worker

◆ mock_gl

◆ mock_gl_impl_ref

◆ pipeline

◆ reactor

◆ render_pass