Home
last modified time | relevance | path

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

/external/skqp/src/gpu/glsl/
DGrGLSLXferProcessor.cpp109 const GrTexture* dstTexture, const SkIPoint& dstTextureOffset) { in setData() argument
110 if (dstTexture) { in setData()
114 pdm.set2f(fDstScaleUni, 1.f / dstTexture->width(), 1.f / dstTexture->height()); in setData()
DGrGLSLProgramBuilder.cpp248 if (GrTexture* dstTexture = fPipeline.peekDstTexture()) { in emitAndInstallXferProc() local
252 this->emitSampler(dstTexture, GrSamplerState(), "DstTextureSampler"); in emitAndInstallXferProc()
254 SkASSERT(dstTexture->texturePriv().textureType() != GrTextureType::kExternal); in emitAndInstallXferProc()
DGrGLSLXferProcessor.h74 const GrTexture* dstTexture, const SkIPoint& dstTextureOffset);
/external/skia/src/gpu/gl/
DGrGLProgram.cpp98 GrTexture* dstTexture = programInfo.pipeline().peekDstTexture(&offset); in updateUniforms() local
100 fXferProcessor->setData(fProgramDataManager, xp, dstTexture, offset); in updateUniforms()
124 GrTexture* dstTexture = pipeline.peekDstTexture(&offset); in bindTextures() local
125 if (dstTexture) { in bindTextures()
127 pipeline.dstProxyView().swizzle(), static_cast<GrGLTexture*>(dstTexture)); in bindTextures()
/external/skia/src/gpu/glsl/
DGrGLSLXferProcessor.cpp124 const GrTexture* dstTexture, const SkIPoint& dstTextureOffset) { in setData() argument
125 if (dstTexture) { in setData()
129 pdm.set2f(fDstScaleUni, 1.f / dstTexture->width(), 1.f / dstTexture->height()); in setData()
DGrGLSLXferProcessor.h78 const GrTexture* dstTexture, const SkIPoint& dstTextureOffset);
/external/skia/src/gpu/dawn/
DGrDawnTexture.cpp166 wgpu::TextureCopyView dstTexture; in upload() local
167 dstTexture.texture = fInfo.fTexture; in upload()
168 dstTexture.mipLevel = i; in upload()
169 dstTexture.origin = {x, y, 0}; in upload()
172 copyEncoder.CopyBufferToTexture(&srcBuffer, &dstTexture, &copySize); in upload()
DGrDawnGpu.cpp340 wgpu::TextureCopyView dstTexture; in onCreateBackendTexture() local
341 dstTexture.texture = tex; in onCreateBackendTexture()
342 dstTexture.mipLevel = i; in onCreateBackendTexture()
343 dstTexture.origin = {0, 0, 0}; in onCreateBackendTexture()
345 copyEncoder.CopyBufferToTexture(&srcBuffer, &dstTexture, &copySize); in onCreateBackendTexture()
460 wgpu::Texture dstTexture = get_dawn_texture_from_surface(dst); in onCopySurface() local
461 if (!srcTexture || !dstTexture) { in onCopySurface()
470 dstTextureView.texture = dstTexture; in onCopySurface()
DGrDawnProgramBuilder.cpp528 GrTexture* dstTexture = pipeline.peekDstTexture(&offset); in setUniformData() local
529 fXferProcessor->setData(fDataManager, pipeline.getXferProcessor(), dstTexture, offset); in setUniformData()
562 if (GrTexture* dstTexture = pipeline.peekDstTexture(&offset)) { in setTextures() local
563 set_texture(gpu, GrSamplerState::Filter::kNearest, dstTexture, &bindings, &binding); in setTextures()
/external/skqp/src/gpu/gl/
DGrGLProgram.cpp99 GrTexture* dstTexture = pipeline.peekDstTexture(&offset); in updateUniformsAndTextureBindings() local
101 fXferProcessor->setData(fProgramDataManager, xp, dstTexture, offset); in updateUniformsAndTextureBindings()
102 if (dstTexture) { in updateUniformsAndTextureBindings()
104 static_cast<GrGLTexture*>(dstTexture)); in updateUniformsAndTextureBindings()
/external/skia/src/gpu/vk/
DGrVkPipelineState.cpp100 GrTexture* dstTexture = programInfo.pipeline().peekDstTexture(&offset); in setAndBindUniforms() local
103 dstTexture, offset); in setAndBindUniforms()
161 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in setAndBindTextures() local
163 GrSamplerState::Filter::kNearest, static_cast<GrVkTexture*>(dstTexture)}; in setAndBindTextures()
DGrVkOpsRenderPass.cpp512 if (GrTexture* dstTexture = programInfo.pipeline().peekDstTexture()) { in check_sampled_textures() local
513 check_sampled_texture(dstTexture, rt, gpu); in check_sampled_textures()
/external/skqp/src/gpu/vk/
DGrVkPipelineState.cpp165 GrTexture* dstTexture = pipeline.peekDstTexture(&offset); in setAndBindUniforms() local
167 fXferProcessor->setData(fDataManager, pipeline.getXferProcessor(), dstTexture, offset); in setAndBindUniforms()
DGrVkGpuCommandBuffer.cpp756 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in onDraw() local
757 cbInfo.fSampledImages.push_back(static_cast<GrVkTexture*>(dstTexture)); in onDraw()
/external/skia/src/gpu/mtl/
DGrMtlPipelineState.mm105 GrTexture* dstTexture = programInfo.pipeline().peekDstTexture(&offset);
108 dstTexture, offset);
DGrMtlGpu.mm1083 id<MTLTexture> dstTexture;
1086 dstTexture = mtlRT->mtlColorTexture();
1089 dstTexture = static_cast<GrMtlTexture*>(dst->asTexture())->mtlTexture();
1092 this->resolveTexture(dstTexture, srcRT->mtlColorTexture());
/external/skqp/src/gpu/mtl/
DGrMtlPipelineState.mm97 GrTexture* dstTexture = pipeline.peekDstTexture(&offset);
99 fXferProcessor->setData(fDataManager, pipeline.getXferProcessor(), dstTexture, offset);
/external/angle/src/tests/gl_tests/
DCopyTextureTest.cpp1610 GLTexture dstTexture; in TEST_P() local
1611 glBindTexture(GL_TEXTURE_2D, dstTexture); in TEST_P()
1632 GLTexture dstTexture; in TEST_P() local
1633 glBindTexture(GL_TEXTURE_2D, dstTexture); in TEST_P()
1639 glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTexture, in TEST_P()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.cpp540 const TextureHelper11 *dstTexture = nullptr; in updateSubresourceLevel() local
546 ANGLE_TRY(getMippedResource(context, &dstTexture)); in updateSubresourceLevel()
550 ANGLE_TRY(getResource(context, &dstTexture)); in updateSubresourceLevel()
556 ASSERT(dstTexture->valid()); in updateSubresourceLevel()
565 *dstTexture, dstSubresource, copyArea, texSize, nullptr); in updateSubresourceLevel()
580 deviceContext->CopySubresourceRegion(dstTexture->get(), dstSubresource, copyArea.x, copyArea.y, in updateSubresourceLevel()
587 const TextureHelper11 &dstTexture, in copySubresourceLevel() argument
592 ASSERT(dstTexture.valid()); in copySubresourceLevel()
642 deviceContext->CopySubresourceRegion(dstTexture.get(), dstSubresource, region.x, region.y, in copySubresourceLevel()
DTextureStorage11.h96 const TextureHelper11 &dstTexture,