Searched refs:newSurface (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | VectorDrawableAtlas.cpp | 78 sk_sp<SkSurface> newSurface; in repack() local 81 newSurface = createSurface(mWidth, mHeight, context); in repack() 82 if (!newSurface) { in repack() 85 canvas = newSurface->getCanvas(); in repack() 148 mSurface = newSurface; in repack()
|
D | VectorDrawableAtlas.h | 120 const sk_sp<SkSurface>& newSurface) in CacheEntry() 121 : VDrect(newVDrect), rect(newRect), surface(newSurface) {} in CacheEntry()
|
D | SkiaOpenGLPipeline.cpp | 183 auto newSurface = mEglManager.createSurface(surface, colorMode, mSurfaceColorSpace); in setSurface() local 184 if (!newSurface) { in setSurface() 187 mEglSurface = newSurface.unwrap(); in setSurface()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 1603 status_t CCodecBufferChannel::setSurface(const sp<Surface> &newSurface) { in setSurface() argument 1610 if (newSurface) { in setSurface() 1611 newSurface->setScalingMode(NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); in setSurface() 1612 newSurface->setDequeueTimeout(kDequeueTimeoutNs); in setSurface() 1613 newSurface->setMaxDequeuedBufferCount(mOutputSurface.lock()->maxDequeueBuffers); in setSurface() 1614 producer = newSurface->getIGraphicBufferProducer(); in setSurface() 1641 output->surface = newSurface; in setSurface()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 1203 sp<SurfaceControl> newSurface = new SurfaceControl(surface); in nativeCopyFromSurfaceControl() local 1204 newSurface->incStrong((void *)nativeCreate); in nativeCopyFromSurfaceControl() 1205 return reinterpret_cast<jlong>(newSurface.get()); in nativeCopyFromSurfaceControl()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 5160 sp<SurfaceControl> newSurface = createLayer(String8("New Surface"), 10, 10, 0); in TEST_F() local 5161 ASSERT_TRUE(newSurface != nullptr); in TEST_F() 5162 ASSERT_TRUE(newSurface->isValid()); in TEST_F() 5164 fillSurfaceRGBA8(newSurface, 63, 195, 63); in TEST_F() 5167 t.show(newSurface); in TEST_F() 5168 t.setPosition(newSurface, 10, 10); in TEST_F() 5169 t.setLayer(newSurface, INT32_MAX - 2); in TEST_F() 5181 asTransaction([&](Transaction& t) { t.reparent(newSurface, mFGSurfaceControl->getHandle()); }); in TEST_F()
|