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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h

Issue 2815103003: Disables software to accelerated canvas update on Linux AMD GPUs (Closed)
Patch Set: merge Created 3 years, 8 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
Index: third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h
index cbd4fe925ae5a5501e89c78ef446d2028e002832..d773626ae34c65d41256a883f3d72d4ea92120c4 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h
@@ -34,6 +34,9 @@ class PLATFORM_EXPORT SharedGpuContext {
Gl(); // May re-create context if context was lost
static GrContext* Gr(); // May re-create context if context was lost
static bool IsValid(); // May re-create context if context was lost
+ // May re-create context if context was lost
+ static bool AllowSoftwareToAcceleratedCanvasUpgrade();
+
static bool IsValidWithoutRestoring();
typedef std::function<std::unique_ptr<WebGraphicsContext3DProvider>()>
ContextProviderFactory;

Powered by Google App Engine
This is Rietveld 408576698