Searched refs:currentAttachment (Results 1 – 3 of 3) sorted by relevance
65 uint32_t currentAttachment = 0; in init() local80 setup_vk_attachment_description(&attachments[currentAttachment], in init()84 colorRef.attachment = currentAttachment++; in init()103 setup_vk_attachment_description(&attachments[currentAttachment], in init()107 stencilRef.attachment = currentAttachment++; in init()121 SkASSERT(numAttachments == currentAttachment); in init()
799 GLint currentAttachment=0; in ApiRenderComplete() local802 attachments[currentAttachment] = GL_COLOR_EXT; in ApiRenderComplete()803 currentAttachment++; in ApiRenderComplete()807 attachments[currentAttachment] = GL_DEPTH_EXT; in ApiRenderComplete()808 currentAttachment++; in ApiRenderComplete()812 attachments[currentAttachment] = GL_STENCIL_EXT; in ApiRenderComplete()813 currentAttachment++; in ApiRenderComplete()816 if (currentAttachment!=0) in ApiRenderComplete()819 glDiscardFramebufferEXT(GL_FRAMEBUFFER_OES, currentAttachment, attachments); in ApiRenderComplete()821 glDiscardFramebufferEXT(GL_FRAMEBUFFER, currentAttachment, attachments); in ApiRenderComplete()[all …]