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

Side by Side Diff: content/common/gpu/media/vt_video_decode_accelerator.cc

Issue 511793002: Fix content build with OS X 10.9 SDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | 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 <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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698