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

Side by Side Diff: content/renderer/pepper/pepper_video_encoder_host.h

Issue 1916303003: Report lost context from GLES2Implementation based on share group state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lost-share-group: disconnect-channel Created 4 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 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_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool key_frame) override; 74 bool key_frame) override;
75 void NotifyError(media::VideoEncodeAccelerator::Error error) override; 75 void NotifyError(media::VideoEncodeAccelerator::Error error) override;
76 76
77 // ResourceHost implementation. 77 // ResourceHost implementation.
78 int32_t OnResourceMessageReceived( 78 int32_t OnResourceMessageReceived(
79 const IPC::Message& msg, 79 const IPC::Message& msg,
80 ppapi::host::HostMessageContext* context) override; 80 ppapi::host::HostMessageContext* context) override;
81 81
82 // GpuControlClient implementation. 82 // GpuControlClient implementation.
83 void OnGpuControlLostContext() final; 83 void OnGpuControlLostContext() final;
84 void OnGpuControlLostContextMaybeReentrant() final;
84 void OnGpuControlErrorMessage(const char* msg, int id) final {} 85 void OnGpuControlErrorMessage(const char* msg, int id) final {}
85 86
86 int32_t OnHostMsgGetSupportedProfiles( 87 int32_t OnHostMsgGetSupportedProfiles(
87 ppapi::host::HostMessageContext* context); 88 ppapi::host::HostMessageContext* context);
88 int32_t OnHostMsgInitialize(ppapi::host::HostMessageContext* context, 89 int32_t OnHostMsgInitialize(ppapi::host::HostMessageContext* context,
89 PP_VideoFrame_Format input_format, 90 PP_VideoFrame_Format input_format,
90 const PP_Size& input_visible_size, 91 const PP_Size& input_visible_size,
91 PP_VideoProfile output_profile, 92 PP_VideoProfile output_profile,
92 uint32_t initial_bitrate, 93 uint32_t initial_bitrate,
93 PP_HardwareAcceleration acceleration); 94 PP_HardwareAcceleration acceleration);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 #endif 174 #endif
174 175
175 base::WeakPtrFactory<PepperVideoEncoderHost> weak_ptr_factory_; 176 base::WeakPtrFactory<PepperVideoEncoderHost> weak_ptr_factory_;
176 177
177 DISALLOW_COPY_AND_ASSIGN(PepperVideoEncoderHost); 178 DISALLOW_COPY_AND_ASSIGN(PepperVideoEncoderHost);
178 }; 179 };
179 180
180 } // namespace content 181 } // namespace content
181 182
182 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_ 183 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_ENCODER_HOST_H_
OLDNEW
« no previous file with comments | « components/mus/gles2/command_buffer_local.cc ('k') | content/renderer/pepper/pepper_video_encoder_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698