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

Side by Side Diff: content/gpu/gpu_child_thread.h

Issue 2744363002: Clear shader disk cache after glProgramBinary failure. (Closed)
Patch Set: Remove singleton and clean up init Created 3 years, 9 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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_GPU_GPU_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool OnMessageReceived(const IPC::Message& msg) override; 93 bool OnMessageReceived(const IPC::Message& msg) override;
94 94
95 // IPC::Listener implementation via ChildThreadImpl: 95 // IPC::Listener implementation via ChildThreadImpl:
96 void OnAssociatedInterfaceRequest( 96 void OnAssociatedInterfaceRequest(
97 const std::string& name, 97 const std::string& name,
98 mojo::ScopedInterfaceEndpointHandle handle) override; 98 mojo::ScopedInterfaceEndpointHandle handle) override;
99 99
100 // ui::mojom::GpuMain: 100 // ui::mojom::GpuMain:
101 void CreateGpuService(ui::mojom::GpuServiceRequest request, 101 void CreateGpuService(ui::mojom::GpuServiceRequest request,
102 ui::mojom::GpuHostPtr gpu_host, 102 ui::mojom::GpuHostPtr gpu_host,
103 const gpu::GpuPreferences& preferences) override; 103 const gpu::GpuPreferences& preferences,
104 mojo::ScopedSharedBufferHandle activity_flags) override;
104 void CreateDisplayCompositor( 105 void CreateDisplayCompositor(
105 cc::mojom::DisplayCompositorRequest request, 106 cc::mojom::DisplayCompositorRequest request,
106 cc::mojom::DisplayCompositorClientPtr client) override; 107 cc::mojom::DisplayCompositorClientPtr client) override;
107 108
108 // base::FieldTrialList::Observer: 109 // base::FieldTrialList::Observer:
109 void OnFieldTrialGroupFinalized(const std::string& trial_name, 110 void OnFieldTrialGroupFinalized(const std::string& trial_name,
110 const std::string& group_name) override; 111 const std::string& group_name) override;
111 112
112 // Message handlers. 113 // Message handlers.
113 void OnFinalize(); 114 void OnFinalize();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 AssociatedInterfaceRegistryImpl associated_interfaces_; 156 AssociatedInterfaceRegistryImpl associated_interfaces_;
156 std::unique_ptr<ui::GpuService> gpu_service_; 157 std::unique_ptr<ui::GpuService> gpu_service_;
157 mojo::AssociatedBinding<ui::mojom::GpuMain> gpu_main_binding_; 158 mojo::AssociatedBinding<ui::mojom::GpuMain> gpu_main_binding_;
158 159
159 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 160 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
160 }; 161 };
161 162
162 } // namespace content 163 } // namespace content
163 164
164 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 165 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698