Home
last modified time | relevance | path

Searched refs:getInternalFormat (Results 1 – 25 of 37) 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;
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()
DTextureStorage9.cpp297 mInternalFormat = renderTarget9->getInternalFormat(); in TextureStorage9_EGLImage()
DImage9.cpp210 gl::GetUnsizedFormat(dest->getInternalFormat()), in CopyImage()
/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/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()
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()
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()
/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()
DSampler.cpp127 internalTextureFormat = surface->getInternalFormat(); in setTextureLevel()
/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()
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()
2390 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
2622 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
2847 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
/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()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcNearestEdgeTests.cpp290 const auto internalFormat = glu::getInternalFormat(m_texFormat); in fillTexture()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBuffer.cpp119 updateState.sourceFormat = source->getInternalFormat(); in copy()

12