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

Unified Diff: Source/WebCore/platform/graphics/surfaces/glx/GLXSurface.h

Issue 13046002: Revert 146458 "[EFL][WebGL] Implement a common GraphicsSurface I..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1451/
Patch Set: Created 7 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
Index: Source/WebCore/platform/graphics/surfaces/glx/GLXSurface.h
===================================================================
--- Source/WebCore/platform/graphics/surfaces/glx/GLXSurface.h (revision 146732)
+++ Source/WebCore/platform/graphics/surfaces/glx/GLXSurface.h (working copy)
@@ -37,7 +37,7 @@
class GLXTransportSurface : public GLTransportSurface {
public:
- GLXTransportSurface(const IntSize&, SurfaceAttributes);
+ GLXTransportSurface(SurfaceAttributes);
virtual ~GLXTransportSurface();
virtual PlatformSurfaceConfig configuration() OVERRIDE;
virtual void swapBuffers() OVERRIDE;
@@ -46,6 +46,7 @@
virtual void destroy() OVERRIDE;
private:
+ void initialize();
OwnPtr<GLXConfigSelector> m_configSelector;
};
@@ -65,19 +66,6 @@
GLXPixmap m_glxPixmap;
};
-class GLXTransportSurfaceClient : public GLTransportSurfaceClient {
-
-public:
- GLXTransportSurfaceClient(const PlatformBufferHandle);
- virtual ~GLXTransportSurfaceClient();
- virtual void prepareTexture() OVERRIDE;
- virtual void destroy() OVERRIDE;
-
-private:
- Pixmap m_xPixmap;
- GLXPixmap m_glxPixmap;
-};
-
}
#endif

Powered by Google App Engine
This is Rietveld 408576698