Searched refs:attachedObject (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_framebuffer.cpp | 238 const WebGLAttachment* attachedObject, WebGLAttachmentInfo& info) const in GetWebGLAttachmentInfo() argument 240 if (attachedObject == nullptr) { in GetWebGLAttachmentInfo() 245 static_cast<unsigned int>(attachedObject->type), attachedObject->attachment, in GetWebGLAttachmentInfo() 246 static_cast<unsigned long>(attachedObject->id)); in GetWebGLAttachmentInfo() 247 if (attachedObject->IsRenderBuffer()) { in GetWebGLAttachmentInfo() 259 if (attachedObject->IsTexture()) { in GetWebGLAttachmentInfo() 261 env, static_cast<uint64_t>(attachedObject->id)); in GetWebGLAttachmentInfo() 280 switch (attachedObject->attachment) { in CheckAttachmentComplete() 314 if (!GetWebGLAttachmentInfo(env, context, attachedObject, info)) { in CheckStatus() 356 WebGLAttachment* attachedObject = it.second; in CheckStatus() local [all …]
|
H A D | webgl_rendering_context_draw.cpp | 1151 WebGLAttachment* attachedObject = frameBuffer->GetAttachment(mode); in GetReadBufferFormatAndType() local 1152 if (!attachedObject) { in GetReadBufferFormatAndType() 1157 if (!frameBuffer->GetWebGLAttachmentInfo(env, this, attachedObject, info)) { in GetReadBufferFormatAndType()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/ |
H A D | webgl_framebuffer.h | 120 std::vector<WebGLAttachment*>& attachments, WebGLAttachment* attachedObject) const; 124 const WebGLAttachment* attachedObject, WebGLAttachmentInfo& info) const; 127 bool CheckAttachmentComplete(bool isHighWebGL, WebGLAttachment* attachedObject,
|