Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2444a100 authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Merge "Allow translucent RenderNode->Bitmap captures" into oc-mr1-dev

am: 31897d88

Change-Id: I011cc4c8884b6d94c6d297fc6ca1c18e767f1410
parents 94cb0ea4 31897d88
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -888,7 +888,7 @@ static jobject android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode(
    // Render into the surface
    // Render into the surface
    {
    {
        ContextFactory factory;
        ContextFactory factory;
        RenderProxy proxy{false, renderNode, &factory};
        RenderProxy proxy{true, renderNode, &factory};
        proxy.loadSystemProperties();
        proxy.loadSystemProperties();
        proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer);
        proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer);
        proxy.initialize(surface);
        proxy.initialize(surface);