Home
last modified time | relevance | path

Searched refs:isSRGB (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h46 bool isSRGB,
110 bool isSRGB; member
150 bool isSRGB, in Format() argument
180 isSRGB(isSRGB), in Format()
/third_party/vk-gl-cts/framework/common/
DtcuAstcUtil.cpp456 inline void setASTCErrorColorBlock (void* dst, int blockWidth, int blockHeight, bool isSRGB) in setASTCErrorColorBlock() argument
458 if (isSRGB) in setASTCErrorColorBlock()
484 …void* dst, const Block128& blockData, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode) in decodeVoidExtentBlock() argument
495 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decodeVoidExtentBlock()
507 if (isSRGB) in decodeVoidExtentBlock()
1409 …int numPartitions, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode, const deUint32* c… in setTexelColors() argument
1430 if (isSRGB) in setTexelColors()
1453 const deUint32 c0 = (e0[channelNdx] << 8) | (isSRGB ? 0x80 : e0[channelNdx]); in setTexelColors()
1454 const deUint32 c1 = (e1[channelNdx] << 8) | (isSRGB ? 0x80 : e1[channelNdx]); in setTexelColors()
1458 if (isSRGB) in setTexelColors()
[all …]
DtcuCompressedTexture.hpp108 CompressedTexFormat getAstcFormatByBlockSize (const IVec3& size, bool isSRGB);
DtcuTextureUtil.hpp53 bool isSRGB (TextureFormat format);
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.hpp146 …xOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelB…
148 …u::Vec4& colorMaskFactor, const tcu::Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelB…
DrrFragmentOperations.cpp698 …xOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelB… in executeColorWrite() argument
711 if (isSRGB) in executeColorWrite()
742 …, const Vec4& colorMaskFactor, const Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelB… in executeMaskedColorWrite() argument
756 if (isSRGB) in executeMaskedColorWrite()
834 bool sRGBTarget = state.sRGBEnabled && tcu::isSRGB(colorBuffer.getFormat()); in render()
/third_party/skia/docs/examples/
DImageInfo_colorSpace.cpp13 colorSpace->isSRGB() ? "true" : "false"); in draw()
DPixmap_colorSpace.cpp13 colorSpace->isSRGB() ? "true" : "false"); in draw()
DBitmap_colorSpace.cpp14 colorSpace->isSRGB() ? "true" : "false"); in draw()
DImageInfo_refColorSpace.cpp15 colorSpace->isSRGB() ? "true" : "false"); in draw()
DBitmap_refColorSpace.cpp16 colorSpace->isSRGB() ? "true" : "false"); in draw()
/third_party/skia/src/gpu/
DGrDataUtils.cpp404 bool* isNormalized, bool* isSRGB) { in get_load_and_src_swizzle() argument
407 *isSRGB = false; in get_load_and_src_swizzle()
429 *isSRGB = true; in get_load_and_src_swizzle()
481 LumMode* lumMode, bool* isNormalized, bool* isSRGB) { in get_dst_swizzle_and_store() argument
484 *isSRGB = false; in get_dst_swizzle_and_store()
506 *isSRGB = true; in get_dst_swizzle_and_store()
/third_party/skia/tests/
DColorSpaceTest.cpp322 REPORTER_ASSERT(r, srgb0->isSRGB()); in DEF_TEST()
323 REPORTER_ASSERT(r, !twoDotTwo->isSRGB()); in DEF_TEST()
328 REPORTER_ASSERT(r, srgb->isSRGB()); in DEF_TEST()
DAndroidCodecTest.cpp192 REPORTER_ASSERT(r, !cs->isSRGB()); in DEF_TEST()
/third_party/skia/include/core/
DSkColorSpace.h197 bool isSRGB() const;
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFboSRGBWriteControlTests.cpp552 …eUint32 colorAttachment, glw::GLuint textureAttachmentHandle, const bool isSRGB, const FboType fbo…
577 …eUint32 colorAttachment, glw::GLuint textureAttachmentHandle, const bool isSRGB, const FboType fbo… in TestFramebuffer() argument
582 , m_isSRGB (isSRGB) in TestFramebuffer()
1062 bool isSRGB; in createFBOwithColorAttachment() local
1064 isSRGB = true; in createFBOwithColorAttachment()
1066 isSRGB = false; in createFBOwithColorAttachment()
1068 …TargetType, fboConfigList[idx].fboColorAttachment, texture->getHandle(), isSRGB, fboConfigList[idx… in createFBOwithColorAttachment()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcInternalformatTests.cpp167 bool isSRGB, std::vector<unsigned char>& result) const;
234 bool isSRGB = internalFormat == GL_SRGB8 || internalFormat == GL_SRGB8_ALPHA8; in createTexture() local
240 …generateTextureData(m_renderWidth, m_renderHeight, type, pixelSize, components, isSRGB, textureDat… in createTexture()
477 unsigned int components, bool isSRGB, in generateTextureData() argument
511 if (isSRGB) in generateTextureData()
953 …const bool isSRGB = textureInternalFormat == GL_SRGB8 || textureInternalFormat == GL_SRGB8_ALP… in iterate() local
978 …createTexture(isSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, GL_NEAREST, GL_NEARES… in iterate()
1139 const bool isSRGB = m_testFormat.format == GL_SRGB8 || m_testFormat.format == GL_SRGB8_ALPHA8; in iterate() local
1234 if (loop && isSRGB) in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureWrapTests.cpp348 const bool isSRGB = tcu::isSRGB(texFormat); in iterate() local
350 …const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 … in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dcopy_buffer.metal318 static inline float4 readR8G8B8A8(COMMON_READ_FUNC_PARAMS, bool isSRGB)
323 if (isSRGB)
333 static inline void writeR8G8B8A8(COMMON_WRITE_FLOAT_FUNC_PARAMS, bool isSRGB)
337 if (isSRGB)
349 static inline float4 readR8G8B8(COMMON_READ_FUNC_PARAMS, bool isSRGB)
357 if (isSRGB)
363 static inline void writeR8G8B8(COMMON_WRITE_FLOAT_FUNC_PARAMS, bool isSRGB)
368 if (isSRGB)
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DPixelRoutine.hpp64 bool isSRGB(int index) const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp936 bool TextureD3D_2D::isSRGB(GLint level) const in isSRGB() function in rx::TextureD3D_2D
1191 if (!isSRGB(index.getLevelIndex()) && canCreateRenderTargetForImage(index)) in copyTexture()
1237 if (!isSRGB(index.getLevelIndex()) && canCreateRenderTargetForImage(index)) in copySubTexture()
1733 bool TextureD3D_Cube::isSRGB(GLint level, GLint layer) const in isSRGB() function in rx::TextureD3D_Cube
1942 if (!isSRGB(index.getLevelIndex(), faceIndex) && canCreateRenderTargetForImage(index)) in copyTexture()
1991 if (!isSRGB(index.getLevelIndex(), faceIndex) && canCreateRenderTargetForImage(index)) in copySubTexture()
2468 bool TextureD3D_3D::isSRGB(GLint level) const in isSRGB() function in rx::TextureD3D_3D
2666 if (!isSRGB(index.getLevelIndex()) && canCreateRenderTargetForImage(destIndex)) in copyTexture()
2713 if (!isSRGB(index.getLevelIndex()) && canCreateRenderTargetForImage(destIndex)) in copySubTexture()
3134 bool TextureD3D_2DArray::isSRGB(GLint level) const in isSRGB() function in rx::TextureD3D_2DArray
[all …]
DTextureD3D.h231 bool isSRGB(GLint level) const;
363 bool isSRGB(GLint level, GLint layer) const;
496 bool isSRGB(GLint level) const;
729 bool isSRGB(GLint level) const;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp575 if (tcu::isSRGB(format)) in iterateInternal()
598 if (tcu::isSRGB(format)) in iterateInternal()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.hpp61 bool isSRGB(int index) const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DTextureVk.cpp195 const bool isSRGB = angleFormat.isSRGB; in CanGenerateMipmapWithCompute() local
209 return hasStorageSupport && !isSRGB && !isInt && is2D && !isMultisampled && isColorFormat; in CanGenerateMipmapWithCompute()
1800 ASSERT(!mImage->getActualFormat().isSRGB); in generateMipmapsWithCompute()
2777 bool decodeSRGB = format.getActualImageFormat(getRequiredImageAccess()).isSRGB; in shouldDecodeSRGB()
2855 ASSERT(angleFormat.isSRGB == in getCopyImageViewAndRecordUse()
2857 if (angleFormat.isSRGB) in getCopyImageViewAndRecordUse()
3280 (angleFormat.isSRGB && (samplerState.getSRGBDecode() == GL_DECODE_EXT)) in getImageViewSubresourceSerial()
3284 (!angleFormat.isSRGB && (mState.getSRGBOverride() == gl::SrgbOverride::SRGB)) in getImageViewSubresourceSerial()

123