equal
deleted
inserted
replaced
737 bool FrameView::useSlowRepaints() const |
737 bool FrameView::useSlowRepaints() const |
738 { |
738 { |
739 return m_useSlowRepaints || m_slowRepaintObjectCount > 0 || (platformWidget() && m_fixedObjectCount > 0) || m_isOverlapped || !m_contentIsOpaque; |
739 return m_useSlowRepaints || m_slowRepaintObjectCount > 0 || (platformWidget() && m_fixedObjectCount > 0) || m_isOverlapped || !m_contentIsOpaque; |
740 } |
740 } |
741 |
741 |
|
742 bool FrameView::useSlowRepaintsIfNotOverlapped() const |
|
743 { |
|
744 return m_useSlowRepaints || m_slowRepaintObjectCount > 0 || !m_contentIsOpaque; |
|
745 } |
|
746 |
742 void FrameView::setUseSlowRepaints() |
747 void FrameView::setUseSlowRepaints() |
743 { |
748 { |
744 m_useSlowRepaints = true; |
749 m_useSlowRepaints = true; |
745 setCanBlitOnScroll(false); |
750 setCanBlitOnScroll(false); |
746 } |
751 } |