Implement the direct bitmap drawing model for plugins. (bug 1217665 part 6, r=mattwoodrow)

This commit is contained in:
David Anderson
2015-12-02 11:31:17 -08:00
parent 5727af88b1
commit aad66b2774
10 changed files with 357 additions and 13 deletions

View File

@@ -43,6 +43,10 @@ class PCrashReporterParent;
class CrashReporterParent;
} // namespace dom
namespace layers {
class TextureClientRecycleAllocator;
} // namespace layers
namespace plugins {
//-----------------------------------------------------------------------------
@@ -294,6 +298,8 @@ public:
void InitAsyncSurrogates();
layers::TextureClientRecycleAllocator* EnsureTextureAllocator();
protected:
void NotifyFlashHang();
void NotifyPluginCrashed();
@@ -340,6 +346,8 @@ protected:
nsTArray<RefPtr<PluginAsyncSurrogate>> mSurrogateInstances;
nsresult mAsyncNewRv;
uint32_t mRunID;
RefPtr<layers::TextureClientRecycleAllocator> mTextureAllocator;
};
class PluginModuleContentParent : public PluginModuleParent