Changeset 150625 in webkit
- Timestamp:
- May 23, 2013 11:07:56 PM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPageCompositor.cpp
r149831 r150625 145 145 } 146 146 147 void WebPageCompositorPrivate::render(const IntRect& targetRect, const IntRect& clipRect, const TransformationMatrix& transformIn, const FloatRect& document Contents, const FloatRect& /*viewport*/)147 void WebPageCompositorPrivate::render(const IntRect& targetRect, const IntRect& clipRect, const TransformationMatrix& transformIn, const FloatRect& documentSrcRect) 148 148 { 149 149 // m_layerRenderer should have been created in prepareFrame … … 158 158 return; 159 159 160 m_layerRenderer->setViewport(targetRect, clipRect, document Contents, m_layoutRect, m_documentRect.size());160 m_layerRenderer->setViewport(targetRect, clipRect, documentSrcRect, m_layoutRect, m_documentRect.size()); 161 161 162 162 TransformationMatrix transform(transformIn); … … 164 164 165 165 if (!drawsRootLayer()) 166 m_webPage->m_backingStore->d->compositeContents(m_layerRenderer.get(), transform, document Contents, !m_backgroundColor.hasAlpha());166 m_webPage->m_backingStore->d->compositeContents(m_layerRenderer.get(), transform, documentSrcRect, !m_backgroundColor.hasAlpha()); 167 167 168 168 compositeLayers(transform); … … 345 345 } 346 346 347 void WebPageCompositor::render(Platform::Graphics::GLES2Context* context, const Platform::IntRect& targetRect, const Platform::IntRect& clipRect, const Platform::TransformationMatrix& transform, const Platform::FloatRect& document Contents, const Platform::FloatRect& viewport)347 void WebPageCompositor::render(Platform::Graphics::GLES2Context* context, const Platform::IntRect& targetRect, const Platform::IntRect& clipRect, const Platform::TransformationMatrix& transform, const Platform::FloatRect& documentSrcRect) 348 348 { 349 349 d->setContext(context); 350 d->render(targetRect, clipRect, TransformationMatrix(reinterpret_cast<const TransformationMatrix&>(transform)), document Contents, viewport);350 d->render(targetRect, clipRect, TransformationMatrix(reinterpret_cast<const TransformationMatrix&>(transform)), documentSrcRect); 351 351 } 352 352 … … 398 398 const Platform::IntRect&, 399 399 const Platform::TransformationMatrix&, 400 const Platform::FloatRect&,401 400 const Platform::FloatRect&) 402 401 { -
trunk/Source/WebKit/blackberry/Api/WebPageCompositor.h
r149831 r150625 55 55 const Platform::IntRect& clipRect, 56 56 const Platform::TransformationMatrix&, 57 const Platform::FloatRect& documentContents, 58 const Platform::FloatRect& viewport); 57 const Platform::FloatRect& documentSrcRect); 59 58 60 59 void cleanup(Platform::Graphics::GLES2Context*); -
trunk/Source/WebKit/blackberry/Api/WebPageCompositor_p.h
r149831 r150625 59 59 void setChildWindowPlacement(WebPageCompositor::ChildWindowPlacement placement) { m_childWindowPlacement = placement; } 60 60 void prepareFrame(double animationTime); 61 void render(const WebCore::IntRect& targetRect, 62 const WebCore::IntRect& clipRect, 63 const WebCore::TransformationMatrix&, 64 const WebCore::FloatRect& documentContents, 65 const WebCore::FloatRect& viewport); 61 void render(const WebCore::IntRect& targetRect, const WebCore::IntRect& clipRect, const WebCore::TransformationMatrix&, const WebCore::FloatRect& documentSrcRect); 66 62 67 63 Platform::Graphics::GLES2Context* context() const { return m_context; } -
trunk/Source/WebKit/blackberry/ChangeLog
r150588 r150625 1 2013-05-23 Jakob Petsovits <jpetsovits@blackberry.com> 2 3 [BlackBerry] Compositor API change: Don't pass the unused "viewport" parameter. 4 https://bugs.webkit.org/show_bug.cgi?id=116545 5 Internal PR 189775 6 7 Reviewed by Rob Buis. 8 9 Also change the name of the "documentContents" parameter 10 to the more descriptive "documentSrcRect". 11 12 * Api/WebPageCompositor.cpp: 13 (BlackBerry::WebKit::WebPageCompositorPrivate::render): 14 (BlackBerry::WebKit::WebPageCompositor::render): 15 * Api/WebPageCompositor.h: 16 * Api/WebPageCompositor_p.h: 17 (WebPageCompositorPrivate): 18 1 19 2013-05-23 Ed Baker <edbaker@blackberry.com> 2 20
Note: See TracChangeset
for help on using the changeset viewer.