Chromium Code Reviews| Index: content/common/gpu/gpu_command_buffer_stub.h |
| diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h |
| index 87961814ce01858d450858c8fb4b41af97f1c68b..c0a29123a34f47b01eeac92aadbd8405b0f7e399 100644 |
| --- a/content/common/gpu/gpu_command_buffer_stub.h |
| +++ b/content/common/gpu/gpu_command_buffer_stub.h |
| @@ -49,8 +49,7 @@ class GpuCommandBufferStub |
| const std::vector<int32>& attribs, |
| gfx::GpuPreference gpu_preference, |
| int32 route_id, |
| - int32 client_id, |
| - int32 render_view_id, |
| + int32 surface_id, |
| GpuWatchdog* watchdog, |
| bool software); |
| @@ -74,11 +73,8 @@ class GpuCommandBufferStub |
| gpu::gles2::GLES2Decoder* decoder() const { return decoder_.get(); } |
| gpu::GpuScheduler* scheduler() const { return scheduler_.get(); } |
| - // Identifies the renderer process. |
| - int32 client_id() const { return client_id_; } |
| - |
| - // Identifies a particular renderer belonging to the same renderer process. |
| - int32 render_view_id() const { return render_view_id_; } |
| + // Identifies the target surface. |
| + int32 surface_id() const { return surface_id_; } |
| // Identifies the various GpuCommandBufferStubs in the GPU process belonging |
| // to the same renderer process. |
| @@ -146,10 +142,9 @@ class GpuCommandBufferStub |
| bool software_; |
| uint32 last_flush_count_; |
| - // The following two fields are used on Mac OS X to identify the window |
| - // for the rendering results on the browser side. |
| - int32 client_id_; |
| - int32 render_view_id_; |
| + // The following two fields is used to identify the window for the rendering |
|
jonathan.backer
2012/01/16 19:47:26
s/two fields/field
piman
2012/01/17 19:40:54
Done. I simplified the comment a bit (because we o
|
| + // results on the browser side. |
| + int32 surface_id_; |
| scoped_ptr<gpu::CommandBufferService> command_buffer_; |
| scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; |