OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/common/gpu/media/android_deferred_rendering_backing_strategy.h
" | 5 #include "content/common/gpu/media/android_deferred_rendering_backing_strategy.h
" |
6 | 6 |
7 #include <EGL/egl.h> | 7 #include <EGL/egl.h> |
8 #include <EGL/eglext.h> | 8 #include <EGL/eglext.h> |
9 | 9 |
10 #include "base/android/build_info.h" | 10 #include "base/android/build_info.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
15 #include "content/common/gpu/gpu_channel.h" | |
16 #include "content/common/gpu/media/avda_codec_image.h" | 15 #include "content/common/gpu/media/avda_codec_image.h" |
17 #include "content/common/gpu/media/avda_return_on_failure.h" | 16 #include "content/common/gpu/media/avda_return_on_failure.h" |
18 #include "content/common/gpu/media/avda_shared_state.h" | 17 #include "content/common/gpu/media/avda_shared_state.h" |
19 #include "gpu/command_buffer/service/context_group.h" | 18 #include "gpu/command_buffer/service/context_group.h" |
20 #include "gpu/command_buffer/service/gl_stream_texture_image.h" | 19 #include "gpu/command_buffer/service/gl_stream_texture_image.h" |
21 #include "gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h" | 20 #include "gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h" |
22 #include "gpu/command_buffer/service/texture_manager.h" | 21 #include "gpu/command_buffer/service/texture_manager.h" |
23 #include "gpu/ipc/common/gpu_surface_lookup.h" | 22 #include "gpu/ipc/common/gpu_surface_lookup.h" |
| 23 #include "gpu/ipc/service/gpu_channel.h" |
24 #include "ui/gl/android/surface_texture.h" | 24 #include "ui/gl/android/surface_texture.h" |
25 #include "ui/gl/egl_util.h" | 25 #include "ui/gl/egl_util.h" |
26 #include "ui/gl/gl_bindings.h" | 26 #include "ui/gl/gl_bindings.h" |
27 #include "ui/gl/gl_surface_egl.h" | 27 #include "ui/gl/gl_surface_egl.h" |
28 #include "ui/gl/scoped_binders.h" | 28 #include "ui/gl/scoped_binders.h" |
29 #include "ui/gl/scoped_make_current.h" | 29 #include "ui/gl/scoped_make_current.h" |
30 | 30 |
31 namespace content { | 31 namespace content { |
32 | 32 |
33 AndroidDeferredRenderingBackingStrategy:: | 33 AndroidDeferredRenderingBackingStrategy:: |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 return !feature_info->workarounds().avda_dont_copy_pictures; | 397 return !feature_info->workarounds().avda_dont_copy_pictures; |
398 } | 398 } |
399 } | 399 } |
400 } | 400 } |
401 | 401 |
402 // Assume so. | 402 // Assume so. |
403 return true; | 403 return true; |
404 } | 404 } |
405 | 405 |
406 } // namespace content | 406 } // namespace content |
OLD | NEW |