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

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

Issue 766663005: cc: zero/one-copy based on shared memory on IOS uses GL_TEXTURE_2D, not GL_TEXTURE_RECTANGLE_ARB. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use GLES2Util::GetStringEnum instead of kImageTextureExternal Created 6 years 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } 239 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; }
240 240
241 bool is_distance_field_text_enabled() const { 241 bool is_distance_field_text_enabled() const {
242 return is_distance_field_text_enabled_; 242 return is_distance_field_text_enabled_;
243 } 243 }
244 244
245 bool is_zero_copy_enabled() const { return is_zero_copy_enabled_; } 245 bool is_zero_copy_enabled() const { return is_zero_copy_enabled_; }
246 246
247 bool is_one_copy_enabled() const { return is_one_copy_enabled_; } 247 bool is_one_copy_enabled() const { return is_one_copy_enabled_; }
248 248
249 bool use_image_external() const { return use_image_external_; } 249 unsigned use_image_texture_target() const {
250 return use_image_texture_target_;
251 }
250 252
251 AppCacheDispatcher* appcache_dispatcher() const { 253 AppCacheDispatcher* appcache_dispatcher() const {
252 return appcache_dispatcher_.get(); 254 return appcache_dispatcher_.get();
253 } 255 }
254 256
255 DomStorageDispatcher* dom_storage_dispatcher() const { 257 DomStorageDispatcher* dom_storage_dispatcher() const {
256 return dom_storage_dispatcher_.get(); 258 return dom_storage_dispatcher_.get();
257 } 259 }
258 260
259 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const { 261 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const {
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 main_thread_compositor_task_runner_; 578 main_thread_compositor_task_runner_;
577 579
578 // Compositor settings 580 // Compositor settings
579 bool is_gpu_rasterization_enabled_; 581 bool is_gpu_rasterization_enabled_;
580 bool is_gpu_rasterization_forced_; 582 bool is_gpu_rasterization_forced_;
581 bool is_impl_side_painting_enabled_; 583 bool is_impl_side_painting_enabled_;
582 bool is_lcd_text_enabled_; 584 bool is_lcd_text_enabled_;
583 bool is_distance_field_text_enabled_; 585 bool is_distance_field_text_enabled_;
584 bool is_zero_copy_enabled_; 586 bool is_zero_copy_enabled_;
585 bool is_one_copy_enabled_; 587 bool is_one_copy_enabled_;
586 bool use_image_external_; 588 unsigned use_image_texture_target_;
587 589
588 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; 590 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_;
589 591
590 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 592 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
591 }; 593 };
592 594
593 } // namespace content 595 } // namespace content
594 596
595 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 597 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698