Home
last modified time | relevance | path

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

12

/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.cpp122 GrTexture* dstTexture = programInfo.pipeline().peekDstTexture(&offset); in updateUniforms() local
124 fXferProcessor->setData(fProgramDataManager, xp, dstTexture, offset); in updateUniforms()
146 GrTexture* dstTexture = pipeline.peekDstTexture(&offset); in bindTextures() local
147 if (dstTexture) { in bindTextures()
149 pipeline.dstProxyView().swizzle(), static_cast<GrGLTexture*>(dstTexture)); in bindTextures()
/external/skia/src/gpu/glsl/
DGrGLSLXferProcessor.cpp132 const GrTexture* dstTexture, const SkIPoint& dstTextureOffset) { in setData() argument
133 if (dstTexture) { in setData()
137 pdm.set2f(fDstScaleUni, 1.f / dstTexture->width(), 1.f / dstTexture->height()); in setData()
DGrGLSLXferProcessor.h80 const GrTexture* dstTexture, const SkIPoint& dstTextureOffset);
/external/skia/src/gpu/d3d/
DGrD3DCommandList.cpp160 const GrD3DTextureResource* dstTexture, in copyBufferToTexture() argument
168 this->addResource(dstTexture->resource()); in copyBufferToTexture()
177 dst.pResource = dstTexture->d3dResource(); in copyBufferToTexture()
223 ID3D12Resource* dstTexture = dst->d3dResource(); in copyTextureToTexture() local
226 fCommandList->CopyResource(dstTexture, srcTexture); in copyTextureToTexture()
236 dstLoc.pResource = dstTexture; in copyTextureToTexture()
520 void GrD3DDirectCommandList::resolveSubresourceRegion(const GrD3DTextureResource* dstTexture, in resolveSubresourceRegion() argument
524 SkASSERT(dstTexture->dxgiFormat() == srcTexture->dxgiFormat()); in resolveSubresourceRegion()
525 SkASSERT(dstTexture->currentState() == D3D12_RESOURCE_STATE_RESOLVE_DEST); in resolveSubresourceRegion()
528 this->addResource(dstTexture->resource()); in resolveSubresourceRegion()
[all …]
DGrD3DPipelineState.cpp59 GrTexture* dstTexture = programInfo.pipeline().peekDstTexture(&offset); in setAndBindConstants() local
62 dstTexture, offset); in setAndBindConstants()
121 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in setAndBindTextures() local
122 auto texture = static_cast<GrD3DTexture*>(dstTexture); in setAndBindTextures()
DGrD3DCommandList.h69 const GrD3DTextureResource* dstTexture,
195 void resolveSubresourceRegion(const GrD3DTextureResource* dstTexture,
DGrD3DOpsRenderPass.cpp237 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in onBindTextures() local
238 update_resource_state(dstTexture, fRenderTarget, fGpu); in onBindTextures()
/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/dawn/
DGrDawnGpu.cpp367 wgpu::ImageCopyTexture dstTexture; in uploadTextureData() local
368 dstTexture.texture = texture; in uploadTextureData()
369 dstTexture.mipLevel = i; in uploadTextureData()
370 dstTexture.origin = {x, y, 0}; in uploadTextureData()
373 this->getCopyEncoder().CopyBufferToTexture(&srcBuffer, &dstTexture, &copySize); in uploadTextureData()
423 wgpu::ImageCopyTexture dstTexture; in onClearBackendTexture() local
424 dstTexture.texture = info.fTexture; in onClearBackendTexture()
425 dstTexture.mipLevel = i; in onClearBackendTexture()
426 dstTexture.origin = {0, 0, 0}; in onClearBackendTexture()
428 copyEncoder.CopyBufferToTexture(&srcBuffer, &dstTexture, &copySize); in onClearBackendTexture()
[all …]
DGrDawnProgramBuilder.cpp510 GrTexture* dstTexture = pipeline.peekDstTexture(&offset); in setUniformData() local
511 fXferProcessor->setData(fDataManager, pipeline.getXferProcessor(), dstTexture, offset); in setUniformData()
538 if (GrTexture* dstTexture = pipeline.peekDstTexture(&offset)) { in setTextures() local
539 set_texture(gpu, GrSamplerState::Filter::kNearest, dstTexture, &bindings, &binding); in setTextures()
/external/skia/src/gpu/vk/
DGrVkPipelineState.cpp91 GrTexture* dstTexture = programInfo.pipeline().peekDstTexture(&offset); in setAndBindUniforms() local
94 dstTexture, offset); in setAndBindUniforms()
143 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in setAndBindTextures() local
145 static_cast<GrVkTexture*>(dstTexture)}; in setAndBindTextures()
DGrVkOpsRenderPass.cpp698 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in onBindTextures() local
699 check_sampled_texture(dstTexture, colorAttachment, fGpu); in onBindTextures()
/external/angle/src/tests/gl_tests/
DSRGBFramebufferTest.cpp258 GLTexture dstTexture; in TEST_P() local
259 glBindTexture(GL_TEXTURE_2D, dstTexture.get()); in TEST_P()
264 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTexture.get(), in TEST_P()
DCopyTextureTest.cpp1719 GLTexture dstTexture; in TEST_P() local
1720 glBindTexture(GL_TEXTURE_2D, dstTexture); in TEST_P()
1741 GLTexture dstTexture; in TEST_P() local
1742 glBindTexture(GL_TEXTURE_2D, dstTexture); in TEST_P()
1748 glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTexture, in TEST_P()
/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.mm70 GrTexture* dstTexture = programInfo.pipeline().peekDstTexture(&offset);
71 fXferProcessor->setData(fDataManager, programInfo.pipeline().getXferProcessor(), dstTexture,
DGrMtlGpu.mm1207 id<MTLTexture> dstTexture;
1210 dstTexture = mtlRT->mtlColorTexture();
1213 dstTexture = static_cast<GrMtlTexture*>(dst->asTexture())->mtlTexture();
1216 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/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,
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp3999 gl::Texture *dstTexture = context->getState().getTargetTexture(dstTextureType); in copyCompressedTextureData() local
4000 ASSERT(dstTexture); in copyCompressedTextureData()
4002 const gl::InternalFormat &dstFormat = *dstTexture->getFormat(dstTargetPacked, dstLevel).info; in copyCompressedTextureData()

12