draw-through

it is possible to render with OpenGL/DX by using draw-through.
This commit is contained in:
cnjinhao
2015-01-12 09:39:28 +08:00
parent 7496fea110
commit f67dbdb14b
10 changed files with 101 additions and 10 deletions

View File

@@ -674,7 +674,7 @@ namespace detail
{
//Thread-Safe Required!
std::lock_guard<decltype(mutex_)> lock(mutex_);
if (impl_->wd_register.available(wd))
if (impl_->wd_register.available(wd) && !wd->is_draw_through())
{
//Copy the root buffer that wd specified into DeviceContext
#if defined(NANA_LINUX)
@@ -738,7 +738,7 @@ namespace detail
if (false == impl_->wd_register.available(wd))
return false;
if(wd->visible)
if(wd->visible && (!wd->is_draw_through()))
{
if (wd->visible_parents())
{