Home
last modified time | relevance | path

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

12

/external/angle/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.h200 GLenum destFormat,
207 GLenum destFormat,
215 GLenum destFormat,
222 GLenum destFormat,
232 GLenum destFormat,
/external/swiftshader/src/Device/
DBlitter.hpp83 …State(vk::Format sourceFormat, vk::Format destFormat, int srcSamples, int destSamples, const Optio… in State()
87 , destFormat(destFormat) in State()
99 vk::Format destFormat; member
DBlitter.cpp479 switch(state.destFormat) in write()
970 UNSUPPORTED("Blitter destination format %d", (int)state.destFormat); in write()
1063 switch(state.destFormat) in write()
1115 switch(state.destFormat) in write()
1293 UNSUPPORTED("Blitter destination format %d", (int)state.destFormat); in write()
1303 !state.destFormat.isUnnormalizedInteger()) in ApplyScaleAndClamp()
1324 scale = state.destFormat.getScale(); in ApplyScaleAndClamp()
1327 bool dstSRGB = state.destFormat.isSRGBformat(); in ApplyScaleAndClamp()
1341 if(state.sourceFormat.isFloatFormat() && !state.destFormat.isFloatFormat()) in ApplyScaleAndClamp()
1345 value = Max(value, Float4(state.destFormat.isUnsignedComponent(0) ? 0.0f : -scale.x, in ApplyScaleAndClamp()
[all …]
/external/angle/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()
220 bool checkExtensions(GLenum sourceFormat, GLenum destFormat) const in checkExtensions()
229 if ((sourceFormat == GL_BGRA_EXT || destFormat == GL_BGRA_EXT) && in checkExtensions()
239 GLenum destFormat, in calculateCopyTextureResults() argument
288 switch (destFormat) in calculateCopyTextureResults()
409 GLenum destFormat, in testCopyTexture() argument
414 if (!checkExtensions(sourceFormat, destFormat)) in testCopyTexture()
426 calculateCopyTextureResults(sourceFormat, destFormat, premultiplyAlpha, unmultiplyAlpha, in testCopyTexture()
435 glCopyTextureCHROMIUM(mTextures[0], 0, GL_TEXTURE_2D, mTextures[1], 0, destFormat, in testCopyTexture()
[all …]
/external/angle/src/libANGLE/renderer/
Drenderer_utils.cpp212 : destFormat(nullptr), outputPitch(0), packBuffer(nullptr), offset(0) in PackPixelsParams()
216 const angle::Format &destFormat, in PackPixelsParams() argument
222 destFormat(&destFormat), in PackPixelsParams()
246 if (sourceFormat == *params.destFormat) in PackPixels()
257 PixelCopyFunction fastCopyFunc = sourceFormat.fastCopyFunctions.get(params.destFormat->id); in PackPixels()
267 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels()
276 PixelWriteFunction pixelWriteFunction = params.destFormat->pixelWriteFunction; in PackPixels()
294 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels()
Drenderer_utils.h85 const angle::Format &destFormat,
92 const angle::Format *destFormat; member
/external/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
/external/angle/src/libANGLE/renderer/d3d/
DRendererD3D.h202 GLenum destFormat,
209 GLenum destFormat,
217 GLenum destFormat,
224 GLenum destFormat,
234 GLenum destFormat,
/external/angle/src/libANGLE/renderer/vulkan/
DTextureVk.cpp47 const vk::Format &destFormat) in CanCopyWithTransfer() argument
51 return srcFormat.internalFormat == destFormat.internalFormat && in CanCopyWithTransfer()
54 renderer->hasImageFormatFeatureBits(destFormat.vkImageFormat, in CanCopyWithTransfer()
60 const vk::Format &destFormat) in CanCopyWithDraw() argument
64 renderer->hasImageFormatFeatureBits(destFormat.vkImageFormat, in CanCopyWithDraw()
434 const vk::Format &destFormat = renderer->getFormat(internalFormat.sizedInternalFormat); in copySubImageImpl() local
439 if (!isViewportFlipY && CanCopyWithTransfer(renderer, srcFormat, destFormat)) in copySubImageImpl()
442 destFormat, colorReadRT->getLevelIndex(), in copySubImageImpl()
450 if (CanCopyWithDraw(renderer, srcFormat, destFormat) && !forceCPUPath) in copySubImageImpl()
459 return copySubImageImplWithDraw(contextVk, offsetImageIndex, modifiedDestOffset, destFormat, in copySubImageImpl()
[all …]
DTextureVk.h315 const gl::InternalFormat &destFormat,
326 const vk::Format &destFormat,
335 const vk::Format &destFormat,
DVertexArrayVk.cpp361 const angle::Format &destFormat = vertexFormat.actualBufferFormat(); in convertVertexBufferGPU() local
366 unsigned destFormatSize = destFormat.pixelBytes; in convertVertexBufferGPU()
387 params.destFormat = &destFormat; in convertVertexBufferGPU()
DUtilsVk.cpp91 bool destIsSint = params.destFormat->isSint(); in GetConvertVertexFlags()
92 bool destIsUint = params.destFormat->isUint(); in GetConvertVertexFlags()
93 bool destIsFloat = params.destFormat->isFloat(); in GetConvertVertexFlags()
94 bool destIsHalfFloat = params.destFormat->isVertexTypeHalfFloat(); in GetConvertVertexFlags()
801 const vk::Format &destFormat = dest->getViewFormat(); in clearBuffer() local
803 uint32_t flags = BufferUtils_comp::kIsClear | GetBufferUtilsFlags(params.size, destFormat); in clearBuffer()
1102 shaderParams.Nd = params.destFormat->channelCount; in convertVertexBuffer()
1103 shaderParams.Bd = params.destFormat->pixelBytes / params.destFormat->channelCount; in convertVertexBuffer()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.h175 GLenum destFormat,
182 GLenum destFormat,
190 GLenum destFormat,
197 GLenum destFormat,
207 GLenum destFormat,
549 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.cpp2346 GLenum destFormat, in copyImageInternal() argument
2395 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2407 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2416 GLenum destFormat, in copyImage2D() argument
2430 ANGLE_TRY(copyImageInternal(context, framebuffer, sourceRect, destFormat, destOffset, in copyImage2D()
2441 GLenum destFormat, in copyImageCube() argument
2456 ANGLE_TRY(copyImageInternal(context, framebuffer, sourceRect, destFormat, destOffset, in copyImageCube()
2467 GLenum destFormat, in copyImage3D() argument
2481 ANGLE_TRY(copyImageInternal(context, framebuffer, sourceRect, destFormat, destOffset, in copyImage3D()
2492 GLenum destFormat, in copyImage2DArray() argument
[all …]
/external/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
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h910 GLenum destFormat, GLubyte *dest, GLint dstRowStride) in tx_compress_dxtn() argument
919 switch (destFormat) { in tx_compress_dxtn()
934 encodedxtcolorblockfaster(blkaddr, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxtn()
961 encodedxtcolorblockfaster(blkaddr, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxtn()
981 encodedxtcolorblockfaster(blkaddr + 8, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxtn()
/external/angle/src/libANGLE/renderer/gl/
DBlitGL.h99 GLenum destFormat,
DTextureGL.cpp859 const gl::InternalFormat &destFormat, in copySubTextureHelper() argument
892 (sourceFormat == destFormat.format && sourceFormat != GL_BGRA_EXT) || in copySubTextureHelper()
893 (sourceFormat == GL_RGBA && destFormat.format == GL_RGB); in copySubTextureHelper()
896 GLenum destComponentType = destFormat.componentType; in copySubTextureHelper()
897 bool destSRGB = destFormat.colorEncoding == GL_SRGB; in copySubTextureHelper()
935 destFormat.format, destFormat.type, sourceImageDesc.size, sourceArea, destOffset, in copySubTextureHelper()
/external/angle/src/libANGLE/
DvalidationES3.cpp737 GLenum destFormat; member
757 if ((formatInfo.destFormat == targetFormat) && in QueryEffectiveFormatList()
802 const InternalFormat &destFormat, in GetUnsizedEffectiveInternalFormatInfo() argument
825 return QueryEffectiveFormatList(srcFormat, destFormat.format, list, ArraySize(list), in GetUnsizedEffectiveInternalFormatInfo()
830 const InternalFormat &destFormat, in GetEffectiveInternalFormat() argument
833 if (destFormat.sized) in GetEffectiveInternalFormat()
839 return GetUnsizedEffectiveInternalFormatInfo(srcFormat, destFormat, outEffectiveFormat); in GetEffectiveInternalFormat()
2219 const InternalFormat &destFormat = *dest->getFormat(destTarget, destLevel).info; in ValidateCopySubTexture3DANGLE() local
2223 destFormat.internalFormat, destTarget)) in ValidateCopySubTexture3DANGLE()

12