Home
last modified time | relevance | path

Searched refs:dstTex (Results 1 – 11 of 11) 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/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/angle/src/tests/gl_tests/
DCopyTexImageTest.cpp394 GLTexture dstTex; in TEST_P() local
395 glBindTexture(GL_TEXTURE_2D, dstTex); in TEST_P()
417 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTex, 0); in TEST_P()
DRobustResourceInitTest.cpp2026 GLTexture dstTex; in TEST_P() local
2027 glBindTexture(GL_TEXTURE_CUBE_MAP, dstTex); in TEST_P()
2039 dstTex, 0); in TEST_P()
2047 dstTex, 0); in TEST_P()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp3026 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_blit_framebuffer_for_copy_surface() local
3033 if (dstTex) { in can_blit_framebuffer_for_copy_surface()
3034 dstTexType = dstTex->texturePriv().textureType(); in can_blit_framebuffer_for_copy_surface()
3060 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_copy_texsubimage() local
3073 if (dstTex) { in can_copy_texsubimage()
3074 dstTexType = dstTex->texturePriv().textureType(); in can_copy_texsubimage()
3482 auto* dstTex = static_cast<GrGLTexture*>(src->asTexture()); in copySurfaceAsDraw() local
3489 SkASSERT(dstTex); in copySurfaceAsDraw()
3490 if (!this->glCaps().isFormatRenderable(dstTex->format(), 1)) { in copySurfaceAsDraw()
3559 GrGLTexture* dstTex = static_cast<GrGLTexture *>(dst->asTexture()); in copySurfaceAsCopyTexSubImage() local
[all …]
DGrGLCaps.cpp3248 const GrTextureProxy* dstTex = dst->asTextureProxy(); in onCanCopySurface() local
3255 if (dstTex) { in onCanCopySurface()
3256 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.mm135 id<MTLTexture> dstTex = GrGetMTLTextureFromSurface(dst);
137 if (srcTex.framebufferOnly || dstTex.framebufferOnly) {
141 MTLPixelFormat dstFormat = dstTex.pixelFormat;
DGrMtlGpu.mm1103 id<MTLTexture> dstTex = GrGetMTLTextureFromSurface(dst);
1112 toTexture: dstTex