Home
last modified time | relevance | path

Searched refs:WebGLProgram (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_program.cpp27 napi_value WebGLProgram::Constructor(napi_env env, napi_callback_info info) in Constructor()
34 unique_ptr<WebGLProgram> webGlProgram = make_unique<WebGLProgram>(); in Constructor()
35 if (!NClass::SetEntityFor<WebGLProgram>(env, funcArg.GetThisVar(), move(webGlProgram))) { in Constructor()
42 bool WebGLProgram::Export(napi_env env, napi_value exports) in Export()
48 …tie(succ, clas) = NClass::DefineClass(exports_.env_, className, WebGLProgram::Constructor, std::mo… in Export()
62 string WebGLProgram::GetClassName() in GetClassName()
64 return WebGLProgram::className; in GetClassName()
67 WebGLProgram::WebGLProgram(napi_env env, napi_value exports) : NExporter(env, exports), programId_(… in WebGLProgram() function in OHOS::Rosen::WebGLProgram
72 WebGLProgram::~WebGLProgram() in ~WebGLProgram()
77 bool WebGLProgram::AttachShader(uint32_t index, uint32_t shaderId) in AttachShader()
[all …]
H A Dwebgl_rendering_context_base_impl.cpp381 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in AttachShader()
405 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in DetachShader()
542 WebGLProgram* webGlProgram = WebGLObject::GetObjectInstance<WebGLProgram>(env, object); in DeleteProgram()
925 WebGLProgram* webGlProgram = WebGLObject::GetObjectInstance<WebGLProgram>(env, object); in GetProgramParameter()
971 WebGLProgram* webGlProgram = WebGLObject::GetObjectInstance<WebGLProgram>(env, object); in GetAttachedShaders()
992 WebGLProgram* webGlProgram = WebGLObject::GetObjectInstance<WebGLProgram>(env, object); in GetUniformLocation()
1304 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, object); in UseProgram()
1321 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, object); in ValidateProgram()
1333 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, object); in LinkProgram()
1474 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, program); in BindAttribLocation()
[all …]
H A Dwebgl2_rendering_context_impl.cpp620 GLuint programId = WebGLProgram::DEFAULT_PROGRAM_ID; in GetTransformFeedbackVarying()
621 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in GetTransformFeedbackVarying()
1131 GLuint program = WebGLProgram::DEFAULT_PROGRAM_ID; in GetFragDataLocation()
1132 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in GetFragDataLocation()
1600 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in GetUniformBlockIndex()
1620 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in UniformBlockBinding()
1721 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in TransformFeedbackVaryings()
1744 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in GetUniformIndices()
1776 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in GetActiveUniforms()
1826 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, programObj); in GetActiveUniformBlockParameter()
[all …]
H A Dmodule.cpp51 products.emplace_back(make_unique<WebGLProgram>(env, exports)); in ExportWebGlObj()
H A Dwebgl_rendering_context_base.cpp1935 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, funcArg[NARG_POS::FIRST]); in ValidateProgram()
2155 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, funcArg[NARG_POS::FIRST]); in IsProgram()
2383 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, funcArg[NARG_POS::FIRST]); in CreateWebGLActiveInfo()
2791 WebGLProgram* webGLProgram = WebGLProgram::GetObjectInstance(env, funcArg[NARG_POS::FIRST]); in GetProgramInfoLog()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_program.h25 class WebGLProgram final : public NExporter, public WebGLObject {
34 static NVal CreateObjectInstance(napi_env env, WebGLProgram** instance) in CreateObjectInstance()
36 return WebGLObject::CreateObjectInstance<WebGLProgram>(env, instance); in CreateObjectInstance()
39 static WebGLProgram* GetObjectInstance(napi_env env, napi_value obj) in GetObjectInstance()
41 return WebGLObject::GetObjectInstance<WebGLProgram>(env, obj); in GetObjectInstance()
54 explicit WebGLProgram() : programId_(0) {}; in WebGLProgram() function
55 WebGLProgram(napi_env env, napi_value exports);
56 ~WebGLProgram();
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md406 | webgl | WebGLRenderingContextBase | validateProgram(program: WebGLProgram): void; | 新增 |
407 | webgl | WebGLRenderingContextBase | useProgram(program: WebGLProgram \| null): void; | 新增 |
430 | webgl | WebGLRenderingContextBase | linkProgram(program: WebGLProgram): void; | 新增 |
435 | webgl | WebGLRenderingContextBase | isProgram(program: WebGLProgram \| null): GLboolean; | 新增 |
450 | webgl | WebGLRenderingContextBase | getProgramInfoLog(program: WebGLProgram): string \| null; | 新…
451 | webgl | WebGLRenderingContextBase | getProgramParameter(program: WebGLProgram, pname: GLenum): an…
456 | webgl | WebGLRenderingContextBase | getAttribLocation(program: WebGLProgram, name: string): GLint…
472 | webgl | WebGLRenderingContextBase | detachShader(program: WebGLProgram, shader: WebGLShader): voi…
479 | webgl | WebGLRenderingContextBase | deleteProgram(program: WebGLProgram \| null): void; | 新增 |
486 | webgl | WebGLRenderingContextBase | createProgram(): WebGLProgram \| null; | 新增 |
[all …]
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md406 | webgl | WebGLRenderingContextBase | validateProgram(program: WebGLProgram): void; | Added|
407 | webgl | WebGLRenderingContextBase | useProgram(program: WebGLProgram \| null): void; | Added|
430 | webgl | WebGLRenderingContextBase | linkProgram(program: WebGLProgram): void; | Added|
435 | webgl | WebGLRenderingContextBase | isProgram(program: WebGLProgram \| null): GLboolean; | Added|
450 | webgl | WebGLRenderingContextBase | getProgramInfoLog(program: WebGLProgram): string \| null; | A…
451 | webgl | WebGLRenderingContextBase | getProgramParameter(program: WebGLProgram, pname: GLenum): an…
456 | webgl | WebGLRenderingContextBase | getAttribLocation(program: WebGLProgram, name: string): GLint…
472 | webgl | WebGLRenderingContextBase | detachShader(program: WebGLProgram, shader: WebGLShader): voi…
479 | webgl | WebGLRenderingContextBase | deleteProgram(program: WebGLProgram \| null): void; | Added|
486 | webgl | WebGLRenderingContextBase | createProgram(): WebGLProgram \| null; | Added|
[all …]
/ohos5.0/docs/zh-cn/application-dev/webgl/
H A Dwebgl-2d-guidelines.md15 将缓冲区中的数据推送到着色器中还需涉及“着色器程序”,一个负责关联着色器和缓冲区的JavaScript对象。一个WebGLProgram对象由两个编译过后的 WebGLShader组成,即顶点着色器…
69 | webgl.getAttribLocation(program: WebGLProgram, name: string): GLint | 从给定WebGL着色程序中获取着色器中attribut…
76 | webgl.createProgram(): WebGLProgram \| null | 创建着色器程序对象。 …
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md15 |删除|模块名: webgl<br>类名: WebGLProgram|NA|webgl.d.ts|
333 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:attachShader(program: WebGLProgram, sha…
355 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:createProgram(): WebGLProgram \| null;|…
362 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:deleteProgram(program: WebGLProgram \| …
369 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:detachShader(program: WebGLProgram, sha…
385 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:getAttribLocation(program: WebGLProgram
391 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:getProgramInfoLog(program: WebGLProgram
406 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:isProgram(program: WebGLProgram \| null…
411 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:linkProgram(program: WebGLProgram): voi…
434 |删除|模块名: webgl<br>类名: WebGLRenderingContextBase<br>方法 or 属性:useProgram(program: WebGLProgram \| nul…
[all …]
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-graphic.md363 …tion(program: WebGLProgram, name: string): GLint;|类名:WebGL2RenderingContextBase;<br>方法or属性:getFrag…
410WebGLProgram, varyings: string[], bufferMode: GLenum): void;|类名:WebGL2RenderingContextBase;<br>方法o…
411WebGLProgram, index: GLuint): WebGLActiveInfo \| null;|类名:WebGL2RenderingContextBase;<br>方法or属性:g…
415 …ram: WebGLProgram, uniformNames: string[]): GLuint[] \| null;|类名:WebGL2RenderingContextBase;<br>方法…
416 …m: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;|类名:WebGL2RenderingContextBase;<br>…
417 …ogram: WebGLProgram, uniformBlockName: string): GLuint;|类名:WebGL2RenderingContextBase;<br>方法or属性:g…
418WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;|类名:WebGL2RenderingContextBase;<br>方法…
419WebGLProgram, uniformBlockIndex: GLuint): string \| null;|类名:WebGL2RenderingContextBase;<br>方法or属性…
420WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;|类名:WebGL2RenderingCon…
/ohos5.0/docs/en/application-dev/webgl/
H A Dwebgl-2d-guidelines.md15 …pt object responsible for associating the shader with the buffer. A **WebGLProgram** object consis…
69 | webgl.getAttribLocation(program: WebGLProgram, name: string): GLint | Obtains the address of the …
76 | webgl.createProgram(): WebGLProgram \| null | Creates a **WebGLProgram** object.…
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-graphic.md288 |新增|NA|方法名 or 属性名:getFragDataLocation<br>函数:getFragDataLocation(program: webgl.WebGLProgram, name: …
335 …nsformFeedbackVaryings<br>函数:transformFeedbackVaryings(program: webgl.WebGLProgram, varyings: stri…
336 …sformFeedbackVarying<br>函数:getTransformFeedbackVarying(program: webgl.WebGLProgram, index: webgl.G…
340 |新增|NA|方法名 or 属性名:getUniformIndices<br>函数:getUniformIndices(program: webgl.WebGLProgram, uniformNam…
341 |新增|NA|方法名 or 属性名:getActiveUniforms<br>函数:getActiveUniforms(program: webgl.WebGLProgram, uniformInd…
342 |新增|NA|方法名 or 属性名:getUniformBlockIndex<br>函数:getUniformBlockIndex(program: webgl.WebGLProgram, unif…
343 …ormBlockParameter<br>函数:getActiveUniformBlockParameter(program: webgl.WebGLProgram, uniformBlockIn…
344 …ActiveUniformBlockName<br>函数:getActiveUniformBlockName(program: webgl.WebGLProgram, uniformBlockIn…
345 |新增|NA|方法名 or 属性名:uniformBlockBinding<br>函数:uniformBlockBinding(program: webgl.WebGLProgram, unifor…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md15 |Deleted|Module name: webgl<br>Class name: WebGLProgram|NA|webgl.d.ts|
333 …nderingContextBase<br>Method or attribute name: attachShader(program: WebGLProgram, shader: WebGLS…
355 …bGLRenderingContextBase<br>Method or attribute name: createProgram(): WebGLProgram \| null;|NA|web…
362 …deringContextBase<br>Method or attribute name: deleteProgram(program: WebGLProgram \| null): void;…
369 …nderingContextBase<br>Method or attribute name: detachShader(program: WebGLProgram, shader: WebGLS…
385 …ngContextBase<br>Method or attribute name: getAttribLocation(program: WebGLProgram, name: string):…
391 …ngContextBase<br>Method or attribute name: getProgramInfoLog(program: WebGLProgram): string \| nul…
406 …LRenderingContextBase<br>Method or attribute name: isProgram(program: WebGLProgram \| null): GLboo…
411 …enderingContextBase<br>Method or attribute name: linkProgram(program: WebGLProgram): void;|NA|webg…
434 …RenderingContextBase<br>Method or attribute name: useProgram(program: WebGLProgram \| null): void;…
[all …]
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-graphic.md363WebGLProgram, name: string): GLint;|Class name: WebGL2RenderingContextBase;<br>Method or attribute…
410WebGLProgram, varyings: string[], bufferMode: GLenum): void;|Class name: WebGL2RenderingContextBas…
411WebGLProgram, index: GLuint): WebGLActiveInfo \| null;|Class name: WebGL2RenderingContextBase;<br>…
415WebGLProgram, uniformNames: string[]): GLuint[] \| null;|Class name: WebGL2RenderingContextBase;<b…
416WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;|Class name: WebGL2RenderingContextBas…
417WebGLProgram, uniformBlockName: string): GLuint;|Class name: WebGL2RenderingContextBase;<br>Method…
418WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;|Class name: WebGL2RenderingContextBa…
419WebGLProgram, uniformBlockIndex: GLuint): string \| null;|Class name: WebGL2RenderingContextBase;<…
420WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;|Class name: WebGL2Ren…
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-graphic.md288 …FragDataLocation<br>Function name: getFragDataLocation(program: webgl.WebGLProgram, name: string):…
335 …ckVaryings<br>Function name: transformFeedbackVaryings(program: webgl.WebGLProgram, varyings: stri…
336 …kVarying<br>Function name: getTransformFeedbackVarying(program: webgl.WebGLProgram, index: webgl.G…
340 … getUniformIndices<br>Function name: getUniformIndices(program: webgl.WebGLProgram, uniformNames: …
341 … getActiveUniforms<br>Function name: getActiveUniforms(program: webgl.WebGLProgram, uniformIndices…
342 …iformBlockIndex<br>Function name: getUniformBlockIndex(program: webgl.WebGLProgram, uniformBlockNa…
343 …meter<br>Function name: getActiveUniformBlockParameter(program: webgl.WebGLProgram, uniformBlockIn…
344 …mBlockName<br>Function name: getActiveUniformBlockName(program: webgl.WebGLProgram, uniformBlockIn…
345 …formBlockBinding<br>Function name: uniformBlockBinding(program: webgl.WebGLProgram, uniformBlockIn…
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl_rendering_context_base_impl.h310 bool CheckProgramLinkStatus(WebGLProgram* program);