Home
last modified time | relevance | path

Searched refs:WebGLRenderingContext (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context.cpp31 bool WebGLRenderingContext::Export(napi_env env, napi_value exports) in Export()
41 auto entity = static_cast<WebGLRenderingContext *>(data); in Export()
94 string WebGLRenderingContext::GetClassName() in GetClassName()
96 return WebGLRenderingContext::className; in GetClassName()
99 WebGLRenderingContext::~WebGLRenderingContext() in ~WebGLRenderingContext()
105 WebGLRenderingContext::WebGLRenderingContext(napi_env env, napi_value exports) in WebGLRenderingContext() function in OHOS::Rosen::WebGLRenderingContext
H A Dwebgl_rendering_context_base.cpp45 static WebGLRenderingContext* GetWebGLRenderingContextBase(napi_env env, napi_value thisVar) in GetWebGLRenderingContextBase()
47 return static_cast<WebGLRenderingContext*>(Util::GetContextObject(env, thisVar)); in GetWebGLRenderingContextBase()
52 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, thisVar); in IsHighWebGL()
62 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, thisVar); in CheckGLenum()
75 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in GetContextAttributes()
163 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in ActiveTexture()
177 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in AttachShader()
191 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in BindAttribLocation()
227 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in BindBuffer()
246 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in BindFramebuffer()
[all …]
H A Dwebgl_rendering_context_overloads.cpp41 static WebGLRenderingContext* GetWebGLRenderingContextBase(napi_env env, napi_value thisVar) in GetWebGLRenderingContextBase()
43 return static_cast<WebGLRenderingContext*>(Util::GetContextObject(env, thisVar)); in GetWebGLRenderingContextBase()
46 static int64_t GetOffset(napi_env env, napi_value data, WebGLRenderingContext* context) in GetOffset()
66 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in BufferData()
110 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in BufferSubData()
142 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in CompressedTexImage2D()
208 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in CompressedTexSubImage2D()
274 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in ReadPixels()
333 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in TexImage2D()
410 WebGLRenderingContext* context = GetWebGLRenderingContextBase(env, funcArg.GetThisVar()); in TexSubImage2D()
[all …]
H A Dmodule.cpp100 WebGLRenderingContext *webGlRenderingContext = in Export()
101 … static_cast<WebGLRenderingContext *>(ObjectManager::GetInstance().GetWebGLContext(false, idStr)); in Export()
103 webGlRenderingContext = new (std::nothrow) WebGLRenderingContext(env, exports); in Export()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl_rendering_context.h26 class WebGLRenderingContext : public WebGLRenderingContextBasicBase, public WebGLRenderingContextBa…
35 WebGLRenderingContext(napi_env env, napi_value exports);
37 explicit WebGLRenderingContext() : WebGLRenderingContextBasicBase(), contextImpl_(0, this) {}; in WebGLRenderingContext() function
39 virtual ~WebGLRenderingContext();
/ohos5.0/docs/zh-cn/application-dev/webgl/
H A Dwebgl-2d-guidelines.md95 …- 当获取到canvas之后,会调用getContext函数并向它传递 "webgl" 参数,来尝试获取WebGLRenderingContext。如果浏览器不支持WebGL, getContex…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md468 |删除|模块名: webgl<br>类名: WebGLRenderingContext|NA|webgl.d.ts|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md468 |Deleted|Module name: webgl<br>Class name: WebGLRenderingContext|NA|webgl.d.ts|