| Index: chrome/renderer/media/gles2_video_decode_context.cc
|
| diff --git a/chrome/renderer/media/gles2_video_decode_context.cc b/chrome/renderer/media/gles2_video_decode_context.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d54334b5ca28a5083817cf169a60e550c8761958
|
| --- /dev/null
|
| +++ b/chrome/renderer/media/gles2_video_decode_context.cc
|
| @@ -0,0 +1,34 @@
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/renderer/media/gles2_video_decode_context.h"
|
| +
|
| +Gles2VideoDecodeContext::Gles2VideoDecodeContext(
|
| + StorageType type, WebKit::WebGLES2Context* context)
|
| + : type_(type), context_(context) {
|
| +}
|
| +
|
| +Gles2VideoDecodeContext::~Gles2VideoDecodeContext() {
|
| + // TODO(hclam): Implement.
|
| +}
|
| +
|
| +void* Gles2VideoDecodeContext::GetDevice() {
|
| + // This decode context is used inside the renderer and so hardware decoder
|
| + // device handler should be used.
|
| + return NULL;
|
| +}
|
| +
|
| +void Gles2VideoDecodeContext::AllocateVideoFrames(
|
| + int n, size_t width, size_t height, AllocationCompleteCallback* callback) {
|
| + // TODO(hclam): Implement.
|
| +}
|
| +
|
| +void Gles2VideoDecodeContext::ReleaseVideoFrames(int n,
|
| + media::VideoFrame* frames) {
|
| + // TODO(hclam): Implement.
|
| +}
|
| +
|
| +void Gles2VideoDecodeContext::Destroy(DestructionCompleteCallback* callback) {
|
| + // TODO(hclam): Implement.
|
| +}
|
|
|