Home
last modified time | relevance | path

Searched refs:getInternalFormat (Results 1 - 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DDevice.cpp557 bool isDepth = (flags & Device::DEPTH_BUFFER) && Surface::isDepth(source->getInternalFormat()); in stretchRect()
558 bool isStencil = (flags & Device::STENCIL_BUFFER) && Surface::isStencil(source->getInternalFormat()); in stretchRect()
573 bool equalFormats = source->getInternalFormat() == dest->getInternalFormat(); in stretchRect()
574 bool hasQuadLayout = Surface::hasQuadLayout(source->getInternalFormat()) || Surface::hasQuadLayout(dest->getInternalFormat()); in stretchRect()
579 bool smallMargin = sourcePitchB <= source->getWidth() * Surface::bytes(source->getInternalFormat()) + 16; in stretchRect()
581 if((source->getInternalFormat() == FORMAT_A8R8G8B8 && dest->getInternalFormat() == FORMAT_X8R8G8B8) || in stretchRect()
582 (source->getInternalFormat() in stretchRect()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DRenderTarget9.cpp70 GLenum TextureRenderTarget9::getInternalFormat() const in getInternalFormat() function in rx::TextureRenderTarget9
128 GLenum SurfaceRenderTarget9::getInternalFormat() const in getInternalFormat() function in rx::SurfaceRenderTarget9
157 return d3d9::GetTextureFormatInfo(getInternalFormat()).texFormat; in getD3DFormat()
H A DRenderTarget9.h51 GLenum getInternalFormat() const override;
82 GLenum getInternalFormat() const override;
H A DRenderer9.cpp1125 renderTarget->getInternalFormat() == GL_SRGB8_ALPHA8); in updateState()
1322 gl::GetSizedInternalFormatInfo(depthStencilRenderTarget->getInternalFormat()); in applyRenderTarget()
1933 gl::GetSizedInternalFormatInfo(depthStencilRenderTarget->getInternalFormat()); in clear()
1953 gl::GetSizedInternalFormatInfo(colorRenderTarget->getInternalFormat()); in clear()
2619 source->getInternalFormat(), source->getSamples(), &newRT)); in createRenderTargetCopy()
3166 gl::GetSizedInternalFormatInfo(renderTarget->getInternalFormat()); in clearRenderTarget()
H A DTextureStorage9.cpp297 mInternalFormat = renderTarget9->getInternalFormat(); in TextureStorage9_EGLImage()
H A DImage9.cpp210 gl::GetUnsizedFormat(dest->getInternalFormat()), in CopyImage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DRenderTarget11.h71 GLenum getInternalFormat() const override;
109 GLenum getInternalFormat() const override;
H A DRenderTarget11.cpp306 GLenum TextureRenderTarget11::getInternalFormat() const in getInternalFormat() function in rx::TextureRenderTarget11
348 GLenum SurfaceRenderTarget11::getInternalFormat() const in getInternalFormat() function in rx::SurfaceRenderTarget11
H A DImage11.cpp67 d3d11::Format::Get(src->getInternalFormat(), rendererCaps).format().mipGenerationFunction; in GenerateMipmap()
97 d3d11::Format::Get(source->getInternalFormat(), rendererCaps).format(); in CopyImage()
101 GLenum destUnsizedFormat = gl::GetUnsizedFormat(dest->getInternalFormat()); in CopyImage()
102 const auto &destFormat = d3d11::Format::Get(dest->getInternalFormat(), rendererCaps).format(); in CopyImage()
H A DTextureStorage11.cpp677 gl::GetSizedInternalFormatInfo(source->getInternalFormat()); in generateMipmap()
752 gl::GetInternalFormatInfo(image->getInternalFormat(), type); in setData()
783 d3d11::Format::Get(image->getInternalFormat(), mRenderer->getRenderer11DeviceCaps()); in setData()
1865 renderTarget11->getInternalFormat(), in TextureStorage11_EGLImage()
H A DRenderer11.cpp2977 source->getInternalFormat(), source->getSamples(), &newRT)); in createRenderTargetCopy()
3677 gl::GetSizedInternalFormatInfo(drawRenderTarget->getInternalFormat()); in blitRenderbufferRect()
3679 gl::GetSizedInternalFormatInfo(readRenderTarget->getInternalFormat()); in blitRenderbufferRect()
4242 const auto &glFormat = gl::GetSizedInternalFormatInfo(renderTarget->getInternalFormat()); in clearRenderTarget()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DTextureD3D.cpp164 return (baseImage ? baseImage->getInternalFormat() : GL_NONE); in getBaseLevelInternalFormat()
215 gl::InternalFormat internalFormat = gl::GetSizedInternalFormatInfo(image->getInternalFormat()); in shouldUseSetData()
809 const auto &formatInfo = gl::GetSizedInternalFormatInfo(image->getInternalFormat()); in initializeContents()
923 GLenum TextureD3D_2D::getInternalFormat(GLint level) const
926 return mImageArray[level]->getInternalFormat();
933 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).depthBits > 0;
938 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).colorEncoding == GL_SRGB;
1005 GLenum mipFormat = getInternalFormat(index.getLevelIndex()); in setSubImage()
1244 gl::GetSizedInternalFormatInfo(getInternalFormat(index.getLevelIndex())); in copySubTexture()
1460 if (image->getInternalFormat() ! in isLevelComplete()
[all...]
H A DRenderTargetD3D.h29 virtual GLenum getInternalFormat() const = 0;
H A DImageD3D.h43 GLenum getInternalFormat() const { return mInternalFormat; } in getInternalFormat() function in rx::ImageD3D
H A DTextureD3D.h229 GLenum getInternalFormat(GLint level) const;
361 GLenum getInternalFormat(GLint level, GLint layer) const;
494 GLenum getInternalFormat(GLint level) const;
625 GLenum getInternalFormat(GLint level) const;
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DSurface.hpp283 inline Format getInternalFormat() const;
520 return internal ? getInternalFormat() : getExternalFormat(); in getFormat()
568 Format Surface::getInternalFormat() const in getInternalFormat() function in sw::Surface
H A DContext.cpp1463 return renderTarget[index]->getInternalFormat(); in renderTargetInternalFormat()
1486 if(!renderTarget[index] || renderTarget[index]->getInternalFormat() == FORMAT_NULL) in colorWriteActive()
H A DSampler.cpp127 internalTextureFormat = surface->getInternalFormat(); in setTextureLevel()
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureUtil.hpp70 deUint32 getInternalFormat (tcu::TextureFormat format);
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSRGBDecodeTests.cpp456 , m_source (context.getRenderContext(), glu::getInternalFormat(internalFormat), width, height) in SRGBTestTexture()
956 if ( (glu::getInternalFormat(m_internalFormat) == GL_SRGB8_ALPHA8) && !m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_sRGB_decode") ) in init()
961 if ( (glu::getInternalFormat(m_internalFormat) == GL_SRG8_EXT) && !(m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_sRGB_RG8")) ) in init()
966 if ( (glu::getInternalFormat(m_internalFormat) == GL_SR8_EXT) && !(m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_sRGB_R8")) ) in init()
1236 switch (glu::getInternalFormat(m_internalFormat)) in formatReferenceColor()
1334 gl.renderbufferStorage(GL_RENDERBUFFER, glu::getInternalFormat(m_resultTextureFormat), width, height); in initFrameBuffer()
H A Des31fTextureGatherTests.cpp1075 DE_ASSERT(glu::isGLInternalColorFormatFilterable(glu::getInternalFormat(m_colorBufferFormat)) || in TextureGatherCase()
1278 gl.renderbufferStorage(GL_RENDERBUFFER, glu::getInternalFormat(m_colorBufferFormat), RENDER_SIZE.x(), RENDER_SIZE.y()); in init()
1287 << glu::getTextureFormatName(glu::getInternalFormat(m_colorBufferFormat)) in init()
1700 m_texture = MovePtr<glu::Texture2D>(new glu::Texture2D(renderCtx, glu::getInternalFormat(m_textureFormat), m_textureSize.x(), m_textureSize.y())); in createAndUploadTexture()
1827 m_texture = MovePtr<glu::Texture2DArray>(new glu::Texture2DArray(renderCtx, glu::getInternalFormat(m_textureFormat), m_textureSize.x(), m_textureSize.y(), m_textureSize.z()));
1963 m_texture = MovePtr<glu::TextureCube>(new glu::TextureCube(renderCtx, glu::getInternalFormat(m_textureFormat), m_textureSize));
H A Des31fShaderImageLoadStoreTests.cpp768 const deUint32 internalFormat = glu::getInternalFormat(src.getFormat()); in uploadTexture()
1170 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
1389 const deUint32 textureInternalFormatGL = glu::getInternalFormat(m_textureFormat); in iterate()
1390 const deUint32 imageInternalFormatGL = glu::getInternalFormat(m_imageFormat); in iterate()
1975 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
2388 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
2632 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
2857 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
/third_party/vk-gl-cts/modules/egl/
H A DteglImageUtil.cpp184 GLenum getInternalFormat (void) const { return m_internalFormat; } in getInternalFormat() function in deqp::egl::Image::TextureImageSource
212 return glu::getInternalFormat(glu::mapGLTransferFormat(format, type)); in getEffectiveFormat()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcNearestEdgeTests.cpp290 const auto internalFormat = glu::getInternalFormat(m_texFormat); in fillTexture()
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DFrameBuffer.cpp119 updateState.sourceFormat = source->getInternalFormat(); in copy()

Completed in 49 milliseconds

12