#include "test-gl-abstraction.h"
#include "test-gl-context-helper-abstraction.h"
#include "test-gl-sync-abstraction.h"
+#include "test-graphics-program.h"
#include "test-graphics-reflection.h"
namespace Dali
void Resume() override;
/**
+ * @brief Lifecycle shutdown event
+ */
+ void Shutdown() override;
+
+ /**
+ * @brief Lifecycle destroy event
+ */
+ void Destroy() override;
+
+ /**
* @brief Executes batch update of textures
*
* This function may perform full or partial update of many textures.
mVertexFormats = vfs;
}
+ void AddCustomUniforms(std::vector<UniformData>& customUniforms)
+ {
+ mCustomUniforms = customUniforms;
+ }
+
void ClearSubmitStack()
{
mSubmitStack.clear();
* @param[out] outData Pointer to output memory
* @return True on success
*/
- bool GetProgramParameter(Graphics::Program& program, uint32_t parameterId, void* outData ) override;
+ bool GetProgramParameter(Graphics::Program& program, uint32_t parameterId, void* outData) override;
public:
mutable TraceCallStack mCallStack;
bool isDrawOnResumeRequiredResult{true};
Property::Array mVertexFormats;
+
+ struct ProgramCache
+ {
+ std::map<Graphics::PipelineStage, std::vector<uint8_t>> shaders;
+ TestGraphicsProgramImpl* programImpl;
+ };
+ std::vector<ProgramCache> mProgramCache;
+
+ std::vector<UniformData> mCustomUniforms;
};
} // namespace Dali