Hash :
c99518fc
Author :
Date :
2016-08-09T11:10:38
Move default ANGLE format map to shared location. This default format mapping serves as a base for a Renderer format mapping. Any formats that require emulation or other representation in a Renderer can be overridden in the renderer layer. BUG=angleproject:1455 Change-Id: I47f070c2ea132bada9cc0fc4353b89b74b8ee8f3 Reviewed-on: https://chromium-review.googlesource.com/367692 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
{
"B5G6R5_UNORM": {
"fboImplementationInternalFormat": "GL_RGB565"
},
"B5G5R5A1_UNORM": {
"fboImplementationInternalFormat": "GL_RGB5_A1",
"channelStruct": "A1R5G5B5"
},
"B8G8R8X8_UNORM": {
"glInternalFormat": "GL_BGRA8_EXT",
"channelStruct": "B8G8R8X8"
},
"R9G9B9E5_SHAREDEXP": {
"componentType": "float",
"channelStruct": "R9G9B9E5"
},
"B4G4R4A4_UNORM": {
"fboImplementationInternalFormat": "GL_RGBA4",
"channelStruct": "A4R4G4B4"
}
}