Home
last modified time | relevance | path

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

12

/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/Device/
DSurface.hpp145 inline VkFormat getInternalFormat() const;
368 return internal ? getInternalFormat() : getExternalFormat(); in getFormat()
416 VkFormat Surface::getInternalFormat() const in getInternalFormat() function in sw::Surface
DContext.cpp746 return renderTarget[index]->getInternalFormat(); in renderTargetInternalFormat()
761 if(!renderTarget[index] || renderTarget[index]->getInternalFormat() == VK_FORMAT_UNDEFINED) in colorWriteActive()
DSampler.cpp126 internalTextureFormat = surface->getInternalFormat(); in setTextureLevel()
DPixelProcessor.cpp674 state.quadLayoutDepthBuffer = Surface::hasQuadLayout(context->depthBuffer->getInternalFormat()); in update()
DBlitter.cpp141 if(dest->getInternalFormat() == VK_FORMAT_UNDEFINED) in blit()
DSurface.cpp3041 int srcBytes = src->bytes(src->Surface::getInternalFormat()); in copyCubeEdge()
3043 int dstBytes = dst->bytes(dst->Surface::getInternalFormat()); in copyCubeEdge()
/external/swiftshader/src/Renderer/
DSurface.hpp311 inline Format getInternalFormat() const;
549 return internal ? getInternalFormat() : getExternalFormat(); in getFormat()
597 Format Surface::getInternalFormat() const in getInternalFormat() function in sw::Surface
DContext.cpp1463 return renderTarget[index]->getInternalFormat(); in renderTargetInternalFormat()
1478 if(!renderTarget[index] || renderTarget[index]->getInternalFormat() == FORMAT_NULL) in colorWriteActive()
DSampler.cpp127 internalTextureFormat = surface->getInternalFormat(); in setTextureLevel()
DPixelProcessor.cpp1006 state.quadLayoutDepthBuffer = Surface::hasQuadLayout(context->depthBuffer->getInternalFormat()); in update()
DBlitter.cpp141 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/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/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()
Des31fDrawBuffersIndexedTests.cpp410 const deUint32 glFormat = glu::getInternalFormat(format); in genRenderbuffers()
/external/swiftshader/src/WSI/
DFrameBuffer.cpp121 updateState.sourceFormat = source->getInternalFormat(); in copy()
/external/swiftshader/src/Main/
DFrameBuffer.cpp121 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