/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | CLExtensions.cpp | 31 auto hasExtension = [&](const std::string &extension) { in initializeExtensions() local 35 khrByteAddressableStore = hasExtension("cl_khr_byte_addressable_store"); in initializeExtensions() 36 khrGlobalInt32BaseAtomics = hasExtension("cl_khr_global_int32_base_atomics"); in initializeExtensions() 37 khrGlobalInt32ExtendedAtomics = hasExtension("cl_khr_global_int32_extended_atomics"); in initializeExtensions() 38 khrLocalInt32BaseAtomics = hasExtension("cl_khr_local_int32_base_atomics"); in initializeExtensions() 39 khrLocalInt32ExtendedAtomics = hasExtension("cl_khr_local_int32_extended_atomics"); in initializeExtensions() 41 khr3D_ImageWrites = hasExtension("cl_khr_3d_image_writes"); in initializeExtensions() 42 khrDepthImages = hasExtension("cl_khr_depth_images"); in initializeExtensions() 43 khrImage2D_FromBuffer = hasExtension("cl_khr_image2d_from_buffer"); in initializeExtensions() 45 khrExtendedVersioning = hasExtension("cl_khr_extended_versioning"); in initializeExtensions() [all …]
|
/third_party/skia/src/gpu/gl/ |
D | GrGLCaps.cpp | 126 version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init() 128 version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_NV_pack_subimage"); in init() 130 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init() 148 ctxInfo.hasExtension("GL_ANGLE_texture_usage"); in init() 152 ctxInfo.hasExtension("GL_ARB_texture_barrier") || in init() 153 ctxInfo.hasExtension("GL_NV_texture_barrier"); in init() 155 fTextureBarrierSupport = ctxInfo.hasExtension("GL_NV_texture_barrier"); in init() 162 ctxInfo.hasExtension("GL_ARB_texture_multisample"); in init() 170 ctxInfo.hasExtension("GL_ARB_imaging"); in init() 174 ctxInfo.hasExtension("GL_ARB_invalidate_subdata"))) { in init() [all …]
|
D | GrGLContext.cpp | 63 interface->hasExtension("GL_OES_EGL_image_external") && in Make() 65 !interface->hasExtension("GL_OES_EGL_image_external_essl3") && in Make() 66 !interface->hasExtension("OES_EGL_image_external_essl3")) { in Make()
|
D | GrGLContext.h | 48 bool hasExtension(const char* ext) const { in hasExtension() function 49 return fInterface->hasExtension(ext); in hasExtension()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
D | DisplayEGL.cpp | 52 if (eglVersion >= gl::Version(1, 5) || egl->hasExtension("EGL_KHR_create_context")) in RenderableTypesFromPlatformAttrib() 161 if (eglVersion >= gl::Version(1, 5) || mEGL->hasExtension("EGL_KHR_create_context")) in initializeContext() 264 mHasEXTCreateContextRobustness = mEGL->hasExtension("EGL_EXT_create_context_robustness"); in initialize() 265 mHasNVRobustnessVideoMemoryPurge = mEGL->hasExtension("EGL_NV_robustness_video_memory_purge"); in initialize() 266 mSupportsNoConfigContexts = mEGL->hasExtension("EGL_KHR_no_config_context") || in initialize() 267 mEGL->hasExtension("EGL_KHR_no_config_context"); in initialize() 268 mSupportsSurfaceless = mEGL->hasExtension("EGL_KHR_surfaceless_context"); in initialize() 323 mSupportsSurfaceless = mEGL->hasExtension("EGL_KHR_surfaceless_context"); in initialize() 564 if (mEGL->hasExtension(extension)) in getConfigAttribIfExtension() 818 mEGL->hasExtension("EGL_EXT_create_context_robustness"); in generateExtensions() [all …]
|
D | SurfaceEGL.cpp | 21 mHasSwapBuffersWithDamage(mEGL->hasExtension("EGL_KHR_swap_buffers_with_damage")) in SurfaceEGL() 162 ASSERT(mEGL->hasExtension("EGL_ANDROID_get_frame_timestamps")); in setTimestampsEnabled() 174 ASSERT(mEGL->hasExtension("EGL_ANDROID_get_frame_timestamps")); in getSupportedCompositorTimings() 188 ASSERT(mEGL->hasExtension("EGL_ANDROID_get_frame_timestamps")); in getCompositorTiming() 200 ASSERT(mEGL->hasExtension("EGL_ANDROID_get_frame_timestamps")); in getNextFrameId() 212 ASSERT(mEGL->hasExtension("EGL_ANDROID_get_frame_timestamps")); in getSupportedTimestamps() 228 ASSERT(mEGL->hasExtension("EGL_ANDROID_get_frame_timestamps")); in getFrameTimestamps()
|
D | FunctionsEGL.cpp | 224 if (hasExtension("EGL_KHR_image_base")) in initialize() 229 if (hasExtension("EGL_KHR_fence_sync")) in initialize() 236 if (hasExtension("EGL_KHR_wait_sync")) in initialize() 241 if (hasExtension("EGL_KHR_swap_buffers_with_damage")) in initialize() 246 if (hasExtension("EGL_ANDROID_presentation_time")) in initialize() 251 if (hasExtension("EGL_ANDROID_blob_cache")) in initialize() 256 if (hasExtension("EGL_ANDROID_get_frame_timestamps")) in initialize() 274 if (hasExtension("EGL_ANDROID_native_fence_sync") || GetAndroidSDKVersion() >= 24) in initialize() 279 !hasExtension("EGL_ANDROID_native_fence_sync")) in initialize() 321 bool FunctionsEGL::hasExtension(const char *extension) const in hasExtension() function in rx::FunctionsEGL
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TestUtil.java | 1407 Assert.assertTrue(message.hasExtension(optionalInt32Extension)); in assertAllExtensionsSet() 1408 Assert.assertTrue(message.hasExtension(optionalInt64Extension)); in assertAllExtensionsSet() 1409 Assert.assertTrue(message.hasExtension(optionalUint32Extension)); in assertAllExtensionsSet() 1410 Assert.assertTrue(message.hasExtension(optionalUint64Extension)); in assertAllExtensionsSet() 1411 Assert.assertTrue(message.hasExtension(optionalSint32Extension)); in assertAllExtensionsSet() 1412 Assert.assertTrue(message.hasExtension(optionalSint64Extension)); in assertAllExtensionsSet() 1413 Assert.assertTrue(message.hasExtension(optionalFixed32Extension)); in assertAllExtensionsSet() 1414 Assert.assertTrue(message.hasExtension(optionalFixed64Extension)); in assertAllExtensionsSet() 1415 Assert.assertTrue(message.hasExtension(optionalSfixed32Extension)); in assertAllExtensionsSet() 1416 Assert.assertTrue(message.hasExtension(optionalSfixed64Extension)); in assertAllExtensionsSet() [all …]
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBTestUtilities.m | 184 XCTAssertTrue([message hasExtension:[UnittestRoot optionalInt32Extension]]); 185 XCTAssertTrue([message hasExtension:[UnittestRoot optionalInt64Extension]]); 186 XCTAssertTrue([message hasExtension:[UnittestRoot optionalUint32Extension]]); 187 XCTAssertTrue([message hasExtension:[UnittestRoot optionalUint64Extension]]); 188 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSint32Extension]]); 189 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSint64Extension]]); 190 XCTAssertTrue([message hasExtension:[UnittestRoot optionalFixed32Extension]]); 191 XCTAssertTrue([message hasExtension:[UnittestRoot optionalFixed64Extension]]); 192 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSfixed32Extension]]); 193 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSfixed64Extension]]); [all …]
|
D | GPBMessageTests.m | 608 XCTAssertTrue([message1 hasExtension:[UnittestRoot optionalInt32Extension]]); 610 XCTAssertFalse([message1 hasExtension:[UnittestRoot optionalInt32Extension]]); 628 XCTAssertFalse([message3 hasExtension:[UnittestObjcRoot recursiveExtension]]); 630 XCTAssertFalse([message3 hasExtension:[UnittestObjcRoot recursiveExtension]]); 1465 XCTAssertFalse([message hasExtension:[UnittestRoot optionalGroupExtension]]); 1466 XCTAssertFalse([message hasExtension:[UnittestRoot optionalGroupExtension]]); 1468 [message hasExtension:[UnittestRoot optionalNestedMessageExtension]]); 1470 [message hasExtension:[UnittestRoot optionalForeignMessageExtension]]); 1472 [message hasExtension:[UnittestRoot optionalImportMessageExtension]]); 1474 hasExtension:[UnittestRoot optionalPublicImportMessageExtension]]); [all …]
|
D | GPBUtilitiesTests.m | 282 XCTAssertTrue([message hasExtension:[UnittestRoot optionalInt32Extension]]); 285 XCTAssertTrue([message hasExtension:[UnittestRoot optionalGroupExtension]]); 294 XCTAssertTrue([message hasExtension:[UnittestRoot optionalNestedMessageExtension]]); 303 XCTAssertTrue([message hasExtension:[UnittestRoot repeatedGroupExtension]]); 313 XCTAssertTrue([message hasExtension:[UnittestRoot repeatedNestedMessageExtension]]); 329 XCTAssertTrue([message hasExtension:[UnittestRoot optionalInt32Extension]]); 332 XCTAssertTrue([message hasExtension:[UnittestRoot optionalGroupExtension]]); 341 XCTAssertTrue([message hasExtension:[UnittestRoot optionalNestedMessageExtension]]); 350 XCTAssertTrue([message hasExtension:[UnittestRoot repeatedGroupExtension]]); 360 XCTAssertTrue([message hasExtension:[UnittestRoot repeatedNestedMessageExtension]]);
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLDebugTest.cpp | 22 bool hasExtension() const { return IsEGLClientExtensionEnabled("EGL_KHR_debug"); } in hasExtension() function in angle::EGLDebugTest 58 ASSERT_TRUE(hasExtension()); in TEST_P() 64 ANGLE_SKIP_TEST_IF(!hasExtension()); in TEST_P() 86 ANGLE_SKIP_TEST_IF(!hasExtension()); in TEST_P() 123 ANGLE_SKIP_TEST_IF(!hasExtension()); in TEST_P() 154 ANGLE_SKIP_TEST_IF(!hasExtension()); in TEST_P()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | Phonenumber.java | 76 private boolean hasExtension; field in Phonenumber.PhoneNumber 78 public boolean hasExtension() { return hasExtension; } in hasExtension() method in Phonenumber.PhoneNumber 84 hasExtension = true; in setExtension() 89 hasExtension = false; in clearExtension() 202 if (other.hasExtension()) { in mergeFrom() 273 if (hasExtension()) { in toString()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | TestUtil.java | 1278 Assert.assertTrue(message.hasExtension(optionalInt32Extension )); in assertAllExtensionsSet() 1279 Assert.assertTrue(message.hasExtension(optionalInt64Extension )); in assertAllExtensionsSet() 1280 Assert.assertTrue(message.hasExtension(optionalUint32Extension )); in assertAllExtensionsSet() 1281 Assert.assertTrue(message.hasExtension(optionalUint64Extension )); in assertAllExtensionsSet() 1282 Assert.assertTrue(message.hasExtension(optionalSint32Extension )); in assertAllExtensionsSet() 1283 Assert.assertTrue(message.hasExtension(optionalSint64Extension )); in assertAllExtensionsSet() 1284 Assert.assertTrue(message.hasExtension(optionalFixed32Extension )); in assertAllExtensionsSet() 1285 Assert.assertTrue(message.hasExtension(optionalFixed64Extension )); in assertAllExtensionsSet() 1286 Assert.assertTrue(message.hasExtension(optionalSfixed32Extension)); in assertAllExtensionsSet() 1287 Assert.assertTrue(message.hasExtension(optionalSfixed64Extension)); in assertAllExtensionsSet() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkInterface.cpp | 180 } else if (extensions->hasExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, in GrVkInterface() 197 } else if (extensions->hasExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, 1)) { in GrVkInterface() 207 } else if (extensions->hasExtension(VK_KHR_BIND_MEMORY_2_EXTENSION_NAME, 1)) { in GrVkInterface() 215 } else if (extensions->hasExtension(VK_KHR_MAINTENANCE1_EXTENSION_NAME, 1)) { in GrVkInterface() 222 } else if (extensions->hasExtension(VK_KHR_MAINTENANCE3_EXTENSION_NAME, 1)) { in GrVkInterface() 229 } else if (extensions->hasExtension(VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, 1)) { in GrVkInterface() 238 } else if (extensions->hasExtension(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME, 1)) { in GrVkInterface() 245 if (extensions->hasExtension( in GrVkInterface() 407 extensions->hasExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, 1)) { in validate() 421 extensions->hasExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, 1)) { in validate() [all …]
|
D | GrVkCaps.cpp | 309 if (extensions.hasExtension(VK_KHR_SWAPCHAIN_EXTENSION_NAME, 1)) { in init() 314 extensions.hasExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, 1)) { in init() 319 extensions.hasExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, 1)) { in init() 324 extensions.hasExtension(VK_KHR_BIND_MEMORY_2_EXTENSION_NAME, 1)) { in init() 329 extensions.hasExtension(VK_KHR_MAINTENANCE1_EXTENSION_NAME, 1)) { in init() 334 extensions.hasExtension(VK_KHR_MAINTENANCE2_EXTENSION_NAME, 1)) { in init() 339 extensions.hasExtension(VK_KHR_MAINTENANCE3_EXTENSION_NAME, 1)) { in init() 344 (extensions.hasExtension(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME, 1) && in init() 350 (extensions.hasExtension(VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, 1) && in init() 352 extensions.hasExtension(VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME, 1) && in init() [all …]
|
/third_party/skia/src/utils/win/ |
D | SkWGL_win.cpp | 18 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { in hasExtension() function in SkWGLExtensions 338 extensions.hasExtension(dc, "WGL_ARB_multisample")) { in get_pixel_formats_to_try() 364 if (!extensions.hasExtension(dc, "WGL_EXT_create_context_es2_profile")) { in create_gl_context() 381 extensions.hasExtension(dc, "WGL_ARB_create_context")) { in create_gl_context() 426 if (!extensions.hasExtension(dc, "WGL_ARB_pixel_format")) { in SkCreateWGLContext() 453 if (!extensions.hasExtension(parentDC, "WGL_ARB_pixel_format") || in Create() 454 !extensions.hasExtension(parentDC, "WGL_ARB_pbuffer")) { in Create() 503 SkASSERT(fExtensions.hasExtension(fDC, "WGL_ARB_pbuffer")); in ~SkWGLPbufferContext()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
D | DisplayGLX.cpp | 123 mHasMultisample = mGLX.minorVersion > 3 || mGLX.hasExtension("GLX_ARB_multisample"); in initialize() 124 mHasARBCreateContext = mGLX.hasExtension("GLX_ARB_create_context"); in initialize() 125 mHasARBCreateContextProfile = mGLX.hasExtension("GLX_ARB_create_context_profile"); in initialize() 126 mHasARBCreateContextRobustness = mGLX.hasExtension("GLX_ARB_create_context_robustness"); in initialize() 127 mHasEXTCreateContextES2Profile = mGLX.hasExtension("GLX_EXT_create_context_es2_profile"); in initialize() 128 mHasNVRobustnessVideoMemoryPurge = mGLX.hasExtension("GLX_NV_robustness_video_memory_purge"); in initialize() 137 if (mGLX.hasExtension("GLX_EXT_swap_control")) in initialize() 146 else if (mGLX.hasExtension("GLX_MESA_swap_control")) in initialize() 154 else if (mGLX.hasExtension("GLX_SGI_swap_control")) in initialize() 730 pixmapSupport && mGLX.hasExtension("GLX_EXT_texture_from_pixmap"); in generateConfigs() [all …]
|
D | FunctionsGLX.cpp | 245 if (hasExtension("GLX_ARB_create_context")) in initialize() 249 if (hasExtension("GLX_EXT_swap_control")) in initialize() 253 if (hasExtension("GLX_MESA_swap_control")) in initialize() 257 if (hasExtension("GLX_SGI_swap_control")) in initialize() 261 if (hasExtension("GLX_OML_sync_control")) in initialize() 266 if (hasExtension("GLX_EXT_texture_from_pixmap")) in initialize() 281 bool FunctionsGLX::hasExtension(const char *extension) const in hasExtension() function in rx::FunctionsGLX
|
/third_party/skia/tools/sk_app/win/ |
D | GLWindowContext_win.cpp | 76 if (extensions.hasExtension(dc, "WGL_EXT_swap_control")) { in onInitializeContext() 83 bool renderDocAttached = interface->hasExtension("GL_EXT_debug_tool"); in onInitializeContext() 108 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) { in onInitializeContext()
|
/third_party/vk-gl-cts/framework/egl/ |
D | egluGLUtil.cpp | 87 const bool khrCreateContextSupported = hasExtension(egl, display, "EGL_KHR_create_context"); in createGLContext() 88 …const bool khrCreateContextNoErrorSupported = hasExtension(egl, display, "EGL_KHR_create_context… in createGLContext() 145 …if (!hasExtension(egl, display, "EGL_EXT_create_context_robustness") && (getVersion(egl, display) … in createGLContext() 181 else if (hasExtension(egl, display, "EGL_EXT_create_context_robustness")) in createGLContext()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | FunctionsGL.cpp | 219 bool FunctionsGL::hasExtension(const std::string &ext) const in hasExtension() function in rx::FunctionsGL 226 return standard == STANDARD_GL_DESKTOP && hasExtension(ext); in hasGLExtension() 231 return standard == STANDARD_GL_ES && hasExtension(ext); in hasGLESExtension()
|
/third_party/skia/tests/ |
D | VkHardwareBufferTest.cpp | 156 if (!fGLCtx->gl()->hasExtension("EGL_KHR_image") || in init() 157 !fGLCtx->gl()->hasExtension("EGL_ANDROID_get_native_client_buffer") || in init() 158 !fGLCtx->gl()->hasExtension("GL_OES_EGL_image_external") || in init() 159 !fGLCtx->gl()->hasExtension("GL_OES_EGL_image") || in init() 160 !fGLCtx->gl()->hasExtension("EGL_KHR_fence_sync") || in init() 161 !fGLCtx->gl()->hasExtension("EGL_ANDROID_native_fence_sync")) { in init() 547 … if (!fExtensions->hasExtension(VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME, in init() 551 if (!fExtensions->hasExtension(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME, 1)) { in init() 554 if (!fExtensions->hasExtension(VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME, 1)) { in init() 557 if (!fExtensions->hasExtension(VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME, 1)) { in init()
|
/third_party/skia/tools/gpu/gl/ |
D | GLTestContext.cpp | 178 !ctx->gl()->hasExtension("GL_ARB_sync")) { in fence_is_supported() 183 if (ctx->gl()->hasExtension("GL_APPLE_sync")) { in fence_is_supported() 185 } else if (ctx->gl()->hasExtension("GL_NV_fence")) { in fence_is_supported()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglImageTests.cpp | 91 …TCU_CHECK_AND_THROW(NotSupportedError, eglu::hasExtension(m_eglTestCtx.getLibrary(), DPY, EXTNAME)… 176 return m_api.getMajorVersion() >= 3 || glu::hasExtension(m_gl, m_api, "GL_EXT_texture_rg"); in isGLRedSupported() 214 !eglu::hasExtension(egl, m_display, "EGL_KHR_image") && in iterate() 215 !eglu::hasExtension(egl, m_display, "EGL_KHR_image_base")) in iterate() 230 if (eglu::hasExtension(egl, m_display, "EGL_KHR_image") && in iterate() 231 eglu::hasExtension(egl, m_display, "EGL_KHR_image_base")) in iterate()
|