[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:
Chinmay Garde 2024-11-14 15:52:19 -08:00 committed by GitHub
parent 6b172110e6
commit bd53bd0671
4 changed files with 8 additions and 8 deletions

View File

@ -4,8 +4,8 @@
#include "impeller/entity/contents/test/contents_test_helpers.h"
namespace impeller {
namespace impeller::testing {
//
}
} // namespace impeller::testing

View File

@ -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_

View File

@ -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

View File

@ -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_