/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | Format.h | 46 bool isSRGB, 110 bool isSRGB; member 150 bool isSRGB, in Format() 180 isSRGB(isSRGB), in Format() 130 Format(FormatID id, GLenum glFormat, GLenum fboFormat, rx::MipGenerationFunction mipGen, const rx::FastCopyFunctionMap &fastCopyFunctions, rx::PixelReadFunction colorRead, rx::PixelWriteFunction colorWrite, GLenum componentType, GLuint redBits, GLuint greenBits, GLuint blueBits, GLuint alphaBits, GLuint luminanceBits, GLuint depthBits, GLuint stencilBits, GLuint pixelBytes, GLuint componentAlignmentMask, bool isBlock, bool isFixed, bool isScaled, bool isSRGB, bool isYUV, gl::VertexAttribType vertexAttribType) Format() argument
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuAstcUtil.cpp | 456 inline void setASTCErrorColorBlock (void* dst, int blockWidth, int blockHeight, bool isSRGB) 458 if (isSRGB) 484 DecompressResult decodeVoidExtentBlock (void* dst, const Block128& blockData, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode) 495 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); 507 if (isSRGB) 1409 int numPartitions, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode, const deUint32* colorEndpointModes) 1430 if (isSRGB) 1453 const deUint32 c0 = (e0[channelNdx] << 8) | (isSRGB ? 0x80 : e0[channelNdx]); 1454 const deUint32 c1 = (e1[channelNdx] << 8) | (isSRGB ? 0x80 : e1[channelNdx]); 1458 if (isSRGB) [all...] |
H A D | tcuCompressedTexture.hpp | 108 CompressedTexFormat getAstcFormatByBlockSize (const IVec3& size, bool isSRGB);
|
H A D | tcuTextureUtil.hpp | 53 bool isSRGB (TextureFormat format);
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrFragmentOperations.hpp | 146 void executeColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer); 148 void executeMaskedColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::Vec4& colorMaskFactor, const tcu::Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer);
|
H A D | rrFragmentOperations.cpp | 698 void FragmentProcessor::executeColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer) in executeColorWrite() argument 711 if (isSRGB) in executeColorWrite() 742 void FragmentProcessor::executeMaskedColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const Vec4& colorMaskFactor, const Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer) in executeMaskedColorWrite() argument 756 if (isSRGB) in executeMaskedColorWrite() 834 bool sRGBTarget = state.sRGBEnabled && tcu::isSRGB(colorBuffer.getFormat()); in render()
|
/third_party/skia/docs/examples/ |
H A D | Pixmap_colorSpace.cpp | 10 SkDebugf("gammaCloseToSRGB: %s gammaIsLinear: %s isSRGB: %s\n", in REG_FIDDLE() 13 colorSpace->isSRGB() ? "true" : "false"); in REG_FIDDLE()
|
H A D | Bitmap_colorSpace.cpp | 11 SkDebugf("gammaCloseToSRGB: %s gammaIsLinear: %s isSRGB: %s\n", in REG_FIDDLE() 14 colorSpace->isSRGB() ? "true" : "false"); in REG_FIDDLE()
|
H A D | ImageInfo_colorSpace.cpp | 10 SkDebugf("gammaCloseToSRGB: %s gammaIsLinear: %s isSRGB: %s\n", in REG_FIDDLE() 13 colorSpace->isSRGB() ? "true" : "false"); in REG_FIDDLE()
|
H A D | Bitmap_refColorSpace.cpp | 13 SkDebugf("gammaCloseToSRGB: %s gammaIsLinear: %s isSRGB: %s\n", in REG_FIDDLE() 16 colorSpace->isSRGB() ? "true" : "false"); in REG_FIDDLE()
|
H A D | ImageInfo_refColorSpace.cpp | 12 SkDebugf("gammaCloseToSRGB: %s gammaIsLinear: %s isSRGB: %s\n", in REG_FIDDLE() 15 colorSpace->isSRGB() ? "true" : "false"); in REG_FIDDLE()
|
/third_party/skia/src/gpu/ |
H A D | GrDataUtils.cpp | 404 bool* isNormalized, bool* isSRGB) { in get_load_and_src_swizzle() 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() 484 *isSRGB = false; in get_dst_swizzle_and_store() 506 *isSRGB = true; in get_dst_swizzle_and_store() 403 get_load_and_src_swizzle(GrColorType ct, SkRasterPipeline::StockStage* load, bool* isNormalized, bool* isSRGB) get_load_and_src_swizzle() argument 480 get_dst_swizzle_and_store(GrColorType ct, SkRasterPipeline::StockStage* store, LumMode* lumMode, bool* isNormalized, bool* isSRGB) get_dst_swizzle_and_store() argument
|
/third_party/skia/tests/ |
H A D | ColorSpaceTest.cpp | 322 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()
|
H A D | AndroidCodecTest.cpp | 192 REPORTER_ASSERT(r, !cs->isSRGB()); in DEF_TEST()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcInternalformatTests.cpp | 167 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, textureData); in createTexture() 477 unsigned int components, bool isSRGB, in generateTextureData() 511 if (isSRGB) in generateTextureData() 953 const bool isSRGB = textureInternalFormat == GL_SRGB8 || textureInternalFormat == GL_SRGB8_ALPHA8; in iterate() local 978 createTexture(isSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, GL_NEAREST, GL_NEAREST, false); in iterate() 1144 const bool isSRGB = m_testFormat.format == GL_SRGB8 || m_testFormat.format == GL_SRGB8_ALPHA8; in iterate() local 1241 if (loop && isSRGB) in iterate() 476 generateTextureData(GLuint width, GLuint height, GLenum type, unsigned int pixelSize, unsigned int components, bool isSRGB, std::vector<unsigned char>& result) const generateTextureData() argument
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboSRGBWriteControlTests.cpp | 552 TestFramebuffer (Context& context, const deUint32 targetType, const deUint32 colorAttachment, glw::GLuint textureAttachmentHandle, const bool isSRGB, const FboType fboType, const int idx); 577 TestFramebuffer::TestFramebuffer (Context& context, const deUint32 targetType, const deUint32 colorAttachment, glw::GLuint textureAttachmentHandle, const bool isSRGB, const FboType fboType, const int idx) 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 FboSp framebuffer(new TestFramebuffer(m_context, fboConfigList[idx].fboTargetType, fboConfigList[idx].fboColorAttachment, texture->getHandle(), isSRGB, fboConfigList[idx].fboType, idx)); in createFBOwithColorAttachment()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | PixelRoutine.hpp | 64 bool isSRGB(int index) const;
|
/third_party/skia/include/core/ |
H A D | SkColorSpace.h | 197 bool isSRGB() const;
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTextureWrapTests.cpp | 348 const bool isSRGB = tcu::isSRGB(texFormat); in iterate() local 350 const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 : 2), tcu::IVec4(0)); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | TextureD3D.h | 231 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;
|
H A D | TextureD3D.cpp | 936 bool TextureD3D_2D::isSRGB(GLint level) const 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 1942 if (!isSRGB(index.getLevelIndex(), faceIndex) && canCreateRenderTargetForImage(index)) 1991 if (!isSRGB(index.getLevelIndex(), faceIndex) && canCreateRenderTargetForImage(index)) 2468 bool TextureD3D_3D::isSRGB(GLint level) const 2666 if (!isSRGB(index.getLevelIndex()) && canCreateRenderTargetForImage(destIndex)) 2713 if (!isSRGB(index.getLevelIndex()) && canCreateRenderTargetForImage(destIndex)) 3134 bool TextureD3D_2DArray::isSRGB(GLin [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | TextureVk.cpp | 195 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()
|
/third_party/skia/src/core/ |
H A D | SkColorSpace.cpp | 145 bool SkColorSpace::isSRGB() const { in isSRGB() function in SkColorSpace
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | PixelRoutine.hpp | 61 bool isSRGB(int index) const;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassSparseRenderTargetTests.cpp | 686 if (tcu::isSRGB(format)) in verify() 709 if (tcu::isSRGB(format)) in verify()
|