Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(985)

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 1153713003: Expose GPU workaround (gl_rgb_format) to the Blink side Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 4e3895d129de7713eb44b763389ae79829c6c806..8a8292355604b1d54c49012689b88a140e0fba59 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -75,6 +75,7 @@
#include "third_party/WebKit/public/platform/WebDeviceLightListener.h"
#include "third_party/WebKit/public/platform/WebFileInfo.h"
#include "third_party/WebKit/public/platform/WebGamepads.h"
+#include "third_party/WebKit/public/platform/WebGPUBlackList.h"
#include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
#include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h"
#include "third_party/WebKit/public/platform/WebPluginListBuilder.h"
@@ -789,6 +790,12 @@ void RendererBlinkPlatformImpl::getPluginList(
#endif
}
+void RendererBlinkPlatformImpl::getGPUBlackList(
+ blink::WebGPUBlackList* blacklist) {
+ // TODO : Get WebPreferences (gl_rgb_support_enabled)
+ blacklist->disableGLRGBFormat(false /* prefs->gl_rgb_support_enabled */);
+}
+
//------------------------------------------------------------------------------
blink::WebPublicSuffixList* RendererBlinkPlatformImpl::publicSuffixList() {
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698