| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 bool IsGpuRasterizationForced() override; | 199 bool IsGpuRasterizationForced() override; |
| 200 bool IsGpuRasterizationEnabled() override; | 200 bool IsGpuRasterizationEnabled() override; |
| 201 bool IsAsyncWorkerContextEnabled() override; | 201 bool IsAsyncWorkerContextEnabled() override; |
| 202 int GetGpuRasterizationMSAASampleCount() override; | 202 int GetGpuRasterizationMSAASampleCount() override; |
| 203 bool IsLcdTextEnabled() override; | 203 bool IsLcdTextEnabled() override; |
| 204 bool IsDistanceFieldTextEnabled() override; | 204 bool IsDistanceFieldTextEnabled() override; |
| 205 bool IsZeroCopyEnabled() override; | 205 bool IsZeroCopyEnabled() override; |
| 206 bool IsPartialRasterEnabled() override; | 206 bool IsPartialRasterEnabled() override; |
| 207 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; | 207 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; |
| 208 bool IsElasticOverscrollEnabled() override; | 208 bool IsElasticOverscrollEnabled() override; |
| 209 std::vector<unsigned> GetImageTextureTargets() override; | 209 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; |
| 210 scoped_refptr<base::SingleThreadTaskRunner> | 210 scoped_refptr<base::SingleThreadTaskRunner> |
| 211 GetCompositorMainThreadTaskRunner() override; | 211 GetCompositorMainThreadTaskRunner() override; |
| 212 scoped_refptr<base::SingleThreadTaskRunner> | 212 scoped_refptr<base::SingleThreadTaskRunner> |
| 213 GetCompositorImplThreadTaskRunner() override; | 213 GetCompositorImplThreadTaskRunner() override; |
| 214 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | 214 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
| 215 scheduler::RendererScheduler* GetRendererScheduler() override; | 215 scheduler::RendererScheduler* GetRendererScheduler() override; |
| 216 std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( | 216 std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( |
| 217 int routing_id) override; | 217 int routing_id) override; |
| 218 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override; | 218 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override; |
| 219 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 219 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 bool is_gpu_rasterization_enabled_; | 651 bool is_gpu_rasterization_enabled_; |
| 652 bool is_gpu_rasterization_forced_; | 652 bool is_gpu_rasterization_forced_; |
| 653 bool is_async_worker_context_enabled_; | 653 bool is_async_worker_context_enabled_; |
| 654 int gpu_rasterization_msaa_sample_count_; | 654 int gpu_rasterization_msaa_sample_count_; |
| 655 bool is_lcd_text_enabled_; | 655 bool is_lcd_text_enabled_; |
| 656 bool is_distance_field_text_enabled_; | 656 bool is_distance_field_text_enabled_; |
| 657 bool is_zero_copy_enabled_; | 657 bool is_zero_copy_enabled_; |
| 658 bool is_gpu_memory_buffer_compositor_resources_enabled_; | 658 bool is_gpu_memory_buffer_compositor_resources_enabled_; |
| 659 bool is_partial_raster_enabled_; | 659 bool is_partial_raster_enabled_; |
| 660 bool is_elastic_overscroll_enabled_; | 660 bool is_elastic_overscroll_enabled_; |
| 661 std::vector<unsigned> use_image_texture_targets_; | 661 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; |
| 662 std::vector<unsigned> use_video_frame_image_texture_targets_; | |
| 663 bool are_image_decode_tasks_enabled_; | 662 bool are_image_decode_tasks_enabled_; |
| 664 bool is_threaded_animation_enabled_; | 663 bool is_threaded_animation_enabled_; |
| 665 | 664 |
| 666 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> { | 665 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> { |
| 667 public: | 666 public: |
| 668 PendingFrameCreate(int routing_id, | 667 PendingFrameCreate(int routing_id, |
| 669 mojom::FrameRequest frame_request, | 668 mojom::FrameRequest frame_request, |
| 670 mojom::FrameHostPtr frame_host); | 669 mojom::FrameHostPtr frame_host); |
| 671 | 670 |
| 672 mojom::FrameRequest TakeFrameRequest() { return std::move(frame_request_); } | 671 mojom::FrameRequest TakeFrameRequest() { return std::move(frame_request_); } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 699 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 698 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 700 }; | 699 }; |
| 701 | 700 |
| 702 #if defined(COMPILER_MSVC) | 701 #if defined(COMPILER_MSVC) |
| 703 #pragma warning(pop) | 702 #pragma warning(pop) |
| 704 #endif | 703 #endif |
| 705 | 704 |
| 706 } // namespace content | 705 } // namespace content |
| 707 | 706 |
| 708 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 707 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |