/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
D | wgl_utils.cpp | 38 std::vector<int> attribs; in GetDefaultPixelFormatAttributes() local 39 attribs.push_back(WGL_DRAW_TO_WINDOW_ARB); in GetDefaultPixelFormatAttributes() 40 attribs.push_back(TRUE); in GetDefaultPixelFormatAttributes() 42 attribs.push_back(WGL_ACCELERATION_ARB); in GetDefaultPixelFormatAttributes() 43 attribs.push_back(WGL_FULL_ACCELERATION_ARB); in GetDefaultPixelFormatAttributes() 45 attribs.push_back(WGL_SUPPORT_OPENGL_ARB); in GetDefaultPixelFormatAttributes() 46 attribs.push_back(TRUE); in GetDefaultPixelFormatAttributes() 48 attribs.push_back(WGL_DOUBLE_BUFFER_ARB); in GetDefaultPixelFormatAttributes() 49 attribs.push_back(TRUE); in GetDefaultPixelFormatAttributes() 51 attribs.push_back(WGL_PIXEL_TYPE_ARB); in GetDefaultPixelFormatAttributes() [all …]
|
D | DisplayWGL.cpp | 254 std::vector<int> attribs = wgl::GetDefaultPixelFormatAttributes(false); in initializeImpl() local 257 mFunctionsWGL->choosePixelFormatARB(mDeviceContext, &attribs[0], nullptr, 1u, &mPixelFormat, in initializeImpl() 408 const egl::AttributeMap &attribs) in createWindowSurface() argument 410 EGLint orientation = static_cast<EGLint>(attribs.get(EGL_SURFACE_ORIENTATION_ANGLE, 0)); in createWindowSurface() 430 const egl::AttributeMap &attribs) in createPbufferSurface() argument 432 EGLint width = static_cast<EGLint>(attribs.get(EGL_WIDTH, 0)); in createPbufferSurface() 433 EGLint height = static_cast<EGLint>(attribs.get(EGL_HEIGHT, 0)); in createPbufferSurface() 434 bool largest = (attribs.get(EGL_LARGEST_PBUFFER, EGL_FALSE) == EGL_TRUE); in createPbufferSurface() 435 EGLenum textureFormat = static_cast<EGLenum>(attribs.get(EGL_TEXTURE_FORMAT, EGL_NO_TEXTURE)); in createPbufferSurface() 436 EGLenum textureTarget = static_cast<EGLenum>(attribs.get(EGL_TEXTURE_TARGET, EGL_NO_TEXTURE)); in createPbufferSurface() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
D | wgl_utils.cpp | 38 std::vector<int> attribs; in GetDefaultPixelFormatAttributes() local 39 attribs.push_back(WGL_DRAW_TO_WINDOW_ARB); in GetDefaultPixelFormatAttributes() 40 attribs.push_back(TRUE); in GetDefaultPixelFormatAttributes() 42 attribs.push_back(WGL_ACCELERATION_ARB); in GetDefaultPixelFormatAttributes() 43 attribs.push_back(WGL_FULL_ACCELERATION_ARB); in GetDefaultPixelFormatAttributes() 45 attribs.push_back(WGL_SUPPORT_OPENGL_ARB); in GetDefaultPixelFormatAttributes() 46 attribs.push_back(TRUE); in GetDefaultPixelFormatAttributes() 48 attribs.push_back(WGL_DOUBLE_BUFFER_ARB); in GetDefaultPixelFormatAttributes() 49 attribs.push_back(TRUE); in GetDefaultPixelFormatAttributes() 51 attribs.push_back(WGL_PIXEL_TYPE_ARB); in GetDefaultPixelFormatAttributes() [all …]
|
D | DisplayWGL.cpp | 254 std::vector<int> attribs = wgl::GetDefaultPixelFormatAttributes(false); in initializeImpl() local 257 mFunctionsWGL->choosePixelFormatARB(mDeviceContext, &attribs[0], nullptr, 1u, &mPixelFormat, in initializeImpl() 408 const egl::AttributeMap &attribs) in createWindowSurface() argument 410 EGLint orientation = static_cast<EGLint>(attribs.get(EGL_SURFACE_ORIENTATION_ANGLE, 0)); in createWindowSurface() 430 const egl::AttributeMap &attribs) in createPbufferSurface() argument 432 EGLint width = static_cast<EGLint>(attribs.get(EGL_WIDTH, 0)); in createPbufferSurface() 433 EGLint height = static_cast<EGLint>(attribs.get(EGL_HEIGHT, 0)); in createPbufferSurface() 434 bool largest = (attribs.get(EGL_LARGEST_PBUFFER, EGL_FALSE) == EGL_TRUE); in createPbufferSurface() 435 EGLenum textureFormat = static_cast<EGLenum>(attribs.get(EGL_TEXTURE_FORMAT, EGL_NO_TEXTURE)); in createPbufferSurface() 436 EGLenum textureTarget = static_cast<EGLenum>(attribs.get(EGL_TEXTURE_TARGET, EGL_NO_TEXTURE)); in createPbufferSurface() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/nacl/ |
D | SDL_naclopengles.c | 78 Sint32 attribs[64]; in NACL_GLES_CreateContext() local 87 attribs[i++] = PP_GRAPHICS3DATTRIB_WIDTH; in NACL_GLES_CreateContext() 88 attribs[i++] = window->w; in NACL_GLES_CreateContext() 89 attribs[i++] = PP_GRAPHICS3DATTRIB_HEIGHT; in NACL_GLES_CreateContext() 90 attribs[i++] = window->h; in NACL_GLES_CreateContext() 91 attribs[i++] = PP_GRAPHICS3DATTRIB_RED_SIZE; in NACL_GLES_CreateContext() 92 attribs[i++] = _this->gl_config.red_size; in NACL_GLES_CreateContext() 93 attribs[i++] = PP_GRAPHICS3DATTRIB_GREEN_SIZE; in NACL_GLES_CreateContext() 94 attribs[i++] = _this->gl_config.green_size; in NACL_GLES_CreateContext() 95 attribs[i++] = PP_GRAPHICS3DATTRIB_BLUE_SIZE; in NACL_GLES_CreateContext() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/ |
D | gsteglimage.c | 279 EGLClientBuffer buffer, guintptr * attribs) in _gst_egl_image_create() argument 303 if (attribs) in _gst_egl_image_create() 304 while (attribs[attrib_len++] != EGL_NONE) { in _gst_egl_image_create() 321 if (attribs) { in _gst_egl_image_create() 324 egl_attribs[i] = (EGLAttrib) attribs[i]; in _gst_egl_image_create() 347 if (attribs) { in _gst_egl_image_create() 350 egl_attribs[i] = (EGLint) attribs[i]; in _gst_egl_image_create() 411 guintptr * attribs) in gst_egl_image_from_texture() argument 425 (EGLClientBuffer) (guintptr) gl_mem->tex_id, attribs); in gst_egl_image_from_texture() 535 guintptr attribs[13]; in gst_egl_image_from_dmabuf() local [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_egl.c | 295 EGLint attribs[64]; in SDL_EGL_ChooseConfig() local 308 attribs[i++] = EGL_RED_SIZE; in SDL_EGL_ChooseConfig() 309 attribs[i++] = _this->gl_config.red_size; in SDL_EGL_ChooseConfig() 310 attribs[i++] = EGL_GREEN_SIZE; in SDL_EGL_ChooseConfig() 311 attribs[i++] = _this->gl_config.green_size; in SDL_EGL_ChooseConfig() 312 attribs[i++] = EGL_BLUE_SIZE; in SDL_EGL_ChooseConfig() 313 attribs[i++] = _this->gl_config.blue_size; in SDL_EGL_ChooseConfig() 316 attribs[i++] = EGL_ALPHA_SIZE; in SDL_EGL_ChooseConfig() 317 attribs[i++] = _this->gl_config.alpha_size; in SDL_EGL_ChooseConfig() 321 attribs[i++] = EGL_BUFFER_SIZE; in SDL_EGL_ChooseConfig() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11opengl.c | 396 X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int size, Bool for_FBConf… in X11_GL_GetAttributes() argument 406 attribs[i++] = GLX_RENDER_TYPE; in X11_GL_GetAttributes() 407 attribs[i++] = GLX_RGBA_BIT; in X11_GL_GetAttributes() 409 attribs[i++] = GLX_RGBA; in X11_GL_GetAttributes() 411 attribs[i++] = GLX_RED_SIZE; in X11_GL_GetAttributes() 412 attribs[i++] = _this->gl_config.red_size; in X11_GL_GetAttributes() 413 attribs[i++] = GLX_GREEN_SIZE; in X11_GL_GetAttributes() 414 attribs[i++] = _this->gl_config.green_size; in X11_GL_GetAttributes() 415 attribs[i++] = GLX_BLUE_SIZE; in X11_GL_GetAttributes() 416 attribs[i++] = _this->gl_config.blue_size; in X11_GL_GetAttributes() [all …]
|
/third_party/skia/third_party/externals/angle2/util/windows/ |
D | WGLWindow.cpp | 69 std::vector<int> attribs; in GetPixelFormatAttributes() local 70 attribs.push_back(WGL_DRAW_TO_WINDOW_ARB); in GetPixelFormatAttributes() 71 attribs.push_back(TRUE); in GetPixelFormatAttributes() 73 attribs.push_back(WGL_ACCELERATION_ARB); in GetPixelFormatAttributes() 74 attribs.push_back(WGL_FULL_ACCELERATION_ARB); in GetPixelFormatAttributes() 76 attribs.push_back(WGL_SUPPORT_OPENGL_ARB); in GetPixelFormatAttributes() 77 attribs.push_back(TRUE); in GetPixelFormatAttributes() 79 attribs.push_back(WGL_DOUBLE_BUFFER_ARB); in GetPixelFormatAttributes() 80 attribs.push_back(TRUE); in GetPixelFormatAttributes() 82 attribs.push_back(WGL_PIXEL_TYPE_ARB); in GetPixelFormatAttributes() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/psp/ |
D | SDL_pspgl.c | 84 EGLint attribs[32]; in PSP_GL_CreateContext() local 101 attribs[i++] = EGL_RED_SIZE; in PSP_GL_CreateContext() 102 attribs[i++] = _this->gl_config.red_size; in PSP_GL_CreateContext() 103 attribs[i++] = EGL_GREEN_SIZE; in PSP_GL_CreateContext() 104 attribs[i++] = _this->gl_config.green_size; in PSP_GL_CreateContext() 105 attribs[i++] = EGL_BLUE_SIZE; in PSP_GL_CreateContext() 106 attribs[i++] = _this->gl_config.blue_size; in PSP_GL_CreateContext() 107 attribs[i++] = EGL_DEPTH_SIZE; in PSP_GL_CreateContext() 108 attribs[i++] = _this->gl_config.depth_size; in PSP_GL_CreateContext() 112 attribs[i++] = EGL_ALPHA_SIZE; in PSP_GL_CreateContext() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
D | tcuANGLEPlatform.cpp | 168 std::vector<eglw::EGLAttrib> attribs; in initAttribs() local 170 attribs.push_back(EGL_PLATFORM_ANGLE_TYPE_ANGLE); in initAttribs() 171 attribs.push_back(type); in initAttribs() 175 attribs.push_back(EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE); in initAttribs() 176 attribs.push_back(deviceType); in initAttribs() 181 attribs.push_back(EGL_PLATFORM_ANGLE_MAX_VERSION_MAJOR_ANGLE); in initAttribs() 182 attribs.push_back(majorVersion); in initAttribs() 187 attribs.push_back(EGL_PLATFORM_ANGLE_MAX_VERSION_MINOR_ANGLE); in initAttribs() 188 attribs.push_back(minorVersion); in initAttribs() 195 attribs.push_back(EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX); in initAttribs() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/ |
D | tcuANGLEPlatform.cpp | 127 std::vector<eglw::EGLAttrib> attribs; in initAttribs() local 129 attribs.push_back(EGL_PLATFORM_ANGLE_TYPE_ANGLE); in initAttribs() 130 attribs.push_back(type); in initAttribs() 134 attribs.push_back(EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE); in initAttribs() 135 attribs.push_back(deviceType); in initAttribs() 140 attribs.push_back(EGL_PLATFORM_ANGLE_MAX_VERSION_MAJOR_ANGLE); in initAttribs() 141 attribs.push_back(majorVersion); in initAttribs() 146 attribs.push_back(EGL_PLATFORM_ANGLE_MAX_VERSION_MINOR_ANGLE); in initAttribs() 147 attribs.push_back(minorVersion); in initAttribs() 154 attribs.push_back(EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX); in initAttribs() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | EGLImplFactory.h | 47 const egl::AttributeMap &attribs) = 0; 49 const egl::AttributeMap &attribs) = 0; 53 const egl::AttributeMap &attribs) = 0; 56 const egl::AttributeMap &attribs) = 0; 61 const egl::AttributeMap &attribs) = 0; 67 const egl::AttributeMap &attribs) = 0; 71 const egl::AttributeMap &attribs) = 0; 76 const egl::AttributeMap &attribs); 78 virtual EGLSyncImpl *createSync(const egl::AttributeMap &attribs); 85 const egl::AttributeMap &attribs) in createExternalImageSibling() argument [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | EGLImplFactory.h | 48 const egl::AttributeMap &attribs) = 0; 50 const egl::AttributeMap &attribs) = 0; 54 const egl::AttributeMap &attribs) = 0; 57 const egl::AttributeMap &attribs) = 0; 62 const egl::AttributeMap &attribs) = 0; 68 const egl::AttributeMap &attribs) = 0; 72 const egl::AttributeMap &attribs) = 0; 77 const egl::AttributeMap &attribs); 79 virtual EGLSyncImpl *createSync(const egl::AttributeMap &attribs); 88 const egl::AttributeMap &attribs) in createExternalImageSibling() argument [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLIOSurfaceClientBufferTest.cpp | 113 const EGLint attribs[] = { in createIOSurfacePbuffer() local 126 mConfig, attribs); in createIOSurfacePbuffer() 427 const EGLint attribs[] = { in TEST_P() local 439 …eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, ioSurface.get(), mConfig, attribs); in TEST_P() 450 const EGLint attribs[] = { in TEST_P() local 462 ioSurface.get(), mConfig, attribs); in TEST_P() 470 const EGLint attribs[] = { in TEST_P() local 482 ioSurface.get(), mConfig, attribs); in TEST_P() 490 const EGLint attribs[] = { in TEST_P() local 502 ioSurface.get(), mConfig, attribs); in TEST_P() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | AttributeMap.cpp | 29 return (attribs().find(key) != attribs().end()); in contains() 34 auto iter = attribs().find(key); in get() 35 ASSERT(iter != attribs().end()); in get() 41 auto iter = attribs().find(key); in get() 42 return (iter != attribs().end()) ? iter->second : defaultValue; in get() 57 return attribs().empty(); in isEmpty() 63 for (const auto &pair : attribs()) in toIntVector() 75 return attribs().begin(); in begin() 80 return attribs().end(); in end()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | DisplayD3D.cpp | 168 const egl::AttributeMap &attribs) in createWindowSurface() argument 171 return new WindowSurfaceD3D(state, mRenderer, mDisplay, window, attribs); in createWindowSurface() 175 const egl::AttributeMap &attribs) in createPbufferSurface() argument 178 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, 0, nullptr, attribs); in createPbufferSurface() 184 const egl::AttributeMap &attribs) in createPbufferFromClientBuffer() argument 187 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, buftype, clientBuffer, attribs); in createPbufferFromClientBuffer() 192 const egl::AttributeMap &attribs) in createPixmapSurface() argument 201 const egl::AttributeMap &attribs) in createImage() argument 203 return new EGLImageD3D(state, target, attribs, mRenderer); in createImage() 215 const egl::AttributeMap &attribs) in createContext() argument [all …]
|
D | DisplayD3D.h | 33 const egl::AttributeMap &attribs) override; 35 const egl::AttributeMap &attribs) override; 39 const egl::AttributeMap &attribs) override; 42 const egl::AttributeMap &attribs) override; 47 const egl::AttributeMap &attribs) override; 53 const egl::AttributeMap &attribs) override; 56 const egl::AttributeMap &attribs) override; 61 const egl::AttributeMap &attribs) override; 79 const egl::AttributeMap &attribs) const override; 83 const egl::AttributeMap &attribs) const override;
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | DisplayD3D.cpp | 157 const egl::AttributeMap &attribs) in createWindowSurface() argument 160 return new WindowSurfaceD3D(state, mRenderer, mDisplay, window, attribs); in createWindowSurface() 164 const egl::AttributeMap &attribs) in createPbufferSurface() argument 167 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, 0, nullptr, attribs); in createPbufferSurface() 173 const egl::AttributeMap &attribs) in createPbufferFromClientBuffer() argument 176 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, buftype, clientBuffer, attribs); in createPbufferFromClientBuffer() 181 const egl::AttributeMap &attribs) in createPixmapSurface() argument 190 const egl::AttributeMap &attribs) in createImage() argument 192 return new EGLImageD3D(state, target, attribs, mRenderer); in createImage() 204 const egl::AttributeMap &attribs) in createContext() argument [all …]
|
D | DisplayD3D.h | 30 const egl::AttributeMap &attribs) override; 32 const egl::AttributeMap &attribs) override; 36 const egl::AttributeMap &attribs) override; 39 const egl::AttributeMap &attribs) override; 44 const egl::AttributeMap &attribs) override; 50 const egl::AttributeMap &attribs) override; 53 const egl::AttributeMap &attribs) override; 58 const egl::AttributeMap &attribs) override; 73 const egl::AttributeMap &attribs) const override; 77 const egl::AttributeMap &attribs) const override;
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | DisplayVk.cpp | 99 const egl::AttributeMap &attribs) in createWindowSurface() argument 101 EGLint width = attribs.getAsInt(EGL_WIDTH, 0); in createWindowSurface() 102 EGLint height = attribs.getAsInt(EGL_HEIGHT, 0); in createWindowSurface() 108 const egl::AttributeMap &attribs) in createPbufferSurface() argument 112 EGLint width = attribs.getAsInt(EGL_WIDTH, 0); in createPbufferSurface() 113 EGLint height = attribs.getAsInt(EGL_HEIGHT, 0); in createPbufferSurface() 121 const egl::AttributeMap &attribs) in createPbufferFromClientBuffer() argument 129 const egl::AttributeMap &attribs) in createPixmapSurface() argument 138 const egl::AttributeMap &attribs) in createImage() argument 147 const egl::AttributeMap &attribs) in createContext() argument [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/ |
D | DmaBufImageSiblingVkLinux.cpp | 58 uint32_t GetPlaneCount(const egl::AttributeMap &attribs) in GetPlaneCount() argument 61 ASSERT(attribs.contains(kFds[0])); in GetPlaneCount() 62 ASSERT(attribs.contains(kOffsets[0])); in GetPlaneCount() 63 ASSERT(attribs.contains(kPitches[0])); in GetPlaneCount() 67 if (!attribs.contains(kFds[plane])) in GetPlaneCount() 72 ASSERT(attribs.contains(kOffsets[plane])); in GetPlaneCount() 73 ASSERT(attribs.contains(kPitches[plane])); in GetPlaneCount() 79 uint64_t GetModifier(const egl::AttributeMap &attribs, EGLenum lo, EGLenum hi) in GetModifier() argument 81 if (!attribs.contains(lo)) in GetModifier() 86 ASSERT(attribs.contains(hi)); in GetModifier() [all …]
|
/third_party/skia/src/gpu/tessellate/shaders/ |
D | GrPathTessellationShader_Hardware.cpp | 37 PatchAttribs attribs) in HardwareWedgeShader() argument 39 GrPrimitiveType::kPatches, 5, viewMatrix, color, attribs) { in HardwareWedgeShader() 177 PatchAttribs attribs) in HardwareCurveShader() argument 180 attribs) { in HardwareCurveShader() 346 PatchAttribs attribs) { in MakeHardwareTessellationShader() argument 347 SkASSERT(!(attribs & PatchAttribs::kColor)); // Not yet implemented. in MakeHardwareTessellationShader() 348 SkASSERT(!(attribs & PatchAttribs::kExplicitCurveType)); // Not yet implemented. in MakeHardwareTessellationShader() 349 if (attribs & PatchAttribs::kFanPoint) { in MakeHardwareTessellationShader() 350 return arena->make<HardwareWedgeShader>(viewMatrix, color, attribs); in MakeHardwareTessellationShader() 352 return arena->make<HardwareCurveShader>(viewMatrix, color, attribs); in MakeHardwareTessellationShader()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLIOSurfaceClientBufferTest.cpp | 179 const EGLint attribs[] = { in createIOSurfacePbuffer() local 193 mConfig, attribs); in createIOSurfacePbuffer() 751 const EGLint attribs[] = { in TEST_P() local 763 …eglCreatePbufferFromClientBuffer(mDisplay, EGL_IOSURFACE_ANGLE, ioSurface.get(), mConfig, attribs); in TEST_P() 774 const EGLint attribs[] = { in TEST_P() local 786 ioSurface.get(), mConfig, attribs); in TEST_P() 794 const EGLint attribs[] = { in TEST_P() local 806 ioSurface.get(), mConfig, attribs); in TEST_P() 814 const EGLint attribs[] = { in TEST_P() local 826 ioSurface.get(), mConfig, attribs); in TEST_P() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | DisplayMtl.h | 60 const egl::AttributeMap &attribs) override; 62 const egl::AttributeMap &attribs) override; 66 const egl::AttributeMap &attribs) override; 69 const egl::AttributeMap &attribs) override; 74 const egl::AttributeMap &attribs) override; 80 const egl::AttributeMap &attribs) override; 83 const egl::AttributeMap &attribs) override; 90 const egl::AttributeMap &attribs) override; 94 EGLSyncImpl *createSync(const egl::AttributeMap &attribs) override; 108 const egl::AttributeMap &attribs) const override; [all …]
|