Lines Matching defs:ok
554 bool ok = false;
558 ok = assignPrimaryPlaneHelper(spriteLayer);
559 if (!ok) {
564 ok = assignPrimaryPlaneHelper(mFrameBufferTarget, 0);
565 if (!ok) {
570 ok = attachPlanes();
571 if (!ok) {
577 for (int i = 0; i < layers && !ok; i++) {
582 ok = assignPrimaryPlaneHelper(mFrameBufferTarget, mFBLayers[i]->getZOrder());
583 if (!ok) {
589 if (!ok) {
594 return ok;
602 bool ok = attachPlanes();
603 if (!ok) {
606 return ok;
807 bool ok = true;
817 ok = false;
822 if (!ok) {