Home
last modified time | relevance | path

Searched refs:mST (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurfaceTextureMultiContextGL_test.cpp34 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F()
40 ASSERT_EQ(INVALID_OPERATION, mST->updateTexImage()); in TEST_F()
49 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F()
52 ASSERT_EQ(OK, mST->detachFromContext()); in TEST_F()
65 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F()
69 ASSERT_EQ(OK, mST->detachFromContext()); in TEST_F()
81 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F()
84 mST->abandon(); in TEST_F()
85 ASSERT_EQ(NO_INIT, mST->detachFromContext()); in TEST_F()
94 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F()
[all …]
DSurfaceTextureGLToGL_test.cpp28 mST->setDefaultBufferSize(texWidth, texHeight); in TEST_F()
29 mST->setTransformHint(NATIVE_WINDOW_TRANSFORM_ROT_90); in TEST_F()
47 mST->updateTexImage(); // consume it in TEST_F()
51 mST->updateTexImage(); in TEST_F()
56 sp<GraphicBuffer> buf = mST->getCurrentBuffer(); in TEST_F()
57 if (mST->getCurrentTransform() == NATIVE_WINDOW_TRANSFORM_ROT_270) { in TEST_F()
66 mST->setTransformHint(0); in TEST_F()
69 mST->updateTexImage(); in TEST_F()
72 mST->updateTexImage(); in TEST_F()
74 buf = mST->getCurrentBuffer(); in TEST_F()
[all …]
DSurfaceTextureClient_test.cpp53 mST = new GLConsumer(consumer, 123, GLConsumer::TEXTURE_EXTERNAL, true, in SetUp()
93 mST.clear(); in TearDown()
117 sp<GLConsumer> mST; member in android::SurfaceTextureClientTest
198 mST->abandon(); in TEST_F()
303 sp<GLConsumer> st(mST); in TEST_F()
322 EXPECT_EQ(OK, mST->setDefaultBufferSize(16, 8)); in TEST_F()
338 EXPECT_EQ(OK, mST->setDefaultBufferSize(16, 8)); in TEST_F()
369 EXPECT_EQ(OK, mST->updateTexImage()); in TEST_F()
370 EXPECT_EQ(OK, mST->updateTexImage()); in TEST_F()
380 EXPECT_EQ(OK, mST->updateTexImage()); in TEST_F()
[all …]
DSurfaceTextureGLThreadToGL_test.cpp39 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
61 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
89 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
121 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
162 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
181 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
182 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
189 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
DSurfaceTextureGL_test.cpp55 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
105 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
169 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
320 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
355 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
401 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
491 EXPECT_EQ(OK,mST->updateTexImage()); in TEST_F()
496 EXPECT_EQ(OK,mST->updateTexImage()); in TEST_F()
517 EXPECT_EQ(OK,mST->updateTexImage()); in TEST_F()
518 EXPECT_EQ(OK,mST->updateTexImage()); in TEST_F()
[all …]
DSurfaceTextureGL.h42 mST = new GLConsumer(mConsumer, TEX_ID, GLConsumer::TEXTURE_EXTERNAL, in SetUp()
46 mTextureRenderer = new TextureRenderer(TEX_ID, mST); in SetUp()
49 mST->setFrameAvailableListener(mFW); in SetUp()
56 mST.clear(); in TearDown()
65 sp<GLConsumer> mST; variable
DSurfaceTextureMultiContextGL.h46 mSecondTextureRenderer = new TextureRenderer(SECOND_TEX_ID, mST); in SetUp()
58 mThirdTextureRenderer = new TextureRenderer(THIRD_TEX_ID, mST); in SetUp()
DTextureRenderer.cpp31 const sp<GLConsumer>& st) : mTexName(texName), mST(st), mPgm(0), in TextureRenderer()
110 mST->getTransformMatrix(texMatrix); in drawTexture()
DSurfaceTextureFBO_test.cpp55 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
79 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F()
DTextureRenderer.h37 sp<GLConsumer> mST; variable
DSurfaceTextureGLThreadToGL.h157 mST->setFrameAvailableListener(mFC); in SetUp()