Loading libs/hwui/tests/unit/BakedOpDispatcherTests.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -118,7 +118,7 @@ RENDERTHREAD_OPENGL_PIPELINE_TEST(BakedOpDispatcher, onLayerOp_bufferless) { layerPaint.setAlpha(128); layerPaint.setAlpha(128); OffscreenBuffer* buffer = nullptr; // no providing a buffer, should hit rect fallback case OffscreenBuffer* buffer = nullptr; // no providing a buffer, should hit rect fallback case LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer); LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer); testUnmergedGlopDispatch(renderThread, &op, [&renderThread] (const Glop& glop) { testUnmergedGlopDispatch(renderThread, &op, [] (const Glop& glop) { ADD_FAILURE() << "Nothing should happen"; ADD_FAILURE() << "Nothing should happen"; }, 0); }, 0); } } Loading Loading
libs/hwui/tests/unit/BakedOpDispatcherTests.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -118,7 +118,7 @@ RENDERTHREAD_OPENGL_PIPELINE_TEST(BakedOpDispatcher, onLayerOp_bufferless) { layerPaint.setAlpha(128); layerPaint.setAlpha(128); OffscreenBuffer* buffer = nullptr; // no providing a buffer, should hit rect fallback case OffscreenBuffer* buffer = nullptr; // no providing a buffer, should hit rect fallback case LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer); LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer); testUnmergedGlopDispatch(renderThread, &op, [&renderThread] (const Glop& glop) { testUnmergedGlopDispatch(renderThread, &op, [] (const Glop& glop) { ADD_FAILURE() << "Nothing should happen"; ADD_FAILURE() << "Nothing should happen"; }, 0); }, 0); } } Loading