Home
last modified time | relevance | path

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

/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()
98 if (mPbuffer) in testTearDown()
101 eglDestroySurface(window->getDisplay(), mPbuffer); in testTearDown()
109 if (mPbuffer) in recreatePbufferInSrgbColorspace()
111 eglDestroySurface(window->getDisplay(), mPbuffer); in recreatePbufferInSrgbColorspace()
129 mPbuffer = eglCreatePbufferSurface(window->getDisplay(), window->getConfig(), in recreatePbufferInSrgbColorspace()
137 EGLSurface mPbuffer = EGL_NO_SURFACE; member in PbufferTest
159 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
[all …]
/external/angle/src/tests/egl_tests/
DEGLBackwardsCompatibleContextTest.cpp73 mPbuffer = eglCreatePbufferSurface(mDisplay, mConfig, pbufferAttribs); in testSetUp()
74 EXPECT_TRUE(mPbuffer != EGL_NO_SURFACE); in testSetUp()
82 if (mPbuffer != EGL_NO_SURFACE) in testTearDown()
84 eglDestroySurface(mDisplay, mPbuffer); in testTearDown()
91 EGLSurface mPbuffer = EGL_NO_SURFACE; member in angle::EGLBackwardsCompatibleContextTest
107 ANGLE_SKIP_TEST_IF(!mPbuffer); in TEST_P()
131 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, context)); in TEST_P()
146 ANGLE_SKIP_TEST_IF(!mPbuffer); in TEST_P()
154 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es3Context)); in TEST_P()
164 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es2Context)); in TEST_P()
[all …]
DEGLSurfacelessContextTest.cpp73 if (mPbuffer != EGL_NO_SURFACE) in testTearDown()
75 eglDestroySurface(mDisplay, mPbuffer); in testTearDown()
101 mPbuffer = eglCreatePbufferSurface(mDisplay, mConfig, pbufferAttribs); in createPbuffer()
102 EXPECT_TRUE(mPbuffer != EGL_NO_SURFACE); in createPbuffer()
103 return mPbuffer; in createPbuffer()
132 EGLSurface mPbuffer = EGL_NO_SURFACE; member in __anon593e3e2e0111::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.cpp932 HPBUFFERARB mPbuffer; member in rx::WorkerContextWGL
941 : mFunctionsWGL(functions), mPbuffer(pbuffer), mDeviceContext(deviceContext), mContext(context) in WorkerContextWGL()
948 mFunctionsWGL->releasePbufferDCARB(mPbuffer, mDeviceContext); in ~WorkerContextWGL()
949 mFunctionsWGL->destroyPbufferARB(mPbuffer); in ~WorkerContextWGL()
/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.cpp504 EGLSurface mPbuffer; member in rx::WorkerContextAndroid
510 : mContext(context), mFunctions(functions), mPbuffer(pbuffer) in WorkerContextAndroid()
520 if (mFunctions->makeCurrent(mPbuffer, mContext) == EGL_FALSE) in makeCurrent()
/external/angle/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp77 EGLSurface mPbuffer; member in __anon770028000111::WorkerContextEGL
83 : mContext(context), mFunctions(functions), mPbuffer(pbuffer) in WorkerContextEGL()
93 if (mFunctions->makeCurrent(mPbuffer, mContext) == EGL_FALSE) in makeCurrent()