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

Side by Side Diff: content/renderer/media/gles2_video_decode_context.cc

Issue 6673090: Move core renderer subdirectories to content. (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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 <GLES2/gl2.h> 5 #include <GLES2/gl2.h>
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "chrome/renderer/ggl/ggl.h" 8 #include "content/renderer/ggl.h"
9 #include "chrome/renderer/media/gles2_video_decode_context.h" 9 #include "content/renderer/media/gles2_video_decode_context.h"
10 10
11 Gles2VideoDecodeContext::Gles2VideoDecodeContext( 11 Gles2VideoDecodeContext::Gles2VideoDecodeContext(
12 MessageLoop* message_loop, bool memory_mapped, ggl::Context* context) 12 MessageLoop* message_loop, bool memory_mapped, ggl::Context* context)
13 : message_loop_(message_loop), 13 : message_loop_(message_loop),
14 memory_mapped_(memory_mapped), 14 memory_mapped_(memory_mapped),
15 context_(context) { 15 context_(context) {
16 } 16 }
17 17
18 Gles2VideoDecodeContext::~Gles2VideoDecodeContext() { 18 Gles2VideoDecodeContext::~Gles2VideoDecodeContext() {
19 } 19 }
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 114
115 ReleaseAllVideoFrames(); 115 ReleaseAllVideoFrames();
116 DCHECK_EQ(0u, frames_.size()); 116 DCHECK_EQ(0u, frames_.size());
117 117
118 task->Run(); 118 task->Run();
119 delete task; 119 delete task;
120 } 120 }
121 121
122 DISABLE_RUNNABLE_METHOD_REFCOUNT(Gles2VideoDecodeContext); 122 DISABLE_RUNNABLE_METHOD_REFCOUNT(Gles2VideoDecodeContext);
OLDNEW
« no previous file with comments | « content/renderer/media/gles2_video_decode_context.h ('k') | content/renderer/media/ipc_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698