mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[Impeller] Put test components in the testing namespace. (flutter/engine#56594)
Minor change for clarity. I went looking for how we used the recording render pass since it was not in the testing namespace.
This commit is contained in:
parent
6b172110e6
commit
bd53bd0671
@ -4,8 +4,8 @@
|
||||
|
||||
#include "impeller/entity/contents/test/contents_test_helpers.h"
|
||||
|
||||
namespace impeller {
|
||||
namespace impeller::testing {
|
||||
|
||||
//
|
||||
|
||||
}
|
||||
} // namespace impeller::testing
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
|
||||
#include "impeller/renderer/command.h"
|
||||
|
||||
namespace impeller {
|
||||
namespace impeller::testing {
|
||||
|
||||
/// @brief Retrieve the [VertInfo] struct data from the provided [command].
|
||||
template <typename T>
|
||||
@ -44,6 +44,6 @@ typename T::FragInfo* GetFragInfo(const Command& command) {
|
||||
return reinterpret_cast<typename T::FragInfo*>(data);
|
||||
}
|
||||
|
||||
} // namespace impeller
|
||||
} // namespace impeller::testing
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_TEST_CONTENTS_TEST_HELPERS_H_
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace impeller {
|
||||
namespace impeller::testing {
|
||||
|
||||
RecordingRenderPass::RecordingRenderPass(
|
||||
std::shared_ptr<RenderPass> delegate,
|
||||
@ -147,4 +147,4 @@ bool RecordingRenderPass::BindResource(
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace impeller
|
||||
} // namespace impeller::testing
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
|
||||
#include "impeller/renderer/render_pass.h"
|
||||
|
||||
namespace impeller {
|
||||
namespace impeller::testing {
|
||||
|
||||
class RecordingRenderPass : public RenderPass {
|
||||
public:
|
||||
@ -82,6 +82,6 @@ class RecordingRenderPass : public RenderPass {
|
||||
std::vector<Command> commands_;
|
||||
};
|
||||
|
||||
} // namespace impeller
|
||||
} // namespace impeller::testing
|
||||
|
||||
#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_TEST_RECORDING_RENDER_PASS_H_
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user