Home
last modified time | relevance | path

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

12

/third_party/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.cpp1060 sk_sp<GrDirectContext> GrDirectContext::MakeGL(sk_sp<const GrGLInterface> glInterface) { in MakeGL() function in GrDirectContext
1062 return MakeGL(std::move(glInterface), defaultOptions); in MakeGL()
1065 sk_sp<GrDirectContext> GrDirectContext::MakeGL(const GrContextOptions& options) { in MakeGL() function in GrDirectContext
1066 return MakeGL(nullptr, options); in MakeGL()
1069 sk_sp<GrDirectContext> GrDirectContext::MakeGL() { in MakeGL() function in GrDirectContext
1071 return MakeGL(nullptr, defaultOptions); in MakeGL()
1103 sk_sp<GrDirectContext> GrDirectContext::MakeGL(sk_sp<const GrGLInterface> glInterface, in MakeGL() function in GrDirectContext
DGrBackendSurface.cpp826 return GrBackendFormat::MakeGL(fGLInfo.info().fFormat, fGLInfo.info().fTarget); in getBackendFormat()
1193 return GrBackendFormat::MakeGL(fGLInfo.fFormat, GR_GL_TEXTURE_NONE); in getBackendFormat()
/third_party/skia/src/gpu/gl/
DGrGLCaps.cpp4707 return GrBackendFormat::MakeGL(GrGLFormatToEnum(format), GR_GL_TEXTURE_2D); in onGetDefaultBackendFormat()
4718 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGB8_ETC2, GR_GL_TEXTURE_2D); in getBackendFormatFromCompressionType()
4721 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_ETC1_RGB8, GR_GL_TEXTURE_2D); in getBackendFormatFromCompressionType()
4726 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGB_S3TC_DXT1_EXT, in getBackendFormatFromCompressionType()
4732 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, in getBackendFormatFromCompressionType()
4738 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGBA_ASTC_4x4, in getBackendFormatFromCompressionType()
4744 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGBA_ASTC_6x6, in getBackendFormatFromCompressionType()
4750 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGBA_ASTC_8x8, in getBackendFormatFromCompressionType()
4815 GrBackendFormat::MakeGL(GR_GL_ALPHA8, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
4817 GrBackendFormat::MakeGL(GR_GL_R8, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
[all …]
DGrGLAttachment.cpp137 return GrBackendFormat::MakeGL(GrGLFormatToEnum(fFormat), GR_GL_TEXTURE_NONE); in backendFormat()
DGrGLTexture.cpp122 return GrBackendFormat::MakeGL(GrGLFormatToEnum(fFormat), in backendFormat()
DGrGLRenderTarget.cpp126 return GrBackendFormat::MakeGL(GrGLFormatToEnum(fRTFormat), GR_GL_TEXTURE_2D); in backendFormat()
DGrGLGpu.h285 return GrBackendFormat::MakeGL(GrGLFormatToEnum(this->glCaps().stencilFormats()[idx]), in getPreferredStencilFormat()
/third_party/skia/include/gpu/
DGrDirectContext.h58 static sk_sp<GrDirectContext> MakeGL(sk_sp<const GrGLInterface>, const GrContextOptions&);
59 static sk_sp<GrDirectContext> MakeGL(sk_sp<const GrGLInterface>);
60 static sk_sp<GrDirectContext> MakeGL(const GrContextOptions&);
61 static sk_sp<GrDirectContext> MakeGL();
DGrBackendSurface.h85 static GrBackendFormat MakeGL(GrGLenum format, GrGLenum target) { in MakeGL() function
/third_party/skia/tools/skottie_ios_app/
DSkiaGLContext.mm125 fDContext = GrDirectContext::MakeGL(nullptr, GrContextOptions());
128 NSLog(@"GrDirectContext::MakeGL failed");
DGrContextHolder.mm16 return GrContextHolder(GrDirectContext::MakeGL(nullptr, GrContextOptions()).release());
/third_party/skia/tools/sk_app/
DGLWindowContext.cpp35 fContext = GrDirectContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
/third_party/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()
/third_party/skia/tests/
DTextureBindingsResetTest.cpp138 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()
DRectangleTextureTest.cpp137 auto format = GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_RECTANGLE); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DDeferredDisplayListTest.cpp630 GrBackendFormat format = GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_2D); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
1190 GrBackendFormat format = GrBackendFormat::MakeGL(GR_GL_RGBA8, target); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DBackendAllocationTest.cpp805 GrBackendFormat format = GrBackendFormat::MakeGL(combo.fFormat, target); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
/third_party/skia/tools/gpu/gl/
DGLTestContext.cpp254 return GrDirectContext::MakeGL(fGLInterface, options); in makeContext()
/third_party/skia/gm/
Drectangletexture.cpp97 auto format = GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_RECTANGLE); in createRectangleTextureImg()
/third_party/skia/modules/canvaskit/
Dgm_bindings.cpp76 sk_sp<GrDirectContext> dContext((GrDirectContext::MakeGL(interface))); in MakeGrContext()
/third_party/skia/experimental/skottiekit/
Dskottiekit_bindings.cpp226 return GrDirectContext::MakeGL(interface); in MakeGrContext()
/third_party/skia/site/docs/user/api/
Dskcanvas_creation.md94 sk_sp<GrContext> context = GrContext::MakeGL(interface);
/third_party/skia/experimental/wasm-skp-debugger/
Ddebugger_bindings.cpp489 return GrDirectContext::MakeGL(interface); in MakeGrContext()

12