| 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 7fb30ca84966e4e8d33a94de1554ecab0075d515..853b6388f2650cf6b0f16f439dc6791b8207e6b7 100644
|
| --- a/third_party/WebKit/public/platform/WebGraphicsContext3D.h
|
| +++ b/third_party/WebKit/public/platform/WebGraphicsContext3D.h
|
| @@ -63,15 +63,6 @@ typedef struct __WGC3Dsync *WGC3Dsync;
|
| // Typedef for server-side objects like OpenGL textures and program objects.
|
| typedef WGC3Duint WebGLId;
|
|
|
| -struct WebGLInfo {
|
| - WGC3Duint vendorId;
|
| - WGC3Duint deviceId;
|
| - WebString vendorInfo;
|
| - WebString rendererInfo;
|
| - WebString driverVersion;
|
| - WebString contextInfoCollectionFailure;
|
| -};
|
| -
|
| // This interface abstracts the operations performed by the
|
| // GraphicsContext3D in order to implement WebGL. Nearly all of the
|
| // methods exposed on this interface map directly to entry points in
|
| @@ -123,6 +114,30 @@ public:
|
| WebString topDocumentURL;
|
| };
|
|
|
| + struct WebGraphicsContext3DInfo {
|
| + WebGraphicsContext3DInfo()
|
| + : vendorId(0)
|
| + , deviceId(0)
|
| + , processCrashCount(0)
|
| + , resetNotificationStrategy(false)
|
| + , sandboxed(false)
|
| + , testFailContext(false)
|
| + {
|
| + }
|
| + unsigned vendorId;
|
| + unsigned deviceId;
|
| + unsigned processCrashCount;
|
| + unsigned resetNotificationStrategy;
|
| + bool sandboxed;
|
| + bool amdSwitchable;
|
| + bool optimus;
|
| + WebString vendorInfo;
|
| + WebString rendererInfo;
|
| + WebString driverVersion;
|
| + WebString errorMessage;
|
| + bool testFailContext;
|
| + };
|
| +
|
| class WebGraphicsContextLostCallback {
|
| public:
|
| virtual void onContextLost() = 0;
|
|
|