Home
last modified time | relevance | path

Searched refs:attribMap (Results 1 – 25 of 25) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/glx/
DRendererGLX.cpp17 const egl::AttributeMap &attribMap, in RendererGLX() argument
19 : RendererGL(std::move(functions), attribMap, display), mDisplay(display) in RendererGLX()
DRendererGLX.h23 const egl::AttributeMap &attribMap,
DDisplayGLX.cpp102 const auto &attribMap = display->getAttributeMap(); in initialize() local
167 if (attribMap.contains(EGL_X11_VISUAL_ID_ANGLE)) in initialize()
169 mRequestedVisual = static_cast<EGLint>(attribMap.get(EGL_X11_VISUAL_ID_ANGLE, -1)); in initialize()
/external/angle/src/libANGLE/renderer/gl/cgl/
DRendererCGL.cpp19 const egl::AttributeMap &attribMap, in RendererCGL() argument
21 : RendererGL(std::move(functions), attribMap, display), mDisplay(display) in RendererCGL()
DRendererCGL.h23 const egl::AttributeMap &attribMap,
/external/angle/src/libANGLE/renderer/gl/eagl/
DRendererEAGL.cpp20 const egl::AttributeMap &attribMap, in RendererEAGL() argument
22 : RendererGL(std::move(functions), attribMap, display), mDisplay(display) in RendererEAGL()
DRendererEAGL.h23 const egl::AttributeMap &attribMap,
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c426 static const struct { unsigned int attrib, offset; } attribMap[] = { variable
488 switch (attribMap[index].attrib) { in driGetConfigAttribIndex()
506 ((char *) &config->modes + attribMap[index].offset); in driGetConfigAttribIndex()
527 for (i = 0; i < ARRAY_SIZE(attribMap); i++) in driGetConfigAttrib()
528 if (attribMap[i].attrib == attrib) in driGetConfigAttrib()
546 if (index >= 0 && index < ARRAY_SIZE(attribMap)) { in driIndexConfigAttrib()
547 *attrib = attribMap[index].attrib; in driIndexConfigAttrib()
/external/angle/src/libANGLE/renderer/gl/egl/
DRendererEGL.cpp15 const egl::AttributeMap &attribMap, in RendererEGL() argument
20 : RendererGL(std::move(functionsGL), attribMap, display), in RendererEGL()
DRendererEGL.h23 const egl::AttributeMap &attribMap,
/external/angle/src/libANGLE/renderer/gl/wgl/
DRendererWGL.cpp15 const egl::AttributeMap &attribMap, in RendererWGL() argument
20 : RendererGL(std::move(functionsGL), attribMap, display), in RendererWGL()
DRendererWGL.h23 const egl::AttributeMap &attribMap,
/external/angle/src/libANGLE/
DDisplay.h135 static Display *GetDisplayFromDevice(Device *device, const AttributeMap &attribMap);
137 const AttributeMap &attribMap);
229 static Error CreateNativeClientBuffer(const egl::AttributeMap &attribMap,
299 void setAttributes(const AttributeMap &attribMap) { mAttributeMap = attribMap; } in setAttributes() argument
303 void updateAttribsFromEnvironment(const AttributeMap &attribMap);
DDisplay.cpp601 const AttributeMap &attribMap) in GetDisplayFromNativeDisplay() argument
627 display->setAttributes(attribMap); in GetDisplayFromNativeDisplay()
629 display->updateAttribsFromEnvironment(attribMap); in GetDisplayFromNativeDisplay()
669 Display *Display::GetDisplayFromDevice(Device *device, const AttributeMap &attribMap) in GetDisplayFromDevice() argument
708 display->setAttributes(attribMap); in GetDisplayFromDevice()
826 void Display::updateAttribsFromEnvironment(const AttributeMap &attribMap) in updateAttribsFromEnvironment() argument
829 attribMap.get(EGL_PLATFORM_ANGLE_TYPE_ANGLE, EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE); in updateAttribsFromEnvironment()
835 EGLAttrib deviceType = attribMap.get(EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE, 0); in updateAttribsFromEnvironment()
841 EGLAttrib platformType = attribMap.get(EGL_PLATFORM_ANGLE_NATIVE_PLATFORM_TYPE_ANGLE, 0); in updateAttribsFromEnvironment()
1611 Error Display::CreateNativeClientBuffer(const egl::AttributeMap &attribMap, in CreateNativeClientBuffer() argument
[all …]
DvalidationEGL.cpp507 const AttributeMap &attribMap) in ValidateGetPlatformDisplayCommon() argument
545 for (const auto &curAttrib : attribMap) in ValidateGetPlatformDisplayCommon()
831 if (attribMap.get(EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE, 0) == 0 && in ValidateGetPlatformDisplayCommon()
832 attribMap.get(EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE, 0) == 0) in ValidateGetPlatformDisplayCommon()
911 if (attribMap.contains(EGL_FEATURE_OVERRIDES_ENABLED_ANGLE)) in ValidateGetPlatformDisplayCommon()
918 else if (attribMap.get(EGL_FEATURE_OVERRIDES_ENABLED_ANGLE, 0) == 0) in ValidateGetPlatformDisplayCommon()
925 if (attribMap.contains(EGL_FEATURE_OVERRIDES_DISABLED_ANGLE)) in ValidateGetPlatformDisplayCommon()
932 else if (attribMap.get(EGL_FEATURE_OVERRIDES_DISABLED_ANGLE, 0) == 0) in ValidateGetPlatformDisplayCommon()
4715 const AttributeMap &attribMap) in ValidateGetPlatformDisplay() argument
4717 return ValidateGetPlatformDisplayCommon(val, platform, native_display, attribMap); in ValidateGetPlatformDisplay()
[all …]
Dformatutils.h293 int GetAndroidHardwareBufferFormatFromChannelSizes(const egl::AttributeMap &attribMap);
Dformatutils.cpp1331 int GetAndroidHardwareBufferFormatFromChannelSizes(const egl::AttributeMap &attribMap) in GetAndroidHardwareBufferFormatFromChannelSizes() argument
1334 GLuint redSize = static_cast<GLuint>(attribMap.getAsInt(EGL_RED_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
1335 GLuint greenSize = static_cast<GLuint>(attribMap.getAsInt(EGL_GREEN_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
1336 GLuint blueSize = static_cast<GLuint>(attribMap.getAsInt(EGL_BLUE_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
1337 GLuint alphaSize = static_cast<GLuint>(attribMap.getAsInt(EGL_ALPHA_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
/external/mesa3d/src/glx/
Ddri_common.c123 } attribMap[] = { variable
176 for (i = 0; i < ARRAY_SIZE(attribMap); i++) in scalarEqual()
177 if (attribMap[i].attrib == attrib) { in scalarEqual()
178 glxValue = *(unsigned int *) ((char *) mode + attribMap[i].offset); in scalarEqual()
/external/deqp/modules/egl/
DteglResizeTests.cpp133 AttribMap attribMap; in getEGLConfig() local
135 attribMap[EGL_SURFACE_TYPE] = surfaceType; in getEGLConfig()
136 attribMap[EGL_RENDERABLE_TYPE] = EGL_OPENGL_ES2_BIT; in getEGLConfig()
138 return eglu::chooseSingleConfig(egl, eglDisplay, attribMap); in getEGLConfig()
DteglImageUtil.cpp165 AttribMap attribMap = getCreateAttribs(); in createImage() local
167 attribMap[EGL_IMAGE_PRESERVED_KHR] = EGL_TRUE; in createImage()
170 const vector<EGLint> attribs = eglu::attribMapToList(attribMap); in createImage()
/external/angle/src/libGLESv2/
Degl_stubs.cpp79 const AttributeMap &attribMap, in ChooseConfig() argument
84 ClipConfigs(display->chooseConfig(attribMap), configs, config_size, num_config); in ChooseConfig()
397 const AttributeMap &attribMap) in GetPlatformDisplay() argument
402 gl::bitCast<EGLNativeDisplayType>(native_display), attribMap); in GetPlatformDisplay()
407 return Display::GetDisplayFromDevice(eglDevice, attribMap); in GetPlatformDisplay()
Degl_ext_stubs.cpp57 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, const AttributeMap &attribMap) in CreateNativeClientBufferANDROID() argument
61 egl::Display::CreateNativeClientBuffer(attribMap, &eglClientBuffer), in CreateNativeClientBufferANDROID()
185 const AttributeMap &attribMap) in GetPlatformDisplayEXT() argument
190 gl::bitCast<EGLNativeDisplayType>(native_display), attribMap); in GetPlatformDisplayEXT()
195 return egl::Display::GetDisplayFromDevice(eglDevice, attribMap); in GetPlatformDisplayEXT()
/external/angle/src/libANGLE/renderer/gl/
DRendererGL.cpp140 const egl::AttributeMap &attribMap, in RendererGL() argument
169 mUseDebugOutput = hasDebugOutput && ShouldUseDebugLayers(attribMap); in RendererGL()
DRendererGL.h82 const egl::AttributeMap &attribMap,
/external/angle/src/libANGLE/renderer/d3d/
DDisplayD3D.cpp43 const auto &attribMap = display->getAttributeMap(); in CreateRendererD3D() local
47 attribMap.get(EGL_PLATFORM_ANGLE_TYPE_ANGLE, EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE)); in CreateRendererD3D()