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

Side by Side Diff: content/gpu/media/mft_angle_video_device.cc

Issue 6684015: Move chrome\gpu to content\gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/gpu/media/mft_angle_video_device.h ('k') | content/gpu/x_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/gpu/media/mft_angle_video_device.h" 5 #include "content/gpu/media/mft_angle_video_device.h"
6 6
7 #include <d3d9.h> 7 #include <d3d9.h>
8 8
9 #include "media/base/video_frame.h" 9 #include "media/base/video_frame.h"
10 #include "third_party/angle/src/libGLESv2/main.h" 10 #include "third_party/angle/src/libGLESv2/main.h"
11 11
12 MftAngleVideoDevice::MftAngleVideoDevice() 12 MftAngleVideoDevice::MftAngleVideoDevice()
13 : device_(reinterpret_cast<egl::Display*>( 13 : device_(reinterpret_cast<egl::Display*>(
14 eglGetCurrentDisplay())->getDevice()) { 14 eglGetCurrentDisplay())->getDevice()) {
15 } 15 }
(...skipping 27 matching lines...) Expand all
43 // for the VideoFrame(s) generated. 43 // for the VideoFrame(s) generated.
44 } 44 }
45 45
46 bool MftAngleVideoDevice::ConvertToVideoFrame( 46 bool MftAngleVideoDevice::ConvertToVideoFrame(
47 void* buffer, scoped_refptr<media::VideoFrame> frame) { 47 void* buffer, scoped_refptr<media::VideoFrame> frame) {
48 gl::Context* context = (gl::Context*)eglGetCurrentContext(); 48 gl::Context* context = (gl::Context*)eglGetCurrentContext();
49 // TODO(hclam): Connect ANGLE to upload the surface to texture when changes 49 // TODO(hclam): Connect ANGLE to upload the surface to texture when changes
50 // to ANGLE is done. 50 // to ANGLE is done.
51 return true; 51 return true;
52 } 52 }
OLDNEW
« no previous file with comments | « content/gpu/media/mft_angle_video_device.h ('k') | content/gpu/x_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698