Title: [145091] trunk/Source/WebKit/chromium
Revision
145091
Author
dan...@chromium.org
Date
2013-03-07 09:58:35 -0800 (Thu, 07 Mar 2013)

Log Message

[chromium] Remove WebView's sharedGraphicsContext3D method.
https://bugs.webkit.org/show_bug.cgi?id=111499

Reviewed by James Robinson.

* public/WebView.h:
(WebView):
* src/WebViewImpl.cpp:
* src/WebViewImpl.h:
(WebViewImpl):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (145090 => 145091)


--- trunk/Source/WebKit/chromium/ChangeLog	2013-03-07 17:39:43 UTC (rev 145090)
+++ trunk/Source/WebKit/chromium/ChangeLog	2013-03-07 17:58:35 UTC (rev 145091)
@@ -1,3 +1,16 @@
+2013-03-07  Dana Jansens  <dan...@chromium.org>
+
+        [chromium] Remove WebView's sharedGraphicsContext3D method.
+        https://bugs.webkit.org/show_bug.cgi?id=111499
+
+        Reviewed by James Robinson.
+
+        * public/WebView.h:
+        (WebView):
+        * src/WebViewImpl.cpp:
+        * src/WebViewImpl.h:
+        (WebViewImpl):
+
 2013-03-07  Vsevolod Vlasov  <vse...@chromium.org>
 
         Web Inspector: Support a shortcut for reloading front-end in debug mode.

Modified: trunk/Source/WebKit/chromium/public/WebView.h (145090 => 145091)


--- trunk/Source/WebKit/chromium/public/WebView.h	2013-03-07 17:39:43 UTC (rev 145090)
+++ trunk/Source/WebKit/chromium/public/WebView.h	2013-03-07 17:58:35 UTC (rev 145091)
@@ -461,12 +461,6 @@
     WEBKIT_EXPORT static void willEnterModalLoop();
     WEBKIT_EXPORT static void didExitModalLoop();
 
-    // GPU acceleration support --------------------------------------------
-
-    // Context that's in the compositor's share group, but is not the compositor context itself.
-    // Can be used for allocating resources that the compositor will later access.
-    virtual WebGraphicsContext3D* sharedGraphicsContext3D() = 0;
-
     // Called to inform the WebView that a wheel fling animation was started externally (for instance
     // by the compositor) but must be completed by the WebView.
     virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) = 0;

Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.cpp (145090 => 145091)


--- trunk/Source/WebKit/chromium/src/WebViewImpl.cpp	2013-03-07 17:39:43 UTC (rev 145090)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.cpp	2013-03-07 17:58:35 UTC (rev 145091)
@@ -4245,14 +4245,6 @@
     m_layerTreeView->setPageScaleFactorAndLimits(pageScaleFactor(), m_minimumPageScaleFactor, m_maximumPageScaleFactor);
 }
 
-WebGraphicsContext3D* WebViewImpl::sharedGraphicsContext3D()
-{
-    if (!m_page->settings()->acceleratedCompositingEnabled() || !allowsAcceleratedCompositing())
-        return 0;
-
-    return GraphicsContext3DPrivate::extractWebGraphicsContext3D(SharedGraphicsContext3D::get().get());
-}
-
 void WebViewImpl::selectAutofillSuggestionAtIndex(unsigned listIndex)
 {
     if (m_autofillPopupClient && listIndex < m_autofillPopupClient->getSuggestionsCount())

Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.h (145090 => 145091)


--- trunk/Source/WebKit/chromium/src/WebViewImpl.h	2013-03-07 17:39:43 UTC (rev 145090)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.h	2013-03-07 17:58:35 UTC (rev 145091)
@@ -544,8 +544,6 @@
     void scheduleAnimation();
 #endif
 
-    virtual WebGraphicsContext3D* sharedGraphicsContext3D();
-
     virtual void setVisibilityState(WebPageVisibilityState, bool);
 
     WebCore::PopupContainer* selectPopup() const { return m_selectPopup.get(); }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to