OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROID_H
_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROID_H
_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROID_H
_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROID_H
_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "cc/video_frame_provider.h" | 10 #include "cc/video_frame_provider.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 OVERRIDE; | 37 OVERRIDE; |
38 | 38 |
39 private: | 39 private: |
40 void OnSurfaceTextureFrameAvailable(); | 40 void OnSurfaceTextureFrameAvailable(); |
41 | 41 |
42 scoped_refptr<cc::VideoLayer> video_layer_; | 42 scoped_refptr<cc::VideoLayer> video_layer_; |
43 scoped_refptr<SurfaceTextureBridge> surface_texture_; | 43 scoped_refptr<SurfaceTextureBridge> surface_texture_; |
44 ANativeWindow* window_; | 44 ANativeWindow* window_; |
45 scoped_refptr<media::VideoFrame> video_frame_; | 45 scoped_refptr<media::VideoFrame> video_frame_; |
46 uint32 texture_id_; | 46 uint32 texture_id_; |
| 47 int surface_id_; |
47 | 48 |
48 DISALLOW_COPY_AND_ASSIGN(SurfaceTextureTransportClient); | 49 DISALLOW_COPY_AND_ASSIGN(SurfaceTextureTransportClient); |
49 }; | 50 }; |
50 | 51 |
51 } // namespace content | 52 } // namespace content |
52 | 53 |
53 #endif // CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROI
D_H_ | 54 #endif // CONTENT_BROWSER_RENDERER_HOST_SURFACE_TEXTURE_TRANSPORT_CLIENT_ANDROI
D_H_ |
OLD | NEW |