Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLGpu.cpp432 GrSurfaceDesc surfDesc; in onWrapBackendTexture() local
438 surfDesc.fFlags = (GrSurfaceFlags) desc.fFlags; in onWrapBackendTexture()
439 surfDesc.fWidth = desc.fWidth; in onWrapBackendTexture()
440 surfDesc.fHeight = desc.fHeight; in onWrapBackendTexture()
441 surfDesc.fConfig = desc.fConfig; in onWrapBackendTexture()
442 surfDesc.fSampleCnt = SkTMin(desc.fSampleCnt, this->caps()->maxSampleCount()); in onWrapBackendTexture()
449 surfDesc.fOrigin = kBottomLeft_GrSurfaceOrigin; in onWrapBackendTexture()
451 surfDesc.fOrigin = desc.fOrigin; in onWrapBackendTexture()
457 if (!this->createRenderTargetObjects(surfDesc, GrGpuResource::kUncached_LifeCycle, in onWrapBackendTexture()
461 texture = SkNEW_ARGS(GrGLTextureRenderTarget, (this, surfDesc, idDesc, rtIDDesc)); in onWrapBackendTexture()
[all …]