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

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

Issue 100053005: Allow AllocateGpuMemoryBuffer to be called from multiple threads. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 HistogramCustomizer histogram_customizer_; 497 HistogramCustomizer histogram_customizer_;
498 498
499 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; 499 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_;
500 500
501 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; 501 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_;
502 502
503 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 503 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
504 504
505 base::ProcessId renderer_process_id_; 505 base::ProcessId renderer_process_id_;
506 506
507 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from
508 // multiple threads. Current allocation mechanism for IOSurface
509 // backed GpuMemoryBuffers prevent this. crbug.com/325045
510 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_;
511
512 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 507 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
513 }; 508 };
514 509
515 } // namespace content 510 } // namespace content
516 511
517 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 512 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698