Home
last modified time | relevance | path

Searched refs:dstTex (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/gpu/mtl/
DGrMtlCopyManager.mm135 id<MTLTexture> dstTex = GrGetMTLTextureFromSurface(dst, false);
158 int dw = dstTex.width;
159 int dh = dstTex.height;
192 renderPassDesc.colorAttachments[0].texture = dstTex;
202 fGpu->resourceProvider().findOrCreateCopyPipelineState(dstTex.pixelFormat,
DGrMtlGpu.mm665 id<MTLTexture> dstTex = GrGetMTLTextureFromSurface(dst, false);
685 dstRect.fTop = dstTex.height - dstPoint.fY - srcMtlRect.height();
697 toTexture: dstTex
728 id<MTLTexture> dstTex = GrGetMTLTextureFromSurface(dst, false);
729 MTLTextureDescriptor* textureDesc = GrGetMTLTextureDescriptor(dstTex);
/external/skqp/src/gpu/mtl/
DGrMtlCopyManager.mm135 id<MTLTexture> dstTex = GrGetMTLTextureFromSurface(dst, false);
158 int dw = dstTex.width;
159 int dh = dstTex.height;
192 renderPassDesc.colorAttachments[0].texture = dstTex;
202 fGpu->resourceProvider().findOrCreateCopyPipelineState(dstTex.pixelFormat,
DGrMtlGpu.mm603 id<MTLTexture> dstTex = GrGetMTLTextureFromSurface(dst, false);
623 dstRect.fTop = dstTex.height - dstPoint.fY - srcMtlRect.height();
635 toTexture: dstTex
666 id<MTLTexture> dstTex = GrGetMTLTextureFromSurface(dst, false);
667 MTLTextureDescriptor* textureDesc = GrGetMTLTextureDescriptor(dstTex);
/external/deqp/modules/egl/
DteglImageTests.cpp519 deUint32 dstTex = 2; in iterate() local
520 GLU_CHECK_CALL(glBindTexture(GL_TEXTURE_2D, dstTex)); in iterate()
522 GLU_CHECK_CALL(glDeleteTextures(1, &dstTex)); in iterate()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp3170 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_blit_framebuffer_for_copy_surface() local
3173 bool dstIsGLTexture2D = dstTex ? GR_GL_TEXTURE_2D == dstTex->target() : false; in can_blit_framebuffer_for_copy_surface()
3176 return caps.canCopyAsBlit(dst->config(), dstSampleCnt, SkToBool(dstTex), dstIsGLTexture2D, in can_blit_framebuffer_for_copy_surface()
3195 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_copy_texsubimage() local
3201 bool dstIsGLTexture2D = dstTex ? GR_GL_TEXTURE_2D == dstTex->target() : false; in can_copy_texsubimage()
3204 return caps.canCopyTexSubImage(dst->config(), dstHasMSAARenderBuffer, SkToBool(dstTex), in can_copy_texsubimage()
3721 GrGLTexture* dstTex = static_cast<GrGLTexture *>(dst->asTexture()); in copySurfaceAsCopyTexSubImage() local
3722 SkASSERT(dstTex); in copySurfaceAsCopyTexSubImage()
3728 this->bindTextureToScratchUnit(dstTex->target(), dstTex->textureID()); in copySurfaceAsCopyTexSubImage()
3735 GL_CALL(CopyTexSubImage2D(dstTex->target(), 0, in copySurfaceAsCopyTexSubImage()
DGrGLCaps.cpp2288 const GrTextureProxy* dstTex = dst->asTextureProxy(); in onCanCopySurface() local
2291 bool dstIsTex2D = dstTex ? (dstTex->textureType() == GrTextureType::k2D) : false; in onCanCopySurface()
2300 if (this->canCopyAsBlit(dstConfig, dstSampleCnt, SkToBool(dstTex), in onCanCopySurface()
2309 SkToBool(dstTex), dstIsTex2D, dstOrigin, in onCanCopySurface()
2312 this->canCopyAsBlit(dstConfig, dstSampleCnt, SkToBool(dstTex), in onCanCopySurface()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp3142 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_blit_framebuffer_for_copy_surface() local
3145 bool dstIsGLTexture2D = dstTex ? GR_GL_TEXTURE_2D == dstTex->target() : false; in can_blit_framebuffer_for_copy_surface()
3148 return caps.canCopyAsBlit(dst->config(), dstSampleCnt, SkToBool(dstTex), dstIsGLTexture2D, in can_blit_framebuffer_for_copy_surface()
3167 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_copy_texsubimage() local
3173 bool dstIsGLTexture2D = dstTex ? GR_GL_TEXTURE_2D == dstTex->target() : false; in can_copy_texsubimage()
3176 return caps.canCopyTexSubImage(dst->config(), dstHasMSAARenderBuffer, SkToBool(dstTex), in can_copy_texsubimage()
3693 GrGLTexture* dstTex = static_cast<GrGLTexture *>(dst->asTexture()); in copySurfaceAsCopyTexSubImage() local
3694 SkASSERT(dstTex); in copySurfaceAsCopyTexSubImage()
3701 GL_CALL(BindTexture(dstTex->target(), dstTex->textureID())); in copySurfaceAsCopyTexSubImage()
3708 GL_CALL(CopyTexSubImage2D(dstTex->target(), 0, in copySurfaceAsCopyTexSubImage()
DGrGLCaps.cpp2270 const GrTextureProxy* dstTex = dst->asTextureProxy(); in onCanCopySurface() local
2273 bool dstIsTex2D = dstTex ? (dstTex->textureType() == GrTextureType::k2D) : false; in onCanCopySurface()
2282 if (this->canCopyAsBlit(dstConfig, dstSampleCnt, SkToBool(dstTex), in onCanCopySurface()
2291 SkToBool(dstTex), dstIsTex2D, dstOrigin, in onCanCopySurface()
2294 this->canCopyAsBlit(dstConfig, dstSampleCnt, SkToBool(dstTex), in onCanCopySurface()