/external/skia/src/gpu/mtl/ |
D | GrMtlTextureRenderTarget.mm | 21 int sampleCnt, 27 , GrMtlRenderTarget(gpu, dimensions, sampleCnt, colorTexture, resolveTexture) { 44 int sampleCnt, 51 , GrMtlRenderTarget(gpu, dimensions, sampleCnt, colorTexture, resolveTexture) { 67 int sampleCnt) { 68 if (!gpu->mtlCaps().isFormatRenderable(format, sampleCnt)) { 78 texDesc.sampleCount = sampleCnt; 92 int sampleCnt, 103 if (sampleCnt > 1) { 105 create_msaa_texture(gpu, dimensions, texture.pixelFormat, sampleCnt); [all …]
|
D | GrMtlRenderTarget.mm | 22 int sampleCnt, 27 , GrRenderTarget(gpu, dimensions, sampleCnt, GrProtected::kNo) 30 SkASSERT(sampleCnt > 1); 48 int sampleCnt, 52 , GrRenderTarget(gpu, dimensions, sampleCnt, GrProtected::kNo) 55 SkASSERT(sampleCnt > 1); 66 int sampleCnt, 75 if (sampleCnt > 1) { 78 if (!gpu->mtlCaps().isFormatRenderable(format, sampleCnt)) { 88 texDesc.sampleCount = sampleCnt; [all …]
|
D | GrMtlTextureRenderTarget.h | 19 int sampleCnt, 25 int sampleCnt, 47 int sampleCnt, 60 int sampleCnt,
|
D | GrMtlRenderTarget.h | 26 int sampleCnt, 46 int sampleCnt, 78 int sampleCnt,
|
/external/skia/tools/gpu/ |
D | BackendSurfaceFactory.cpp | 21 int sampleCnt, in MakeBackendTextureSurface() argument 41 sampleCnt, in MakeBackendTextureSurface() 52 int sampleCnt, in MakeBackendTextureSurface() argument 60 dContext, ii, origin, sampleCnt, mipMapped, isProtected, props); in MakeBackendTextureSurface() 65 int sampleCnt, in MakeBackendRenderTargetSurface() argument 79 ii.dimensions(), ct, sampleCnt, isProtected); in MakeBackendRenderTargetSurface() 81 SkASSERT(!bert.isValid() || bert.sampleCnt() >= sampleCnt); in MakeBackendRenderTargetSurface() 98 int sampleCnt, in MakeBackendRenderTargetSurface() argument 104 return MakeBackendRenderTargetSurface(dContext, ii, origin, sampleCnt, isProtected, props); in MakeBackendRenderTargetSurface()
|
D | BackendSurfaceFactory.h | 25 int sampleCnt, 33 int sampleCnt, 44 int sampleCnt, 51 int sampleCnt,
|
/external/skia/src/gpu/ |
D | GrAttachment.cpp | 42 int sampleCnt, in build_key() argument 49 SkASSERT(static_cast<uint32_t>(sampleCnt) < (1u << (32 - 9))); in build_key() 58 (static_cast<uint32_t>(sampleCnt) << 9); in build_key() 65 int sampleCnt, in ComputeSharedAttachmentUniqueKey() argument 72 build_key(&builder, caps, format, dimensions, requiredUsage, sampleCnt, mipmapped, isProtected); in ComputeSharedAttachmentUniqueKey() 79 int sampleCnt, in ComputeScratchKey() argument 86 build_key(&builder, caps, format, dimensions, requiredUsage, sampleCnt, mipmapped, isProtected); in ComputeScratchKey()
|
D | GrContextThreadSafeProxy.cpp | 52 int sampleCnt, GrSurfaceOrigin origin, in createCharacterization() argument 91 if (!fCaps->isFormatAsColorTypeRenderable(grColorType, backendFormat, sampleCnt)) { in createCharacterization() 95 sampleCnt = fCaps->getRenderTargetSampleCount(sampleCnt, backendFormat); in createCharacterization() 96 SkASSERT(sampleCnt); in createCharacterization() 130 origin, sampleCnt, in createCharacterization()
|
D | GrAttachment.h | 54 int sampleCnt, 65 int sampleCnt, 71 GrAttachment(GrGpu* gpu, SkISize dimensions, UsageFlags supportedUsages, int sampleCnt, in GrAttachment() argument 75 , fSampleCnt(sampleCnt) in GrAttachment()
|
D | GrTexture.cpp | 106 int sampleCnt, in ComputeScratchKey() argument 112 SkASSERT(sampleCnt > 0); in ComputeScratchKey() 113 SkASSERT(1 == sampleCnt || renderable == GrRenderable::kYes); in ComputeScratchKey() 118 SkASSERT(static_cast<uint32_t>(sampleCnt) < (1 << (32 - 3))); in ComputeScratchKey() 130 | (static_cast<uint32_t>(sampleCnt) << 3); in ComputeScratchKey()
|
/external/skia/src/gpu/mock/ |
D | GrMockTexture.h | 85 int sampleCnt, in GrMockRenderTarget() argument 89 , INHERITED(gpu, dimensions, sampleCnt, isProtected) in GrMockRenderTarget() 95 GrMockRenderTarget(GrMockGpu* gpu, Wrapped, SkISize dimensions, int sampleCnt, in GrMockRenderTarget() argument 98 , INHERITED(gpu, dimensions, sampleCnt, isProtected) in GrMockRenderTarget() 139 int sampleCnt, in GrMockRenderTarget() argument 143 , INHERITED(gpu, dimensions, sampleCnt, isProtected) in GrMockRenderTarget() 158 int sampleCnt, in GrMockTextureRenderTarget() argument 165 , GrMockRenderTarget(gpu, dimensions, sampleCnt, isProtected, rtInfo) { in GrMockTextureRenderTarget() 172 int sampleCnt, in GrMockTextureRenderTarget() argument 180 , GrMockRenderTarget(gpu, dimensions, sampleCnt, isProtected, rtInfo) { in GrMockTextureRenderTarget()
|
/external/skqp/src/gpu/ |
D | GrContextThreadSafeProxy.cpp | 37 int sampleCnt, GrSurfaceOrigin origin, in createCharacterization() argument 62 sampleCnt = fCaps->getRenderTargetSampleCount(sampleCnt, config); in createCharacterization() 63 if (!sampleCnt) { in createCharacterization() 68 if (sampleCnt > 1) { in createCharacterization() 83 origin, config, FSAAType, sampleCnt, in createCharacterization()
|
D | GrTexture.cpp | 93 bool isRenderTarget, int sampleCnt, in ComputeScratchKey() argument 99 SkASSERT(sampleCnt > 0); in ComputeScratchKey() 100 SkASSERT(1 == sampleCnt || isRenderTarget); in ComputeScratchKey() 105 SkASSERT(sampleCnt < (1 << 8)); in ComputeScratchKey() 112 builder[2] = config | (static_cast<uint8_t>(mipMapped) << 5) | (sampleCnt << 6) | (flags << 14); in ComputeScratchKey()
|
D | GrBackendSurface.cpp | 420 int sampleCnt, in GrBackendRenderTarget() argument 423 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo) { in GrBackendRenderTarget() 430 int sampleCnt, in GrBackendRenderTarget() argument 433 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo, in GrBackendRenderTarget() 442 int sampleCnt, in GrBackendRenderTarget() argument 448 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget() 458 int sampleCnt, in GrBackendRenderTarget() argument 463 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget() 472 int sampleCnt, in GrBackendRenderTarget() argument 477 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget() [all …]
|
D | GrStencilAttachment.h | 34 static void ComputeSharedStencilAttachmentKey(int width, int height, int sampleCnt, 38 GrStencilAttachment(GrGpu* gpu, int width, int height, int bits, int sampleCnt) in GrStencilAttachment() argument 43 , fSampleCnt(sampleCnt) in GrStencilAttachment()
|
/external/skia/src/gpu/vk/ |
D | GrVkTextureRenderTarget.cpp | 54 bool create_rt_attachments(GrVkGpu* gpu, SkISize dimensions, VkFormat format, int sampleCnt, in create_rt_attachments() argument 58 if (sampleCnt > 1) { in create_rt_attachments() 61 dimensions, GrBackendFormat::MakeVk(format), sampleCnt, isProtected); in create_rt_attachments() 80 int sampleCnt, in MakeNewTextureRenderTarget() argument 92 if (!create_rt_attachments(gpu, dimensions, format, sampleCnt, isProtected, texture, in MakeNewTextureRenderTarget() 97 SkASSERT(sampleCnt == 1 || resolveAttachment); in MakeNewTextureRenderTarget() 106 int sampleCnt, in MakeWrappedTextureRenderTarget() argument 129 if (!create_rt_attachments(gpu, dimensions, info.fFormat, sampleCnt, info.fProtected, texture, in MakeWrappedTextureRenderTarget() 134 SkASSERT(sampleCnt == 1 || resolveAttachment); in MakeWrappedTextureRenderTarget()
|
/external/skqp/tests/ |
D | BlendTest.cpp | 90 GrContext* context, int sampleCnt, int width, int height, SkColorType colorType, in create_gpu_surface_backend_texture_as_render_target() argument 98 backingDesc.fSampleCnt = sampleCnt; in create_gpu_surface_backend_texture_as_render_target() 111 sampleCnt, colorType, nullptr, nullptr); in create_gpu_surface_backend_texture_as_render_target() 145 for (int sampleCnt : {1, 4}) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 148 testCases.push_back({rectAndPoints, clip, sampleCnt, origin}); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 156 int sampleCnt = testCase.fSampleCnt; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 165 context, sampleCnt, kWidth, kHeight, kColorType, kConfig, origin, &backingSurface); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 167 if (!surface && sampleCnt > 1) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/dawn/ |
D | GrDawnRenderTarget.cpp | 16 int sampleCnt, in GrDawnRenderTarget() argument 19 , GrRenderTarget(gpu, dimensions, sampleCnt, GrProtected::kNo) in GrDawnRenderTarget() 24 int sampleCnt, in MakeWrapped() argument 26 sk_sp<GrDawnRenderTarget> rt(new GrDawnRenderTarget(gpu, dimensions, sampleCnt, info)); in MakeWrapped()
|
D | GrDawnTexture.cpp | 24 GrRenderable renderable, int sampleCnt, in Make() argument 44 textureDesc.sampleCount = sampleCnt; in Make() 60 sampleCnt, in Make() 76 GrRenderable renderable, int sampleCnt, in MakeWrapped() argument 84 gpu, dimensions, sampleCnt, info, status)); in MakeWrapped()
|
/external/skqp/src/image/ |
D | SkSurface_Gpu.cpp | 386 int sampleCnt, SkColorType ct, sk_sp<SkColorSpace> cs, in validate_backend_texture() argument 410 if (!ctx->contextPriv().caps()->getRenderTargetSampleCount(sampleCnt, *config)) { in validate_backend_texture() 421 GrSurfaceOrigin origin, int sampleCnt, in MakeFromBackendTexture() argument 428 sampleCnt = SkTMax(1, sampleCnt); in MakeFromBackendTexture() 431 sampleCnt, colorType, colorSpace, true)) { in MakeFromBackendTexture() 441 sampleCnt = SkTMax(1, sampleCnt); in MakeFromBackendTexture() 446 sampleCnt, in MakeFromBackendTexture() 477 if (rt.sampleCnt() > 1) { in validate_backend_render_target() 530 int sampleCnt, in MakeFromBackendTextureAsRenderTarget() argument 538 sampleCnt = SkTMax(1, sampleCnt); in MakeFromBackendTextureAsRenderTarget() [all …]
|
/external/skqp/include/gpu/ |
D | GrBackendSurface.h | 265 int sampleCnt, 272 int sampleCnt, 275 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo); 280 int sampleCnt, 286 int sampleCnt, 297 int sampleCnt() const { return fSampleCnt; } in sampleCnt() function 354 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo,
|
/external/skia/src/gpu/d3d/ |
D | GrD3DTextureRenderTarget.cpp | 103 int sampleCnt, in MakeNewTextureRenderTarget() argument 109 D3D12_RESOURCE_STATES initialState = sampleCnt > 1 ? D3D12_RESOURCE_STATE_RESOLVE_DEST in MakeNewTextureRenderTarget() 132 if (sampleCnt > 1) { in MakeNewTextureRenderTarget() 138 GrD3DTextureResource::CreateMSAA(gpu, dimensions, sampleCnt, info, clearColor); in MakeNewTextureRenderTarget() 158 int sampleCnt, in MakeWrappedTextureRenderTarget() argument 176 if (sampleCnt > 1) { in MakeWrappedTextureRenderTarget() 182 GrD3DTextureResource::CreateMSAA(gpu, dimensions, sampleCnt, info, clearColor); in MakeWrappedTextureRenderTarget()
|
D | GrD3DRenderTarget.cpp | 92 GrD3DGpu* gpu, SkISize dimensions, int sampleCnt, const GrD3DTextureResourceInfo& info, in MakeWrappedRenderTarget() argument 96 SkASSERT(sampleCnt >= 1 && info.fSampleCount >= 1); in MakeWrappedRenderTarget() 99 if (sampleCnt != wrappedTextureSampleCnt && wrappedTextureSampleCnt != 1) { in MakeWrappedRenderTarget() 108 if (sampleCnt != wrappedTextureSampleCnt) { in MakeWrappedRenderTarget() 114 GrD3DTextureResource::CreateMSAA(gpu, dimensions, sampleCnt, info, clearColor); in MakeWrappedRenderTarget()
|
/external/skia/tests/ |
D | BlendTest.cpp | 109 for (int sampleCnt : {1, 4}) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 112 testCases.push_back({rectAndPoints, clip, sampleCnt, origin}); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 120 int sampleCnt = testCase.fSampleCnt; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 130 sampleCnt, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 133 if (!surface && sampleCnt > 1) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skia/src/image/ |
D | SkSurface_GpuMtl.mm | 32 int sampleCnt, 76 sampleCnt, 77 sampleCnt > 1 ? GrInternalSurfaceFlags::kRequiresManualMSAAResolve 104 int sampleCnt, 146 sampleCnt, 147 sampleCnt > 1 ? GrInternalSurfaceFlags::kRequiresManualMSAAResolve
|