Home
last modified time | relevance | path

Searched refs:WebGLTexture (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_texture.cpp36 unique_ptr<WebGLTexture> webGlTexture = make_unique<WebGLTexture>(); in Constructor()
43 bool WebGLTexture::Export(napi_env env, napi_value exports) in Export()
62 string WebGLTexture::GetClassName() in GetClassName()
64 return WebGLTexture::className; in GetClassName()
128 WebGLTexture::~WebGLTexture() in ~WebGLTexture()
133 bool WebGLTexture::SetTarget(GLenum target) in SetTarget()
184 bool WebGLTexture::SetTextureLevel(const TexImageArg& arg) in SetTextureLevel()
199 bool WebGLTexture::SetTexStorageInfo(const TexStorageArg* arg) in SetTexStorageInfo()
369 GLenum WebGLTexture::GetType(GLenum target, GLint level) const in GetType()
535 const std::vector<GLenum>& WebGLTexture::GetSupportedFormats() in GetSupportedFormats()
[all …]
H A Dwebgl_rendering_context_draw.cpp48 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in TexImage2D()
102 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in TexImage2D()
133 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in TexImage2D()
173 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in TexSubImage2D()
194 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in TexSubImage2D()
245 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in TexSubImage2D()
949 const TexSubImage2DArg& imgArg, WebGLTexture* texture) in CheckCompressedTexSubDimensions()
1017 WebGLTexture* texture = GetBoundTexture(env, arg.target, false); in CheckCopyTexSubImage()
1179 if (!CheckInList(format, WebGLTexture::GetSupportedFormats())) { in CheckTextureFormatAndType()
1183 if (!CheckInList(type, WebGLTexture::GetSupportedTypes())) { in CheckTextureFormatAndType()
[all …]
H A Dwebgl2_rendering_context_impl.cpp658 WebGLTexture* texture = GetBoundTexture(env, arg.target, false); in TexStorage2D()
685 WebGLTexture* texture = GetBoundTexture(env, arg.target, false); in TexStorage3D()
716 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in TexImage3D()
777 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in TexImage3D()
816 WebGLTexture* texture = GetBoundTexture(env, arg.target, false); in CheckTexSubImage3D()
943 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in CompressedTexImage3D()
963 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in CompressedTexImage3D()
997 WebGLTexture* texture = GetBoundTexture(env, imgArg.target, true); in CompressedTexSubImage3D()
1412 int32_t textureId = WebGLTexture::DEFAULT_TEXTURE; in FrameBufferTextureLayer()
1413 WebGLTexture* webGlTexture = WebGLTexture::GetObjectInstance(env, textureObj); in FrameBufferTextureLayer()
[all …]
H A Dwebgl2_rendering_context_override.cpp126 …return GetObject<WebGLTexture>(env, boundTexture_[BoundTextureType::TEXTURE_2D_ARRAY][activeTextur… in GetParameter()
128 …return GetObject<WebGLTexture>(env, boundTexture_[BoundTextureType::TEXTURE_3D][activeTextureIndex… in GetParameter()
268 … return attachmentObject->IsTexture() ? GetObject<WebGLTexture>(env, attachmentObject->id) : in HandleFrameBufferPname()
H A Dwebgl_rendering_context_base_impl.cpp107 WebGLTexture* webGlTexture = nullptr; in CreateTextureObject()
116 AddObject<WebGLTexture>(env, textureId, objTexture); in CreateTextureObject()
134 uint32_t texture = WebGLTexture::DEFAULT_TEXTURE; in BindTexture()
135 WebGLTexture* webGlTexture = WebGLTexture::GetObjectInstance(env, textureRef); in BindTexture()
710 WebGLTexture* webGlTexture = WebGLObject::GetObjectInstance<WebGLTexture>(env, object); in DeleteTexture()
735 DeleteObject<WebGLTexture>(env, texture); in DeleteTexture()
751 GetObject<WebGLTexture>(env, params); in HandleFrameBufferAttachmentPname()
905 int32_t textureId = WebGLTexture::DEFAULT_TEXTURE; in FrameBufferTexture2D()
906 WebGLTexture* webGlTexture = WebGLTexture::GetObjectInstance(env, texture); in FrameBufferTexture2D()
1190 return GetObjectParameter<WebGLTexture>(env, pname); in GetParameter()
[all …]
H A Dwebgl_framebuffer.cpp260 WebGLTexture* texture = context->GetObjectInstance<WebGLTexture>( in GetWebGLAttachmentInfo()
H A Dmodule.cpp57 products.emplace_back(make_unique<WebGLTexture>(env, exports)); in ExportWebGlObj()
H A Dwebgl_rendering_context_base.cpp2214 WebGLTexture* webGLTexture = WebGLTexture::GetObjectInstance(env, funcArg[NARG_POS::FIRST]); in IsTexture()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_texture.h36 class WebGLTexture final : public NExporter, public WebGLObject {
47 static NVal CreateObjectInstance(napi_env env, WebGLTexture** instance) in CreateObjectInstance()
49 return WebGLObject::CreateObjectInstance<WebGLTexture>(env, instance); in CreateObjectInstance()
68 explicit WebGLTexture() : texture_(0) {}; in WebGLTexture() function
70 WebGLTexture(napi_env env, napi_value exports) : NExporter(env, exports), texture_(0) {}; in WebGLTexture() function
72 ~WebGLTexture();
74 static WebGLTexture* GetObjectInstance(napi_env env, napi_value obj) in GetObjectInstance()
76 return WebGLObject::GetObjectInstance<WebGLTexture>(env, obj); in GetObjectInstance()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl_rendering_context_base_impl.h279 WebGLTexture* GetBoundTexture(napi_env env, GLenum target, bool cubeMapExt);
285 void TexImage2D_(const TexImageArg& imgArg, WebGLTexture* texture, const void* pixels, bool);
286 …void TexSubImage2D_(const TexSubImage2DArg& imgArg, WebGLTexture* texture, const void* pixels, boo…
305 bool CheckCompressedTexSubDimensions(const TexSubImage2DArg& imgArg, WebGLTexture* texture);
317 GLenum CheckTexImage(napi_env env, const TexImageArg& imgArg, WebGLTexture* texture);
318 …GLenum CheckTexSubImage2D(napi_env env, const TexSubImage2DArg& textureInfo, WebGLTexture* texture…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md111 … framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture \| null, level:…
432 | webgl | WebGLRenderingContextBase | isTexture(texture: WebGLTexture \| null): GLboolean; | 新增 |
462 …ure2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture \| null, level:…
476 | webgl | WebGLRenderingContextBase | deleteTexture(texture: WebGLTexture \| null): void; | 新增 |
483 | webgl | WebGLRenderingContextBase | createTexture(): WebGLTexture \| null; | 新增 |
503 | webgl | WebGLRenderingContextBase | bindTexture(target: GLenum, texture: WebGLTexture \| null): v…
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md111 … framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture \| null, level:…
432 | webgl | WebGLRenderingContextBase | isTexture(texture: WebGLTexture \| null): GLboolean; | Added|
462 …ure2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture \| null, level:…
476 | webgl | WebGLRenderingContextBase | deleteTexture(texture: WebGLTexture \| null): void; | Added|
483 | webgl | WebGLRenderingContextBase | createTexture(): WebGLTexture \| null; | Added|
503 | webgl | WebGLRenderingContextBase | bindTexture(target: GLenum, texture: WebGLTexture \| null): v…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md18 |删除|模块名: webgl<br>类名: WebGLTexture|NA|webgl.d.ts|
338 …RenderingContextBase<br>方法 or 属性:bindTexture(target: GLenum, texture: WebGLTexture \| null): void;…
358 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:createTexture(): WebGLTexture \| null;|…
365 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:deleteTexture(texture: WebGLTexture \| …
379 …ure2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture \| null, level:…
409 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:isTexture(texture: WebGLTexture \| null…
741 …eLayer(target: webgl.GLenum, attachment: webgl.GLenum, texture: webgl.WebGLTexture \| null, level:…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md18 |Deleted|Module name: webgl<br>Class name: WebGLTexture|NA|webgl.d.ts|
338 …ase<br>Method or attribute name: bindTexture(target: GLenum, texture: WebGLTexture \| null): void;…
358 …bGLRenderingContextBase<br>Method or attribute name: createTexture(): WebGLTexture \| null;|NA|web…
365 …deringContextBase<br>Method or attribute name: deleteTexture(texture: WebGLTexture \| null): void;…
379 …ure2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture \| null, level:…
409 …LRenderingContextBase<br>Method or attribute name: isTexture(texture: WebGLTexture \| null): GLboo…
741 …eLayer(target: webgl.GLenum, attachment: webgl.GLenum, texture: webgl.WebGLTexture \| null, level:…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-graphic.md354WebGLTexture \| null, level: GLint, layer: GLint): void;|类名:WebGL2RenderingContextBase;<br>方法or属性:…
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-graphic.md268 …eLayer(target: webgl.GLenum, attachment: webgl.GLenum, texture: webgl.WebGLTexture \| null, level:…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-graphic.md354WebGLTexture \| null, level: GLint, layer: GLint): void;|Class name: WebGL2RenderingContextBase;<b…
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-graphic.md268 …eLayer(target: webgl.GLenum, attachment: webgl.GLenum, texture: webgl.WebGLTexture \| null, level:…