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

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

Issue 1844843002: android: Remove in-process video path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove commented out code + rebase again Created 4 years, 8 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_ipc_browsertests.cc ('k') | content/content_browser.gypi » ('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 "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 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include "content/browser/gpu/compositor_util.h" 51 #include "content/browser/gpu/compositor_util.h"
52 #include "content/browser/gpu/gpu_surface_tracker.h" 52 #include "content/browser/gpu/gpu_surface_tracker.h"
53 #include "content/browser/renderer_host/render_widget_host_impl.h" 53 #include "content/browser/renderer_host/render_widget_host_impl.h"
54 #include "content/common/gpu/client/context_provider_command_buffer.h" 54 #include "content/common/gpu/client/context_provider_command_buffer.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_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"
62 #include "gpu/command_buffer/client/context_support.h" 61 #include "gpu/command_buffer/client/context_support.h"
63 #include "gpu/command_buffer/client/gles2_interface.h" 62 #include "gpu/command_buffer/client/gles2_interface.h"
64 #include "gpu/ipc/client/command_buffer_proxy_impl.h" 63 #include "gpu/ipc/client/command_buffer_proxy_impl.h"
65 #include "gpu/ipc/client/gpu_channel_host.h" 64 #include "gpu/ipc/client/gpu_channel_host.h"
66 #include "third_party/khronos/GLES2/gl2.h" 65 #include "third_party/khronos/GLES2/gl2.h"
67 #include "third_party/khronos/GLES2/gl2ext.h" 66 #include "third_party/khronos/GLES2/gl2ext.h"
68 #include "third_party/skia/include/core/SkMallocPixelRef.h" 67 #include "third_party/skia/include/core/SkMallocPixelRef.h"
69 #include "ui/android/window_android.h" 68 #include "ui/android/window_android.h"
70 #include "ui/gfx/android/device_display_info.h" 69 #include "ui/gfx/android/device_display_info.h"
71 #include "ui/gfx/swap_result.h" 70 #include "ui/gfx/swap_result.h"
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 656
658 void CompositorImpl::SetNeedsAnimate() { 657 void CompositorImpl::SetNeedsAnimate() {
659 needs_animate_ = true; 658 needs_animate_ = true;
660 if (!host_->visible()) 659 if (!host_->visible())
661 return; 660 return;
662 661
663 host_->SetNeedsAnimate(); 662 host_->SetNeedsAnimate();
664 } 663 }
665 664
666 } // namespace content 665 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_ipc_browsertests.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698