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

Side by Side Diff: gpu/ipc/gl_in_process_context.cc

Issue 2493913002: Mus: Move InProcessCommandBuffer and GLInProcessContext to gpu/ipc (Closed)
Patch Set: Fixed casts on windows Created 4 years, 1 month 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 | « gpu/ipc/gl_in_process_context.h ('k') | gpu/ipc/gl_in_process_context_export.h » ('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 #include "gpu/command_buffer/client/gl_in_process_context.h" 5 #include "gpu/ipc/gl_in_process_context.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <set> 11 #include <set>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include <GLES2/gl2.h> 15 #include <GLES2/gl2.h>
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 if (!context->Initialize(surface, is_offscreen, share_context, window, 203 if (!context->Initialize(surface, is_offscreen, share_context, window,
204 attribs, service, memory_limits, 204 attribs, service, memory_limits,
205 gpu_memory_buffer_manager, image_factory, 205 gpu_memory_buffer_manager, image_factory,
206 std::move(task_runner))) 206 std::move(task_runner)))
207 return NULL; 207 return NULL;
208 208
209 return context.release(); 209 return context.release();
210 } 210 }
211 211
212 } // namespace gpu 212 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/ipc/gl_in_process_context.h ('k') | gpu/ipc/gl_in_process_context_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698