Title: [102980] trunk/Source/WebKit/chromium
- Revision
- 102980
- Author
- [email protected]
- Date
- 2011-12-15 13:34:02 -0800 (Thu, 15 Dec 2011)
Log Message
[chromium] Add forUseOnAnotherThread to WebGraphicsContext3D::Attributes
https://bugs.webkit.org/show_bug.cgi?id=74557
Reviewed by Kenneth Russell.
* public/platform/WebGraphicsContext3D.h:
(WebKit::WebGraphicsContext3D::Attributes::Attributes):
* src/GraphicsContext3DChromium.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (102979 => 102980)
--- trunk/Source/WebKit/chromium/ChangeLog 2011-12-15 21:30:21 UTC (rev 102979)
+++ trunk/Source/WebKit/chromium/ChangeLog 2011-12-15 21:34:02 UTC (rev 102980)
@@ -1,3 +1,14 @@
+2011-12-15 Nat Duca <[email protected]>
+
+ [chromium] Add forUseOnAnotherThread to WebGraphicsContext3D::Attributes
+ https://bugs.webkit.org/show_bug.cgi?id=74557
+
+ Reviewed by Kenneth Russell.
+
+ * public/platform/WebGraphicsContext3D.h:
+ (WebKit::WebGraphicsContext3D::Attributes::Attributes):
+ * src/GraphicsContext3DChromium.cpp:
+
2011-12-15 Tommy Widenflycht <[email protected]>
[chromium] MediaStream API: Fixing #include statements and removing forwarding header file
Modified: trunk/Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h (102979 => 102980)
--- trunk/Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h 2011-12-15 21:30:21 UTC (rev 102979)
+++ trunk/Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h 2011-12-15 21:34:02 UTC (rev 102980)
@@ -97,6 +97,7 @@
, canRecoverFromContextLoss(true)
, noExtensions(false)
, shareResources(true)
+ , forUseOnAnotherThread(false)
{
}
@@ -108,6 +109,7 @@
bool canRecoverFromContextLoss;
bool noExtensions;
bool shareResources;
+ bool forUseOnAnotherThread;
};
class WebGraphicsContextLostCallback {
Modified: trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp (102979 => 102980)
--- trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp 2011-12-15 21:30:21 UTC (rev 102979)
+++ trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp 2011-12-15 21:34:02 UTC (rev 102980)
@@ -150,6 +150,7 @@
webAttributes.canRecoverFromContextLoss = attrs.canRecoverFromContextLoss;
webAttributes.noExtensions = attrs.noExtensions;
webAttributes.shareResources = attrs.shareResources;
+ webAttributes.forUseOnAnotherThread = threadUsage == GraphicsContext3DPrivate::ForUseOnAnotherThread;
OwnPtr<WebKit::WebGraphicsContext3D> webContext = adoptPtr(WebKit::webKitPlatformSupport()->createGraphicsContext3D());
if (!webContext)
return 0;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes