Searched refs:attachToContext (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/include/gui/
H A DSurfaceTexture.h59 // attachToContext and detachFromContext methods. However, despite being
67 // attachToContext methods, respectively. The intention of these methods is
196 // attachToContext method.
199 // attachToContext attaches a SurfaceTexture that is currently in the
202 // called and no calls to attachToContext have succeeded since the last
203 // detachFromContext call. Calls to attachToContext made on a
209 // call to attachToContext will result in this texture object being bound to
212 status_t attachToContext(GLuint tex);
325 // and can be changed with a call to attachToContext.
364 // attachToContext i
[all...]
/frameworks/native/libs/gui/tests/
H A DSurfaceTexture_test.cpp2447 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2478 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2505 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2539 ASSERT_EQ(NO_INIT, mST->attachToContext(SECOND_TEX_ID));
2550 ASSERT_EQ(INVALID_OPERATION, mST->attachToContext(SECOND_TEX_ID));
2558 ASSERT_EQ(INVALID_OPERATION, mST->attachToContext(SECOND_TEX_ID));
2577 ASSERT_EQ(INVALID_OPERATION, mST->attachToContext(SECOND_TEX_ID));
2593 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_ID));
2601 ASSERT_EQ(OK, mST->attachToContext(THIRD_TEX_ID));
2627 ASSERT_EQ(OK, mST->attachToContext(SECOND_TEX_I
[all...]
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp237 return surfaceTexture->attachToContext((GLuint)tex);
/frameworks/native/libs/gui/
H A DSurfaceTexture.cpp393 status_t SurfaceTexture::attachToContext(GLuint tex) { function in class:android::SurfaceTexture
395 ST_LOGV("attachToContext");
399 ST_LOGE("attachToContext: abandoned SurfaceTexture");
404 ST_LOGE("attachToContext: SurfaceTexture is already attached to a "
413 ST_LOGE("attachToContext: invalid current EGLDisplay");
418 ST_LOGE("attachToContext: invalid current EGLContext");
441 ST_LOGE("attachToContext: error binding external texture image %p "

Completed in 77 milliseconds