Searched refs:mBackendTexture (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/libs/renderengine/skia/compat/ |
D | GaneshBackendTexture.cpp | 53 mBackendTexture = in GaneshBackendTexture() 62 mBackendTexture = in GaneshBackendTexture() 72 if (!mBackendTexture.isValid() || !desc.width || !desc.height) { in GaneshBackendTexture() 81 if (mBackendTexture.isValid()) { in ~GaneshBackendTexture() 83 mBackendTexture = {}; in ~GaneshBackendTexture() 90 if (mBackendTexture.isValid()) { in makeImage() 96 SkImages::BorrowTextureFrom(mGrContext.get(), mBackendTexture, kTopLeft_GrSurfaceOrigin, in makeImage() 110 SkSurfaces::WrapBackendTexture(mGrContext.get(), mBackendTexture, in makeSurface() 122 switch (mBackendTexture.backend()) { in logFatalTexture() 126 GrBackendTextures::GetGLTextureInfo(mBackendTexture, &textureInfo); in logFatalTexture() [all …]
|
D | GraphiteBackendTexture.cpp | 54 mBackendTexture = mRecorder->createBackendTexture(buffer, isOutputBuffer, createProtectedImage, in GraphiteBackendTexture() 56 if (!mBackendTexture.isValid() || !dimensions.width() || !dimensions.height()) { in GraphiteBackendTexture() 65 if (mBackendTexture.isValid()) { in ~GraphiteBackendTexture() 66 mRecorder->deleteBackendTexture(mBackendTexture); in ~GraphiteBackendTexture() 67 mBackendTexture = {}; in ~GraphiteBackendTexture() 76 SkImages::WrapTexture(mRecorder.get(), mBackendTexture, colorType, alphaType, in makeImage() 90 SkSurfaces::WrapBackendTexture(mRecorder.get(), mBackendTexture, colorType, in makeSurface() 103 const skgpu::graphite::TextureInfo& textureInfo = mBackendTexture.info(); in logFatalTexture() 108 mBackendTexture.isValid(), mBackendTexture.dimensions().width(), in logFatalTexture() 109 mBackendTexture.dimensions().height(), textureInfo.isValid(), in logFatalTexture()
|
D | GaneshBackendTexture.h | 51 GrBackendTexture mBackendTexture; variable
|
D | GraphiteBackendTexture.h | 56 skgpu::graphite::BackendTexture mBackendTexture; variable
|
/frameworks/base/libs/hwui/ |
D | AutoBackendTextureRelease.cpp | 45 mBackendTexture = in AutoBackendTextureRelease() 62 mBackendTexture = in AutoBackendTextureRelease() 80 LOG_ALWAYS_FATAL_IF(!mBackendTexture.isValid(), in AutoBackendTextureRelease() 101 if (mBackendTexture.isValid()) { in unref() 103 mBackendTexture = {}; in unref() 128 context, mBackendTexture, kTopLeft_GrSurfaceOrigin, colorType, kPremul_SkAlphaType, in makeImage() 133 if (mBackendTexture.isValid()) { in newBufferContent() 144 if (mBackendTexture.isValid()) { in releaseQueueOwnership() 157 context->setBackendTextureState(mBackendTexture, newState, nullptr, releaseProc, this); in releaseQueueOwnership()
|
D | AutoBackendTextureRelease.h | 40 const GrBackendTexture& getTexture() const { return mBackendTexture; } in getTexture() 61 GrBackendTexture mBackendTexture; variable
|
/frameworks/native/libs/renderengine/skia/ |
D | AutoBackendTexture.cpp | 37 : mCleanupMgr(cleanupMgr), mBackendTexture(std::move(backendTexture)) {} in AutoBackendTexture() 68 sk_sp<SkImage> image = mBackendTexture->makeImage(alphaType, dataspace, releaseImageProc, this); in makeImage() 79 LOG_ALWAYS_FATAL_IF(!mBackendTexture->isOutputBuffer(), in getOrCreateSurface() 83 mBackendTexture->makeSurface(dataspace, releaseSurfaceProc, this); in getOrCreateSurface()
|
D | AutoBackendTexture.h | 106 SkColorType colorType() const { return mTexture->mBackendTexture->internalColorType(); } in colorType() 144 std::unique_ptr<SkiaBackendTexture> mBackendTexture; variable
|