| OLD | NEW |
| 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 <CoreVideo/CoreVideo.h> | 5 #include <CoreVideo/CoreVideo.h> |
| 6 #include <OpenGL/CGLIOSurface.h> | 6 #include <OpenGL/CGLIOSurface.h> |
| 7 #include <OpenGL/gl.h> |
| 7 | 8 |
| 8 #include "base/bind.h" | 9 #include "base/bind.h" |
| 9 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 10 #include "base/sys_byteorder.h" | 11 #include "base/sys_byteorder.h" |
| 11 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
| 12 #include "content/common/gpu/media/vt_video_decode_accelerator.h" | 13 #include "content/common/gpu/media/vt_video_decode_accelerator.h" |
| 13 #include "content/public/common/content_switches.h" | 14 #include "content/public/common/content_switches.h" |
| 14 #include "media/filters/h264_parser.h" | 15 #include "media/filters/h264_parser.h" |
| 15 #include "ui/gl/scoped_binders.h" | 16 #include "ui/gl/scoped_binders.h" |
| 16 #include "ui/gl/scoped_cgl.h" | 17 #include "ui/gl/scoped_cgl.h" |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 DCHECK(CalledOnValidThread()); | 399 DCHECK(CalledOnValidThread()); |
| 399 // TODO(sandersd): Trigger flush, discarding frames, and wait for them. | 400 // TODO(sandersd): Trigger flush, discarding frames, and wait for them. |
| 400 delete this; | 401 delete this; |
| 401 } | 402 } |
| 402 | 403 |
| 403 bool VTVideoDecodeAccelerator::CanDecodeOnIOThread() { | 404 bool VTVideoDecodeAccelerator::CanDecodeOnIOThread() { |
| 404 return false; | 405 return false; |
| 405 } | 406 } |
| 406 | 407 |
| 407 } // namespace content | 408 } // namespace content |
| OLD | NEW |