Home
last modified time | relevance | path

Searched refs:getExternalFormat (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/src/OpenGL/common/
DImage.cpp1489 ASSERT_OR_RETURN(getExternalFormat() == sw::FORMAT_A8B8G8R8); in loadImageData()
1495 …ASSERT_OR_RETURN(internalformat == GL_RGBA8_SNORM && getExternalFormat() == sw::FORMAT_A8B8G8R8_SN… in loadImageData()
1498 ASSERT_OR_RETURN(internalformat == GL_RGBA4 && getExternalFormat() == sw::FORMAT_A8B8G8R8); in loadImageData()
1501 ASSERT_OR_RETURN(internalformat == GL_RGB5_A1 && getExternalFormat() == sw::FORMAT_A8B8G8R8); in loadImageData()
1507 ASSERT_OR_RETURN(getExternalFormat() == sw::FORMAT_A2B10G10R10); in loadImageData()
1510 ASSERT_OR_RETURN(getExternalFormat() == sw::FORMAT_A8B8G8R8); in loadImageData()
1517 … ASSERT_OR_RETURN(internalformat == GL_RGBA16F && getExternalFormat() == sw::FORMAT_A16B16G16R16F); in loadImageData()
1533 ASSERT_OR_RETURN(internalformat == GL_RGBA8UI && getExternalFormat() == sw::FORMAT_A8B8G8R8UI); in loadImageData()
1536 ASSERT_OR_RETURN(internalformat == GL_RGBA8I && getExternalFormat() == sw::FORMAT_A8B8G8R8I); in loadImageData()
1539 …ASSERT_OR_RETURN(internalformat == GL_RGBA16UI && getExternalFormat() == sw::FORMAT_A16B16G16R16UI… in loadImageData()
[all …]
/external/swiftshader/src/D3D8/
DDirect3DVolume8.cpp148 lockedVolume->RowPitch = pitchB(getWidth(), 0, getExternalFormat(), false); in LockBox()
149 lockedVolume->SlicePitch = sliceB(getWidth(), getHeight(), 0, getExternalFormat(), false); in LockBox()
/external/swiftshader/src/Renderer/
DSurface.hpp303 inline Format getExternalFormat() const;
548 return internal ? getInternalFormat() : getExternalFormat(); in getFormat()
571 Format Surface::getExternalFormat() const in getExternalFormat() function in sw::Surface
DSampler.cpp126 externalTextureFormat = surface->getExternalFormat(); in setTextureLevel()
DPixelProcessor.cpp1026 …context->renderTarget[0] && Surface::isSRGBwritable(context->renderTarget[0]->getExternalFormat()); in update()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp2458 if(renderTarget->getExternalFormat() == sw::FORMAT_A8B8G8R8 && in readPixels()
2463 else if(renderTarget->getExternalFormat() == sw::FORMAT_A8R8G8B8 && in readPixels()
2473 else if(renderTarget->getExternalFormat() == sw::FORMAT_X8R8G8B8 && in readPixels()
2483 else if(renderTarget->getExternalFormat() == sw::FORMAT_X8R8G8B8 && in readPixels()
2493 else if(renderTarget->getExternalFormat() == sw::FORMAT_A8R8G8B8 && in readPixels()
2498 else if(renderTarget->getExternalFormat() == sw::FORMAT_A1R5G5B5 && in readPixels()
2503 else if(renderTarget->getExternalFormat() == sw::FORMAT_R5G6B5 && in readPixels()
2517 switch(renderTarget->getExternalFormat()) in readPixels()
2591 UNREACHABLE(renderTarget->getExternalFormat()); in readPixels()
/external/skia/src/gpu/gl/
DGrGLCaps.h425 bool getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig,
DGrGLCaps.cpp1200 if (!this->getExternalFormat(surfaceConfig, externalConfig, kTexImage_ExternalFormatUsage, in getTexImageFormats()
1210 if (!this->getExternalFormat(surfaceConfig, externalConfig, kOther_ExternalFormatUsage, in getReadPixelsFormat()
1222 bool GrGLCaps::getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig, in getExternalFormat() function in GrGLCaps
/external/skqp/src/gpu/gl/
DGrGLCaps.h428 bool getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig,
DGrGLCaps.cpp1224 if (!this->getExternalFormat(surfaceConfig, externalConfig, kTexImage_ExternalFormatUsage, in getTexImageFormats()
1234 if (!this->getExternalFormat(surfaceConfig, externalConfig, kOther_ExternalFormatUsage, in getReadPixelsFormat()
1246 bool GrGLCaps::getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig, in getExternalFormat() function in GrGLCaps