Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[nemo][embedlite] Better logging when preparing offscreen rendering. …
…JB#48440
  • Loading branch information
rainemak committed Mar 12, 2020
1 parent 93ae028 commit 195fbf9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -87,6 +87,7 @@ EmbedLiteCompositorParent::AllocPLayerTransactionParent(const nsTArray<LayersBac
void
EmbedLiteCompositorParent::PrepareOffscreen()
{
fprintf(stderr, "=============== Preparing offscreen rendering context ===============\n");

const CompositorParent::LayerTreeState* state = CompositorParent::GetIndirectShadowTree(RootLayerTreeId());
NS_ENSURE_TRUE(state && state->mLayerManager, );
Expand All @@ -105,7 +106,6 @@ EmbedLiteCompositorParent::PrepareOffscreen()
}

auto forwarder = state->mLayerManager->AsShadowForwarder();
printf("=============== caps.premultAlpha: %d ptr: %p\n", screen->mCaps.premultAlpha, forwarder);
if (context->GetContextType() == GLContextType::EGL) {
// [Basic/OGL Layers, OMTC] WebGL layer init.
factory = SurfaceFactory_EGLImage::Create(context, screen->mCaps, forwarder, flags);
Expand Down

0 comments on commit 195fbf9

Please sign in to comment.