Implement ImageBridge support for the GPU process. (bug 1287366 part 3, r=mattwoodrow,billm)
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "mozilla/ipc/ProcessChild.h"
|
||||
#include "mozilla/layers/CompositorBridgeParent.h"
|
||||
#include "mozilla/layers/CompositorThread.h"
|
||||
#include "mozilla/layers/ImageBridgeParent.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace gfx {
|
||||
@@ -61,6 +62,13 @@ GPUParent::RecvInitVsyncBridge(Endpoint<PVsyncBridgeParent>&& aVsyncEndpoint)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
GPUParent::RecvInitImageBridge(Endpoint<PImageBridgeParent>&& aEndpoint)
|
||||
{
|
||||
ImageBridgeParent::CreateForGPUProcess(Move(aEndpoint));
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
GPUParent::RecvUpdatePref(const GfxPrefSetting& setting)
|
||||
{
|
||||
@@ -98,6 +106,12 @@ GPUParent::RecvNewContentCompositorBridge(Endpoint<PCompositorBridgeParent>&& aE
|
||||
return CompositorBridgeParent::CreateForContent(Move(aEndpoint));
|
||||
}
|
||||
|
||||
bool
|
||||
GPUParent::RecvNewContentImageBridge(Endpoint<PImageBridgeParent>&& aEndpoint)
|
||||
{
|
||||
return ImageBridgeParent::CreateForContent(Move(aEndpoint));
|
||||
}
|
||||
|
||||
void
|
||||
GPUParent::ActorDestroy(ActorDestroyReason aWhy)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user