[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

commit-queue at webkit.org commit-queue at webkit.org
Mon Feb 21 00:05:16 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit b4cb589fdd3eea2132fde8d78d4746321a692025
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jan 28 00:36:18 2011 +0000

    2011-01-27  Alexey Marinichev  <amarinichev at chromium.org>
    
            Reviewed by Kenneth Russell.
    
            Add a callback to WebGraphicsContext3D that is called when a context is lost
            https://bugs.webkit.org/show_bug.cgi?id=53153
    
            * public/WebGraphicsContext3D.h:
            (WebKit::WebGraphicsContext3D::setContextLostCallback):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76862 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/WebKit/chromium/ChangeLog b/Source/WebKit/chromium/ChangeLog
index e2ae215..81b22c1 100644
--- a/Source/WebKit/chromium/ChangeLog
+++ b/Source/WebKit/chromium/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-27  Alexey Marinichev  <amarinichev at chromium.org>
+
+        Reviewed by Kenneth Russell.
+
+        Add a callback to WebGraphicsContext3D that is called when a context is lost
+        https://bugs.webkit.org/show_bug.cgi?id=53153
+
+        * public/WebGraphicsContext3D.h:
+        (WebKit::WebGraphicsContext3D::setContextLostCallback):
+
 2011-01-27  Mihai Parparita  <mihaip at chromium.org>
 
         Unreviewed, fixed upstream Chromium build
diff --git a/Source/WebKit/chromium/public/WebGraphicsContext3D.h b/Source/WebKit/chromium/public/WebGraphicsContext3D.h
index 82fe81a..4cff2d5 100644
--- a/Source/WebKit/chromium/public/WebGraphicsContext3D.h
+++ b/Source/WebKit/chromium/public/WebGraphicsContext3D.h
@@ -76,6 +76,11 @@ public:
         bool canRecoverFromContextLoss;
     };
 
+    class WebGraphicsContextLostCallback {
+    public:
+        virtual void onContextLost() = 0;
+    };
+
     // This destructor needs to be public so that using classes can destroy instances if initialization fails.
     virtual ~WebGraphicsContext3D() {}
 
@@ -328,6 +333,8 @@ public:
     virtual void deleteRenderbuffer(unsigned) = 0;
     virtual void deleteShader(unsigned) = 0;
     virtual void deleteTexture(unsigned) = 0;
+
+    virtual void setContextLostCallback(WebGraphicsContextLostCallback* callback) {}
 };
 
 } // namespace WebKit

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list