Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/common/
DImage.cpp1394 ASSERT_OR_RETURN(getExternalFormat() == sw::FORMAT_A8B8G8R8); in loadImageData()
1400 …ASSERT_OR_RETURN(internalformat == GL_RGBA8_SNORM && getExternalFormat() == sw::FORMAT_A8B8G8R8_SN… in loadImageData()
1403 ASSERT_OR_RETURN(internalformat == GL_RGBA4 && getExternalFormat() == sw::FORMAT_A8B8G8R8); in loadImageData()
1406 ASSERT_OR_RETURN(internalformat == GL_RGB5_A1 && getExternalFormat() == sw::FORMAT_A8B8G8R8); in loadImageData()
1412 ASSERT_OR_RETURN(getExternalFormat() == sw::FORMAT_A2B10G10R10); in loadImageData()
1415 ASSERT_OR_RETURN(getExternalFormat() == sw::FORMAT_A8B8G8R8); in loadImageData()
1422 … ASSERT_OR_RETURN(internalformat == GL_RGBA16F && getExternalFormat() == sw::FORMAT_A16B16G16R16F); in loadImageData()
1438 ASSERT_OR_RETURN(internalformat == GL_RGBA8UI && getExternalFormat() == sw::FORMAT_A8B8G8R8UI); in loadImageData()
1441 ASSERT_OR_RETURN(internalformat == GL_RGBA8I && getExternalFormat() == sw::FORMAT_A8B8G8R8I); in loadImageData()
1444 …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/Device/
DSurface.hpp137 inline VkFormat getExternalFormat() const;
368 return internal ? getInternalFormat() : getExternalFormat(); in getFormat()
391 VkFormat Surface::getExternalFormat() const in getExternalFormat() function in sw::Surface
DSampler.cpp125 externalTextureFormat = surface->getExternalFormat(); in setTextureLevel()
DPixelProcessor.cpp701 …context->renderTarget[0] && Surface::isSRGBwritable(context->renderTarget[0]->getExternalFormat()); in update()
/external/swiftshader/src/Renderer/
DSurface.hpp303 inline Format getExternalFormat() const;
549 return internal ? getInternalFormat() : getExternalFormat(); in getFormat()
572 Format Surface::getExternalFormat() const in getExternalFormat() function in sw::Surface
DSampler.cpp126 externalTextureFormat = surface->getExternalFormat(); in setTextureLevel()
DPixelProcessor.cpp1036 …context->renderTarget[0] && Surface::isSRGBwritable(context->renderTarget[0]->getExternalFormat()); in update()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp2459 if(renderTarget->getExternalFormat() == sw::FORMAT_A8B8G8R8 && in readPixels()
2464 else if(renderTarget->getExternalFormat() == sw::FORMAT_A8R8G8B8 && in readPixels()
2474 else if(renderTarget->getExternalFormat() == sw::FORMAT_X8R8G8B8 && in readPixels()
2484 else if(renderTarget->getExternalFormat() == sw::FORMAT_X8R8G8B8 && in readPixels()
2494 else if(renderTarget->getExternalFormat() == sw::FORMAT_A8R8G8B8 && in readPixels()
2499 else if(renderTarget->getExternalFormat() == sw::FORMAT_A1R5G5B5 && in readPixels()
2504 else if(renderTarget->getExternalFormat() == sw::FORMAT_R5G6B5 && in readPixels()
2518 switch(renderTarget->getExternalFormat()) in readPixels()
2592 UNREACHABLE(renderTarget->getExternalFormat()); in readPixels()
/external/skqp/src/gpu/gl/
DGrGLCaps.h443 bool getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig,
DGrGLCaps.cpp1201 if (!this->getExternalFormat(surfaceConfig, externalConfig, kTexImage_ExternalFormatUsage, in getTexImageFormats()
1220 if (!this->getExternalFormat(surfaceConfig, externalConfig, kReadPixels_ExternalFormatUsage, in getReadPixelsFormat()
1236 bool GrGLCaps::getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig, in getExternalFormat() function in GrGLCaps
/external/skia/src/gpu/gl/
DGrGLCaps.h443 bool getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig,
DGrGLCaps.cpp1208 if (!this->getExternalFormat(surfaceConfig, externalConfig, kTexImage_ExternalFormatUsage, in getTexImageFormats()
1227 if (!this->getExternalFormat(surfaceConfig, externalConfig, kReadPixels_ExternalFormatUsage, in getReadPixelsFormat()
1243 bool GrGLCaps::getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig, in getExternalFormat() function in GrGLCaps