| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 // GpuChannelHostFactory implementation: | 407 // GpuChannelHostFactory implementation: |
| 408 virtual bool IsMainThread() OVERRIDE; | 408 virtual bool IsMainThread() OVERRIDE; |
| 409 virtual base::MessageLoop* GetMainLoop() OVERRIDE; | 409 virtual base::MessageLoop* GetMainLoop() OVERRIDE; |
| 410 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; | 410 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; |
| 411 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( | 411 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( |
| 412 size_t size) OVERRIDE; | 412 size_t size) OVERRIDE; |
| 413 virtual bool CreateViewCommandBuffer( | 413 virtual bool CreateViewCommandBuffer( |
| 414 int32 surface_id, | 414 int32 surface_id, |
| 415 const GPUCreateCommandBufferConfig& init_params, | 415 const GPUCreateCommandBufferConfig& init_params, |
| 416 int32 route_id) OVERRIDE; | 416 int32 route_id) OVERRIDE; |
| 417 virtual void CreateImage( | |
| 418 gfx::PluginWindowHandle window, | |
| 419 int32 image_id, | |
| 420 const CreateImageCallback& callback) OVERRIDE; | |
| 421 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; | |
| 422 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( | 417 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( |
| 423 size_t width, | 418 size_t width, |
| 424 size_t height, | 419 size_t height, |
| 425 unsigned internalformat, | 420 unsigned internalformat, |
| 426 unsigned usage) OVERRIDE; | 421 unsigned usage) OVERRIDE; |
| 427 | 422 |
| 428 // mojo::ServiceProvider implementation: | 423 // mojo::ServiceProvider implementation: |
| 429 virtual void ConnectToService( | 424 virtual void ConnectToService( |
| 430 const mojo::String& service_url, | 425 const mojo::String& service_url, |
| 431 const mojo::String& service_name, | 426 const mojo::String& service_name, |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 bool is_distance_field_text_enabled_; | 574 bool is_distance_field_text_enabled_; |
| 580 bool is_zero_copy_enabled_; | 575 bool is_zero_copy_enabled_; |
| 581 bool is_one_copy_enabled_; | 576 bool is_one_copy_enabled_; |
| 582 | 577 |
| 583 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 578 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 584 }; | 579 }; |
| 585 | 580 |
| 586 } // namespace content | 581 } // namespace content |
| 587 | 582 |
| 588 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 583 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |