#define DALI_GRAPHICS_GLES_FRAMEBUFFER_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
[[nodiscard]] uint32_t GetGlStencilBufferId() const;
+ void CaptureRenderingResult(CallbackBase* capturedCallback, uint8_t* capturedBuffer);
+
+ void DrawRenderedBuffer();
+
+ bool CaptureRequested() const
+ {
+ return mCaptureRenderedResult;
+ }
+
private:
/**
* Attach a texture to the specified attachment point
uint32_t mFramebufferId{0u};
uint32_t mDepthBufferId{0u};
uint32_t mStencilBufferId{0u};
+ uint32_t mMultisamples{1u};
bool mInitialized{false};
+
+ uint8_t* mCapturedBuffer{nullptr}; ///< not owned
+ Dali::CallbackBase* mCapturedCallback{nullptr}; ///< not owned
+ bool mCaptureRenderedResult{false};
};
} // namespace Dali::Graphics::GLES