Home
last modified time | relevance | path

Searched refs:MakeGL (Results 1 – 25 of 44) 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/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/skia/src/gpu/
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()
DGrDirectContext.cpp981 sk_sp<GrDirectContext> GrDirectContext::MakeGL(sk_sp<const GrGLInterface> glInterface) { in MakeGL() function in GrDirectContext
983 return MakeGL(std::move(glInterface), defaultOptions); in MakeGL()
986 sk_sp<GrDirectContext> GrDirectContext::MakeGL(const GrContextOptions& options) { in MakeGL() function in GrDirectContext
987 return MakeGL(nullptr, options); in MakeGL()
990 sk_sp<GrDirectContext> GrDirectContext::MakeGL() { in MakeGL() function in GrDirectContext
992 return MakeGL(nullptr, defaultOptions); in MakeGL()
1024 sk_sp<GrDirectContext> GrDirectContext::MakeGL(sk_sp<const GrGLInterface> glInterface, in MakeGL() function in GrDirectContext
/external/skia/src/gpu/gl/
DGrGLCaps.cpp4437 return GrBackendFormat::MakeGL(GrGLFormatToEnum(format), GR_GL_TEXTURE_2D); in onGetDefaultBackendFormat()
4448 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGB8_ETC2, GR_GL_TEXTURE_2D); in getBackendFormatFromCompressionType()
4451 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_ETC1_RGB8, GR_GL_TEXTURE_2D); in getBackendFormatFromCompressionType()
4456 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGB_S3TC_DXT1_EXT, in getBackendFormatFromCompressionType()
4462 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, in getBackendFormatFromCompressionType()
4523 GrBackendFormat::MakeGL(GR_GL_ALPHA8, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
4525 GrBackendFormat::MakeGL(GR_GL_R8, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
4527 GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
4529 GrBackendFormat::MakeGL(GR_GL_RGBA4, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
4531 GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
[all …]
DGrGLAttachment.cpp31 return GrBackendFormat::MakeGL(GrGLFormatToEnum(fFormat), GR_GL_TEXTURE_NONE); in backendFormat()
DGrGLTexture.cpp121 return GrBackendFormat::MakeGL(GrGLFormatToEnum(fFormat), in backendFormat()
/external/skia/include/gpu/
DGrDirectContext.h54 static sk_sp<GrDirectContext> MakeGL(sk_sp<const GrGLInterface>, const GrContextOptions&);
55 static sk_sp<GrDirectContext> MakeGL(sk_sp<const GrGLInterface>);
56 static sk_sp<GrDirectContext> MakeGL(const GrContextOptions&);
57 static sk_sp<GrDirectContext> MakeGL();
/external/skia/tools/skottie_ios_app/
DGrContextHolder.mm16 return GrContextHolder(GrDirectContext::MakeGL(nullptr, GrContextOptions()).release());
DSkiaGLContext.mm125 fDContext = GrDirectContext::MakeGL(nullptr, GrContextOptions());
128 NSLog(@"GrDirectContext::MakeGL failed");
/external/skqp/tools/sk_app/
DGLWindowContext.cpp34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
/external/skia/tools/sk_app/
DGLWindowContext.cpp35 fContext = GrDirectContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
/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/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/platform_tools/android/apps/skottie/skottielib/src/main/cpp/
Dnative-lib.cpp82 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeGL(std::move(glInterface), options); in Java_org_skia_skottie_SkottieRunner_nCreateProxy()
/external/skia/tests/
DTextureBindingsResetTest.cpp137 auto format = GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_RECTANGLE); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp64 sk_sp<GrDirectContext> context1 = GrDirectContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/example/
DSkiaSDLExample.cpp201 sk_sp<GrDirectContext> grContext(GrDirectContext::MakeGL(interface));
/external/skia/tools/gpu/gl/
DGLTestContext.cpp251 return GrDirectContext::MakeGL(fGLInterface, options); in makeContext()
/external/skqp/example/
DSkiaSDLExample.cpp201 sk_sp<GrContext> grContext(GrContext::MakeGL(interface));

12