Lines Matching defs:mST
485 mST = new GLConsumer(bq, TEX_ID);
488 mTextureRenderer = new TextureRenderer(TEX_ID, mST);
491 mST->setFrameAvailableListener(mFW);
497 mST.clear();
509 mST(st) {
587 mST->getTransformMatrix(texMatrix);
595 sp<GLConsumer> mST;
677 sp<GLConsumer> mST;
813 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
859 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
919 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
949 ASSERT_EQ(NO_ERROR, mST->setDefaultMaxBufferCount(2));
1067 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1098 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1140 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1224 EXPECT_EQ(OK,mST->updateTexImage());
1229 EXPECT_EQ(OK,mST->updateTexImage());
1250 EXPECT_EQ(OK,mST->updateTexImage());
1251 EXPECT_EQ(OK,mST->updateTexImage());
1263 EXPECT_EQ(OK,mST->updateTexImage());
1277 mST->setDefaultBufferSize(1280, 720);
1289 EXPECT_EQ(OK, mST->updateTexImage());
1290 Rect r = mST->getCurrentCrop();
1309 mST->setDefaultBufferSize(1280, 720);
1321 EXPECT_EQ(OK, mST->updateTexImage());
1322 Rect r = mST->getCurrentCrop();
1332 EXPECT_EQ(OK, mST->updateTexImage());
1333 r = mST->getCurrentCrop();
1344 EXPECT_EQ(OK, mST->updateTexImage());
1345 r = mST->getCurrentCrop();
1411 ASSERT_EQ(OK, mST->setDefaultMaxBufferCount(2));
1423 mST->abandon();
1438 mST->setDefaultBufferSize(16, texHeight);
1444 EXPECT_EQ(NO_ERROR, mST->updateTexImage());
1447 mST->setDefaultBufferSize(maxTextureSize, texHeight);
1453 EXPECT_EQ(NO_ERROR, mST->updateTexImage());
1456 mST->setDefaultBufferSize(maxTextureSize+1, texHeight);
1462 ASSERT_NE(NO_ERROR, mST->updateTexImage());
1508 mST->setDefaultBufferSize(texWidth, texHeight);
1509 mST->setTransformHint(NATIVE_WINDOW_TRANSFORM_ROT_90);
1513 mST->setDefaultMaxBufferCount(3);
1524 mST->updateTexImage(); // consume it
1528 mST->updateTexImage();
1533 sp<GraphicBuffer> buf = mST->getCurrentBuffer();
1534 if (mST->getCurrentTransform() == NATIVE_WINDOW_TRANSFORM_ROT_270) {
1543 mST->setTransformHint(0);
1546 mST->updateTexImage();
1549 mST->updateTexImage();
1551 buf = mST->getCurrentBuffer();
1552 ASSERT_EQ((uint32_t) 0, mST->getCurrentTransform());
1561 mST->setDefaultBufferSize(texWidth, texHeight);
1564 mST->setDefaultMaxBufferCount(3);
1600 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1601 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1655 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1656 buffers[i] = mST->getCurrentBuffer();
1701 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1702 buffers[i] = mST->getCurrentBuffer();
1707 mST->abandon();
1749 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1750 buffer = mST->getCurrentBuffer();
1761 mST.clear();
1786 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1787 buffer = mST->getCurrentBuffer();
1794 mST.clear();
1808 mST->setDefaultMaxBufferCount(3);
1839 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1840 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1865 mST->setDefaultMaxBufferCount(3);
1868 mST->setTransformHint(NATIVE_WINDOW_TRANSFORM_ROT_90);
1900 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1901 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1926 mST->setDefaultMaxBufferCount(3);
1929 mST->setTransformHint(NATIVE_WINDOW_TRANSFORM_ROT_90);
1932 mST->setDefaultBufferSize(texWidth, texHeight);
1961 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
1962 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2006 * mST->updateTexImage();
2115 mST->setFrameAvailableListener(mFC);
2152 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2172 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2198 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2228 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2252 ASSERT_EQ(OK, mST->setDefaultMaxBufferCount(2));
2269 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2288 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2289 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2296 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2362 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2386 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
2419 mSecondTextureRenderer = new TextureRenderer(SECOND_TEX_ID, mST);
2431 mThirdTextureRenderer = new TextureRenderer(THIRD_TEX_ID, mST);
2461 ASSERT_EQ(OK, mST->updateTexImage());
2467 ASSERT_EQ(INVALID_OPERATION, mST->updateTexImage());
2475 ASSERT_EQ(OK, mST->updateTexImage());
2478 ASSERT_EQ(OK, mST->detachFromContext());
2490 ASSERT_EQ(OK, mST->updateTexImage());
2494 ASSERT_EQ(OK, mST->detachFromContext());
2505 ASSERT_EQ(OK, mST->updateTexImage());
2508 mST->abandon();
2509 ASSERT_EQ(NO_INIT, mST->detachFromContext());
2517 ASSERT_EQ(OK, mST->updateTexImage());
2520 ASSERT_EQ(OK, mST->detachFromContext());
2523 ASSERT_EQ(INVALID_OPERATION, mST->detachFromContext());
2531 ASSERT_EQ(OK, mST->updateTexImage());
2539 ASSERT_EQ(INVALID_OPERATION, mST->detachFromContext());
2547 ASSERT_EQ(OK, mST->updateTexImage());
2555 ASSERT_EQ(INVALID_OPERATION, mST->detachFromContext());
2562 ASSERT_EQ(OK, mST->detachFromContext());
2566 ASSERT_EQ(INVALID_OPERATION, mST->updateTexImage());
2574 ASSERT_EQ(OK, mST->updateTexImage());
2577 ASSERT_EQ(OK, mST->detachFromContext());
2582 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2604 ASSERT_EQ(OK, mST->updateTexImage());
2608 ASSERT_EQ(OK, mST->detachFromContext());
2613 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2635 ASSERT_EQ(OK, mST->detachFromContext());
2640 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2649 ASSERT_EQ(OK, mST->updateTexImage());
2665 ASSERT_EQ(OK, mST->updateTexImage());
2668 ASSERT_EQ(OK, mST->detachFromContext());
2671 mST->abandon();
2674 ASSERT_EQ(NO_INIT, mST->attachToContext(SECOND_TEX_ID));
2682 ASSERT_EQ(OK, mST->updateTexImage());
2685 ASSERT_EQ(INVALID_OPERATION, mST->attachToContext(SECOND_TEX_ID));
2693 ASSERT_EQ(INVALID_OPERATION, mST->attachToContext(SECOND_TEX_ID));
2701 ASSERT_EQ(OK, mST->updateTexImage());
2704 ASSERT_EQ(OK, mST->detachFromContext());
2712 ASSERT_EQ(INVALID_OPERATION, mST->attachToContext(SECOND_TEX_ID));
2720 ASSERT_EQ(OK, mST->updateTexImage());
2723 ASSERT_EQ(OK, mST->detachFromContext());
2728 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2731 ASSERT_EQ(OK, mST->detachFromContext());
2736 ASSERT_EQ(OK, mST->attachToContext(THIRD_TEX_ID));
2757 ASSERT_EQ(OK, mST->detachFromContext());
2762 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2765 ASSERT_EQ(OK, mST->detachFromContext());
2770 ASSERT_EQ(OK, mST->attachToContext(THIRD_TEX_ID));
2779 ASSERT_EQ(OK, mST->updateTexImage());
2792 ASSERT_EQ(NO_ERROR, mST->setDefaultMaxBufferCount(2));
2797 ASSERT_EQ(OK, mST->updateTexImage());
2801 ASSERT_EQ(OK, mST->updateTexImage());
2807 ASSERT_EQ(OK, mST->detachFromContext());
2810 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2814 ASSERT_EQ(OK, mST->updateTexImage());