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

Side by Side Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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/compositor/buffer_queue.h ('k') | content/browser/compositor/reflector_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/compositor/gpu_process_transport_factory.h" 5 #include "content/browser/compositor/gpu_process_transport_factory.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 25 matching lines...) Expand all
36 #include "content/common/gpu/gpu_process_launch_causes.h" 36 #include "content/common/gpu/gpu_process_launch_causes.h"
37 #include "content/common/host_shared_bitmap_manager.h" 37 #include "content/common/host_shared_bitmap_manager.h"
38 #include "content/public/common/content_switches.h" 38 #include "content/public/common/content_switches.h"
39 #include "gpu/GLES2/gl2extchromium.h" 39 #include "gpu/GLES2/gl2extchromium.h"
40 #include "gpu/command_buffer/client/gles2_interface.h" 40 #include "gpu/command_buffer/client/gles2_interface.h"
41 #include "gpu/command_buffer/common/mailbox.h" 41 #include "gpu/command_buffer/common/mailbox.h"
42 #include "third_party/khronos/GLES2/gl2.h" 42 #include "third_party/khronos/GLES2/gl2.h"
43 #include "ui/compositor/compositor.h" 43 #include "ui/compositor/compositor.h"
44 #include "ui/compositor/compositor_constants.h" 44 #include "ui/compositor/compositor_constants.h"
45 #include "ui/compositor/compositor_switches.h" 45 #include "ui/compositor/compositor_switches.h"
46 #include "ui/gfx/geometry/size.h"
46 #include "ui/gfx/native_widget_types.h" 47 #include "ui/gfx/native_widget_types.h"
47 #include "ui/gfx/size.h"
48 48
49 #if defined(OS_WIN) 49 #if defined(OS_WIN)
50 #include "content/browser/compositor/software_output_device_win.h" 50 #include "content/browser/compositor/software_output_device_win.h"
51 #elif defined(USE_OZONE) 51 #elif defined(USE_OZONE)
52 #include "content/browser/compositor/overlay_candidate_validator_ozone.h" 52 #include "content/browser/compositor/overlay_candidate_validator_ozone.h"
53 #include "content/browser/compositor/software_output_device_ozone.h" 53 #include "content/browser/compositor/software_output_device_ozone.h"
54 #include "ui/ozone/public/surface_factory_ozone.h" 54 #include "ui/ozone/public/surface_factory_ozone.h"
55 #elif defined(USE_X11) 55 #elif defined(USE_X11)
56 #include "content/browser/compositor/software_output_device_x11.h" 56 #include "content/browser/compositor/software_output_device_x11.h"
57 #elif defined(OS_MACOSX) 57 #elif defined(OS_MACOSX)
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 FOR_EACH_OBSERVER(ImageTransportFactoryObserver, 537 FOR_EACH_OBSERVER(ImageTransportFactoryObserver,
538 observer_list_, 538 observer_list_,
539 OnLostResources()); 539 OnLostResources());
540 540
541 // Kill things that use the shared context before killing the shared context. 541 // Kill things that use the shared context before killing the shared context.
542 lost_gl_helper.reset(); 542 lost_gl_helper.reset();
543 lost_shared_main_thread_contexts = NULL; 543 lost_shared_main_thread_contexts = NULL;
544 } 544 }
545 545
546 } // namespace content 546 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/compositor/buffer_queue.h ('k') | content/browser/compositor/reflector_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698