Home
last modified time | relevance | path

Searched refs:destFormat (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.h49 GLenum destFormat,
56 GLenum destFormat,
65 GLenum destFormat,
93 GLenum destFormat,
100 GLenum destFormat,
109 GLenum destFormat,
DBlit9.cpp223 GLenum destFormat, in copy2D() argument
248 ANGLE_TRY(copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copy2D()
256 GLenum destFormat, in copyCube() argument
281 return copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copyCube()
289 GLenum destFormat, in copyTexture() argument
323 return copy(context9, sourceSurface.Get(), sourceTexture, sourceRect, destFormat, destOffset, in copyTexture()
331 GLenum destFormat, in copy() argument
349 d3d9_gl::IsFormatChannelEquivalent(destDesc.Format, destFormat) && !flipY && in copy()
379 ANGLE_TRY(formatConvert(context9, texture.Get(), adjustedSourceRect, sourceSize, destFormat, in copy()
388 GLenum destFormat, in formatConvert() argument
[all …]
DRenderer9.h180 GLenum destFormat,
187 GLenum destFormat,
195 GLenum destFormat,
202 GLenum destFormat,
212 GLenum destFormat,
DRenderer9.cpp2449 GLenum destFormat, in copyImage2D() argument
2460 return mBlit->copy2D(context, framebuffer, rect, destFormat, destOffset, storage, level); in copyImage2D()
2466 GLenum destFormat, in copyImageCube() argument
2478 return mBlit->copyCube(context, framebuffer, rect, destFormat, destOffset, storage, target, in copyImageCube()
2485 GLenum destFormat, in copyImage3D() argument
2498 GLenum destFormat, in copyImage2DArray() argument
2513 GLenum destFormat, in copyTexture() argument
2529 return mBlit->copyTexture(context, source, sourceLevel, rect, destFormat, destOffset, storage, in copyTexture()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DCopyTextureTest.cpp65 void testGradientDownsampleUniqueValues(GLenum destFormat, in testGradientDownsampleUniqueValues() argument
82 glCopyTextureCHROMIUM(sourceTexture, 0, GL_TEXTURE_2D, destTexture, 0, destFormat, destType, in testGradientDownsampleUniqueValues()
226 bool checkExtensions(GLenum sourceFormat, GLenum destFormat) const in checkExtensions()
235 if ((sourceFormat == GL_BGRA_EXT || destFormat == GL_BGRA_EXT) && in checkExtensions()
241 if ((sourceFormat == GL_SRGB_ALPHA_EXT || destFormat == GL_SRGB_ALPHA_EXT) && in checkExtensions()
251 GLenum destFormat, in calculateCopyTextureResults() argument
300 switch (destFormat) in calculateCopyTextureResults()
422 GLenum destFormat, in testCopyTexture() argument
427 if (!checkExtensions(sourceFormat, destFormat)) in testCopyTexture()
433 sourceFormat == GL_ALPHA || destFormat == GL_LUMINANCE || in testCopyTexture()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Device/
DBlitter.hpp86 …State(vk::Format sourceFormat, vk::Format destFormat, int srcSamples, int destSamples, const Optio… in State()
90 , destFormat(destFormat) in State()
96 vk::Format destFormat; member
211 hash = hash * 31 + state.destFormat; in operator ()()
DBlitter.cpp552 switch(state.destFormat) in write()
1089 UNSUPPORTED("Blitter destination format %d", (int)state.destFormat); in write()
1182 ASSERT(state.sourceFormat.isUnsigned() == state.destFormat.isUnsigned()); in write()
1184 switch(state.destFormat) in write()
1236 switch(state.destFormat) in write()
1414 UNSUPPORTED("Blitter destination format %d", (int)state.destFormat); in write()
1424 !state.destFormat.isUnnormalizedInteger()) in ApplyScaleAndClamp()
1445 scale = state.destFormat.getScale(); in ApplyScaleAndClamp()
1448 bool dstSRGB = state.destFormat.isSRGBformat(); in ApplyScaleAndClamp()
1462 if(state.sourceFormat.isFloatFormat() && !state.destFormat.isFloatFormat()) in ApplyScaleAndClamp()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DBlitter.cpp430 switch(state.destFormat) in write()
546 if(writeA && (state.destFormat == FORMAT_X8B8G8R8I || state.destFormat == FORMAT_X8B8G8R8_SNORM)) in write()
561 if(writeA && (state.destFormat == FORMAT_X8B8G8R8UI)) in write()
859 switch(state.destFormat) in write()
864 if(writeA && (state.destFormat != FORMAT_A8B8G8R8I)) in write()
877 if(writeA && (state.destFormat != FORMAT_A8B8G8R8UI)) in write()
890 if(writeA && (state.destFormat != FORMAT_A16B16G16R16I)) in write()
903 if(writeA && (state.destFormat != FORMAT_A16B16G16R16UI)) in write()
1086 !Surface::isNonNormalizedInteger(state.destFormat)) in ApplyScaleAndClamp()
1107 if(!GetScale(scale, state.destFormat)) in ApplyScaleAndClamp()
[all …]
DBlitter.hpp68 Format destFormat; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DRendererD3D.h208 GLenum destFormat,
215 GLenum destFormat,
223 GLenum destFormat,
230 GLenum destFormat,
240 GLenum destFormat,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.h138 GLenum destFormat,
145 GLenum destFormat,
153 GLenum destFormat,
160 GLenum destFormat,
170 GLenum destFormat,
529 GLenum destFormat,
DBlit11.h46 GLenum destFormat,
235 GLenum destFormat,
DImage11.cpp102 const auto &destFormat = d3d11::Format::Get(dest->getInternalFormat(), rendererCaps).format(); in CopyImage() local
104 gl::GetSizedInternalFormatInfo(destFormat.fboImplementationInternalFormat); in CopyImage()
115 destMapped.DepthPitch, destFormat.pixelWriteFunction, destUnsizedFormat, in CopyImage()
DRenderer11.cpp2472 GLenum destFormat, in copyImageInternal() argument
2521 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2533 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2542 GLenum destFormat, in copyImage2D() argument
2556 ANGLE_TRY(copyImageInternal(context, framebuffer, sourceRect, destFormat, destOffset, in copyImage2D()
2567 GLenum destFormat, in copyImageCube() argument
2582 ANGLE_TRY(copyImageInternal(context, framebuffer, sourceRect, destFormat, destOffset, in copyImageCube()
2593 GLenum destFormat, in copyImage3D() argument
2607 ANGLE_TRY(copyImageInternal(context, framebuffer, sourceRect, destFormat, destOffset, in copyImage3D()
2618 GLenum destFormat, in copyImage2DArray() argument
[all …]
DBlit11.cpp921 GLenum destFormat, in copyTexture() argument
970 ANGLE_TRY(getBlitShader(context, destFormat, sourceFormat, isSrcSigned, isDestSigned, in copyTexture()
1573 GLenum destFormat, in getBlitShader() argument
1585 blitShaderOperation = getBlitShaderOperation(destFormat, sourceFormat, isSrcSigned, in getBlitShader()
/third_party/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h914 GLenum destFormat = dstComps == 3 ? GL_COMPRESSED_RGB_S3TC_DXT1_EXT in tx_compress_dxt1() local
934 encodedxtcolorblockfaster(blkaddr, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxt1()
946 GLenum destFormat = GL_COMPRESSED_RGBA_S3TC_DXT3_EXT; in tx_compress_dxt3() local
972 encodedxtcolorblockfaster(blkaddr, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxt3()
984 GLenum destFormat = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT; in tx_compress_dxt5() local
1003 encodedxtcolorblockfaster(blkaddr + 8, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxt5()
1013 const GLubyte *srcPixData, GLenum destFormat, in tx_compress_dxtn() argument
1016 switch (destFormat) { in tx_compress_dxtn()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp276 : destFormat(nullptr), in PackPixelsParams()
284 const angle::Format &destFormat, in PackPixelsParams() argument
290 destFormat(&destFormat), in PackPixelsParams()
374 if (params.rotation == SurfaceRotation::Identity && sourceFormat == *params.destFormat) in PackPixels()
385 PixelCopyFunction fastCopyFunc = sourceFormat.fastCopyFunctions.get(params.destFormat->id); in PackPixels()
395 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels()
404 PixelWriteFunction pixelWriteFunction = params.destFormat->pixelWriteFunction; in PackPixels()
422 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels()
Drenderer_utils.h113 const angle::Format &destFormat,
120 const angle::Format *destFormat; member
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBuffer.cpp117 updateState.destFormat = format; in copy()
166 const int dBytes = Surface::bytes(state.destFormat); in copyRoutine()
184 switch(state.destFormat) in copyRoutine()
578 switch(state.destFormat) in blend()
DFrameBuffer.hpp32 Format destFormat; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DTextureGL.cpp932 const gl::InternalFormat &destFormat, in copySubTextureHelper() argument
965 (sourceFormat == destFormat.format && sourceFormat != GL_BGRA_EXT) || in copySubTextureHelper()
966 (sourceFormat == GL_RGBA && destFormat.format == GL_RGB); in copySubTextureHelper()
969 GLenum destComponentType = destFormat.componentType; in copySubTextureHelper()
970 bool destSRGB = destFormat.colorEncoding == GL_SRGB; in copySubTextureHelper()
1008 destFormat.format, destFormat.type, sourceImageDesc.size, sourceArea, destOffset, in copySubTextureHelper()
DBlitGL.h120 GLenum destFormat,
DTextureGL.h138 const gl::InternalFormat &destFormat,
DBlitGL.cpp682 GLenum destFormat, in copySubTextureCPUReadback() argument
700 const auto &destInternalFormatInfo = gl::GetInternalFormatInfo(destFormat, destType); in copySubTextureCPUReadback()
811 nativegl::GetTexSubImageFormat(mFunctions, mFeatures, destFormat, destType); in copySubTextureCPUReadback()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES3.cpp925 GLenum destFormat; member
945 if ((formatInfo.destFormat == targetFormat) && in QueryEffectiveFormatList()
990 const InternalFormat &destFormat, in GetUnsizedEffectiveInternalFormatInfo() argument
1013 return QueryEffectiveFormatList(srcFormat, destFormat.format, list, ArraySize(list), in GetUnsizedEffectiveInternalFormatInfo()
1018 const InternalFormat &destFormat, in GetEffectiveInternalFormat() argument
1021 if (destFormat.sized) in GetEffectiveInternalFormat()
1027 return GetUnsizedEffectiveInternalFormatInfo(srcFormat, destFormat, outEffectiveFormat); in GetEffectiveInternalFormat()
2591 const InternalFormat &destFormat = *dest->getFormat(destTarget, destLevel).info; in ValidateCopySubTexture3DANGLE() local
2595 destFormat.internalFormat, destTarget)) in ValidateCopySubTexture3DANGLE()

12