OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 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 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_SYNCHRONOU S_IMPL_H_ | |
6 #define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_SYNCHRONOU S_IMPL_H_ | |
7 | |
8 #include "content/renderer/media/android/stream_texture_factory_android.h" | |
9 | |
10 namespace content { | |
11 | |
12 class StreamTextureFactorySynchronousImpl : public StreamTextureFactory { | |
13 public: | |
14 StreamTextureFactorySynchronousImpl(); | |
15 virtual ~StreamTextureFactorySynchronousImpl(); | |
16 | |
17 virtual StreamTextureProxy* CreateProxy() OVERRIDE; | |
18 virtual void EstablishPeer(int32 stream_id, int player_id) OVERRIDE; | |
19 virtual unsigned CreateStreamTexture( | |
20 unsigned texture_target, | |
21 unsigned* texture_id, | |
22 gpu::Mailbox* texture_mailbox, | |
23 unsigned* texture_mailbox_sync_point) OVERRIDE; | |
24 virtual void DestroyStreamTexture(unsigned texture_id) OVERRIDE; | |
25 virtual void SetStreamTextureSize(int32 texture_id, | |
26 const gfx::Size& size) OVERRIDE; | |
no sievers
2013/08/10 02:08:46
private:
DISALLOW_IMPLICIT_CONSTRUCTORS()
boliu
2013/08/10 04:17:04
Done.
| |
27 }; | |
28 | |
29 } // namespace content | |
30 | |
31 #endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_IMPL_H_ | |
no sievers
2013/08/10 02:08:46
nit: // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXT
boliu
2013/08/10 04:17:04
Done.
| |
OLD | NEW |