Home
last modified time | relevance | path

Searched refs:mPbuffer (Results 1 – 10 of 10) sorted by relevance

/external/angle/src/tests/egl_tests/
DEGLBackwardsCompatibleContextTest.cpp65 mPbuffer = eglCreatePbufferSurface(mDisplay, mConfig, pbufferAttribs); in testSetUp()
66 EXPECT_TRUE(mPbuffer != EGL_NO_SURFACE); in testSetUp()
73 if (mPbuffer != EGL_NO_SURFACE) in testTearDown()
75 eglDestroySurface(mDisplay, mPbuffer); in testTearDown()
82 EGLSurface mPbuffer = EGL_NO_SURFACE; member in angle::EGLBackwardsCompatibleContextTest
121 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, context)); in TEST_P()
143 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es3Context)); in TEST_P()
153 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es2Context)); in TEST_P()
172 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es11Context)); in TEST_P()
183 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es10Context)); in TEST_P()
DEGLSurfacelessContextTest.cpp66 if (mPbuffer != EGL_NO_SURFACE) in testTearDown()
68 eglDestroySurface(mDisplay, mPbuffer); in testTearDown()
89 mPbuffer = eglCreatePbufferSurface(mDisplay, mConfig, pbufferAttribs); in createPbuffer()
90 EXPECT_TRUE(mPbuffer != EGL_NO_SURFACE); in createPbuffer()
91 return mPbuffer; in createPbuffer()
120 EGLSurface mPbuffer = EGL_NO_SURFACE; member in __anond8fed1d20111::EGLSurfacelessContextTest
/external/angle/src/libANGLE/renderer/gl/wgl/
DPbufferSurfaceWGL.cpp36 mPbuffer(nullptr), in PbufferSurfaceWGL()
43 mFunctionsWGL->releasePbufferDCARB(mPbuffer, mPbufferDeviceContext); in ~PbufferSurfaceWGL()
46 mFunctionsWGL->destroyPbufferARB(mPbuffer); in ~PbufferSurfaceWGL()
47 mPbuffer = nullptr; in ~PbufferSurfaceWGL()
93 mPbuffer = mFunctionsWGL->createPbufferARB(mParentDeviceContext, mPixelFormat, mWidth, mHeight, in initialize()
95 if (mPbuffer == nullptr) in initialize()
103 if (mFunctionsWGL->queryPbufferARB(mPbuffer, WGL_PBUFFER_WIDTH_ARB, &mWidth) != TRUE || in initialize()
104 mFunctionsWGL->queryPbufferARB(mPbuffer, WGL_PBUFFER_HEIGHT_ARB, &mHeight) != TRUE) in initialize()
111 mPbufferDeviceContext = mFunctionsWGL->getPbufferDCARB(mPbuffer); in initialize()
114 mFunctionsWGL->destroyPbufferARB(mPbuffer); in initialize()
[all …]
DPbufferSurfaceWGL.h70 HPBUFFERARB mPbuffer; variable
DDisplayWGL.cpp951 HPBUFFERARB mPbuffer; member in rx::WorkerContextWGL
960 : mFunctionsWGL(functions), mPbuffer(pbuffer), mDeviceContext(deviceContext), mContext(context) in WorkerContextWGL()
967 mFunctionsWGL->releasePbufferDCARB(mPbuffer, mDeviceContext); in ~WorkerContextWGL()
968 mFunctionsWGL->destroyPbufferARB(mPbuffer); in ~WorkerContextWGL()
/external/angle/src/tests/gl_tests/
DPbufferTest.cpp78 mPbuffer = in testSetUp()
82 ASSERT_NE(mPbuffer, EGL_NO_SURFACE); in testSetUp()
87 ASSERT_EQ(mPbuffer, EGL_NO_SURFACE); in testSetUp()
99 eglDestroySurface(window->getDisplay(), mPbuffer); in testTearDown()
106 EGLSurface mPbuffer; member in PbufferTest
128 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
154 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
178 eglBindTexImage(window->getDisplay(), mPbuffer, EGL_BACK_BUFFER); in TEST_P()
190 eglReleaseTexImage(window->getDisplay(), mPbuffer, EGL_BACK_BUFFER); in TEST_P()
232 eglBindTexImage(window->getDisplay(), mPbuffer, EGL_BACK_BUFFER); in TEST_P()
[all …]
/external/angle/src/libANGLE/renderer/gl/glx/
DPbufferSurfaceGLX.cpp30 mPbuffer(0) in PbufferSurfaceGLX()
35 if (mPbuffer) in ~PbufferSurfaceGLX()
37 mGLX.destroyPbuffer(mPbuffer); in ~PbufferSurfaceGLX()
52 mPbuffer = mGLX.createPbuffer(mFBConfig, attribs); in initialize()
53 if (!mPbuffer) in initialize()
60 mGLX.queryDrawable(mPbuffer, GLX_WIDTH, &mWidth); in initialize()
61 mGLX.queryDrawable(mPbuffer, GLX_HEIGHT, &mHeight); in initialize()
137 return mPbuffer; in getDrawable()
DPbufferSurfaceGLX.h63 glx::Pbuffer mPbuffer; variable
/external/angle/src/libANGLE/renderer/gl/egl/android/
DDisplayAndroid.cpp407 EGLSurface mPbuffer; member in rx::WorkerContextAndroid
413 : mContext(context), mFunctions(functions), mPbuffer(pbuffer) in WorkerContextAndroid()
423 if (mFunctions->makeCurrent(mPbuffer, mContext) == EGL_FALSE) in makeCurrent()
/external/angle/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp70 EGLSurface mPbuffer; member in __anonfc53d0a40111::WorkerContextEGL
76 : mContext(context), mFunctions(functions), mPbuffer(pbuffer) in WorkerContextEGL()
86 if (mFunctions->makeCurrent(mPbuffer, mContext) == EGL_FALSE) in makeCurrent()