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

Side by Side Diff: media/gpu/ipc/service/gpu_video_decode_accelerator.h

Issue 2892083002: Send enter / exit fullscreen signal to AVDA (Closed)
Patch Set: unit test Created 3 years, 7 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
OLDNEW
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 MEDIA_GPU_IPC_SERVICE_GPU_VIDEO_DECODE_ACCELERATOR_H_ 5 #ifndef MEDIA_GPU_IPC_SERVICE_GPU_VIDEO_DECODE_ACCELERATOR_H_
6 #define MEDIA_GPU_IPC_SERVICE_GPU_VIDEO_DECODE_ACCELERATOR_H_ 6 #define MEDIA_GPU_IPC_SERVICE_GPU_VIDEO_DECODE_ACCELERATOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 ~GpuVideoDecodeAccelerator() override; 91 ~GpuVideoDecodeAccelerator() override;
92 92
93 // Handlers for IPC messages. 93 // Handlers for IPC messages.
94 void OnDecode(const BitstreamBuffer& bitstream_buffer); 94 void OnDecode(const BitstreamBuffer& bitstream_buffer);
95 void OnAssignPictureBuffers( 95 void OnAssignPictureBuffers(
96 const std::vector<int32_t>& buffer_ids, 96 const std::vector<int32_t>& buffer_ids,
97 const std::vector<PictureBuffer::TextureIds>& texture_ids); 97 const std::vector<PictureBuffer::TextureIds>& texture_ids);
98 void OnReusePictureBuffer(int32_t picture_buffer_id); 98 void OnReusePictureBuffer(int32_t picture_buffer_id);
99 void OnFlush(); 99 void OnFlush();
100 void OnReset(); 100 void OnReset();
101 void OnSetSurface( 101 void OnSetOverlayInfo(const OverlayInfo& overlay_info);
102 int32_t surface_id,
103 const base::Optional<base::UnguessableToken>& routing_token);
104 void OnDestroy(); 102 void OnDestroy();
105 103
106 // Called on IO thread when |filter_| has been removed. 104 // Called on IO thread when |filter_| has been removed.
107 void OnFilterRemoved(); 105 void OnFilterRemoved();
108 106
109 // Sets the texture to cleared. 107 // Sets the texture to cleared.
110 void SetTextureCleared(const Picture& picture); 108 void SetTextureCleared(const Picture& picture);
111 109
112 // Route ID to communicate with the host. 110 // Route ID to communicate with the host.
113 const int32_t host_route_id_; 111 const int32_t host_route_id_;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // cleared. 168 // cleared.
171 std::map<int32_t, std::vector<scoped_refptr<gpu::gles2::TextureRef>>> 169 std::map<int32_t, std::vector<scoped_refptr<gpu::gles2::TextureRef>>>
172 uncleared_textures_; 170 uncleared_textures_;
173 171
174 DISALLOW_IMPLICIT_CONSTRUCTORS(GpuVideoDecodeAccelerator); 172 DISALLOW_IMPLICIT_CONSTRUCTORS(GpuVideoDecodeAccelerator);
175 }; 173 };
176 174
177 } // namespace media 175 } // namespace media
178 176
179 #endif // MEDIA_GPU_IPC_SERVICE_GPU_VIDEO_DECODE_ACCELERATOR_H_ 177 #endif // MEDIA_GPU_IPC_SERVICE_GPU_VIDEO_DECODE_ACCELERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698