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

Unified Diff: gpu/command_buffer/service/gl_context_virtual.h

Issue 2480373002: Refactor context creation parameters into a struct. (Closed)
Patch Set: address piman's comments Created 4 years, 1 month 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/service/gl_context_virtual.h
diff --git a/gpu/command_buffer/service/gl_context_virtual.h b/gpu/command_buffer/service/gl_context_virtual.h
index 312133d7b1528fb73bb23d6d9da7be885e400216..44e353ee4f582619a5effe6ba425967fb85cc753 100644
--- a/gpu/command_buffer/service/gl_context_virtual.h
+++ b/gpu/command_buffer/service/gl_context_virtual.h
@@ -34,7 +34,7 @@ class GPU_EXPORT GLContextVirtual : public gl::GLContext {
// Implement GLContext.
bool Initialize(gl::GLSurface* compatible_surface,
- gl::GpuPreference gpu_preference) override;
+ const gl::GLContextAttribs& attribs) override;
bool MakeCurrent(gl::GLSurface* surface) override;
void ReleaseCurrent(gl::GLSurface* surface) override;
bool IsCurrent(gl::GLSurface* surface) override;

Powered by Google App Engine
This is Rietveld 408576698