Flutter Impeller
compute_playground_test.h File Reference
#include <memory>
#include "flutter/fml/time/time_delta.h"
#include "flutter/testing/testing.h"
#include "impeller/core/device_buffer.h"
#include "impeller/playground/playground.h"

Go to the source code of this file.

Classes

class  impeller::ComputePlaygroundTest
 

Namespaces

 impeller
 

Macros

#define INSTANTIATE_COMPUTE_SUITE(playground)
 

Macro Definition Documentation

◆ INSTANTIATE_COMPUTE_SUITE

#define INSTANTIATE_COMPUTE_SUITE (   playground)
Value:
Compute, playground, \
::testing::Values(PlaygroundBackend::kMetal, \
PlaygroundBackend::kVulkan), \
[](const ::testing::TestParamInfo<ComputePlaygroundTest::ParamType>& \
info) { return PlaygroundBackendToString(info.param); });
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";})
std::string PlaygroundBackendToString(PlaygroundBackend backend)
Definition: playground.cc:46

Definition at line 56 of file compute_playground_test.h.