Home
last modified time | relevance | path

Searched refs:newSurface (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp78 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()
DVectorDrawableAtlas.h120 const sk_sp<SkSurface>& newSurface) in CacheEntry()
121 : VDrect(newVDrect), rect(newRect), surface(newSurface) {} in CacheEntry()
DSkiaOpenGLPipeline.cpp183 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/
DCCodecBufferChannel.cpp1603 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/
Dandroid_view_SurfaceControl.cpp1203 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/
DTransaction_test.cpp5160 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()