| OLD | NEW |
| 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/sdk_media_codec_bridge.h" | 9 #include "media/base/android/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 Loading... |
| 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_ |
| OLD | NEW |