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

Side by Side Diff: content/common/gpu/media/avda_shared_state.h

Issue 1472943002: Refactor MediaCodecBridge to add support for NDK APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crazy linker issue Created 5 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CONTENT_COMMON_GPU_AVDA_SHARED_STATE_H_ 5 #ifndef CONTENT_COMMON_GPU_AVDA_SHARED_STATE_H_
6 #define CONTENT_COMMON_GPU_AVDA_SHARED_STATE_H_ 6 #define CONTENT_COMMON_GPU_AVDA_SHARED_STATE_H_
7 7
8 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 8 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
9 #include "media/base/android/media_codec_bridge.h" 9 #include "media/base/android/sdk_media_codec_bridge.h"
10 #include "ui/gl/gl_image.h" 10 #include "ui/gl/gl_image.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 class SurfaceTexture; 13 class SurfaceTexture;
14 } 14 }
15 15
16 namespace content { 16 namespace content {
17 17
18 // Shared state to allow communication between the AVDA and the 18 // Shared state to allow communication between the AVDA and the
19 // GLImages that configure GL for drawing the frames. 19 // GLImages that configure GL for drawing the frames.
(...skipping 20 matching lines...) Expand all
40 protected: 40 protected:
41 virtual ~AVDASharedState() {} 41 virtual ~AVDASharedState() {}
42 42
43 private: 43 private:
44 friend class base::RefCounted<AVDASharedState>; 44 friend class base::RefCounted<AVDASharedState>;
45 }; 45 };
46 46
47 } // namespace content 47 } // namespace content
48 48
49 #endif // CONTENT_COMMON_GPU_AVDA_SHARED_STATE_H_ 49 #endif // CONTENT_COMMON_GPU_AVDA_SHARED_STATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698