Home
last modified time | relevance | path

Searched refs:EglWrapperContext (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_wrapper_context.cpp19 EglWrapperContext::EglWrapperContext(EglWrapperDisplay *disp, EGLContext context, EGLint version) in EglWrapperContext() function in OHOS::EglWrapperContext
25 EglWrapperContext::~EglWrapperContext() in ~EglWrapperContext()
33 void EglWrapperContext::SetCurrentSurface(EGLSurface draw, EGLSurface read) in SetCurrentSurface()
40 EglWrapperContext *EglWrapperContext::GetWrapperContext(EGLContext ctx) in GetWrapperContext()
43 return reinterpret_cast<EglWrapperContext *>(ctx); in GetWrapperContext()
46 EGLSurface EglWrapperContext::GetCurrentSurface(EGLint type) const in GetCurrentSurface()
H A Degl_wrapper_context.h25 class EglWrapperContext : public EglWrapperObject {
27 EglWrapperContext(EglWrapperDisplay *disp, EGLContext context,
31 static EglWrapperContext *GetWrapperContext(EGLContext ctx);
41 ~EglWrapperContext() override;
H A Degl_wrapper_display.cpp160 bool isAfterHook, EglWrapperContext *curCtx) in InternalMakeCurrent()
204 const EglWrapperContext *ctx, const EglWrapperContext *curCtx, in ChooseHookTable()
228 EglWrapperContext *ctxPtr = nullptr; in MakeCurrent()
277 EglWrapperContext *ctxPtr = nullptr; in MakeCurrentAfterHook()
282 EglWrapperContext *curCtx = EglWrapperContext::GetWrapperContext(curC); in MakeCurrentAfterHook()
428 EglWrapperContext *ctxPtr = EglWrapperContext::GetWrapperContext(shareList); in CreateEglContext()
444 return new EglWrapperContext(this, context); in CreateEglContext()
461 EglWrapperContext *ctxPtr = EglWrapperContext::GetWrapperContext(context); in DestroyEglContext()
641 EglWrapperContext *ctxPtr = EglWrapperContext::GetWrapperContext(ctx); in QueryContext()
812 EglWrapperContext *ctxPtr = EglWrapperContext::GetWrapperContext(ctx); in CreateImage()
[all …]
H A Degl_wrapper_display.h25 class EglWrapperContext; variable
125 …olean InternalMakeCurrent(EglWrapperSurface *draw, EglWrapperSurface *read, EglWrapperContext *ctx,
126 bool isAfterHook = false, EglWrapperContext *curCtx = nullptr);
129 …void ChooseHookTable(bool isAfterHook, const EglWrapperContext *ctx, const EglWrapperContext *curC…
H A Degl_wrapper_entry.cpp230 EglWrapperContext *ctxPtr = EglWrapperContext::GetWrapperContext(ctx); in EglGetCurrentDisplayImpl()
246 EglWrapperContext *ctxPtr = EglWrapperContext::GetWrapperContext(ctx); in EglGetCurrentSurfaceImpl()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/fuzztest/eglwrappercontext_fuzzer/
H A Deglwrappercontext_fuzzer.cpp71 EglWrapperContext* wrapperContext = new EglWrapperContext(disp, context); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/unittest/
H A Degl_wrapper_context_test.cpp44 EglWrapperContext ctx(disp, context); in HWTEST_F()