• Home
  • Raw
  • Download

Lines Matching refs:framebufferAttachment

352                                 const gl::FramebufferAttachment &framebufferAttachment,  in ReadPixelsFromAttachment()  argument
356 gl::Extents extents = framebufferAttachment.getSize(); in ReadPixelsFromAttachment()
357 GLenum binding = framebufferAttachment.getBinding(); in ReadPixelsFromAttachment()
358 gl::InternalFormat format = *framebufferAttachment.getFormat().info; in ReadPixelsFromAttachment()
385 const gl::FramebufferAttachment &framebufferAttachment, in SerializeFramebufferAttachment() argument
388 if (framebufferAttachment.type() == GL_TEXTURE || in SerializeFramebufferAttachment()
389 framebufferAttachment.type() == GL_RENDERBUFFER) in SerializeFramebufferAttachment()
391 json->addScalar("ID", framebufferAttachment.id()); in SerializeFramebufferAttachment()
393 json->addScalar("Type", framebufferAttachment.type()); in SerializeFramebufferAttachment()
395 json->addString("Binding", gl::GLenumToString(enumGroup, framebufferAttachment.getBinding())); in SerializeFramebufferAttachment()
396 if (framebufferAttachment.type() == GL_TEXTURE) in SerializeFramebufferAttachment()
398 SerializeImageIndex(json, framebufferAttachment.getTextureImageIndex()); in SerializeFramebufferAttachment()
400 json->addScalar("NumViews", framebufferAttachment.getNumViews()); in SerializeFramebufferAttachment()
401 json->addScalar("Multiview", framebufferAttachment.isMultiview()); in SerializeFramebufferAttachment()
402 json->addScalar("ViewIndex", framebufferAttachment.getBaseViewIndex()); in SerializeFramebufferAttachment()
403 json->addScalar("Samples", framebufferAttachment.getRenderToTextureSamples()); in SerializeFramebufferAttachment()
407 SerializeExtents(json, framebufferAttachment.getSize()); in SerializeFramebufferAttachment()
410 if (framebufferAttachment.type() != GL_TEXTURE && in SerializeFramebufferAttachment()
411 framebufferAttachment.type() != GL_RENDERBUFFER) in SerializeFramebufferAttachment()
414 GLenum binding = framebufferAttachment.getBinding(); in SerializeFramebufferAttachment()
418 framebuffer->setReadBuffer(framebufferAttachment.getBinding()); in SerializeFramebufferAttachment()
422 if (framebufferAttachment.initState() == gl::InitState::Initialized) in SerializeFramebufferAttachment()
425 ANGLE_TRY(ReadPixelsFromAttachment(context, framebuffer, framebufferAttachment, in SerializeFramebufferAttachment()