/external/libmojo/ipc/ |
H A D | ipc_platform_file_attachment_posix.cc | 32 scoped_refptr<MessageAttachment> attachment) { 33 DCHECK_EQ(attachment->GetType(), MessageAttachment::TYPE_PLATFORM_FILE); 34 return static_cast<PlatformFileAttachment*>(attachment.get())->file(); 31 GetPlatformFile( scoped_refptr<MessageAttachment> attachment) argument
|
H A D | ipc_mojo_message_helper.cc | 27 scoped_refptr<base::Pickle::Attachment> attachment; local 28 if (!message->ReadAttachment(iter, &attachment)) { 29 LOG(ERROR) << "Failed to read attachment for message pipe."; 34 static_cast<MessageAttachment*>(attachment.get())->GetType(); 36 LOG(ERROR) << "Unxpected attachment type:" << type; 41 static_cast<internal::MojoHandleAttachment*>(attachment.get())
|
H A D | ipc_message_attachment_set.cc | 32 for (const scoped_refptr<MessageAttachment>& attachment : attachments) { 33 if (attachment->GetType() == type) 85 scoped_refptr<MessageAttachment> attachment, 89 if (attachment->GetType() == MessageAttachment::TYPE_PLATFORM_FILE && 96 switch (attachment->GetType()) { 99 attachments_.push_back(attachment); 105 static_cast<BrokerableAttachment*>(attachment.get()); 116 scoped_refptr<MessageAttachment> attachment) { 119 return AddAttachment(attachment, &index, &brokerable); 188 const scoped_refptr<BrokerableAttachment>& attachment) { 84 AddAttachment( scoped_refptr<MessageAttachment> attachment, size_t* index, bool* brokerable) argument 115 AddAttachment( scoped_refptr<MessageAttachment> attachment) argument 187 ReplacePlaceholderWithAttachment( const scoped_refptr<BrokerableAttachment>& attachment) argument [all...] |
H A D | ipc_message_attachment_set.h | 52 // Return the number of mojo handles in the attachment set 54 // Return the number of brokerable attachments in the attachment set. 56 // Return the number of non-brokerable attachments in the attachment set. 62 // Returns whether the attachment was successfully added. 64 // newly added attachment. 66 // the attachment was added to. 67 bool AddAttachment(scoped_refptr<MessageAttachment> attachment, 72 bool AddAttachment(scoped_refptr<MessageAttachment> attachment); 74 // Take the nth non-brokerable attachment from the beginning of the vector, 80 // returns: an attachment, o [all...] |
H A D | attachment_broker.h | 49 // that support attachment brokering, every IPC channel should have a reference 56 // to be notified when a new attachment has been received. 63 // Each process has at most one attachment broker. The process is responsible 72 // Sends |attachment| to |destination_process|. The implementation uses an 74 // IPC::Channel that is requesting the brokering of an attachment. 77 const scoped_refptr<BrokerableAttachment>& attachment, 80 // Returns whether the attachment was available. If the attachment was 81 // available, populates the output parameter |attachment|. 83 scoped_refptr<BrokerableAttachment>* attachment); [all...] |
H A D | ipc_platform_file_attachment_posix.h | 38 base::PlatformFile GetPlatformFile(scoped_refptr<MessageAttachment> attachment);
|
H A D | ipc_message.cc | 238 scoped_refptr<PlaceholderBrokerableAttachment> attachment( 240 return attachment_set()->AddAttachment(attachment); 244 scoped_refptr<base::Pickle::Attachment> attachment) { 248 make_scoped_refptr(static_cast<MessageAttachment*>(attachment.get())), 272 scoped_refptr<base::Pickle::Attachment>* attachment) const { 285 *attachment = brokerable 289 return nullptr != attachment->get(); 243 WriteAttachment( scoped_refptr<base::Pickle::Attachment> attachment) argument
|
/external/skia/src/gpu/vk/ |
H A D | GrVkRenderPass.cpp | 18 void setup_vk_attachment_description(VkAttachmentDescription* attachment, argument 21 attachment->flags = 0; 22 attachment->format = desc.fFormat; 23 SkAssertResult(GrSampleCountToVkSampleCount(desc.fSamples, &attachment->samples)); 26 attachment->loadOp = desc.fLoadStoreOps.fLoadOp; 27 attachment->storeOp = desc.fLoadStoreOps.fStoreOp; 28 attachment->stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; 29 attachment->stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; 32 attachment->loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; 33 attachment [all...] |
H A D | GrVkGpuCommandBuffer.cpp | 129 // Change layout of our render target so it can be used as the color attachment. Currently 134 // Change layout of our render target so it can be used as the color attachment 141 // If we are using a stencil attachment we also need to update its layout 271 VkClearAttachment attachment; local 272 attachment.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; 273 attachment.colorAttachment = 0; // this value shouldn't matter 274 attachment.clearValue.depthStencil = vkStencilColor; 276 cbInfo.currentCmdBuf()->clearAttachments(fGpu, 1, &attachment, 1, &clearRect); 355 VkClearAttachment attachment; local 356 attachment [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | fbobject.h | 71 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...] |
H A D | fbobject.c | 185 * If \p attachment is GL_DEPTH_STENCIL_ATTACHMENT, return a pointer to 186 * the depth buffer attachment point. 190 GLenum attachment) 196 switch (attachment) { 217 i = attachment - GL_COLOR_ATTACHMENT0_EXT; 243 GLenum attachment) 247 switch (attachment) { 264 * "If the default framebuffer is bound to target, then attachment must 273 * "If the default framebuffer is bound to <target>, then <attachment> 298 * Remove any texture or renderbuffer attached to the given attachment 189 _mesa_get_attachment(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment) argument 242 _mesa_get_fb0_attachment(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment) argument 388 _mesa_framebuffer_renderbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, struct gl_renderbuffer *rb) argument 1995 framebuffer_texture(struct gl_context *ctx, const char *caller, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) argument 2159 _mesa_FramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument 2192 _mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) argument 2238 _mesa_FramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) argument 2256 _mesa_FramebufferTextureLayerEXT(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) argument 2267 _mesa_FramebufferRenderbufferEXT(GLenum target, GLenum attachment, GLenum renderbufferTarget, GLuint renderbuffer) argument 2351 _mesa_GetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, GLenum pname, GLint *params) argument 3116 _mesa_FramebufferTextureARB(GLenum target, GLenum attachment, GLuint texture, GLint level) argument 3127 _mesa_FramebufferTextureFaceARB(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) argument [all...] |
/external/toolchain-utils/cros_utils/ |
H A D | email_sender.py | 23 """Small class to keep track of attachment info.""" 69 for attachment in attachments: 71 part.set_payload(attachment.content) 74 "attachment; filename=\"%s\"" % attachment.name) 125 for attachment in attachments: 126 if '<html>' in attachment.content: 131 os.write(fd, attachment.content)
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_dri2.c | 81 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 D | es3fFboStateQueryTests.cpp | 46 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::__anon4423::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/skia/src/gpu/gl/ |
H A D | GrGLCreateNullInterface.cpp | 160 void setAttachment(GrGLenum attachmentPoint, const FramebufferAttachment* attachment) { argument 163 SK_ABORT("Invalid framebuffer attachment."); 166 fAttachments[(int)AttachmentPoint::kStencil].reset(SkRef(attachment)); 169 fAttachments[(int)AttachmentPoint::kDepth].reset(SkRef(attachment)); 172 fAttachments[(int)AttachmentPoint::kColor].reset(SkRef(attachment)); 178 for (auto& attachment : fAttachments) { 179 if (attachment.get() == deleted) { 180 attachment.reset(nullptr); 187 for (auto& attachment : fAttachments) { 188 if (!attachment) { [all...] |
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/ |
H A D | ITNProxy.java | 79 for (Attachment attachment : error.getAttachments()) { 80 params.put("attachment.name", attachment.getName()); 81 params.put("attachment.value", attachment.getEncodedBytes());
|
/external/deqp/framework/opengl/simplereference/ |
H A D | sglrContextWrapper.cpp | 189 void ContextWrapper::glFramebufferTexture2D (deUint32 target, deUint32 attachment, deUint32 textarget, deUint32 texture, int level) argument 191 m_curCtx->framebufferTexture2D(target, attachment, textarget, texture, level); 194 void ContextWrapper::glFramebufferTextureLayer (deUint32 target, deUint32 attachment, deUint32 texture, int level, int layer) argument 196 m_curCtx->framebufferTextureLayer(target, attachment, texture, level, layer); 199 void ContextWrapper::glFramebufferRenderbuffer (deUint32 target, deUint32 attachment, deUint32 renderbuffertarget, deUint32 renderbuffer) argument 201 m_curCtx->framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); 209 void ContextWrapper::glGetFramebufferAttachmentParameteriv (deUint32 target, deUint32 attachment, deUint32 pname, int* params) argument 211 m_curCtx->getFramebufferAttachmentParameteriv(target, attachment, pname, params);
|
/external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
H A D | native_wayland.h | 59 enum native_attachment attachment);
|
H A D | native_shm.c | 79 enum native_attachment attachment) 90 resource = resource_surface_get_single_resource(surface->rsurf, attachment); 77 wayland_create_shm_buffer(struct wayland_display *display, struct wayland_surface *surface, enum native_attachment attachment) argument
|
/external/skia/tools/gpu/gl/debug/ |
H A D | DebugGLTestContext.cpp | 405 GrGLenum attachment, 410 GrAlwaysAssert(GR_GL_COLOR_ATTACHMENT0 == attachment || 411 GR_GL_DEPTH_ATTACHMENT == attachment || 412 GR_GL_STENCIL_ATTACHMENT == attachment); 424 switch (attachment) { 441 GrGLvoid namedFramebufferRenderbuffer(GrGLuint framebuffer, GrGLenum attachment, 448 GrGLvoid framebufferTexture2D(GrGLenum target, GrGLenum attachment, GrGLenum textarget, 452 GrAlwaysAssert(GR_GL_COLOR_ATTACHMENT0 == attachment || 453 GR_GL_DEPTH_ATTACHMENT == attachment || 454 GR_GL_STENCIL_ATTACHMENT == attachment); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
H A D | vktRenderPassTests.cpp | 479 AttachmentReference (deUint32 attachment, argument 481 : m_attachment (attachment) 736 const Attachment& attachment = attachments[attachmentNdx]; local 738 log << TestLog::Message << "Format: " << attachment.getFormat() << TestLog::EndMessage; 739 log << TestLog::Message << "Samples: " << attachment.getSamples() << TestLog::EndMessage; 741 log << TestLog::Message << "LoadOp: " << attachment.getLoadOp() << TestLog::EndMessage; 742 log << TestLog::Message << "StoreOp: " << attachment.getStoreOp() << TestLog::EndMessage; 744 log << TestLog::Message << "StencilLoadOp: " << attachment.getStencilLoadOp() << TestLog::EndMessage; 745 log << TestLog::Message << "StencilStoreOp: " << attachment.getStencilStoreOp() << TestLog::EndMessage; 747 log << TestLog::Message << "InitialLayout: " << attachment 944 randomColorClearValue(const Attachment& attachment, de::Random& rng) argument 999 createAttachmentDescription(const Attachment& attachment) argument 1213 randomClearValue(const Attachment& attachment, de::Random& rng) argument 1606 const Attachment& attachment = renderInfo.getColorAttachment(attachmentNdx); local 1631 const Attachment& attachment = *renderInfo.getDepthStencilAttachment(); local 2087 const VkClearAttachment attachment = local 2112 const VkClearAttachment attachment = local [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
H A D | x11_screen.h | 45 unsigned int attachment; member in struct:x11_drawable_buffer
|
/external/mesa3d/src/glx/ |
H A D | dri2.h | 41 unsigned int attachment; member in struct:__anon15032
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
H A D | dri_util.h | 111 unsigned int attachment,
|
/external/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_drm.c | 210 buffer->attachment = __DRI_BUFFER_BACK_LEFT; 221 unsigned int attachment, unsigned int format, __DRIbuffer *buffer) 225 __DRIbuffer *b = dri2_surf->dri_buffers[attachment]; 229 attachment, format, 232 dri2_surf->dri_buffers[attachment] = b; 220 get_aux_bo(struct dri2_egl_surface *dri2_surf, unsigned int attachment, unsigned int format, __DRIbuffer *buffer) argument
|