Lines Matching refs:createFormat
1218 const GLenum createFormat = gles2Create->getEffectiveFormat();
1223 if (isDepthFormat(createFormat) || isStencilFormat(createFormat))
1230 if (isDepthFormat(createFormat) || isStencilFormat(createFormat))
1238 if (!isDepthFormat(createFormat))
1246 if (!isStencilFormat(createFormat))
1295 bool isCompatibleFormats (GLenum createFormat, GLenum modifyFormat, GLenum modifyType)
1303 return createFormat == GL_RGB
1304 || createFormat == GL_RGB8
1305 || createFormat == GL_RGB565
1306 || createFormat == GL_SRGB8;
1309 return createFormat == GL_RGB8_SNORM;
1312 return createFormat == GL_RGB
1313 || createFormat == GL_RGB565;
1316 return createFormat == GL_R11F_G11F_B10F;
1319 return createFormat == GL_RGB9_E5;
1322 return createFormat == GL_RGB16F
1323 || createFormat == GL_R11F_G11F_B10F
1324 || createFormat == GL_RGB9_E5;
1327 return createFormat == GL_RGB16F
1328 || createFormat == GL_RGB32F
1329 || createFormat == GL_R11F_G11F_B10F
1330 || createFormat == GL_RGB9_E5;
1341 return createFormat == GL_RGBA8
1342 || createFormat == GL_RGB5_A1
1343 || createFormat == GL_RGBA4
1344 || createFormat == GL_SRGB8_ALPHA8
1345 || createFormat == GL_RGBA;
1348 return createFormat == GL_RGBA4
1349 || createFormat == GL_RGBA;
1352 return createFormat == GL_RGB5_A1
1353 || createFormat == GL_RGBA;
1356 return createFormat == GL_RGB10_A2
1357 || createFormat == GL_RGB5_A1;
1360 return createFormat == GL_RGBA16F;
1363 return createFormat == GL_RGBA16F
1364 || createFormat == GL_RGBA32F;
1381 const GLenum createFormat = gles2Create->getEffectiveFormat();
1388 return isCompatibleFormats(createFormat, modifyFormat, modifyType);
1394 if (isDepthFormat(createFormat) || isStencilFormat(createFormat))
1401 if (!isDepthFormat(createFormat))
1408 if (!isStencilFormat(createFormat))