Searched refs:frameBufferId (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context_base_impl.cpp | 214 GLuint frameBufferId = WebGLFramebuffer::DEFAULT_FRAME_BUFFER; in IsFrameBuffer() local 219 frameBufferId = webGlFramebuffer->GetFramebuffer(); in IsFrameBuffer() 220 bool res = static_cast<bool>(glIsFramebuffer(frameBufferId)); in IsFrameBuffer() 240 frameBufferId = webGlFramebuffer->GetFramebuffer(); in BindFrameBuffer() 244 glBindFramebuffer(target, frameBufferId); in BindFrameBuffer() 245 boundFrameBufferIds_[index] = frameBufferId; in BindFrameBuffer() 259 target, frameBufferId, GetError_()); in BindFrameBuffer() 487 GLuint frameBufferId = webGlFramebuffer->GetFramebuffer(); in DeleteFrameBuffer() local 488 DeleteObject<WebGLFramebuffer>(env, frameBufferId); in DeleteFrameBuffer() 489 glDeleteFramebuffers(1, &frameBufferId); in DeleteFrameBuffer() [all …]
|
H A D | webgl_rendering_context_draw.cpp | 712 GLuint frameBufferId = 0; in CopyTexImage2D() local 713 result = CheckReadBufferAndGetInfo(env, &frameBufferId, nullptr, nullptr); in CopyTexImage2D() 736 GLuint frameBufferId = 0; in CopyTexSubImage2D() local 737 result = CheckReadBufferAndGetInfo(env, &frameBufferId, nullptr, nullptr); in CopyTexSubImage2D() 1114 napi_env env, GLuint* frameBufferId, GLenum* format, GLenum* type) in CheckReadBufferAndGetInfo() argument 1127 *frameBufferId = frameBuffer->GetFramebuffer(); in CheckReadBufferAndGetInfo()
|
H A D | webgl2_rendering_context_impl.cpp | 927 GLuint frameBufferId = 0; in CopyTexSubImage3D() local 928 result = CheckReadBufferAndGetInfo(env, &frameBufferId, nullptr, nullptr); in CopyTexSubImage3D()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/ |
H A D | webgl_rendering_context_base_impl.h | 329 …GLenum CheckReadBufferAndGetInfo(napi_env env, GLuint* frameBufferId, GLenum* format, GLenum* type…
|