Lines Matching refs:createFormat
1221 const GLenum createFormat = gles2Create->getEffectiveFormat(); in isCompatibleCreateAndRenderActions() local
1226 if (isDepthFormat(createFormat) || isStencilFormat(createFormat)) in isCompatibleCreateAndRenderActions()
1233 if (isDepthFormat(createFormat) || isStencilFormat(createFormat)) in isCompatibleCreateAndRenderActions()
1241 if (!isDepthFormat(createFormat)) in isCompatibleCreateAndRenderActions()
1249 if (!isStencilFormat(createFormat)) in isCompatibleCreateAndRenderActions()
1298 bool isCompatibleFormats (GLenum createFormat, GLenum modifyFormat, GLenum modifyType) in isCompatibleFormats() argument
1306 return createFormat == GL_RGB in isCompatibleFormats()
1307 || createFormat == GL_RGB8 in isCompatibleFormats()
1308 || createFormat == GL_RGB565 in isCompatibleFormats()
1309 || createFormat == GL_SRGB8; in isCompatibleFormats()
1312 return createFormat == GL_RGB8_SNORM; in isCompatibleFormats()
1315 return createFormat == GL_RGB in isCompatibleFormats()
1316 || createFormat == GL_RGB565; in isCompatibleFormats()
1319 return createFormat == GL_R11F_G11F_B10F; in isCompatibleFormats()
1322 return createFormat == GL_RGB9_E5; in isCompatibleFormats()
1325 return createFormat == GL_RGB16F in isCompatibleFormats()
1326 || createFormat == GL_R11F_G11F_B10F in isCompatibleFormats()
1327 || createFormat == GL_RGB9_E5; in isCompatibleFormats()
1330 return createFormat == GL_RGB16F in isCompatibleFormats()
1331 || createFormat == GL_RGB32F in isCompatibleFormats()
1332 || createFormat == GL_R11F_G11F_B10F in isCompatibleFormats()
1333 || createFormat == GL_RGB9_E5; in isCompatibleFormats()
1344 return createFormat == GL_RGBA8 in isCompatibleFormats()
1345 || createFormat == GL_RGB5_A1 in isCompatibleFormats()
1346 || createFormat == GL_RGBA4 in isCompatibleFormats()
1347 || createFormat == GL_SRGB8_ALPHA8 in isCompatibleFormats()
1348 || createFormat == GL_RGBA; in isCompatibleFormats()
1351 return createFormat == GL_RGBA4 in isCompatibleFormats()
1352 || createFormat == GL_RGBA; in isCompatibleFormats()
1355 return createFormat == GL_RGB5_A1 in isCompatibleFormats()
1356 || createFormat == GL_RGBA; in isCompatibleFormats()
1359 return createFormat == GL_RGB10_A2 in isCompatibleFormats()
1360 || createFormat == GL_RGB5_A1; in isCompatibleFormats()
1363 return createFormat == GL_RGBA16F; in isCompatibleFormats()
1366 return createFormat == GL_RGBA16F in isCompatibleFormats()
1367 || createFormat == GL_RGBA32F; in isCompatibleFormats()
1384 const GLenum createFormat = gles2Create->getEffectiveFormat(); in isCompatibleCreateAndModifyActions() local
1391 return isCompatibleFormats(createFormat, modifyFormat, modifyType); in isCompatibleCreateAndModifyActions()
1397 if (isDepthFormat(createFormat) || isStencilFormat(createFormat)) in isCompatibleCreateAndModifyActions()
1404 if (!isDepthFormat(createFormat)) in isCompatibleCreateAndModifyActions()
1411 if (!isStencilFormat(createFormat)) in isCompatibleCreateAndModifyActions()