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

Unified Diff: gpu/command_buffer/client/gl_in_process_context.h

Issue 20017005: gpu: Refactor GpuMemoryBuffer framework for multi-process support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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: gpu/command_buffer/client/gl_in_process_context.h
diff --git a/gpu/command_buffer/client/gl_in_process_context.h b/gpu/command_buffer/client/gl_in_process_context.h
index c4fb70f6daf371f38b13c36e3ff03509594be2bd..9e38b1c84bf2041bad89f4334f0e809b62dc97af 100644
--- a/gpu/command_buffer/client/gl_in_process_context.h
+++ b/gpu/command_buffer/client/gl_in_process_context.h
@@ -21,15 +21,14 @@ namespace gles2 {
class GLES2Implementation;
}
-class GpuMemoryBuffer;
+class GpuMemoryBufferFactory;
class GLES2_IMPL_EXPORT GLInProcessContext {
public:
virtual ~GLInProcessContext() {}
- typedef scoped_ptr< ::gpu::GpuMemoryBuffer> GpuMemoryBufferCreator(
- int width, int height);
- static void SetGpuMemoryBufferCreator(GpuMemoryBufferCreator* creator);
+ // Must be called before any GLInProcessContext instances are created.
+ static void SetGpuMemoryBufferFactory(GpuMemoryBufferFactory* factory);
// Must be called before any GLInProcessContext instances are created.
// Default value is false.

Powered by Google App Engine
This is Rietveld 408576698