Webgl contents are blinking in Familyhhub 6.0 target(kantm only). This is
occurred because alpha channel of frame buffer is not cleared as 1(It seems
that there is complicated timing issue with kantm target). To fix this issue,
ensure clearing frame buffer after setting rendering target.
Reference Patch : https://review.tizen.org/gerrit/#/c/251417
Change-Id: I65f7a04bb824054c8f4e7b4867d2d097121023e8
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
gl_->FramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0,
texture_target, id, 0);
}
+
+#if defined(OS_TIZEN_DA_PRODUCT)
+ // WebGL contents are blinking in Familyhub 6.0 target(kantm only).
+ gl_->ClearColor(0, 0, 0,
+ DefaultBufferRequiresAlphaChannelToBePreserved() ? 1 : 0);
+ gl_->Clear(GL_COLOR_BUFFER_BIT);
+#endif
}
bool DrawingBuffer::WantExplicitResolve() {