Home
last modified time | relevance | path

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

12

/external/swiftshader/src/OpenGL/libGL/
DRenderbuffer.cpp44 return sw2es::GetRedSize(getInternalFormat()); in getRedSize()
49 return sw2es::GetGreenSize(getInternalFormat()); in getGreenSize()
54 return sw2es::GetBlueSize(getInternalFormat()); in getBlueSize()
59 return sw2es::GetAlphaSize(getInternalFormat()); in getAlphaSize()
64 return sw2es::GetDepthSize(getInternalFormat()); in getDepthSize()
69 return sw2es::GetStencilSize(getInternalFormat()); in getStencilSize()
118 sw::Format RenderbufferTexture2D::getInternalFormat() const in getInternalFormat() function in gl::RenderbufferTexture2D
120 return mTexture2D->getInternalFormat(GL_TEXTURE_2D, 0); in getInternalFormat()
174 sw::Format RenderbufferTextureCubeMap::getInternalFormat() const in getInternalFormat() function in gl::RenderbufferTextureCubeMap
176 return mTextureCubeMap->getInternalFormat(mTarget, 0); in getInternalFormat()
[all …]
DRenderbuffer.h54 virtual sw::Format getInternalFormat() const = 0;
80 virtual sw::Format getInternalFormat() const;
102 virtual sw::Format getInternalFormat() const;
125 virtual sw::Format getInternalFormat() const;
158 sw::Format getInternalFormat() const;
DDevice.cpp537 bool equalFormats = source->getInternalFormat() == dest->getInternalFormat(); in stretchRect()
538 …bool depthStencil = Image::isDepth(source->getInternalFormat()) || Image::isStencil(source->getInt… in stretchRect()
541 …if((source->getInternalFormat() == FORMAT_A8R8G8B8 && dest->getInternalFormat() == FORMAT_X8R8G8B8… in stretchRect()
542 … (source->getInternalFormat() == FORMAT_X8R8G8B8 && dest->getInternalFormat() == FORMAT_A8R8G8B8)) in stretchRect()
601 unsigned int bytes = width * Image::bytes(source->getInternalFormat()); in stretchRect()
DTexture.h79 virtual sw::Format getInternalFormat(GLenum target, GLint level) const = 0;
128 virtual sw::Format getInternalFormat(GLenum target, GLint level) const;
181 virtual sw::Format getInternalFormat(GLenum target, GLint level) const;
DTexture.cpp350 sw::Format Texture2D::getInternalFormat(GLenum target, GLint level) const in getInternalFormat() function in gl::Texture2D
353 return image[level] ? image[level]->getInternalFormat() : sw::FORMAT_NULL; in getInternalFormat()
723 sw::Format TextureCubeMap::getInternalFormat(GLenum target, GLint level) const in getInternalFormat() function in gl::TextureCubeMap
726 return image[face][level] ? image[face][level]->getInternalFormat() : sw::FORMAT_NULL; in getInternalFormat()
DContext.cpp2212 if(renderTarget->getInternalFormat() == sw::FORMAT_A8R8G8B8 && in readPixels()
2228 switch(renderTarget->getInternalFormat()) in readPixels()
2298 UNREACHABLE(renderTarget->getInternalFormat()); in readPixels()
2935 …readFramebuffer->getColorbuffer()->getInternalFormat() != drawFramebuffer->getColorbuffer()->getIn… in blitFramebuffer()
2962 …readFramebuffer->getDepthbuffer()->getInternalFormat() != drawFramebuffer->getDepthbuffer()->getIn… in blitFramebuffer()
2978 …readFramebuffer->getStencilbuffer()->getInternalFormat() != drawFramebuffer->getStencilbuffer()->g… in blitFramebuffer()
DImage.hpp49 virtual sw::Format getInternalFormat();
DImage.cpp104 sw::Format Image::getInternalFormat() in getInternalFormat() function in gl::Image
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp542 bool isDepth = (flags & Device::DEPTH_BUFFER) && Surface::isDepth(source->getInternalFormat()); in stretchRect()
543 …bool isStencil = (flags & Device::STENCIL_BUFFER) && Surface::isStencil(source->getInternalFormat(… in stretchRect()
558 bool equalFormats = source->getInternalFormat() == dest->getInternalFormat(); in stretchRect()
559 …dLayout = Surface::hasQuadLayout(source->getInternalFormat()) || Surface::hasQuadLayout(dest->getI… in stretchRect()
564 …bool smallMargin = sourcePitchB <= source->getWidth() * Surface::bytes(source->getInternalFormat()… in stretchRect()
566 …if((source->getInternalFormat() == FORMAT_A8R8G8B8 && dest->getInternalFormat() == FORMAT_X8R8G8B8… in stretchRect()
567 … (source->getInternalFormat() == FORMAT_X8R8G8B8 && dest->getInternalFormat() == FORMAT_A8R8G8B8)) in stretchRect()
588 …), dRect.height(), sourcePitchB, destPitchB, Surface::bytes(source->getInternalFormat()), flipX, f… in stretchRect()
601 …es, width, height, sourcePitchB, destPitchB, Surface::bytes(source->getInternalFormat()), flipX, f… in stretchRect()
639 …urce || !dest || Surface::isDepth(source->getInternalFormat()) || Surface::isStencil(source->getIn… in stretchCube()
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp359 bool equalFormats = source->getInternalFormat() == dest->getInternalFormat(); in stretchRect()
360 …pthStencil = egl::Image::isDepth(source->getInternalFormat()) || egl::Image::isStencil(source->get… in stretchRect()
363 …if((source->getInternalFormat() == FORMAT_A8R8G8B8 && dest->getInternalFormat() == FORMAT_X8R8G8B8… in stretchRect()
364 … (source->getInternalFormat() == FORMAT_X8R8G8B8 && dest->getInternalFormat() == FORMAT_A8R8G8B8)) in stretchRect()
423 unsigned int bytes = width * egl::Image::bytes(source->getInternalFormat()); in stretchRect()
/external/swiftshader/src/Renderer/
DSurface.hpp311 inline Format getInternalFormat() const;
548 return internal ? getInternalFormat() : getExternalFormat(); in getFormat()
596 Format Surface::getInternalFormat() const in getInternalFormat() function in sw::Surface
DContext.cpp1462 return renderTarget[index]->getInternalFormat(); in renderTargetInternalFormat()
1477 if(!renderTarget[index] || renderTarget[index]->getInternalFormat() == FORMAT_NULL) in colorWriteActive()
DSampler.cpp127 internalTextureFormat = surface->getInternalFormat(); in setTextureLevel()
DPixelProcessor.cpp996 state.quadLayoutDepthBuffer = Surface::hasQuadLayout(context->depthBuffer->getInternalFormat()); in update()
DBlitter.cpp139 if(dest->getInternalFormat() == FORMAT_NULL) in blit()
/external/deqp/framework/opengl/
DgluTextureUtil.hpp70 deUint32 getInternalFormat (tcu::TextureFormat format);
DgluTextureUtil.cpp140 deUint32 getInternalFormat (tcu::TextureFormat texFormat) in getInternalFormat() function
/external/deqp/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp455 , m_source (context.getRenderContext(), glu::getInternalFormat(internalFormat), width, height) in SRGBTestTexture()
949 …if ( (glu::getInternalFormat(m_internalFormat) == GL_SRGB8_ALPHA8) && !m_context.getContextInfo().… in init()
954 …if ( (glu::getInternalFormat(m_internalFormat) == GL_SR8_EXT) && !(m_context.getContextInfo().isEx… in init()
1214 switch (glu::getInternalFormat(m_internalFormat)) in formatReferenceColor()
1306 …gl.renderbufferStorage(GL_RENDERBUFFER, glu::getInternalFormat(m_resultTextureFormat), width, heig… in initFrameBuffer()
Des31fTextureGatherTests.cpp1074 DE_ASSERT(glu::isGLInternalColorFormatFilterable(glu::getInternalFormat(m_colorBufferFormat)) || in TextureGatherCase()
1276 …gl.renderbufferStorage(GL_RENDERBUFFER, glu::getInternalFormat(m_colorBufferFormat), RENDER_SIZE.x… in init()
1285 << glu::getTextureFormatName(glu::getInternalFormat(m_colorBufferFormat)) in init()
1695 …m_texture = MovePtr<glu::Texture2D>(new glu::Texture2D(renderCtx, glu::getInternalFormat(m_texture… in createAndUploadTexture()
1822 …m_texture = MovePtr<glu::Texture2DArray>(new glu::Texture2DArray(renderCtx, glu::getInternalFormat in createAndUploadTexture()
1958 …m_texture = MovePtr<glu::TextureCube>(new glu::TextureCube(renderCtx, glu::getInternalFormat(m_tex… in createAndUploadTexture()
Des31fShaderImageLoadStoreTests.cpp734 const deUint32 internalFormat = glu::getInternalFormat(src.getFormat()); in uploadTexture()
1136 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
1355 const deUint32 textureInternalFormatGL = glu::getInternalFormat(m_textureFormat); in iterate()
1356 const deUint32 imageInternalFormatGL = glu::getInternalFormat(m_imageFormat); in iterate()
1931 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
2332 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
2552 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
2777 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
Des31fOpaqueTypeIndexingTests.cpp281 const deUint32 intFormat = glu::getInternalFormat(texFormat); in setupTexture()
/external/deqp/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()
/external/swiftshader/src/Main/
DFrameBuffer.cpp125 updateState.sourceFormat = source->getInternalFormat(); in copy()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp6239 bool equalFormats = source->getInternalFormat() == dest->getInternalFormat(); in stretchRect()
6303 unsigned int bytes = width * sw::Surface::bytes(source->getInternalFormat()); in stretchRect()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp631 …const deUint32 format = glu::getInternalFormat(getRenderbufferFormatForOutput(output.varType, us… in execute()

12