/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTextureTest.cpp | 220 bool checkExtensions(GLenum sourceFormat, GLenum destFormat) const in checkExtensions() argument 229 if ((sourceFormat == GL_BGRA_EXT || destFormat == GL_BGRA_EXT) && in checkExtensions() 238 void calculateCopyTextureResults(GLenum sourceFormat, in calculateCopyTextureResults() argument 247 switch (sourceFormat) in calculateCopyTextureResults() 303 const uint8_t *getSourceColors(GLenum sourceFormat, size_t *colorCount, uint8_t *componentCount) in getSourceColors() argument 359 switch (sourceFormat) in getSourceColors() 383 void initializeSourceTexture(GLenum sourceFormat, in initializeSourceTexture() argument 402 glTexImage2D(GL_TEXTURE_2D, 0, sourceFormat, 2, 2, 0, sourceFormat, GL_UNSIGNED_BYTE, in initializeSourceTexture() 406 void testCopyTexture(GLenum sourceFormat, in testCopyTexture() argument 412 if (!checkExtensions(sourceFormat, destFormat)) in testCopyTexture() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTextureTest.cpp | 226 bool checkExtensions(GLenum sourceFormat, GLenum destFormat) const in checkExtensions() argument 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() 250 void calculateCopyTextureResults(GLenum sourceFormat, in calculateCopyTextureResults() argument 259 switch (sourceFormat) in calculateCopyTextureResults() 316 const uint8_t *getSourceColors(GLenum sourceFormat, size_t *colorCount, uint8_t *componentCount) in getSourceColors() argument 372 switch (sourceFormat) in getSourceColors() 397 GLenum sourceFormat, in initializeSourceTexture() argument 416 glTexImage2D(target, 0, sourceFormat, 2, 2, 0, sourceFormat, GL_UNSIGNED_BYTE, in initializeSourceTexture() 421 GLenum sourceFormat, in testCopyTexture() argument [all …]
|
/third_party/skia/third_party/externals/oboe/src/common/ |
D | DataConversionFlowGraph.cpp | 82 AudioFormat sourceFormat = sourceStream->getFormat(); in configure() local 96 sourceFormat, sinkFormat, in configure() 109 switch (sourceFormat) { in configure() 119 LOGE("%s() Unsupported source caller format = %d", __func__, sourceFormat); in configure() 127 switch (sourceFormat) { in configure() 135 LOGE("%s() Unsupported source format = %d", __func__, sourceFormat); in configure()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Blitter.hpp | 86 …State(vk::Format sourceFormat, vk::Format destFormat, int srcSamples, int destSamples, const Optio… in State() 89 , sourceFormat(sourceFormat) in State() 95 vk::Format sourceFormat; member 210 uint64_t hash = state.sourceFormat; in operator ()()
|
D | Blitter.cpp | 322 switch(state.sourceFormat) in readFloat4() 538 UNSUPPORTED("Blitter source format %d", (int)state.sourceFormat); in readFloat4() 1098 switch(state.sourceFormat) in readInt4() 1168 UNSUPPORTED("Blitter source format %d", (int)state.sourceFormat); in readInt4() 1182 ASSERT(state.sourceFormat.isUnsigned() == state.destFormat.isUnsigned()); in write() 1423 state.sourceFormat.isUnnormalizedInteger() && in ApplyScaleAndClamp() 1428 switch(state.sourceFormat) in ApplyScaleAndClamp() 1437 UNSUPPORTED("Blitter source format %d", (int)state.sourceFormat); in ApplyScaleAndClamp() 1442 unscale = state.sourceFormat.getScale(); in ApplyScaleAndClamp() 1447 bool srcSRGB = state.sourceFormat.isSRGBformat(); in ApplyScaleAndClamp() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
D | FrameBuffer.cpp | 119 updateState.sourceFormat = source->getInternalFormat(); in copy() 168 const int sBytes = Surface::bytes(state.sourceFormat); in copyRoutine() 191 switch(state.sourceFormat) in copyRoutine() 249 switch(state.sourceFormat) in copyRoutine() 299 switch(state.sourceFormat) in copyRoutine() 358 switch(state.sourceFormat) in copyRoutine() 404 switch(state.sourceFormat) in copyRoutine() 446 switch(state.sourceFormat) in copyRoutine() 540 switch(state.sourceFormat) in blend()
|
D | FrameBuffer.hpp | 33 Format sourceFormat; member
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | renderer_utils.cpp | 211 const angle::Format &sourceFormat, in PackPixels() argument 227 if (sourceFormat == *params.destFormat) in PackPixels() 233 params.area.width * sourceFormat.pixelBytes); in PackPixels() 238 PixelCopyFunction fastCopyFunc = sourceFormat.fastCopyFunctions.get(params.destFormat->id); in PackPixels() 249 const uint8_t *src = source + y * inputPitch + x * sourceFormat.pixelBytes; in PackPixels() 267 PixelReadFunction pixelReadFunction = sourceFormat.pixelReadFunction; in PackPixels() 276 const uint8_t *src = source + y * inputPitch + x * sourceFormat.pixelBytes; in PackPixels()
|
D | renderer_utils.h | 178 const angle::Format &sourceFormat,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | renderer_utils.cpp | 299 const angle::Format &sourceFormat, in PackPixels() argument 320 xAxisPitch = sourceFormat.pixelBytes; in PackPixels() 341 yAxisPitch = sourceFormat.pixelBytes; in PackPixels() 351 xAxisPitch = -static_cast<int>(sourceFormat.pixelBytes); in PackPixels() 353 source += sourceFormat.pixelBytes * (params.area.width - 1); in PackPixels() 363 yAxisPitch = -static_cast<int>(sourceFormat.pixelBytes); in PackPixels() 367 sourceFormat.pixelBytes * (params.area.width - 1); in PackPixels() 374 if (params.rotation == SurfaceRotation::Identity && sourceFormat == *params.destFormat) in PackPixels() 380 params.area.width * sourceFormat.pixelBytes); in PackPixels() 385 PixelCopyFunction fastCopyFunc = sourceFormat.fastCopyFunctions.get(params.destFormat->id); in PackPixels() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Blit11.h | 41 GLenum sourceFormat, 170 GLenum sourceFormat, 236 GLenum sourceFormat,
|
D | Image11.cpp | 96 const auto &sourceFormat = in CopyImage() local 99 gl::GetSizedInternalFormatInfo(sourceFormat.fboImplementationInternalFormat).pixelBytes; in CopyImage() 114 sourceFormat.pixelReadFunction, destData, destMapped.RowPitch, destPixelBytes, in CopyImage()
|
D | Blit11.cpp | 916 GLenum sourceFormat, in copyTexture() argument 970 ANGLE_TRY(getBlitShader(context, destFormat, sourceFormat, isSrcSigned, isDestSigned, in copyTexture() 1382 GLenum sourceFormat, in getBlitShaderOperation() argument 1390 !gl::IsIntegerFormat(sourceFormat) && gl::IsIntegerFormat(destinationFormat); in getBlitShaderOperation() 1574 GLenum sourceFormat, in getBlitShader() argument 1585 blitShaderOperation = getBlitShaderOperation(destFormat, sourceFormat, isSrcSigned, in getBlitShader()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Blit11.h | 41 GLenum sourceFormat, 170 GLenum sourceFormat, 236 GLenum sourceFormat,
|
D | Image11.cpp | 96 const auto &sourceFormat = in CopyImage() local 99 gl::GetSizedInternalFormatInfo(sourceFormat.fboImplementationInternalFormat).pixelBytes; in CopyImage() 114 sourceFormat.pixelReadFunction, destData, destMapped.RowPitch, destPixelBytes, in CopyImage()
|
D | Blit11.cpp | 912 GLenum sourceFormat, in copyTexture() argument 966 ANGLE_TRY(getBlitShader(context, destFormat, sourceFormat, isSrcSigned, isDestSigned, in copyTexture() 1378 GLenum sourceFormat, in getBlitShaderOperation() argument 1386 !gl::IsIntegerFormat(sourceFormat) && gl::IsIntegerFormat(destinationFormat); in getBlitShaderOperation() 1578 GLenum sourceFormat, in getBlitShader() argument 1589 blitShaderOperation = getBlitShaderOperation(destFormat, sourceFormat, isSrcSigned, in getBlitShader()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | TextureGL.cpp | 120 : sourceFormat(sourceFormat_), in LevelInfoGL() 665 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, in copyImage() 671 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, in copyImage() 731 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, clippedOffset, in copySubImage() 828 GLenum sourceFormat = sourceFormatInfo.format; in copySubTextureHelper() local 830 (sourceFormat == destFormat.format && sourceFormat != GL_BGRA_EXT) || in copySubTextureHelper() 831 (sourceFormat == GL_RGBA && destFormat.format == GL_RGB); in copySubTextureHelper() 862 sourceLevelInfo.sourceFormat, unpackFlipY, unpackPremultiplyAlpha, in copySubTextureHelper() 874 needsLumaWorkaround, sourceLevelInfo.sourceFormat, unpackFlipY, unpackPremultiplyAlpha, in copySubTextureHelper() 1516 if (levelInfo.sourceFormat == GL_LUMINANCE || in syncTextureStateSwizzle() [all …]
|
D | TextureGL.h | 37 GLenum sourceFormat; member 55 LevelInfoGL(GLenum sourceFormat,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | TextureGL.cpp | 129 : sourceFormat(sourceFormat_), in LevelInfoGL() 748 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, in copyImage() 754 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, in copyImage() 835 context, mTextureID, getType(), target, levelInfo.sourceFormat, level, clippedOffset, in copySubImage() 963 GLenum sourceFormat = sourceFormatInfo.format; in copySubTextureHelper() local 965 (sourceFormat == destFormat.format && sourceFormat != GL_BGRA_EXT) || in copySubTextureHelper() 966 (sourceFormat == GL_RGBA && destFormat.format == GL_RGB); in copySubTextureHelper() 997 sourceLevelInfo.sourceFormat, unpackFlipY, unpackPremultiplyAlpha, in copySubTextureHelper() 1009 needsLumaWorkaround, sourceLevelInfo.sourceFormat, unpackFlipY, unpackPremultiplyAlpha, in copySubTextureHelper() 1821 if (levelInfo.sourceFormat == GL_LUMINANCE || in syncTextureStateSwizzle() [all …]
|
D | TextureGL.h | 37 GLenum sourceFormat; member 55 LevelInfoGL(GLenum sourceFormat,
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Blitter.cpp | 228 switch(state.sourceFormat) in read() 792 switch(state.sourceFormat) in read() 1085 Surface::isNonNormalizedInteger(state.sourceFormat) && in ApplyScaleAndClamp() 1090 switch(state.sourceFormat) in ApplyScaleAndClamp() 1102 else if(!GetScale(unscale, state.sourceFormat)) in ApplyScaleAndClamp() 1112 bool srcSRGB = Surface::isSRGBformat(state.sourceFormat); in ApplyScaleAndClamp() 1131 else if(Surface::isFloatFormat(state.sourceFormat) && !Surface::isFloatFormat(state.destFormat)) in ApplyScaleAndClamp() 1206 bool intSrc = Surface::isNonNormalizedInteger(state.sourceFormat); in generate() 1209 bool srcQuadLayout = Surface::hasQuadLayout(state.sourceFormat); in generate() 1211 int srcBytes = Surface::bytes(state.sourceFormat); in generate() [all …]
|
D | Blitter.hpp | 67 Format sourceFormat; member
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderFramebufferFetchTests.cpp | 145 tcu::Vec4 getFixedPointFormatThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureF… in getFixedPointFormatThreshold() argument 147 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_FLOATING_POIN… in getFixedPointFormatThreshold() 150 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_SIGNED_INTEGE… in getFixedPointFormatThreshold() 153 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_INTE… in getFixedPointFormatThreshold() 156 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold() 162 tcu::UVec4 getFloatULPThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureFormat& … in getFloatULPThreshold() argument 164 const tcu::IVec4 srcMantissaBits = tcu::getTextureFormatMantissaBitDepth(sourceFormat); in getFloatULPThreshold()
|
D | es31fDrawBuffersIndexedTests.cpp | 442 Vec4 getFixedPointFormatThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureFormat… in getFixedPointFormatThreshold() argument 444 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_FLOATING_POIN… in getFixedPointFormatThreshold() 447 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_SIGNED_INTEGE… in getFixedPointFormatThreshold() 450 …DE_ASSERT(tcu::getTextureChannelClass(sourceFormat.type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_INTE… in getFixedPointFormatThreshold() 453 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold() 459 UVec4 getFloatULPThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureFormat& readP… in getFloatULPThreshold() argument 461 const tcu::IVec4 srcMantissaBits = tcu::getTextureFormatMantissaBitDepth(sourceFormat); in getFloatULPThreshold()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | TextureVk.h | 236 const angle::Format &sourceFormat,
|