/external/skqp/src/gpu/vk/ |
D | GrVkCopyManager.cpp | 168 GrVkTexture* srcTex = static_cast<GrVkTexture*>(src->asTexture()); in copySurfaceAsDraw() local 169 if (!srcTex) { in copySurfaceAsDraw() 269 imageInfo.imageView = srcTex->textureView()->imageView(); in copySurfaceAsDraw() 292 GrVkRenderTarget* texRT = static_cast<GrVkRenderTarget*>(srcTex->asRenderTarget()); in copySurfaceAsDraw() 315 srcTex->setImageLayout(gpu, in copySurfaceAsDraw() 375 descriptorResources.push_back(srcTex->textureView()); in copySurfaceAsDraw() 376 descriptorResources.push_back(srcTex->resource()); in copySurfaceAsDraw()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlCopyManager.mm | 136 id<MTLTexture> srcTex = GrGetMTLTextureFromSurface(src, false); 173 int sh = srcTex.height; 180 int sw = srcTex.width; 213 [renderCmdEncoder setFragmentTexture: srcTex
|
D | GrMtlGpu.mm | 604 id<MTLTexture> srcTex = GrGetMTLTextureFromSurface(src, false); 615 srcMtlRect.fTop = srcTex.height - srcRect.fBottom; 616 srcMtlRect.fBottom = srcTex.height - srcRect.fTop; 630 [blitCmdEncoder copyFromTexture: srcTex
|
/external/deqp/modules/egl/ |
D | teglImageTests.cpp | 498 deUint32 srcTex = 1; in iterate() local 499 GLU_CHECK_CALL(glBindTexture(GL_TEXTURE_2D, srcTex)); in iterate() 505 …text.getEglContext(), EGL_GL_TEXTURE_2D_KHR, (EGLClientBuffer)(deUintptr)srcTex, attribs), EGL_SUC… in iterate() 540 GLU_CHECK_CALL(glDeleteTextures(1, &srcTex)); in iterate()
|
D | teglImageFormatTests.cpp | 383 Texture srcTex (gl); in invokeGLES2() local 399 GLU_CHECK_GLW_CALL(gl, bindTexture(GL_TEXTURE_2D, *srcTex)); in invokeGLES2() 435 GLU_CHECK_GLW_CALL(gl, bindTexture(GL_TEXTURE_2D, *srcTex)); in invokeGLES2() 775 glu::Texture srcTex (gl); in invokeGLES2() local 787 GLU_CHECK_GLW_CALL(gl, bindTexture(GL_TEXTURE_2D, *srcTex)); in invokeGLES2()
|
/external/deqp/modules/gles31/functional/ |
D | es31fStencilTexturingTests.cpp | 199 static void blitStencilToColor2D (const glu::RenderContext& renderCtx, deUint32 srcTex, int width, … in blitStencilToColor2D() argument 249 gl.bindTexture(GL_TEXTURE_2D, srcTex); in blitStencilToColor2D() 264 static void blitStencilToColor2DArray (const glu::RenderContext& renderCtx, deUint32 srcTex, int wi… in blitStencilToColor2DArray() argument 314 gl.bindTexture(GL_TEXTURE_2D_ARRAY, srcTex); in blitStencilToColor2DArray() 329 static void blitStencilToColorCube (const glu::RenderContext& renderCtx, deUint32 srcTex, const flo… in blitStencilToColorCube() argument 373 gl.bindTexture(GL_TEXTURE_CUBE_MAP, srcTex); in blitStencilToColorCube()
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 3143 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(src->asTexture()); in can_blit_framebuffer_for_copy_surface() local 3146 bool srcIsGLTexture2D = srcTex ? GR_GL_TEXTURE_2D == srcTex->target() : false; in can_blit_framebuffer_for_copy_surface() 3149 dstOrigin, src->config(), srcSampleCnt, SkToBool(srcTex), in can_blit_framebuffer_for_copy_surface() 3168 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(src->asTexture()); in can_copy_texsubimage() local 3174 bool srcIsGLTexture2D = srcTex ? GR_GL_TEXTURE_2D == srcTex->target() : false; in can_copy_texsubimage() 3178 srcHasMSAARenderBuffer, SkToBool(srcTex), srcIsGLTexture2D, in can_copy_texsubimage() 3315 bool GrGLGpu::createCopyProgram(GrTexture* srcTex) { in createCopyProgram() argument 3318 int progIdx = TextureToCopyProgramIdx(srcTex); in createCopyProgram() 3321 GrSLCombinedSamplerTypeForTextureType(srcTex->texturePriv().textureType()); in createCopyProgram() 3597 GrGLTexture* srcTex = static_cast<GrGLTexture*>(src->asTexture()); in copySurfaceAsDraw() local [all …]
|
D | GrGLCaps.cpp | 2271 const GrTextureProxy* srcTex = src->asTextureProxy(); in onCanCopySurface() local 2274 bool srcIsTex2D = srcTex ? (srcTex->textureType() == GrTextureType::k2D) : false; in onCanCopySurface() 2283 dstIsTex2D, dstOrigin, srcConfig, srcSampleCnt, SkToBool(srcTex), in onCanCopySurface() 2286 SkASSERT(this->canCopyAsDraw(dstConfig, SkToBool(srcTex))); in onCanCopySurface() 2293 SkToBool(srcTex), srcIsTex2D, srcOrigin) || in onCanCopySurface() 2295 dstIsTex2D, dstOrigin, srcConfig, srcSampleCnt, SkToBool(srcTex), in onCanCopySurface() 2298 this->canCopyAsDraw(dstConfig, SkToBool(srcTex)); in onCanCopySurface()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 3027 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(src->asTexture()); in can_blit_framebuffer_for_copy_surface() local 3037 if (srcTex) { in can_blit_framebuffer_for_copy_surface() 3038 srcTexType = srcTex->texturePriv().textureType(); in can_blit_framebuffer_for_copy_surface() 3061 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(src->asTexture()); in can_copy_texsubimage() local 3077 if (srcTex) { in can_copy_texsubimage() 3078 srcTexType = srcTex->texturePriv().textureType(); in can_copy_texsubimage() 3211 bool GrGLGpu::createCopyProgram(GrTexture* srcTex) { in createCopyProgram() argument 3214 int progIdx = TextureToCopyProgramIdx(srcTex); in createCopyProgram() 3217 GrSLCombinedSamplerTypeForTextureType(srcTex->texturePriv().textureType()); in createCopyProgram() 3481 auto* srcTex = static_cast<GrGLTexture*>(src->asTexture()); in copySurfaceAsDraw() local [all …]
|
D | GrGLCaps.cpp | 3249 const GrTextureProxy* srcTex = src->asTextureProxy(); in onCanCopySurface() local 3259 if (srcTex) { in onCanCopySurface() 3260 srcTexType = srcTex->textureType(); in onCanCopySurface() 3271 this->canCopyAsDraw(dstFormat, SkToBool(srcTex)); in onCanCopySurface()
|
/external/angle/src/tests/gl_tests/ |
D | FramebufferTest.cpp | 1494 GLTexture srcTex; in TEST_P() local 1495 glBindTexture(GL_TEXTURE_CUBE_MAP, srcTex); in TEST_P() 1502 srcTex, 0); in TEST_P()
|
D | RobustResourceInitTest.cpp | 2013 GLTexture srcTex; in TEST_P() local 2014 glBindTexture(GL_TEXTURE_2D, srcTex); in TEST_P() 2020 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTex, 0); in TEST_P()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlCaps.mm | 136 id<MTLTexture> srcTex = GrGetMTLTextureFromSurface(src); 137 if (srcTex.framebufferOnly || dstTex.framebufferOnly) { 142 MTLPixelFormat srcFormat = srcTex.pixelFormat;
|
D | GrMtlGpu.mm | 1104 id<MTLTexture> srcTex = GrGetMTLTextureFromSurface(src); 1107 [blitCmdEncoder copyFromTexture: srcTex
|