Home
last modified time | relevance | path

Searched refs:getInternalFormat (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
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 …dLayout = Surface::hasQuadLayout(source->getInternalFormat()) || Surface::hasQuadLayout(dest->getI… in stretchRect()
579 …bool smallMargin = sourcePitchB <= source->getWidth() * Surface::bytes(source->getInternalFormat()… in stretchRect()
581 …if((source->getInternalFormat() == FORMAT_A8R8G8B8 && dest->getInternalFormat() == FORMAT_X8R8G8B8… in stretchRect()
582 … (source->getInternalFormat() == FORMAT_X8R8G8B8 && dest->getInternalFormat() == FORMAT_A8R8G8B8)) in stretchRect()
603 …), dRect.height(), sourcePitchB, destPitchB, Surface::bytes(source->getInternalFormat()), flipX, f… in stretchRect()
616 …es, width, height, sourcePitchB, destPitchB, Surface::bytes(source->getInternalFormat()), flipX, f… in stretchRect()
654 …urce || !dest || Surface::isDepth(source->getInternalFormat()) || Surface::isStencil(source->getIn… in stretchCube()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
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()
DRenderTarget9.h51 GLenum getInternalFormat() const override;
82 GLenum getInternalFormat() const override;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
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()
DRenderTarget9.h51 GLenum getInternalFormat() const override;
82 GLenum getInternalFormat() const override;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderTarget11.h71 GLenum getInternalFormat() const override;
109 GLenum getInternalFormat() const override;
DRenderTarget11.cpp306 GLenum TextureRenderTarget11::getInternalFormat() const in getInternalFormat() function in rx::TextureRenderTarget11
348 GLenum SurfaceRenderTarget11::getInternalFormat() const in getInternalFormat() function in rx::SurfaceRenderTarget11
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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderTarget11.h71 GLenum getInternalFormat() const override;
109 GLenum getInternalFormat() const override;
DRenderTarget11.cpp306 GLenum TextureRenderTarget11::getInternalFormat() const in getInternalFormat() function in rx::TextureRenderTarget11
348 GLenum SurfaceRenderTarget11::getInternalFormat() const in getInternalFormat() function in rx::SurfaceRenderTarget11
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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp163 return (baseImage ? baseImage->getInternalFormat() : GL_NONE); in getBaseLevelInternalFormat()
211 gl::InternalFormat internalFormat = gl::GetSizedInternalFormatInfo(image->getInternalFormat()); in shouldUseSetData()
751 const auto &formatInfo = gl::GetSizedInternalFormatInfo(image->getInternalFormat()); in initializeContents()
850 GLenum TextureD3D_2D::getInternalFormat(GLint level) const in getInternalFormat() function in rx::TextureD3D_2D
853 return mImageArray[level]->getInternalFormat(); in getInternalFormat()
860 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).depthBits > 0; in isDepth()
865 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).colorEncoding == GL_SRGB; in isSRGB()
926 GLenum mipFormat = getInternalFormat(index.getLevelIndex()); in setSubImage()
1161 gl::GetSizedInternalFormatInfo(getInternalFormat(index.getLevelIndex())); in copySubTexture()
1374 if (image->getInternalFormat() != getBaseLevelInternalFormat()) in isLevelComplete()
[all …]
DRenderTargetD3D.h29 virtual GLenum getInternalFormat() const = 0;
DImageD3D.h46 GLenum getInternalFormat() const { return mInternalFormat; } in getInternalFormat() function
DTextureD3D.h210 GLenum getInternalFormat(GLint level) const;
340 GLenum getInternalFormat(GLint level, GLint layer) const;
471 GLenum getInternalFormat(GLint level) const;
600 GLenum getInternalFormat(GLint level) const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
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 in getInternalFormat() function in rx::TextureD3D_2D
926 return mImageArray[level]->getInternalFormat(); in getInternalFormat()
933 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).depthBits > 0; in isDepth()
938 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).colorEncoding == GL_SRGB; in isSRGB()
1005 GLenum mipFormat = getInternalFormat(index.getLevelIndex()); in setSubImage()
1244 gl::GetSizedInternalFormatInfo(getInternalFormat(index.getLevelIndex())); in copySubTexture()
1460 if (image->getInternalFormat() != getBaseLevelInternalFormat()) in isLevelComplete()
[all …]
DRenderTargetD3D.h29 virtual GLenum getInternalFormat() const = 0;
DImageD3D.h43 GLenum getInternalFormat() const { return mInternalFormat; } in getInternalFormat() function
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/
DSurface.hpp283 inline Format getInternalFormat() const;
520 return internal ? getInternalFormat() : getExternalFormat(); in getFormat()
568 Format Surface::getInternalFormat() const in getInternalFormat() function in sw::Surface
DContext.cpp1463 return renderTarget[index]->getInternalFormat(); in renderTargetInternalFormat()
1486 if(!renderTarget[index] || renderTarget[index]->getInternalFormat() == FORMAT_NULL) in colorWriteActive()
/third_party/vk-gl-cts/framework/opengl/
DgluTextureUtil.hpp70 deUint32 getInternalFormat (tcu::TextureFormat format);
/third_party/vk-gl-cts/modules/gles31/functional/
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().… in init()
961 …if ( (glu::getInternalFormat(m_internalFormat) == GL_SRG8_EXT) && !(m_context.getContextInfo().isE… in init()
966 …if ( (glu::getInternalFormat(m_internalFormat) == GL_SR8_EXT) && !(m_context.getContextInfo().isEx… in init()
1236 switch (glu::getInternalFormat(m_internalFormat)) in formatReferenceColor()
1334 …gl.renderbufferStorage(GL_RENDERBUFFER, glu::getInternalFormat(m_resultTextureFormat), width, heig… in initFrameBuffer()
Des31fTextureGatherTests.cpp1075 DE_ASSERT(glu::isGLInternalColorFormatFilterable(glu::getInternalFormat(m_colorBufferFormat)) || in TextureGatherCase()
1278 …gl.renderbufferStorage(GL_RENDERBUFFER, glu::getInternalFormat(m_colorBufferFormat), RENDER_SIZE.x… in init()
1287 << glu::getTextureFormatName(glu::getInternalFormat(m_colorBufferFormat)) in init()
1700 …m_texture = MovePtr<glu::Texture2D>(new glu::Texture2D(renderCtx, glu::getInternalFormat(m_texture… in createAndUploadTexture()
1827 …m_texture = MovePtr<glu::Texture2DArray>(new glu::Texture2DArray(renderCtx, glu::getInternalFormat in createAndUploadTexture()
1963 …m_texture = MovePtr<glu::TextureCube>(new glu::TextureCube(renderCtx, glu::getInternalFormat(m_tex… in createAndUploadTexture()
/third_party/vk-gl-cts/modules/egl/
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()

12