OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/renderer/media/gles2_video_decode_context.h" |
| 6 |
| 7 Gles2VideoDecodeContext::Gles2VideoDecodeContext( |
| 8 StorageType type, WebKit::WebGLES2Context* context) |
| 9 : type_(type), context_(context) { |
| 10 } |
| 11 |
| 12 Gles2VideoDecodeContext::~Gles2VideoDecodeContext() { |
| 13 // TODO(hclam): Implement. |
| 14 } |
| 15 |
| 16 void* Gles2VideoDecodeContext::GetDevice() { |
| 17 // This decode context is used inside the renderer and so hardware decoder |
| 18 // device handler should be used. |
| 19 return NULL; |
| 20 } |
| 21 |
| 22 void Gles2VideoDecodeContext::AllocateVideoFrames( |
| 23 int n, size_t width, size_t height, AllocationCompleteCallback* callback) { |
| 24 // TODO(hclam): Implement. |
| 25 } |
| 26 |
| 27 void Gles2VideoDecodeContext::ReleaseVideoFrames(int n, |
| 28 media::VideoFrame* frames) { |
| 29 // TODO(hclam): Implement. |
| 30 } |
| 31 |
| 32 void Gles2VideoDecodeContext::Destroy(DestructionCompleteCallback* callback) { |
| 33 // TODO(hclam): Implement. |
| 34 } |
OLD | NEW |