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

Unified Diff: third_party/WebKit/public/platform/WebGraphicsContext3D.h

Issue 1844363003: Move WebGraphicsContext3D::Attributes to Platform::ContextAttributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rm-alphadepthetc
Patch Set: move-attributes: rebase Created 4 years, 9 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 | « third_party/WebKit/public/platform/Platform.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebGraphicsContext3D.h
diff --git a/third_party/WebKit/public/platform/WebGraphicsContext3D.h b/third_party/WebKit/public/platform/WebGraphicsContext3D.h
index b81e265fc0809d99d621e41b126277564fa25d55..9f2dd4222a37b14c9a88b7580e20774c07226a67 100644
--- a/third_party/WebKit/public/platform/WebGraphicsContext3D.h
+++ b/third_party/WebKit/public/platform/WebGraphicsContext3D.h
@@ -31,19 +31,10 @@
#ifndef WebGraphicsContext3D_h
#define WebGraphicsContext3D_h
-#include "WebCommon.h"
#include "WebNonCopyable.h"
-#include "WebString.h"
-
-namespace gpu {
-namespace gles2 {
-class GLES2Interface;
-}
-}
-
-struct GrGLInterface;
namespace blink {
+class WebString;
// This interface abstracts the operations performed by the
// GraphicsContext3D in order to implement WebGL. Nearly all of the
@@ -51,19 +42,6 @@ namespace blink {
// the OpenGL ES 2.0 API.
class WebGraphicsContext3D : public WebNonCopyable {
public:
- // Context creation attributes.
- struct Attributes {
- bool shareResources = true;
- bool preferDiscreteGPU = false;
- bool noAutomaticFlushes = false;
- bool failIfMajorPerformanceCaveat = false;
- unsigned webGLVersion = 0;
- // FIXME: ideally this would be a WebURL, but it is currently not
- // possible to pass a WebURL by value across the WebKit API boundary.
- // See https://bugs.webkit.org/show_bug.cgi?id=103793#c13 .
- WebString topDocumentURL;
- };
-
class WebGraphicsContextLostCallback {
public:
virtual void onContextLost() = 0;
« no previous file with comments | « third_party/WebKit/public/platform/Platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698