Searched refs:WebGLAttachment (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/ |
H A D | webgl_framebuffer.h | 43 struct WebGLAttachment { struct 44 WebGLAttachment(AttachmentType type, GLenum attachment, GLuint id) in WebGLAttachment() argument 63 struct AttachmentTexture : public WebGLAttachment { argument 65 : WebGLAttachment(type, attachment, id) {} in AttachmentTexture() 116 WebGLAttachment* GetAttachment(GLenum attachment) const; 120 std::vector<WebGLAttachment*>& attachments, WebGLAttachment* attachedObject) const; 122 std::vector<WebGLAttachment*>& attachments) const; 124 const WebGLAttachment* attachedObject, WebGLAttachmentInfo& info) const; 126 void DoDetachment(GLenum target, WebGLAttachment* attachment); 127 bool CheckAttachmentComplete(bool isHighWebGL, WebGLAttachment* attachedObject, [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_framebuffer.cpp | 86 …WebGLAttachment* attachmentObject = new WebGLAttachment(AttachmentType::RENDER_BUFFER, attachment,… in AddAttachment() 117 void WebGLFramebuffer::DoDetachment(GLenum target, WebGLAttachment* attachment) in DoDetachment() 158 WebGLAttachment* WebGLFramebuffer::GetAttachment(GLenum attachment) const in GetAttachment() 238 const WebGLAttachment* attachedObject, WebGLAttachmentInfo& info) const in GetWebGLAttachmentInfo() 277 bool WebGLFramebuffer::CheckAttachmentComplete(bool isHighWebGL, WebGLAttachment* attachedObject, in CheckAttachmentComplete() 278 const WebGLAttachmentInfo& info, std::vector<WebGLAttachment*>& attachments) const in CheckAttachmentComplete() 312 …WebGLAttachmentInfo info, std::vector<WebGLAttachment*>& attachments, WebGLAttachment* attachedObj… in CheckStatus() 330 std::vector<WebGLAttachment*>& attachments) const in CheckAttachStatus() 351 std::vector<WebGLAttachment*> attachments = {nullptr, nullptr, nullptr}; in CheckStatus() 356 WebGLAttachment* attachedObject = it.second; in CheckStatus()
|
H A D | webgl2_rendering_context_override.cpp | 261 napi_env env, GLenum target, GLenum attachment, GLenum pname, WebGLAttachment* attachmentObject) in HandleFrameBufferPname() 317 WebGLAttachment* attachmentObject = nullptr; in GetFrameBufferAttachmentParameter() 319 WebGLAttachment* depthAttachment = frameBuffer->GetAttachment(GL_DEPTH_ATTACHMENT); in GetFrameBufferAttachmentParameter() 320 WebGLAttachment* stencilAttachment = frameBuffer->GetAttachment(GL_STENCIL_ATTACHMENT); in GetFrameBufferAttachmentParameter()
|
H A D | webgl_rendering_context_draw.cpp | 1151 WebGLAttachment* attachedObject = frameBuffer->GetAttachment(mode); in GetReadBufferFormatAndType()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/ |
H A D | webgl2_rendering_context_impl.h | 162 … napi_env env, GLenum target, GLenum attachment, GLenum pname, WebGLAttachment* attachmentObject);
|