Home | History | Annotate | Download | only in service

Lines Matching refs:attachment

44     : public Framebuffer::Attachment {
135 : public Framebuffer::Attachment {
294 Attachment* attachment = attachments_.begin()->second.get();
295 attachment->DetachFromFramebuffer(this);
353 GLenum attachment) const {
355 attachments_.find(attachment);
357 const Attachment* attachment = it->second.get();
358 return !attachment->cleared();
368 const Attachment* attachment = it->second.get();
369 if (!attachment->cleared())
415 GLenum attachment,
417 AttachmentMap::iterator it = attachments_.find(attachment);
419 Attachment* a = it->second.get();
434 Attachment* attachment = it->second.get();
435 if (attachment->cleared() != cleared) {
436 attachment->SetCleared(renderbuffer_manager, texture_manager, cleared);
456 const Attachment* attachment = it->second.get();
457 return attachment->internal_format();
465 const Attachment* attachment = it->second.get();
466 return attachment->texture_type();
479 Attachment* attachment = it->second.get();
480 if (!attachment->ValidForAttachmentType(attachment_type,
485 width = attachment->width();
486 height = attachment->height();
491 if (attachment->width() != width || attachment->height() != height) {
496 if (!attachment->CanRenderTo()) {
514 Attachment* attachment = it->second.get();
516 base::StringPrintf("|Attachment|attachmentpoint=%04x", it->first);
517 attachment->AddToSignature(texture_manager, &signature);
546 Attachment* attachment = it->second.get();
547 if (!attachment->cleared()) {
573 const Attachment* attachment = GetAttachment(draw_buffers_[i]);
574 if (!attachment)
577 attachment->internal_format()) & 0x0008) != 0)
591 Attachment* attachment = it->second.get();
592 if (attachment->IsRenderbuffer(renderbuffer)) {
610 Attachment* attachment = it->second.get();
611 if (attachment->IsTexture(texture_ref)) {
637 GLenum attachment, Renderbuffer* renderbuffer) {
638 const Attachment* a = GetAttachment(attachment);
642 attachments_[attachment] = scoped_refptr<Attachment>(
645 attachments_.erase(attachment);
651 GLenum attachment, TextureRef* texture_ref, GLenum target,
653 const Attachment* a = GetAttachment(attachment);
657 attachments_[attachment] = scoped_refptr<Attachment>(
661 attachments_.erase(attachment);
666 const Framebuffer::Attachment*
668 GLenum attachment) const {
669 AttachmentMap::const_iterator it = attachments_.find(attachment);