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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2120713002: Fix use_image_texture_target inconsistencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 5 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 unified diff | Download patch
OLDNEW
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
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::RendererSettings::ImageTextureTargetsMap& GetImageTextureTargets()
210 override;
210 scoped_refptr<base::SingleThreadTaskRunner> 211 scoped_refptr<base::SingleThreadTaskRunner>
211 GetCompositorMainThreadTaskRunner() override; 212 GetCompositorMainThreadTaskRunner() override;
212 scoped_refptr<base::SingleThreadTaskRunner> 213 scoped_refptr<base::SingleThreadTaskRunner>
213 GetCompositorImplThreadTaskRunner() override; 214 GetCompositorImplThreadTaskRunner() override;
214 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; 215 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
215 scheduler::RendererScheduler* GetRendererScheduler() override; 216 scheduler::RendererScheduler* GetRendererScheduler() override;
216 std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( 217 std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
217 int routing_id) override; 218 int routing_id) override;
218 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override; 219 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override;
219 cc::TaskGraphRunner* GetTaskGraphRunner() override; 220 cc::TaskGraphRunner* GetTaskGraphRunner() override;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 bool is_gpu_rasterization_enabled_; 652 bool is_gpu_rasterization_enabled_;
652 bool is_gpu_rasterization_forced_; 653 bool is_gpu_rasterization_forced_;
653 bool is_async_worker_context_enabled_; 654 bool is_async_worker_context_enabled_;
654 int gpu_rasterization_msaa_sample_count_; 655 int gpu_rasterization_msaa_sample_count_;
655 bool is_lcd_text_enabled_; 656 bool is_lcd_text_enabled_;
656 bool is_distance_field_text_enabled_; 657 bool is_distance_field_text_enabled_;
657 bool is_zero_copy_enabled_; 658 bool is_zero_copy_enabled_;
658 bool is_gpu_memory_buffer_compositor_resources_enabled_; 659 bool is_gpu_memory_buffer_compositor_resources_enabled_;
659 bool is_partial_raster_enabled_; 660 bool is_partial_raster_enabled_;
660 bool is_elastic_overscroll_enabled_; 661 bool is_elastic_overscroll_enabled_;
661 std::vector<unsigned> use_image_texture_targets_; 662 cc::RendererSettings::ImageTextureTargetsMap use_image_texture_targets_;
enne (OOO) 2016/07/15 21:39:32 This is maybe a readability nit, but I expect some
ericrk 2016/07/19 20:22:43 Renamed this to "buffer_to_texture_target_map"
662 std::vector<unsigned> use_video_frame_image_texture_targets_; 663 std::vector<unsigned> use_video_frame_image_texture_targets_;
663 bool are_image_decode_tasks_enabled_; 664 bool are_image_decode_tasks_enabled_;
664 bool is_threaded_animation_enabled_; 665 bool is_threaded_animation_enabled_;
665 666
666 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> { 667 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> {
667 public: 668 public:
668 PendingFrameCreate(int routing_id, 669 PendingFrameCreate(int routing_id,
669 mojom::FrameRequest frame_request, 670 mojom::FrameRequest frame_request,
670 mojom::FrameHostPtr frame_host); 671 mojom::FrameHostPtr frame_host);
671 672
(...skipping 27 matching lines...) Expand all
699 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 700 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
700 }; 701 };
701 702
702 #if defined(COMPILER_MSVC) 703 #if defined(COMPILER_MSVC)
703 #pragma warning(pop) 704 #pragma warning(pop)
704 #endif 705 #endif
705 706
706 } // namespace content 707 } // namespace content
707 708
708 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 709 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698