Home
last modified time | relevance | path

Searched refs:getAsInt (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/
DDmaBufImageSiblingVkLinux.cpp88 uint64_t modifier = attribs.getAsInt(hi); in GetModifier()
89 modifier = modifier << 32 | attribs.getAsInt(lo); in GetModifier()
225 return attribs.getAsInt(hint, EGL_YUV_CHROMA_SITING_0_EXT) == EGL_YUV_CHROMA_SITING_0_EXT in GetChromaLocation()
232 switch (attribs.getAsInt(EGL_YUV_COLOR_SPACE_HINT_EXT, EGL_ITU_REC601_EXT)) in GetYcbcrModel()
248 return attribs.getAsInt(EGL_SAMPLE_RANGE_HINT_EXT, EGL_YUV_FULL_RANGE_EXT) == in GetYcbcrRange()
278 if (attribs.getAsInt(kFds[plane]) != attribs.getAsInt(kFds[0])) in GetAllocateInfo()
302 infoOut->importFdInfo[plane].fd = attribs.getAsInt(kFds[plane]); in GetAllocateInfo()
322 mSize.width = mAttribs.getAsInt(EGL_WIDTH); in DmaBufImageSiblingVkLinux()
323 mSize.height = mAttribs.getAsInt(EGL_HEIGHT); in DmaBufImageSiblingVkLinux()
326 int fourCCFormat = mAttribs.getAsInt(EGL_LINUX_DRM_FOURCC_EXT); in DmaBufImageSiblingVkLinux()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DDmaBufImageSiblingEGL.cpp20 mSize.width = mAttribs.getAsInt(EGL_WIDTH); in DmaBufImageSiblingEGL()
22 mSize.height = mAttribs.getAsInt(EGL_HEIGHT); in DmaBufImageSiblingEGL()
26 int fourCCFormat = mAttribs.getAsInt(EGL_LINUX_DRM_FOURCC_EXT); in DmaBufImageSiblingEGL()
114 outAttributes->push_back(mAttribs.getAsInt(forwardedAttrib)); in getImageCreationAttributes()
DSyncEGL.cpp21 attribs.getAsInt(EGL_SYNC_NATIVE_FENCE_FD_ANDROID, EGL_NO_NATIVE_FENCE_FD_ANDROID)), in SyncEGL()
DDisplayEGL.cpp150 eglAttributes.getAsInt(EGL_PLATFORM_ANGLE_MAX_VERSION_MAJOR_ANGLE, EGL_DONT_CARE); in initializeContext()
152 eglAttributes.getAsInt(EGL_PLATFORM_ANGLE_MAX_VERSION_MINOR_ANGLE, EGL_DONT_CARE); in initializeContext()
473 attribs.getAsInt(EGL_WIDTH, 0), in createPbufferFromClientBuffer()
474 attribs.getAsInt(EGL_HEIGHT, 0)); in createPbufferFromClientBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DStream.cpp34 mConsumerLatency(attribs.getAsInt(EGL_CONSUMER_LATENCY_USEC_KHR, 0)), in Stream()
35 mConsumerAcquireTimeout(attribs.getAsInt(EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR, 0)), in Stream()
132 EGLenum bufferType = attributes.getAsInt(EGL_COLOR_BUFFER_TYPE, EGL_RGB_BUFFER); in createConsumerGLTextureExternal()
143 mPlaneCount = attributes.getAsInt(EGL_YUV_NUMBER_OF_PLANES_EXT, 2); in createConsumerGLTextureExternal()
148 mPlanes[i].textureUnit = attributes.getAsInt(EGL_YUV_PLANE0_TEXTURE_UNIT_NV + i, -1); in createConsumerGLTextureExternal()
DAttributeMap.h40 EGLint getAsInt(EGLAttrib key) const;
41 EGLint getAsInt(EGLAttrib key, EGLint defaultValue) const;
DAttributeMap.cpp45 EGLint AttributeMap::getAsInt(EGLAttrib key) const in getAsInt() function in egl::AttributeMap
50 EGLint AttributeMap::getAsInt(EGLAttrib key, EGLint defaultValue) const in getAsInt() function in egl::AttributeMap
DEGLSync.cpp26 attribs.getAsInt(EGL_SYNC_NATIVE_FENCE_FD_ANDROID, EGL_NO_NATIVE_FENCE_FD_ANDROID)) in Sync()
DSurface.cpp58 return attributes.getAsInt(EGL_SWAP_INTERVAL_ANGLE, 1); in getPreferredSwapInterval()
791 EGLint lockBufferUsageHint = attributes.getAsInt( in lockSurfaceKHR()
794 bool preservePixels = ((attributes.getAsInt(EGL_MAP_PRESERVE_PIXELS_KHR, false) == EGL_TRUE) || in lockSurfaceKHR()
DvalidationEGL.cpp3398 (attributes.getAsInt(EGL_PROTECTED_CONTENT_EXT, EGL_FALSE) != EGL_FALSE); in ValidateCreateImage()
3470 (attributes.getAsInt(EGL_PROTECTED_CONTENT_EXT, EGL_FALSE) != EGL_FALSE); in ValidateCreateImage()
3533 (attributes.getAsInt(EGL_PROTECTED_CONTENT_EXT, EGL_FALSE) != EGL_FALSE); in ValidateCreateImage()
3585 (attributes.getAsInt(EGL_PROTECTED_CONTENT_EXT, EGL_FALSE) != EGL_FALSE); in ValidateCreateImage()
5802 int width = attribMap.getAsInt(EGL_WIDTH, 0); in ValidateCreateNativeClientBufferANDROID()
5803 int height = attribMap.getAsInt(EGL_HEIGHT, 0); in ValidateCreateNativeClientBufferANDROID()
5804 int redSize = attribMap.getAsInt(EGL_RED_SIZE, 0); in ValidateCreateNativeClientBufferANDROID()
5805 int greenSize = attribMap.getAsInt(EGL_GREEN_SIZE, 0); in ValidateCreateNativeClientBufferANDROID()
5806 int blueSize = attribMap.getAsInt(EGL_BLUE_SIZE, 0); in ValidateCreateNativeClientBufferANDROID()
5807 int alphaSize = attribMap.getAsInt(EGL_ALPHA_SIZE, 0); in ValidateCreateNativeClientBufferANDROID()
[all …]
DDebug.cpp468 (attribs.getAsInt(egl::ToEGLenum(messageType), defaultMessageTypes[messageType]) == in setCallback()
DDisplay.cpp1692 int width = attribMap.getAsInt(EGL_WIDTH, 0); in CreateNativeClientBuffer()
1693 int height = attribMap.getAsInt(EGL_HEIGHT, 0); in CreateNativeClientBuffer()
1694 int usage = attribMap.getAsInt(EGL_NATIVE_BUFFER_USAGE_ANDROID, 0); in CreateNativeClientBuffer()
Dformatutils.cpp1412 GLuint redSize = static_cast<GLuint>(attribMap.getAsInt(EGL_RED_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
1413 GLuint greenSize = static_cast<GLuint>(attribMap.getAsInt(EGL_GREEN_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
1414 GLuint blueSize = static_cast<GLuint>(attribMap.getAsInt(EGL_BLUE_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
1415 GLuint alphaSize = static_cast<GLuint>(attribMap.getAsInt(EGL_ALPHA_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
DContext.cpp227 attribs.getAsInt(EGL_CONTEXT_PRIORITY_LEVEL_IMG, EGL_CONTEXT_PRIORITY_MEDIUM_IMG)); in GetContextPriority()
232 return static_cast<bool>(attribs.getAsInt(EGL_PROTECTED_CONTENT_EXT, EGL_FALSE)); in GetProtectedContent()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
DPixmapSurfaceGLX.cpp117 EGLTextureFormatToGLXTextureFormat(mState.attributes.getAsInt(EGL_TEXTURE_FORMAT))); in initialize()
123 EGLTextureTargetToGLXTextureTarget(mState.attributes.getAsInt(EGL_TEXTURE_TARGET))); in initialize()
/third_party/node/test/fixtures/wpt/resources/
Dchannel.sub.js416 const getAsInt = (obj, prop) => { function
422 lineNumber: getAsInt(e, "lineNumber"),
423 columnNumber: getAsInt(e, "columnNumber"),
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp171 if (attribs.getAsInt(EGL_PROTECTED_CONTENT_EXT, EGL_FALSE) == EGL_TRUE) in ValidateHardwareBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DSurfaceMtl.mm686 mSize = gl::Extents(attribs.getAsInt(EGL_WIDTH, 1), attribs.getAsInt(EGL_HEIGHT, 1), 1);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSyncVk.cpp471 int nativeFd = static_cast<EGLint>(mAttribs.getAsInt(EGL_SYNC_NATIVE_FENCE_FD_ANDROID, in initialize()
DSurfaceVk.cpp333 mWidth(mState.attributes.getAsInt(EGL_WIDTH, 0)), in OffscreenSurfaceVk()
334 mHeight(mState.attributes.getAsInt(EGL_HEIGHT, 0)), in OffscreenSurfaceVk()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp1498 EGLint plane = attribs.getAsInt(EGL_D3D11_TEXTURE_PLANE_ANGLE); in getD3DTextureInfo()
1587 static_cast<UINT>(attribs.getAsInt(EGL_D3D11_TEXTURE_ARRAY_SLICE_ANGLE, 0)); in getD3DTextureInfo()
1657 EGLint width = attribs.getAsInt(EGL_WIDTH, 0); in validateShareHandle()
1658 EGLint height = attribs.getAsInt(EGL_HEIGHT, 0); in validateShareHandle()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp824 EGLint width = attribs.getAsInt(EGL_WIDTH, 0); in validateShareHandle()
825 EGLint height = attribs.getAsInt(EGL_HEIGHT, 0); in validateShareHandle()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
DFrameCapture.cpp6108 json.addHexValue("DisplayPlatformType", displayAttribs.getAsInt(EGL_PLATFORM_ANGLE_TYPE_ANGLE)); in writeJSON()
6110 displayAttribs.getAsInt(EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE)); in writeJSON()