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

Unified Diff: components/mus/gles2/command_buffer_driver.h

Issue 1346113003: Mandoline: WebGL: Pass context creation attributes to GPU. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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: components/mus/gles2/command_buffer_driver.h
diff --git a/components/mus/gles2/command_buffer_driver.h b/components/mus/gles2/command_buffer_driver.h
index 09c4c708874a26702331069fbf0a1503fcae1e05..15607f17b88274c3b353c8b3273cb6a01e9d293d 100644
--- a/components/mus/gles2/command_buffer_driver.h
+++ b/components/mus/gles2/command_buffer_driver.h
@@ -49,7 +49,8 @@ class CommandBufferDriver {
void Initialize(mojo::CommandBufferSyncClientPtr sync_client,
mojo::CommandBufferLostContextObserverPtr loss_observer,
- mojo::ScopedSharedBufferHandle shared_state);
+ mojo::ScopedSharedBufferHandle shared_state,
+ mojo::Array<int32_t> attribs);
void SetGetBuffer(int32_t buffer);
void Flush(int32_t put_offset);
void MakeProgress(int32_t last_get_offset);
@@ -68,7 +69,8 @@ class CommandBufferDriver {
private:
bool MakeCurrent();
- bool DoInitialize(mojo::ScopedSharedBufferHandle shared_state);
+ bool DoInitialize(mojo::ScopedSharedBufferHandle shared_state,
+ mojo::Array<int32_t> attribs);
void OnResize(gfx::Size size, float scale_factor);
bool OnWaitSyncPoint(uint32_t sync_point);
void OnSyncPointRetired();
« no previous file with comments | « components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc ('k') | components/mus/gles2/command_buffer_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698