Home
last modified time | relevance | path

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

123

/third_party/flutter/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.h198 GLenum destFormat,
205 GLenum destFormat,
213 GLenum destFormat,
220 GLenum destFormat,
230 GLenum destFormat,
/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,
/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/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/flutter/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()
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()
407 GLenum destFormat, in testCopyTexture() argument
412 if (!checkExtensions(sourceFormat, destFormat)) in testCopyTexture()
424 calculateCopyTextureResults(sourceFormat, destFormat, premultiplyAlpha, unmultiplyAlpha, in testCopyTexture()
432 glCopyTextureCHROMIUM(mTextures[0], 0, GL_TEXTURE_2D, mTextures[1], 0, destFormat, in testCopyTexture()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp193 : destFormat(nullptr), outputPitch(0), packBuffer(nullptr), offset(0) in PackPixelsParams()
197 const angle::Format &destFormat, in PackPixelsParams() argument
203 destFormat(&destFormat), in PackPixelsParams()
227 if (sourceFormat == *params.destFormat) in PackPixels()
238 PixelCopyFunction fastCopyFunc = sourceFormat.fastCopyFunctions.get(params.destFormat->id); in PackPixels()
248 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels()
257 PixelWriteFunction pixelWriteFunction = params.destFormat->pixelWriteFunction; in PackPixels()
275 destWithOffset + y * params.outputPitch + x * params.destFormat->pixelBytes; in PackPixels()
/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.cpp77 bool destIsSint = params.destFormat->isSint(); in GetConvertVertexFlags()
78 bool destIsUint = params.destFormat->isUint(); in GetConvertVertexFlags()
79 bool destIsFloat = params.destFormat->isFloat(); in GetConvertVertexFlags()
213 uint32_t GetImageCopyFlags(const vk::Format &srcFormat, const vk::Format &destFormat) in GetImageCopyFlags() argument
216 const angle::Format &destAngleFormat = destFormat.angleFormat(); in GetImageCopyFlags()
624 const vk::Format &destFormat = dest->getViewFormat(); in clearBuffer() local
626 uint32_t flags = BufferUtils_comp::kIsClear | GetBufferUtilsFlags(params.size, destFormat); in clearBuffer()
741 shaderParams.Nd = params.destFormat->channelCount; in convertVertexBuffer()
742 shaderParams.Bd = params.destFormat->pixelBytes / params.destFormat->channelCount; in convertVertexBuffer()
1335 const vk::Format &destFormat = dest->getFormat(); in copyImage() local
[all …]
DTextureVk.cpp43 const vk::Format &destFormat) in CanCopyWithTransfer() argument
47 return srcFormat.internalFormat == destFormat.internalFormat && in CanCopyWithTransfer()
50 renderer->hasImageFormatFeatureBits(destFormat.vkImageFormat, in CanCopyWithTransfer()
56 const vk::Format &destFormat) in CanCopyWithDraw() argument
60 renderer->hasImageFormatFeatureBits(destFormat.vkImageFormat, in CanCopyWithDraw()
425 const vk::Format &destFormat = renderer->getFormat(internalFormat.sizedInternalFormat); in copySubImageImpl() local
430 if (!isViewportFlipY && CanCopyWithTransfer(renderer, srcFormat, destFormat)) in copySubImageImpl()
433 destFormat, colorReadRT->getLevelIndex(), in copySubImageImpl()
441 if (CanCopyWithDraw(renderer, srcFormat, destFormat) && !forceCpuPath) in copySubImageImpl()
446 return copySubImageImplWithDraw(contextVk, offsetImageIndex, modifiedDestOffset, destFormat, in copySubImageImpl()
[all …]
DTextureVk.h255 const gl::InternalFormat &destFormat,
266 const vk::Format &destFormat,
275 const vk::Format &destFormat,
DVertexArrayVk.cpp244 const angle::Format &destFormat = vertexFormat.bufferFormat(); in convertVertexBufferGPU() local
249 unsigned destFormatSize = destFormat.pixelBytes; in convertVertexBufferGPU()
270 params.destFormat = &destFormat; in convertVertexBufferGPU()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DRendererD3D.h199 GLenum destFormat,
206 GLenum destFormat,
214 GLenum destFormat,
221 GLenum destFormat,
231 GLenum destFormat,
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.h173 GLenum destFormat,
180 GLenum destFormat,
188 GLenum destFormat,
195 GLenum destFormat,
205 GLenum destFormat,
542 GLenum destFormat,
DBlit11.h46 GLenum destFormat,
235 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,
/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()
/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

123