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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 virtual bool IsMainThread() OVERRIDE; | 402 virtual bool IsMainThread() OVERRIDE; |
403 virtual base::MessageLoop* GetMainLoop() OVERRIDE; | 403 virtual base::MessageLoop* GetMainLoop() OVERRIDE; |
404 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; | 404 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; |
405 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( | 405 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( |
406 size_t size) OVERRIDE; | 406 size_t size) OVERRIDE; |
407 virtual bool CreateViewCommandBuffer( | 407 virtual bool CreateViewCommandBuffer( |
408 int32 surface_id, | 408 int32 surface_id, |
409 const GPUCreateCommandBufferConfig& init_params, | 409 const GPUCreateCommandBufferConfig& init_params, |
410 int32 route_id) OVERRIDE; | 410 int32 route_id) OVERRIDE; |
411 virtual void CreateImage( | 411 virtual void CreateImage( |
412 gfx::PluginWindowHandle window, | 412 const gfx::GpuMemoryBufferHandle& handle, |
| 413 const gfx::Size& size, |
| 414 unsigned internalformat, |
413 int32 image_id, | 415 int32 image_id, |
414 const CreateImageCallback& callback) OVERRIDE; | 416 const CreateImageCallback& callback) OVERRIDE; |
415 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; | 417 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; |
416 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( | 418 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( |
417 size_t width, | 419 size_t width, |
418 size_t height, | 420 size_t height, |
419 unsigned internalformat, | 421 unsigned internalformat, |
420 unsigned usage) OVERRIDE; | 422 unsigned usage) OVERRIDE; |
421 | 423 |
422 // mojo::ServiceProvider implementation: | 424 // mojo::ServiceProvider implementation: |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 bool is_distance_field_text_enabled_; | 569 bool is_distance_field_text_enabled_; |
568 bool is_zero_copy_enabled_; | 570 bool is_zero_copy_enabled_; |
569 bool is_one_copy_enabled_; | 571 bool is_one_copy_enabled_; |
570 | 572 |
571 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 573 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
572 }; | 574 }; |
573 | 575 |
574 } // namespace content | 576 } // namespace content |
575 | 577 |
576 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 578 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |