Searched refs:attachment (Results 1 - 25 of 235) sorted by relevance

12345678910

/external/chromium_org/sync/internal_api/attachments/
H A Dfake_attachment_uploader.cc9 #include "sync/api/attachments/attachment.h"
22 void FakeAttachmentUploader::UploadAttachment(const Attachment& attachment, argument
25 DCHECK(!attachment.GetId().GetProto().unique_id().empty());
28 AttachmentId id = attachment.GetId();
H A Dfake_attachment_downloader.cc24 // attachment.
26 scoped_ptr<Attachment> attachment; local
27 attachment.reset(
31 base::Bind(callback, DOWNLOAD_SUCCESS, base::Passed(&attachment)));
H A Dattachment_uploader_impl_unittest.cc25 #include "sync/api/attachments/attachment.h"
417 // Verify the "happy case" of uploading an attachment.
419 // Token is requested, token is returned, HTTP request is made, attachment is
427 Attachment attachment = Attachment::Create(some_data); local
428 uploader()->UploadAttachment(attachment, upload_callback());
437 EXPECT_EQ(attachment.GetId(), attachment_ids()[0]);
444 attachment.GetId().GetProto().unique_id());
454 // Verify two overlapping calls to upload the same attachment result in only one
475 // same attachment and see that it results in two HTTP requests.
505 Attachment attachment local
527 Attachment attachment = Attachment::Create(some_data); local
564 Attachment attachment = Attachment::Create(some_data); local
602 Attachment attachment = Attachment::Create(some_data); local
[all...]
H A Dattachment_service_impl.cc13 #include "sync/api/attachments/attachment.h"
36 void AddAttachment(const Attachment& attachment);
38 // Both reading from local store and downloading attachment failed.
46 // If all attachment requests completed then post callback to consumer with
77 const Attachment& attachment) {
79 DCHECK(retrieved_attachments_->find(attachment.GetId()) ==
82 std::make_pair(attachment.GetId(), attachment));
83 DCHECK(in_progress_attachments_.find(attachment.GetId()) !=
85 in_progress_attachments_.erase(attachment
76 AddAttachment( const Attachment& attachment) argument
256 DownloadDone( const scoped_refptr<GetOrDownloadState>& state, const AttachmentId& attachment_id, const AttachmentDownloader::DownloadResult& result, scoped_ptr<Attachment> attachment) argument
[all...]
H A Dfake_attachment_downloader_unittest.cc10 #include "sync/api/attachments/attachment.h"
43 scoped_ptr<Attachment> attachment) {
42 DownloadDone(const AttachmentDownloader::DownloadResult& result, scoped_ptr<Attachment> attachment) argument
H A Dattachment_uploader_impl.cc16 #include "sync/api/attachments/attachment.h"
45 const Attachment& attachment,
108 const Attachment& attachment,
114 : OAuth2TokenService::Consumer("attachment-uploader-impl"),
118 attachment_(attachment),
195 // TODO(maniscalco): Is there a better way? Copying the attachment data into
277 void AttachmentUploaderImpl::UploadAttachment(const Attachment& attachment, argument
280 const AttachmentId attachment_id = attachment.GetId();
285 // We have an old upload request for this attachment...
288 DCHECK(attachment
104 UploadState( const GURL& upload_url, const scoped_refptr<net::URLRequestContextGetter>& url_request_context_getter, const Attachment& attachment, const UploadCallback& user_callback, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenServiceRequest::TokenServiceProvider* token_service_provider, const base::WeakPtr<AttachmentUploaderImpl>& owner) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLFramebuffer.cpp60 virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
61 virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
123 void WebGLRenderbufferAttachment::attach(blink::WebGraphicsContext3D* context, GLenum attachment) argument
126 if (attachment == GC3D_DEPTH_STENCIL_ATTACHMENT_WEBGL && m_renderbuffer->emulatedStencilBuffer()) {
130 context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, object);
134 void WebGLRenderbufferAttachment::unattach(blink::WebGraphicsContext3D* context, GLenum attachment) argument
136 if (attachment == GC3D_DEPTH_STENCIL_ATTACHMENT_WEBGL) {
140 context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, 0);
168 virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
169 virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRID
229 attach(blink::WebGraphicsContext3D* context, GLenum attachment) argument
235 unattach(blink::WebGraphicsContext3D* context, GLenum attachment) argument
297 setAttachmentForBoundFramebuffer(GLenum attachment, GLenum texTarget, WebGLTexture* texture, GLint level) argument
310 setAttachmentForBoundFramebuffer(GLenum attachment, WebGLRenderbuffer* renderbuffer) argument
323 attach(GLenum attachment, GLenum attachmentPoint) argument
339 isAttachmentComplete(WebGLAttachment* attachedObject, GLenum attachment, const char** reason) const argument
431 removeAttachmentFromBoundFramebuffer(GLenum attachment) argument
457 removeAttachmentFromBoundFramebuffer(WebGLSharedObject* attachment) argument
499 WebGLAttachment* attachment = it->value.get(); local
557 WebGLAttachment* attachment = getAttachment(GL_STENCIL_ATTACHMENT); local
[all...]
H A DWebGLFramebuffer.h50 // For texture attachment, type() returns the type of the attached texture.
51 // For renderbuffer attachment, the type of the renderbuffer may vary with GL implementation.
52 // To avoid confusion, it would be better to not implement type() for renderbuffer attachment and
59 virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) = 0;
60 virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) = 0;
72 void setAttachmentForBoundFramebuffer(GLenum attachment, GLenum texTarget, WebGLTexture*, GLint level);
73 void setAttachmentForBoundFramebuffer(GLenum attachment, WebGLRenderbuffer*);
76 // If a given attachment point for the currently bound framebuffer is not null, remove the attached object.
114 bool isAttachmentComplete(WebGLAttachment* attachedObject, GLenum attachment, const char** reason) const;
119 // attach 'attachment' a
[all...]
/external/chromium_org/chrome/browser/resources/ntp4/
H A Dnew_guest_tab_theme.css7 background-attachment: fixed;
H A Dnew_incognito_tab_theme.css7 background-attachment: fixed;
/external/chromium_org/gpu/command_buffer/service/
H A Dframebuffer_manager.cc294 Attachment* attachment = attachments_.begin()->second.get(); local
295 attachment->DetachFromFramebuffer(this);
353 GLenum attachment) const {
355 attachments_.find(attachment);
357 const Attachment* attachment = it->second.get(); local
358 return !attachment->cleared();
368 const Attachment* attachment = it->second.get(); local
369 if (!attachment->cleared())
415 GLenum attachment,
417 AttachmentMap::iterator it = attachments_.find(attachment);
412 MarkAttachmentAsCleared( RenderbufferManager* renderbuffer_manager, TextureManager* texture_manager, GLenum attachment, bool cleared) argument
434 Attachment* attachment = it->second.get(); local
456 const Attachment* attachment = it->second.get(); local
465 const Attachment* attachment = it->second.get(); local
479 Attachment* attachment = it->second.get(); local
514 Attachment* attachment = it->second.get(); local
546 Attachment* attachment = it->second.get(); local
573 const Attachment* attachment = GetAttachment(draw_buffers_[i]); local
591 Attachment* attachment = it->second.get(); local
610 Attachment* attachment = it->second.get(); local
636 AttachRenderbuffer( GLenum attachment, Renderbuffer* renderbuffer) argument
650 AttachTexture( GLenum attachment, TextureRef* texture_ref, GLenum target, GLint level, GLsizei samples) argument
[all...]
H A Dframebuffer_manager_unittest.cc211 // check adding one attachment
253 // The attachment has a size of 0,0 so depending on the order of the map
256 // attachment.
310 const Framebuffer::Attachment* attachment = local
312 ASSERT_TRUE(attachment != NULL);
313 EXPECT_EQ(kWidth1, attachment->width());
314 EXPECT_EQ(kHeight1, attachment->height());
315 EXPECT_EQ(kSamples1, attachment->samples());
316 EXPECT_EQ(kFormat1, attachment->internal_format());
317 EXPECT_FALSE(attachment
485 const Framebuffer::Attachment* attachment = local
608 const Framebuffer::Attachment* attachment = local
[all...]
H A Dframebuffer_manager.h66 bool HasUnclearedAttachment(GLenum attachment) const;
72 GLenum attachment,
75 // Attaches a renderbuffer to a particlar attachment.
78 GLenum attachment, Renderbuffer* renderbuffer);
80 // Attaches a texture to a particlar attachment. Pass null to detach.
82 GLenum attachment, TextureRef* texture_ref, GLenum target,
93 const Attachment* GetAttachment(GLenum attachment) const;
110 // If the color attachment is a texture, returns its type; otherwise,
/external/chromium_org/sync/internal_api/public/attachments/
H A Dattachment_uploader.h11 #include "sync/api/attachments/attachment.h"
21 UPLOAD_SUCCESS, // No error, attachment was uploaded
33 // Upload |attachment| and invoke |callback| when done.
39 // newly uploaded attachment.
40 virtual void UploadAttachment(const Attachment& attachment,
H A Dfake_attachment_uploader.h21 virtual void UploadAttachment(const Attachment& attachment,
/external/chromium_org/ui/login/
H A Dbubble.js30 * Bubble attachment side.
133 * Sets the attachment of the bubble.
134 * @param {!Attachment} attachment Bubble attachment.
136 setAttachment_: function(attachment) {
139 this.classList.toggle(v, v == attachment);
146 * @param {!Attachment} attachment Bubble attachment (on which side of the
152 showContentAt_: function(pos, attachment, opt_content) {
163 this.setAttachment_(attachment);
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DFramebuffer.cpp25 RenderTarget *GetAttachmentRenderTarget(gl::FramebufferAttachment *attachment) argument
27 if (attachment->isTexture())
29 gl::Texture *texture = attachment->getTexture();
32 const gl::ImageIndex *index = attachment->getTextureImageIndex();
37 gl::Renderbuffer *renderbuffer = attachment->getRenderbuffer();
45 unsigned int GetAttachmentSerial(gl::FramebufferAttachment *attachment) argument
47 if (attachment->isTexture())
49 gl::Texture *texture = attachment->getTexture();
52 const gl::ImageIndex *index = attachment->getTextureImageIndex();
57 gl::Renderbuffer *renderbuffer = attachment
216 FramebufferAttachment *attachment = mColorbuffers[colorAttachment]; local
239 FramebufferAttachment *attachment = mColorbuffers[colorAttachment]; local
619 gl::FramebufferAttachment *attachment = local
[all...]
H A DFramebuffer.h61 virtual FramebufferAttachment *getAttachment(GLenum attachment) const;
108 virtual FramebufferAttachment *getAttachment(GLenum attachment) const;
121 RenderTarget *GetAttachmentRenderTarget(gl::FramebufferAttachment *attachment);
122 unsigned int GetAttachmentSerial(gl::FramebufferAttachment *attachment);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dfbobject.h71 GLenum attachment);
74 /** Return the texture image for a renderbuffer attachment */
83 /** Return the (const) texture image for a renderbuffer attachment */
111 GLenum attachment, struct gl_renderbuffer *rb);
174 _mesa_FramebufferTexture1DEXT(GLenum target, GLenum attachment,
178 _mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment,
182 _mesa_FramebufferTexture3DEXT(GLenum target, GLenum attachment,
187 _mesa_FramebufferTextureLayerEXT(GLenum target, GLenum attachment,
191 _mesa_FramebufferRenderbufferEXT(GLenum target, GLenum attachment,
196 _mesa_GetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment,
[all...]
/external/mesa3d/src/mesa/main/
H A Dfbobject.h71 GLenum attachment);
74 /** Return the texture image for a renderbuffer attachment */
83 /** Return the (const) texture image for a renderbuffer attachment */
111 GLenum attachment, struct gl_renderbuffer *rb);
174 _mesa_FramebufferTexture1DEXT(GLenum target, GLenum attachment,
178 _mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment,
182 _mesa_FramebufferTexture3DEXT(GLenum target, GLenum attachment,
187 _mesa_FramebufferTextureLayerEXT(GLenum target, GLenum attachment,
191 _mesa_FramebufferRenderbufferEXT(GLenum target, GLenum attachment,
196 _mesa_GetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment,
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_dri2.c81 switch (buffer->attachment) {
83 if (buffer->attachment != DRI2BufferFakeFrontLeft ||
112 if (buffer->attachment == DRI2BufferDepth) {
200 dri2_create_buffer(DrawablePtr pDraw, unsigned int attachment, unsigned int format) argument
214 buffer->attachment = attachment;
257 buffers[i].attachment = attachments[i];
313 src_draw = (pSrcBuffer->attachment == DRI2BufferFrontLeft) ? pDraw :
315 dst_draw = (pDestBuffer->attachment == DRI2BufferFrontLeft) ? pDraw :
337 if (pSrcBuffer->attachment
[all...]
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_dri2.c81 switch (buffer->attachment) {
83 if (buffer->attachment != DRI2BufferFakeFrontLeft ||
112 if (buffer->attachment == DRI2BufferDepth) {
200 dri2_create_buffer(DrawablePtr pDraw, unsigned int attachment, unsigned int format) argument
214 buffer->attachment = attachment;
257 buffers[i].attachment = attachments[i];
313 src_draw = (pSrcBuffer->attachment == DRI2BufferFrontLeft) ? pDraw :
315 dst_draw = (pDestBuffer->attachment == DRI2BufferFrontLeft) ? pDraw :
337 if (pSrcBuffer->attachment
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fFboStateQueryTests.cpp46 void checkAttachmentComponentSizeAtLeast (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, int r, int g, int b, int a, int d, int s) argument
66 gl.glGetFramebufferAttachmentParameteriv(target, attachment, paramNames[ndx], &state);
83 void checkAttachmentComponentSizeExactly (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, int r, int g, int b, int a, int d, int s) argument
103 gl.glGetFramebufferAttachmentParameteriv(target, attachment, paramNames[ndx], &state);
144 void checkAttachmentParam(tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, GLenum pname, GLenum reference) argument
147 gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, &state);
619 bool attachmentExists (GLenum attachment) argument
622 glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &state);
637 virtual void testColorAttachment (GLenum internalFormat, GLenum attachment, GLint bitsR, GLint bitsG, GLint bitsB, GLint bitsA) = DE_NULL;
639 virtual void testDepthAttachment (GLenum internalFormat, GLenum attachment, GLin
671 GLenum attachment; member in struct:deqp::gles3::Functional::__anon20008::AttachmentSizeCase::DepthAttachment
698 testColorAttachment(GLenum internalFormat, GLenum attachment, GLint bitsR, GLint bitsG, GLint bitsB, GLint bitsA) argument
716 testDepthAttachment(GLenum internalFormat, GLenum attachment, GLint bitsD, GLint bitsS) argument
743 testColorAttachment(GLenum internalFormat, GLenum attachment, GLint bitsR, GLint bitsG, GLint bitsB, GLint bitsA) argument
761 testDepthAttachment(GLenum internalFormat, GLenum attachment, GLint bitsD, GLint bitsS) argument
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DClear11.cpp171 gl::FramebufferAttachment *attachment = frameBuffer->getFirstColorbuffer(); local
172 framebufferSize.width = attachment->getWidth();
173 framebufferSize.height = attachment->getHeight();
178 gl::FramebufferAttachment *attachment = frameBuffer->getDepthOrStencilbuffer(); local
179 framebufferSize.width = attachment->getWidth();
180 framebufferSize.height = attachment->getHeight();
211 gl::FramebufferAttachment *attachment = frameBuffer->getColorbuffer(colorAttachment); local
212 if (attachment)
214 RenderTarget11 *renderTarget = d3d11::GetAttachmentRenderTarget(attachment);
220 const gl::InternalFormat &formatInfo = gl::GetInternalFormatInfo(attachment
284 gl::FramebufferAttachment *attachment = frameBuffer->getDepthOrStencilbuffer(); local
[all...]
/external/chromium_org/components/feedback/
H A Dfeedback_common.cc74 // Adds data as an attachment to feedback_data if the data is non-empty.
81 userfeedback::ProductSpecificBinaryData* attachment =
83 attachment->set_mime_type(kArbitraryMimeType);
84 attachment->set_name(name);
85 attachment->set_data(data);
172 const AttachedFile* file = attachment(i);

Completed in 783 milliseconds

12345678910