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

Side by Side Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 1825183002: gpu_process_launch_causes => content/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 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
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 "content/browser/renderer_host/compositor_impl_android.h" 5 #include "content/browser/renderer_host/compositor_impl_android.h"
6 6
7 #include <android/bitmap.h> 7 #include <android/bitmap.h>
8 #include <android/native_window_jni.h> 8 #include <android/native_window_jni.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <utility> 10 #include <utility>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "content/browser/compositor/gl_helper.h" 46 #include "content/browser/compositor/gl_helper.h"
47 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" 47 #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
48 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" 48 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h"
49 #include "content/browser/gpu/compositor_util.h" 49 #include "content/browser/gpu/compositor_util.h"
50 #include "content/browser/gpu/gpu_surface_tracker.h" 50 #include "content/browser/gpu/gpu_surface_tracker.h"
51 #include "content/browser/renderer_host/render_widget_host_impl.h" 51 #include "content/browser/renderer_host/render_widget_host_impl.h"
52 #include "content/common/gpu/client/command_buffer_proxy_impl.h" 52 #include "content/common/gpu/client/command_buffer_proxy_impl.h"
53 #include "content/common/gpu/client/context_provider_command_buffer.h" 53 #include "content/common/gpu/client/context_provider_command_buffer.h"
54 #include "content/common/gpu/client/gpu_channel_host.h" 54 #include "content/common/gpu/client/gpu_channel_host.h"
55 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 55 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
56 #include "content/common/gpu/gpu_process_launch_causes.h" 56 #include "content/common/gpu_process_launch_causes.h"
57 #include "content/common/host_shared_bitmap_manager.h" 57 #include "content/common/host_shared_bitmap_manager.h"
58 #include "content/public/browser/android/compositor.h" 58 #include "content/public/browser/android/compositor.h"
59 #include "content/public/browser/android/compositor_client.h" 59 #include "content/public/browser/android/compositor_client.h"
60 #include "content/public/common/content_switches.h" 60 #include "content/public/common/content_switches.h"
61 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h" 61 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h"
62 #include "gpu/command_buffer/client/context_support.h" 62 #include "gpu/command_buffer/client/context_support.h"
63 #include "gpu/command_buffer/client/gles2_interface.h" 63 #include "gpu/command_buffer/client/gles2_interface.h"
64 #include "third_party/khronos/GLES2/gl2.h" 64 #include "third_party/khronos/GLES2/gl2.h"
65 #include "third_party/khronos/GLES2/gl2ext.h" 65 #include "third_party/khronos/GLES2/gl2ext.h"
66 #include "third_party/skia/include/core/SkMallocPixelRef.h" 66 #include "third_party/skia/include/core/SkMallocPixelRef.h"
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 626
627 void CompositorImpl::SetNeedsAnimate() { 627 void CompositorImpl::SetNeedsAnimate() {
628 needs_animate_ = true; 628 needs_animate_ = true;
629 if (!host_->visible()) 629 if (!host_->visible())
630 return; 630 return;
631 631
632 host_->SetNeedsAnimate(); 632 host_->SetNeedsAnimate();
633 } 633 }
634 634
635 } // namespace content 635 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | content/browser/renderer_host/render_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698