Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/
DGrDirectContext.cpp102 sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface) { in MakeGL() function in GrContext
104 return MakeGL(std::move(interface), defaultOptions); in MakeGL()
107 sk_sp<GrContext> GrContext::MakeGL(const GrContextOptions& options) { in MakeGL() function in GrContext
108 return MakeGL(nullptr, options); in MakeGL()
111 sk_sp<GrContext> GrContext::MakeGL() { in MakeGL() function in GrContext
113 return MakeGL(nullptr, defaultOptions); in MakeGL()
116 sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface, in MakeGL() function in GrContext
DGrAHardwareBufferImageGenerator.cpp460 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
462 return GrBackendFormat::MakeGL(GR_GL_RGBA16F, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
464 return GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
466 return GrBackendFormat::MakeGL(GR_GL_RGB10_A2, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
468 return GrBackendFormat::MakeGL(GR_GL_RGB8, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
470 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
/external/skia/src/gpu/
DGrLegacyDirectContext.cpp116 sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface) { in MakeGL() function in GrContext
118 return MakeGL(std::move(interface), defaultOptions); in MakeGL()
121 sk_sp<GrContext> GrContext::MakeGL(const GrContextOptions& options) { in MakeGL() function in GrContext
122 return MakeGL(nullptr, options); in MakeGL()
125 sk_sp<GrContext> GrContext::MakeGL() { in MakeGL() function in GrContext
127 return MakeGL(nullptr, defaultOptions); in MakeGL()
130 sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface, in MakeGL() function in GrContext
DGrAHardwareBufferUtils.cpp72 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
74 return GrBackendFormat::MakeGL(GR_GL_RGBA16F, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
76 return GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
78 return GrBackendFormat::MakeGL(GR_GL_RGB10_A2, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
80 return GrBackendFormat::MakeGL(GR_GL_RGB8, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
85 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
/external/skia/include/gpu/
DGrContext.h53 static sk_sp<GrContext> MakeGL(sk_sp<const GrGLInterface>, const GrContextOptions&);
54 static sk_sp<GrContext> MakeGL(sk_sp<const GrGLInterface>);
55 static sk_sp<GrContext> MakeGL(const GrContextOptions&);
56 static sk_sp<GrContext> MakeGL();
DGrBackendSurface.h46 static GrBackendFormat MakeGL(GrGLenum format, GrGLenum target) { in MakeGL() function
/external/skqp/include/gpu/
DGrContext.h60 static sk_sp<GrContext> MakeGL(sk_sp<const GrGLInterface>, const GrContextOptions&);
61 static sk_sp<GrContext> MakeGL(sk_sp<const GrGLInterface>);
62 static sk_sp<GrContext> MakeGL(const GrContextOptions&);
63 static sk_sp<GrContext> MakeGL();
DGrBackendSurface.h46 static GrBackendFormat MakeGL(GrGLenum format, GrGLenum target) { in MakeGL() function
/external/skqp/tests/
DDeferredDisplayListTest.cpp66 return GrBackendFormat::MakeGL(GR_GL_ALPHA8, GR_GL_TEXTURE_2D); in create_backend_format()
69 return GrBackendFormat::MakeGL(GR_GL_R8, GR_GL_TEXTURE_2D); in create_backend_format()
74 return GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_2D); in create_backend_format()
79 return GrBackendFormat::MakeGL(GR_GL_RGBA4, GR_GL_TEXTURE_2D); in create_backend_format()
84 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_2D); in create_backend_format()
89 return GrBackendFormat::MakeGL(GR_GL_RGB8, GR_GL_TEXTURE_2D); in create_backend_format()
95 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_2D); in create_backend_format()
97 return GrBackendFormat::MakeGL(GR_GL_BGRA8, GR_GL_TEXTURE_2D); in create_backend_format()
103 return GrBackendFormat::MakeGL(GR_GL_RGB10_A2, GR_GL_TEXTURE_2D); in create_backend_format()
110 return GrBackendFormat::MakeGL(GR_GL_LUMINANCE8, GR_GL_TEXTURE_2D); in create_backend_format()
[all …]
DEGLImageTest.cpp67 sk_sp<GrContext> context1 = GrContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/tools/sk_app/
DGLWindowContext.cpp34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
/external/skia/tools/sk_app/
DGLWindowContext.cpp34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
/external/skia/platform_tools/android/apps/skottie/src/main/cpp/
Dnative-lib.cpp73 sk_sp<GrContext> grContext = GrContext::MakeGL(std::move(glInterface), options); in Java_org_skia_skottie_SkottieRunner_nCreateProxy()
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/
Dnative-lib.cpp73 sk_sp<GrContext> grContext = GrContext::MakeGL(std::move(glInterface), options); in Java_org_skia_skottie_SkottieRunner_nCreateProxy()
/external/skia/src/gpu/gl/
DGrGLTexture.cpp111 return GrBackendFormat::MakeGL(fFormat, in backendFormat()
DGrGLRenderTarget.cpp104 return GrBackendFormat::MakeGL(fRTFormat, GR_GL_TEXTURE_2D); in backendFormat()
/external/skqp/src/gpu/gl/
DGrGLTexture.cpp113 return GrBackendFormat::MakeGL(fFormat, in backendFormat()
DGrGLRenderTarget.cpp104 return GrBackendFormat::MakeGL(fRTFormat, GR_GL_TEXTURE_2D); in backendFormat()
/external/skia/tests/
DEGLImageTest.cpp67 sk_sp<GrContext> context1 = GrContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/example/
DSkiaSDLExample.cpp201 sk_sp<GrContext> grContext(GrContext::MakeGL(interface));
/external/skqp/example/
DSkiaSDLExample.cpp201 sk_sp<GrContext> grContext(GrContext::MakeGL(interface));
/external/skia/tools/gpu/gl/
DGLTestContext.cpp349 return GrContext::MakeGL(fGL, options); in makeGrContext()
/external/skqp/tools/gpu/gl/
DGLTestContext.cpp349 return GrContext::MakeGL(fGL, options); in makeGrContext()
/external/skia/site/user/api/
Dskcanvas_creation.md101 sk_sp<GrContext> context = GrContext::MakeGL(interface);
/external/skqp/site/user/api/
Dskcanvas_creation.md101 sk_sp<GrContext> context = GrContext::MakeGL(interface);

12