/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLQueryContextTest.cpp | 40 mContext = eglCreateContext(mDisplay, mConfig, nullptr, ctxattrs); 41 EXPECT_TRUE(mContext != EGL_NO_CONTEXT); 58 eglDestroyContext(mDisplay, mContext); 70 EGLContext mContext = EGL_NO_CONTEXT; member in EGLQueryContextTest 78 EXPECT_TRUE(eglQueryContext(mDisplay, mContext, EGL_CONFIG_ID, &contextConfigId) != EGL_FALSE); in TEST_P() 85 EXPECT_TRUE(eglQueryContext(mDisplay, mContext, EGL_CONTEXT_CLIENT_TYPE, &clientType) != in TEST_P() 93 EXPECT_TRUE(eglQueryContext(mDisplay, mContext, EGL_CONTEXT_CLIENT_VERSION, &clientVersion) != in TEST_P() 101 EXPECT_TRUE(eglQueryContext(mDisplay, mContext, EGL_RENDER_BUFFER, &renderBuffer) != EGL_FALSE); in TEST_P() 111 EXPECT_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContext) != EGL_FALSE); in TEST_P() 112 EXPECT_TRUE(eglQueryContext(mDisplay, mContext, EGL_RENDER_BUFFE in TEST_P() [all...] |
H A D | EGLNoConfigContextTest.cpp | 23 EGLNoConfigContextTest() : mDisplay(EGL_NO_DISPLAY), mContext(EGL_NO_CONTEXT) {} in EGLNoConfigContextTest() 42 mContext = eglCreateContext(mDisplay, EGL_NO_CONFIG_KHR, nullptr, ctxattrs); 43 EXPECT_TRUE(mContext != EGL_NO_CONTEXT); 50 if (mContext != EGL_NO_CONTEXT) 52 eglDestroyContext(mDisplay, mContext); 53 mContext = EGL_NO_CONTEXT; 62 EGLContext mContext = EGL_NO_CONTEXT; member in EGLNoConfigContextTest 71 EXPECT_TRUE(mContext); in TEST_P() 74 EXPECT_EGL_TRUE(eglQueryContext(mDisplay, mContext, EGL_CONFIG_ID, &configId)); in TEST_P() 118 EXPECT_EGL_TRUE(eglMakeCurrent(mDisplay, surface, surface, mContext)); in TEST_P() [all...] |
H A D | EGLSurfaceTest.cpp | 42 mContext(EGL_NO_CONTEXT), in EGLSurfaceTest() 74 if (mContext != EGL_NO_CONTEXT) in tearDownContextAndSurface() 76 eglDestroyContext(mDisplay, mContext); in tearDownContextAndSurface() 77 mContext = EGL_NO_CONTEXT; in tearDownContextAndSurface() 101 ASSERT_TRUE(mWindowSurface == EGL_NO_SURFACE && mContext == EGL_NO_CONTEXT); 143 if (mContext == EGL_NO_CONTEXT) in initializeContext() 145 initializeSingleContext(&mContext); in initializeContext() 282 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in runMessageLoopTest() 298 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in runMessageLoopTest() 314 EGLContext mContext; member in __anon20165::EGLSurfaceTest [all...] |
H A D | EGLSyncControlTest.cpp | 66 if (mContext != EGL_NO_CONTEXT) 68 eglDestroyContext(mDisplay, mContext); 69 mContext = EGL_NO_CONTEXT; 145 mContext = eglCreateContext(mDisplay, mConfig, nullptr, contextAttibutes); in CreateWindowSurface() 149 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext); in CreateWindowSurface() 169 EGLContext mContext = EGL_NO_CONTEXT; member in EGLSyncControlTest
|
H A D | EGLPresentPathD3D11Test.cpp | 22 mContext(EGL_NO_CONTEXT), in EGLPresentPathD3D11() 77 mContext = eglCreateContext(mDisplay, mConfig, nullptr, contextAttribs); in initializeEGL() 78 ASSERT_TRUE(EGL_NO_CONTEXT != mContext); in initializeEGL() 131 void makeCurrent() { ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)); } in makeCurrent() 147 if (mContext != EGL_NO_CONTEXT) 151 eglDestroyContext(mDisplay, mContext); 152 mContext = EGL_NO_CONTEXT; 298 EGLContext mContext; member in EGLPresentPathD3D11
|
H A D | EGLSurfacelessContextTest.cpp | 68 if (mContext != EGL_NO_CONTEXT) 70 eglDestroyContext(mDisplay, mContext); 86 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttribs); in createContext() 87 EXPECT_TRUE(mContext != EGL_NO_CONTEXT); in createContext() 88 return mContext; in createContext() 131 EGLContext mContext = EGL_NO_CONTEXT; member in __anon20166::EGLSurfacelessContextTest
|
H A D | EGLDeviceTest.cpp | 37 mContext(EGL_NO_CONTEXT), in EGLDeviceCreationTest() 84 if (mContext != EGL_NO_CONTEXT) 87 eglDestroyContext(mDisplay, mContext); 88 mContext = EGL_NO_CONTEXT; 133 mContext = eglCreateContext(mDisplay, mConfig, nullptr, contextAttibutes); in CreateWindowSurface() 137 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext); in CreateWindowSurface() 175 EGLContext mContext; member in EGLDeviceCreationTest
|
H A D | EGLRobustnessTest.cpp | 95 eglDestroyContext(mDisplay, mContext); 108 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttribs); in createContext() 109 ASSERT_NE(EGL_NO_CONTEXT, mContext); in createContext() 111 eglMakeCurrent(mDisplay, mWindow, mWindow, mContext); in createContext() 166 EGLContext mContext = EGL_NO_CONTEXT; member in EGLRobustnessTest
|
/third_party/skia/third_party/externals/angle2/src/android_system_settings/src/com/android/angle/common/ |
H A D | GlobalSettings.java | 33 private Context mContext; field in GlobalSettings 40 mContext = context; in GlobalSettings() 68 ContentResolver contentResolver = mContext.getContentResolver(); in getAllUseAngle() 72 contentResolver, mContext.getString(R.string.global_settings_driver_all_angle)); in getAllUseAngle() 83 ContentResolver contentResolver = mContext.getContentResolver(); in getShowAngleInUseDialogBox() 87 mContext.getString(R.string.global_settings_show_angle_in_use_dialog_box)); in getShowAngleInUseDialogBox() 128 String defaultDriver = mContext.getString(R.string.default_driver); in updatePkg() 185 mContext.getString(R.string.global_settings_driver_selection_pkgs)); in readGlobalSettings() 187 mContext.getString(R.string.global_settings_driver_selection_values)); in readGlobalSettings() 193 ContentResolver contentResolver = mContext in getGlobalSettingsString() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Thread.cpp | 50 mContext(static_cast<gl::Context *>(EGL_NO_CONTEXT)) in Thread() 111 mContext = context; in setCurrent() 116 if (mContext) in getCurrentDrawSurface() 118 return mContext->getCurrentDrawSurface(); in getCurrentDrawSurface() 125 if (mContext) in getCurrentReadSurface() 127 return mContext->getCurrentReadSurface(); in getCurrentReadSurface() 134 return mContext; in getContext() 139 if (mContext) in getDisplay() 141 return mContext->getDisplay(); in getDisplay()
|
H A D | RefCountObject.h | 67 : mContext(context), mObject(object) in RefCountObjectReleaser() 71 : mContext(other.mContext), mObject(other.mObject) in RefCountObjectReleaser() 73 other.mContext = nullptr; in RefCountObjectReleaser() 79 mContext = other.mContext; in operator =() 82 other.mContext = nullptr; in operator =() 92 reinterpret_cast<RefCountObject<ContextType, ErrorType> *>(mObject)->release(mContext); in ~RefCountObjectReleaser() 98 const ContextType *mContext = nullptr; member in angle::RefCountObjectReleaser
|
H A D | CLMemory.cpp | 93 valPointer = mContext->getNative(); in getInfo() 159 : mContext(&context), in Memory() 174 : mContext(parent.mContext), in Memory() 194 : mContext(&context), in Memory()
|
H A D | CLEvent.h | 65 const ContextPtr mContext; member in cl::final 82 return *mContext; in getContext() 87 return *mContext; in getContext()
|
H A D | CLProgram.cpp | 89 valPointer = mContext->getNative(); in getInfo() 207 : mContext(&context), in Program() 215 : mContext(&context), in Program() 229 : mContext(&context), in Program() 238 : mContext(&context), in Program() 252 : mContext(&context), in Program()
|
H A D | CLEvent.cpp | 64 valPointer = mContext->getNative(); in getInfo() 143 : mContext(&context), in Event() 152 : mContext(&queue.getContext()), in Event()
|
H A D | CLProgram.h | 94 const ContextPtr mContext; member in cl::final 112 return *mContext; in getContext() 117 return *mContext; in getContext()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | ValidateSwitch.cpp | 31 mContext(context), in ValidateSwitch() 100 mContext->error(node->getLine(), "label statement nested inside control flow", nodeStr); in visitCase() 110 mContext->error(node->getLine(), "duplicate default label", nodeStr); in visitCase() 124 mContext->error(condition->getLine(), in visitCase() 134 mContext->error(condition->getLine(), "duplicate case label", nodeStr); in visitCase() 147 mContext->error(condition->getLine(), "duplicate case label", nodeStr); in visitCase() 198 mContext->error(loc, in validateInternal() 203 mContext->error(loc, in validateInternal()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
H A D | RendererEGL.cpp | 22 mContext(context), in RendererEGL() 31 mDisplay->destroyNativeContext(mContext); in ~RendererEGL() 32 mContext = nullptr; in ~RendererEGL() 38 return mContext; in getContext() 43 return mDisplay->createWorkerContext(infoLog, mContext, mAttribs); in createWorkerContext()
|
H A D | ImageEGL.cpp | 31 mContext(EGL_NO_CONTEXT), in ImageEGL() 38 mContext = GetImplAs<ContextEGL>(context)->getContext(); in ImageEGL() 95 mImage = mEGL->createImageKHR(mContext, mTarget, buffer, attributes.data()); in initialize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | ImageVk.cpp | 25 : ImageImpl(state), mImageLevel(0), mOwnsImage(false), mImage(nullptr), mContext(context) in ImageVk() 62 ASSERT(mContext != nullptr); in initialize() 63 ContextVk *contextVk = vk::GetImpl(mContext); in initialize() 92 ASSERT(mContext != nullptr); in initialize() 93 renderer = vk::GetImpl(mContext)->getRenderer(); in initialize() 101 ASSERT(mContext == nullptr); in initialize() 126 // mContext is no longer needed, make sure it's not used by accident. in initialize() 127 mContext = nullptr; in initialize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
H A D | RendererWGL.cpp | 22 mContext(context), in RendererWGL() 33 mDisplay->destroyNativeContext(mContext); in ~RendererWGL() 34 mContext = nullptr; in ~RendererWGL() 39 return mContext; in getContext()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/android/java/src/com/android/angle/test/ |
H A D | TestStatusReporter.java | 18 private final Context mContext; field in TestStatusReporter 22 mContext = c; in TestStatusReporter() 40 mContext.sendBroadcast(i); in sendTestRunBroadcast() 49 mContext.sendBroadcast(i); in uncaughtException()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
H A D | DisplayGLX.cpp | 75 mContext(nullptr), in DisplayGLX() 230 egl::Error error = initializeContext(mContextConfig, eglAttributes, &mContext); in initialize() 257 mContext = mGLX.createContext(&mVisuals[0], nullptr, true); in initialize() 259 if (!mContext) in initialize() 264 mSharedContext = mGLX.createContext(&mVisuals[0], mContext, True); in initialize() 266 ASSERT(mContext); in initialize() 268 mCurrentNativeContexts[std::this_thread::get_id()] = mContext; in initialize() 289 if (!mGLX.makeCurrent(mInitPbuffer, mContext)) in initialize() 373 if (mContext) in terminate() 375 mGLX.destroyContext(mContext); in terminate() 999 glx::Context mContext; global() member in rx::final [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | D3D11EmulatedIndexedBufferTest.cpp | 33 mContext = static_cast<gl::Context *>(getEGLWindow()->getContext()); 34 rx::Context11 *context11 = rx::GetImplAs<rx::Context11>(mContext); 115 mContext, srcData, mTranslatedAttribute, 0, &emulatedBuffer); in emulateAndCompare() 122 gl::Context *mContext; member in __anon20179::D3D11EmulatedIndexedBufferTest 182 ASSERT_EQ(angle::Result::Continue, mSourceBuffer->getData(mContext, &sourceBufferMem)); in TEST_P() 183 ASSERT_EQ(angle::Result::Continue, cleanSourceBuffer->getData(mContext, &cleanBufferMem)); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/util/ |
H A D | EGLWindow.cpp | 65 mContext(EGL_NO_CONTEXT), in EGLWindow() 97 return mContext; in getContext() 510 return reinterpret_cast<GLWindowContext>(mContext); in getCurrentContextGeneric() 711 mContext = createContext(EGL_NO_CONTEXT, nullptr); in initializeContext() 712 if (mContext == EGL_NO_CONTEXT) in initializeContext() 753 if (mContext != EGL_NO_CONTEXT) in destroyContext() 757 eglDestroyContext(mDisplay, mContext); in destroyContext() 758 mContext = EGL_NO_CONTEXT; in destroyContext() 764 return mSurface != EGL_NO_SURFACE && mContext != EGL_NO_CONTEXT && mDisplay != EGL_NO_DISPLAY; in isGLInitialized() 817 return makeCurrent(mContext); in makeCurrent() [all...] |