Home
last modified time | relevance | path

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

/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/angle/src/tests/gl_tests/
DCopyTexImageTest.cpp375 GLTexture dstTex; in TEST_P() local
376 glBindTexture(GL_TEXTURE_2D, dstTex); in TEST_P()
398 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTex, 0); in TEST_P()
541 GLTexture dstTex; in TEST_P() local
542 glBindTexture(GL_TEXTURE_2D, dstTex); in TEST_P()
561 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTex, 0); in TEST_P()
DOcclusionQueriesTest.cpp286 GLTexture dstTex; in TEST_P() local
287 glBindTexture(GL_TEXTURE_2D, dstTex); in TEST_P()
289 glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTex, 0); in TEST_P()
DRobustResourceInitTest.cpp2266 GLTexture dstTex; in TEST_P() local
2267 glBindTexture(GL_TEXTURE_CUBE_MAP, dstTex); in TEST_P()
2279 dstTex, 0); in TEST_P()
2287 dstTex, 0); in TEST_P()
DTransformFeedbackTest.cpp647 GLTexture dstTex; in TEST_P() local
648 glBindTexture(GL_TEXTURE_2D, dstTex); in TEST_P()
650 glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTex, 0); in TEST_P()
/external/deqp/modules/egl/
DteglImageTests.cpp525 deUint32 dstTex = 2; in iterate() local
526 GLU_CHECK_CALL(glBindTexture(GL_TEXTURE_2D, dstTex)); in iterate()
528 GLU_CHECK_CALL(glDeleteTextures(1, &dstTex)); in iterate()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2846 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_blit_framebuffer_for_copy_surface() local
2853 if (dstTex) { in can_blit_framebuffer_for_copy_surface()
2854 dstTexType = dstTex->textureType(); in can_blit_framebuffer_for_copy_surface()
2880 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_copy_texsubimage() local
2893 if (dstTex) { in can_copy_texsubimage()
2894 dstTexType = dstTex->textureType(); in can_copy_texsubimage()
3295 auto* dstTex = static_cast<GrGLTexture*>(src->asTexture()); in copySurfaceAsDraw() local
3302 SkASSERT(dstTex); in copySurfaceAsDraw()
3303 if (!this->glCaps().isFormatRenderable(dstTex->format(), 1)) { in copySurfaceAsDraw()
3374 GrGLTexture* dstTex = static_cast<GrGLTexture *>(dst->asTexture()); in copySurfaceAsCopyTexSubImage() local
[all …]
DGrGLCaps.cpp3356 const GrTextureProxy* dstTex = dst->asTextureProxy(); in onCanCopySurface() local
3363 if (dstTex) { in onCanCopySurface()
3364 dstTexType = dstTex->textureType(); 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()
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm162 id<MTLTexture> dstTex = GrGetMTLTextureFromSurface(dst);
164 if (srcTex.framebufferOnly || dstTex.framebufferOnly) {
168 MTLPixelFormat dstFormat = dstTex.pixelFormat;
DGrMtlGpu.mm1224 id<MTLTexture> GR_NORETAIN dstTex = GrGetMTLTextureFromSurface(dst);
1234 toTexture: dstTex
/external/skia/src/gpu/vk/
DGrVkGpu.cpp691 GrTexture* dstTex = dst->asTexture(); in resolveImage() local
692 if (dstTex) { in resolveImage()
693 dstImage = static_cast<GrVkTexture*>(dstTex)->textureAttachment(); in resolveImage()