/external/skia/tests/ |
D | VkMakeCopyPipelineTest.cpp | 121 GrSurfaceDesc surfDesc; in test() local 122 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test() 123 surfDesc.fWidth = 16; in test() 124 surfDesc.fHeight = 16; in test() 125 surfDesc.fConfig = kRGBA_8888_GrPixelConfig; in test() 126 surfDesc.fSampleCnt = 1; in test() 127 sk_sp<GrTexture> tex = gpu->createTexture(surfDesc, SkBudgeted::kNo); in test()
|
/external/skqp/tests/ |
D | VkMakeCopyPipelineTest.cpp | 121 GrSurfaceDesc surfDesc; in test() local 122 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test() 123 surfDesc.fWidth = 16; in test() 124 surfDesc.fHeight = 16; in test() 125 surfDesc.fConfig = kRGBA_8888_GrPixelConfig; in test() 126 surfDesc.fSampleCnt = 1; in test() 127 sk_sp<GrTexture> tex = gpu->createTexture(surfDesc, SkBudgeted::kNo); in test()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.mm | 352 GrSurfaceDesc surfDesc; 353 init_surface_desc(&surfDesc, mtlTexture, false, backendTex.config()); 355 return GrMtlTexture::MakeWrappedTexture(this, surfDesc, mtlTexture, cacheable, ioType); 367 GrSurfaceDesc surfDesc; 368 init_surface_desc(&surfDesc, mtlTexture, true, backendTex.config()); 369 surfDesc.fSampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, surfDesc.fConfig); 370 if (!surfDesc.fSampleCnt) { 374 return GrMtlTextureRenderTarget::MakeWrappedTextureRenderTarget(this, surfDesc, mtlTexture, 388 GrSurfaceDesc surfDesc; 389 init_surface_desc(&surfDesc, mtlTexture, true, backendRT.config()); [all …]
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 411 GrSurfaceDesc surfDesc; 412 init_surface_desc(&surfDesc, mtlTexture, false, backendTex.config()); 414 return GrMtlTexture::MakeWrappedTexture(this, surfDesc, mtlTexture, cacheable, ioType); 426 GrSurfaceDesc surfDesc; 427 init_surface_desc(&surfDesc, mtlTexture, true, backendTex.config()); 428 surfDesc.fSampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, surfDesc.fConfig); 429 if (!surfDesc.fSampleCnt) { 433 return GrMtlTextureRenderTarget::MakeWrappedTextureRenderTarget(this, surfDesc, mtlTexture, 447 GrSurfaceDesc surfDesc; 448 init_surface_desc(&surfDesc, mtlTexture, true, backendRT.config()); [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 688 GrSurfaceDesc surfDesc; in uploadTexDataOptimal() local 689 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in uploadTexDataOptimal() 690 surfDesc.fWidth = width; in uploadTexDataOptimal() 691 surfDesc.fHeight = height; in uploadTexDataOptimal() 692 surfDesc.fConfig = kRGBA_8888_GrPixelConfig; in uploadTexDataOptimal() 693 surfDesc.fSampleCnt = 1; in uploadTexDataOptimal() 710 copyTexture = GrVkTexture::MakeNewTexture(this, SkBudgeted::kYes, surfDesc, imageDesc, in uploadTexDataOptimal() 1056 GrSurfaceDesc surfDesc; in onWrapBackendTexture() local 1057 surfDesc.fFlags = kNone_GrSurfaceFlags; in onWrapBackendTexture() 1058 surfDesc.fWidth = backendTex.width(); in onWrapBackendTexture() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 690 GrSurfaceDesc surfDesc; in uploadTexDataOptimal() local 691 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in uploadTexDataOptimal() 692 surfDesc.fWidth = width; in uploadTexDataOptimal() 693 surfDesc.fHeight = height; in uploadTexDataOptimal() 694 surfDesc.fConfig = kRGBA_8888_GrPixelConfig; in uploadTexDataOptimal() 695 surfDesc.fSampleCnt = 1; in uploadTexDataOptimal() 712 copyTexture = GrVkTexture::MakeNewTexture(this, SkBudgeted::kYes, surfDesc, imageDesc, in uploadTexDataOptimal() 1067 GrSurfaceDesc surfDesc; in onWrapBackendTexture() local 1068 surfDesc.fFlags = kNone_GrSurfaceFlags; in onWrapBackendTexture() 1069 surfDesc.fWidth = backendTex.width(); in onWrapBackendTexture() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 691 GrSurfaceDesc surfDesc; in onWrapBackendTexture() local 692 surfDesc.fFlags = kNone_GrSurfaceFlags; in onWrapBackendTexture() 693 surfDesc.fWidth = backendTex.width(); in onWrapBackendTexture() 694 surfDesc.fHeight = backendTex.height(); in onWrapBackendTexture() 695 surfDesc.fConfig = backendTex.config(); in onWrapBackendTexture() 696 surfDesc.fSampleCnt = 1; in onWrapBackendTexture() 702 GrGLTexture::MakeWrapped(this, surfDesc, mipMapsStatus, idDesc, cacheable, ioType); in onWrapBackendTexture() 731 GrSurfaceDesc surfDesc; in onWrapRenderableBackendTexture() local 732 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapRenderableBackendTexture() 733 surfDesc.fWidth = backendTex.width(); in onWrapRenderableBackendTexture() [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 655 GrSurfaceDesc surfDesc; in onWrapBackendTexture() local 656 surfDesc.fFlags = kNone_GrSurfaceFlags; in onWrapBackendTexture() 657 surfDesc.fWidth = backendTex.width(); in onWrapBackendTexture() 658 surfDesc.fHeight = backendTex.height(); in onWrapBackendTexture() 659 surfDesc.fConfig = backendTex.config(); in onWrapBackendTexture() 660 surfDesc.fSampleCnt = 1; in onWrapBackendTexture() 666 GrGLTexture::MakeWrapped(this, surfDesc, mipMapsStatus, idDesc, cacheable, ioType); in onWrapBackendTexture() 695 GrSurfaceDesc surfDesc; in onWrapRenderableBackendTexture() local 696 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapRenderableBackendTexture() 697 surfDesc.fWidth = backendTex.width(); in onWrapRenderableBackendTexture() [all …]
|