/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()
|
D | GrProxyProvider.cpp | 182 int sampleCnt, in createTextureProxy() argument 217 sampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, config); in createTextureProxy() 218 if (!sampleCnt) { in createTextureProxy() 224 if (fCaps->usesMixedSamples() && sampleCnt > 1) { in createTextureProxy() 233 desc.fSampleCnt = sampleCnt; in createTextureProxy() 489 const GrBackendTexture& backendTex, GrSurfaceOrigin origin, int sampleCnt, in wrapRenderableBackendTexture() argument 500 sampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, backendTex.config()); in wrapRenderableBackendTexture() 501 if (!sampleCnt) { in wrapRenderableBackendTexture() 505 sk_sp<GrTexture> tex = fResourceProvider->wrapRenderableBackendTexture(backendTex, sampleCnt, in wrapRenderableBackendTexture() 542 const GrBackendTexture& backendTex, GrSurfaceOrigin origin, int sampleCnt) { in wrapBackendTextureAsRenderTarget() argument [all …]
|
D | GrGpu.cpp | 167 int sampleCnt, GrWrapOwnership ownership, in wrapRenderableBackendTexture() argument 170 if (sampleCnt < 1) { in wrapRenderableBackendTexture() 174 !this->caps()->getRenderTargetSampleCount(sampleCnt, backendTex.config())) { in wrapRenderableBackendTexture() 183 this->onWrapRenderableBackendTexture(backendTex, sampleCnt, ownership, cacheable); in wrapRenderableBackendTexture() 189 if (0 == this->caps()->getRenderTargetSampleCount(backendRT.sampleCnt(), backendRT.config())) { in wrapBackendRenderTarget() 197 int sampleCnt) { in wrapBackendTextureAsRenderTarget() argument 198 if (0 == this->caps()->getRenderTargetSampleCount(sampleCnt, tex.config())) { in wrapBackendTextureAsRenderTarget() 206 return this->onWrapBackendTextureAsRenderTarget(tex, sampleCnt); in wrapBackendTextureAsRenderTarget()
|
D | GrStencilAttachment.cpp | 11 void GrStencilAttachment::ComputeSharedStencilAttachmentKey(int width, int height, int sampleCnt, in ComputeSharedStencilAttachmentKey() argument 17 builder[2] = sampleCnt; in ComputeSharedStencilAttachmentKey()
|
D | GrContextPriv.h | 71 int sampleCnt, 84 int sampleCnt, 236 int sampleCnt = 1, 253 int sampleCnt = 1,
|
/external/skia/src/gpu/ |
D | GrContextThreadSafeProxy.cpp | 34 int sampleCnt, GrSurfaceOrigin origin, in createCharacterization() argument 59 sampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, config); in createCharacterization() 60 if (!sampleCnt) { in createCharacterization() 65 if (sampleCnt > 1) { in createCharacterization() 81 origin, config, FSAAType, sampleCnt, in createCharacterization()
|
D | GrRecordingContext.cpp | 200 int sampleCnt, in makeDeferredRenderTargetContext() argument 205 SkASSERT(sampleCnt > 0); in makeDeferredRenderTargetContext() 215 desc.fSampleCnt = sampleCnt; in makeDeferredRenderTargetContext() 273 int sampleCnt, in makeDeferredRenderTargetContextWithFallback() argument 279 SkASSERT(sampleCnt > 0); in makeDeferredRenderTargetContextWithFallback() 280 if (0 == this->caps()->getRenderTargetSampleCount(sampleCnt, config)) { in makeDeferredRenderTargetContextWithFallback() 294 std::move(colorSpace), sampleCnt, mipMapped, in makeDeferredRenderTargetContextWithFallback() 341 int sampleCnt, in makeDeferredRenderTargetContext() argument 347 std::move(colorSpace), sampleCnt, mipMapped, in makeDeferredRenderTargetContext() 357 int sampleCnt, in makeDeferredRenderTargetContextWithFallback() argument [all …]
|
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 | 430 int sampleCnt, in GrBackendRenderTarget() argument 433 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo) { in GrBackendRenderTarget() 440 int sampleCnt, in GrBackendRenderTarget() argument 443 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo, in GrBackendRenderTarget() 452 int sampleCnt, in GrBackendRenderTarget() argument 458 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget() 468 int sampleCnt, in GrBackendRenderTarget() argument 473 , fSampleCnt(SkTMax(1, sampleCnt)) in GrBackendRenderTarget() 482 int sampleCnt, in GrBackendRenderTarget() argument 487 , 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()
|
D | GrProxyProvider.cpp | 194 int sampleCnt, in createTextureProxy() argument 229 sampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, config); in createTextureProxy() 230 if (!sampleCnt) { in createTextureProxy() 236 if (this->caps()->usesMixedSamples() && sampleCnt > 1) { in createTextureProxy() 245 desc.fSampleCnt = sampleCnt; in createTextureProxy() 503 const GrBackendTexture& backendTex, GrSurfaceOrigin origin, int sampleCnt, in wrapRenderableBackendTexture() argument 518 sampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, backendTex.config()); in wrapRenderableBackendTexture() 519 if (!sampleCnt) { in wrapRenderableBackendTexture() 523 sk_sp<GrTexture> tex = resourceProvider->wrapRenderableBackendTexture(backendTex, sampleCnt, in wrapRenderableBackendTexture() 573 const GrBackendTexture& backendTex, GrSurfaceOrigin origin, int sampleCnt) { in wrapBackendTextureAsRenderTarget() argument [all …]
|
D | GrGpu.cpp | 166 int sampleCnt, GrWrapOwnership ownership, in wrapRenderableBackendTexture() argument 169 if (sampleCnt < 1) { in wrapRenderableBackendTexture() 173 !this->caps()->getRenderTargetSampleCount(sampleCnt, backendTex.config())) { in wrapRenderableBackendTexture() 182 this->onWrapRenderableBackendTexture(backendTex, sampleCnt, ownership, cacheable); in wrapRenderableBackendTexture() 188 if (0 == this->caps()->getRenderTargetSampleCount(backendRT.sampleCnt(), backendRT.config())) { in wrapBackendRenderTarget() 196 int sampleCnt) { in wrapBackendTextureAsRenderTarget() argument 197 if (0 == this->caps()->getRenderTargetSampleCount(sampleCnt, tex.config())) { in wrapBackendTextureAsRenderTarget() 205 return this->onWrapBackendTextureAsRenderTarget(tex, sampleCnt); in wrapBackendTextureAsRenderTarget()
|
D | GrStencilAttachment.cpp | 11 void GrStencilAttachment::ComputeSharedStencilAttachmentKey(int width, int height, int sampleCnt, in ComputeSharedStencilAttachmentKey() argument 17 builder[2] = sampleCnt; in ComputeSharedStencilAttachmentKey()
|
D | GrContextPriv.h | 104 int sampleCnt = 1, 122 int sampleCnt = 1, 146 int sampleCnt, 163 int sampleCnt,
|
/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/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/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/skia/src/image/ |
D | SkSurface_Gpu.cpp | 401 int sampleCnt, SkColorType ct, sk_sp<SkColorSpace> cs, in validate_backend_texture() argument 425 if (!ctx->priv().caps()->getRenderTargetSampleCount(sampleCnt, *config)) { in validate_backend_texture() 436 GrSurfaceOrigin origin, int sampleCnt, in MakeFromBackendTexture() argument 445 sampleCnt = SkTMax(1, sampleCnt); in MakeFromBackendTexture() 448 sampleCnt, colorType, colorSpace, true)) { in MakeFromBackendTexture() 458 sampleCnt = SkTMax(1, sampleCnt); in MakeFromBackendTexture() 463 sampleCnt, in MakeFromBackendTexture() 496 if (rt.sampleCnt() > 1) { in validate_backend_render_target() 551 int sampleCnt, in MakeFromBackendTextureAsRenderTarget() argument 559 sampleCnt = SkTMax(1, sampleCnt); in MakeFromBackendTextureAsRenderTarget() [all …]
|
/external/skia/include/gpu/ |
D | GrBackendSurface.h | 267 int sampleCnt, 274 int sampleCnt, 277 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo); 282 int sampleCnt, 288 int sampleCnt, 299 int sampleCnt() const { return fSampleCnt; } in sampleCnt() function 356 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo,
|
/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/skqp/src/gpu/mock/ |
D | GrMockStencilAttachment.h | 16 GrMockStencilAttachment(GrMockGpu* gpu, int width, int height, int bits, int sampleCnt) in GrMockStencilAttachment() argument 17 : INHERITED(gpu, width, height, bits, sampleCnt) { in GrMockStencilAttachment()
|
/external/skia/src/gpu/mock/ |
D | GrMockStencilAttachment.h | 16 GrMockStencilAttachment(GrMockGpu* gpu, int width, int height, int bits, int sampleCnt) in GrMockStencilAttachment() argument 17 : INHERITED(gpu, width, height, bits, sampleCnt) { in GrMockStencilAttachment()
|