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

Unified Diff: Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.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
« no previous file with comments | « Source/WebCore/PlatformEfl.cmake ('k') | Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.h
===================================================================
--- Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.h (revision 146732)
+++ Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.h (working copy)
@@ -59,37 +59,25 @@
bool makeContextCurrent() const;
private:
-#if USE(GRAPHICS_SURFACE)
- enum PendingOperation {
- Default = 0x00, // No Pending Operation.
- CreateSurface = 0x01,
- Resize = 0x02,
- DeletePreviousSurface = 0x04
- };
-
- typedef unsigned PendingSurfaceOperation;
-#endif
-
GraphicsContext3DPrivate(GraphicsContext3D*, HostWindow*);
bool initialize();
- void createGraphicsSurface();
bool prepareBuffer() const;
void releaseResources();
-
+#if USE(GRAPHICS_SURFACE)
+ bool makeSharedContextCurrent() const;
+#endif
GraphicsContext3D* m_context;
HostWindow* m_hostWindow;
OwnPtr<GLPlatformContext> m_offScreenContext;
OwnPtr<GLPlatformSurface> m_offScreenSurface;
#if USE(GRAPHICS_SURFACE)
+ OwnPtr<GLPlatformContext> m_sharedContext;
+ OwnPtr<GLPlatformSurface> m_sharedSurface;
GraphicsSurfaceToken m_surfaceHandle;
- RefPtr<GraphicsSurface> m_graphicsSurface;
- RefPtr<GraphicsSurface> m_previousGraphicsSurface;
- PendingSurfaceOperation m_surfaceOperation : 3;
#endif
OwnPtr<GraphicsContext3D::ContextLostCallback> m_contextLostCallback;
ListHashSet<GC3Denum> m_syntheticErrors;
IntSize m_size;
- IntRect m_targetRect;
};
} // namespace WebCore
@@ -97,3 +85,4 @@
#endif
#endif
+
« no previous file with comments | « Source/WebCore/PlatformEfl.cmake ('k') | Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698