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

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

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 5 years, 2 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 | « components/mus/gles2/command_buffer_driver.h ('k') | components/mus/gles2/command_buffer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/command_buffer_driver.cc
diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc
index a03ad56ac03c6b10f2405a412c7bf209d63abf15..8bfba339c4be2411e5637de96034936f66011721 100644
--- a/components/mus/gles2/command_buffer_driver.cc
+++ b/components/mus/gles2/command_buffer_driver.cc
@@ -44,16 +44,16 @@ CommandBufferDriver::~CommandBufferDriver() {
}
void CommandBufferDriver::Initialize(
- mojo::InterfacePtrInfo<mojo::CommandBufferSyncClient> sync_client,
- mojo::InterfacePtrInfo<mojo::CommandBufferLostContextObserver>
+ mojo::InterfacePtrInfo<mojom::CommandBufferSyncClient> sync_client,
+ mojo::InterfacePtrInfo<mojom::CommandBufferLostContextObserver>
loss_observer,
mojo::ScopedSharedBufferHandle shared_state,
mojo::Array<int32_t> attribs) {
sync_client_ = mojo::MakeProxy(sync_client.Pass());
loss_observer_ = mojo::MakeProxy(loss_observer.Pass());
bool success = DoInitialize(shared_state.Pass(), attribs.Pass());
- mojo::GpuCapabilitiesPtr capabilities =
- success ? mojo::GpuCapabilities::From(decoder_->GetCapabilities())
+ mojom::GpuCapabilitiesPtr capabilities =
+ success ? mojom::GpuCapabilities::From(decoder_->GetCapabilities())
: nullptr;
sync_client_->DidInitialize(success, capabilities.Pass());
}
@@ -168,7 +168,7 @@ void CommandBufferDriver::Flush(int32_t put_offset) {
void CommandBufferDriver::MakeProgress(int32_t last_get_offset) {
// TODO(piman): handle out-of-order.
sync_client_->DidMakeProgress(
- mojo::CommandBufferState::From(command_buffer_->GetLastState()));
+ mojom::CommandBufferState::From(command_buffer_->GetLastState()));
}
void CommandBufferDriver::RegisterTransferBuffer(
« no previous file with comments | « components/mus/gles2/command_buffer_driver.h ('k') | components/mus/gles2/command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698