Searched defs:attachment (Results 1 - 25 of 96) sorted by relevance

1234

/external/mesa3d/src/glx/
H A Ddri2.h42 unsigned int attachment; member in struct:__anon16955
/external/libmojo/ipc/
H A Dipc_mojo_message_helper.cc27 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 Dipc_message_attachment_set.cc24 for (const scoped_refptr<MessageAttachment>& attachment : attachments) {
25 if (attachment->GetType() == type)
63 scoped_refptr<MessageAttachment> attachment,
66 if (attachment->GetType() == MessageAttachment::Type::PLATFORM_FILE &&
73 switch (attachment->GetType()) {
78 attachments_.push_back(attachment);
86 scoped_refptr<MessageAttachment> attachment) {
88 return AddAttachment(attachment, &index);
62 AddAttachment( scoped_refptr<MessageAttachment> attachment, size_t* index) argument
85 AddAttachment( scoped_refptr<MessageAttachment> attachment) argument
H A Dipc_platform_file_attachment_posix.cc32 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 Dipc_message.cc168 scoped_refptr<base::Pickle::Attachment> attachment) {
171 make_scoped_refptr(static_cast<MessageAttachment*>(attachment.get())),
187 scoped_refptr<base::Pickle::Attachment>* attachment) const {
196 *attachment = attachment_set->GetAttachmentAt(index);
198 return nullptr != attachment->get();
167 WriteAttachment( scoped_refptr<base::Pickle::Attachment> attachment) argument
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
H A Dtilemgr.cpp86 HOTTILE* HotTileMgr::GetHotTile(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t macroID, SWR_RENDERTARGET_ATTACHMENT attachment, bool create, uint32_t numSamples,
96 HOTTILE& hotTile = tile.Attachment[attachment];
101 uint32_t size = numSamples * mHotTileSize[attachment];
125 uint32_t size = numSamples * mHotTileSize[attachment];
137 switch (attachment)
149 default: SWR_ASSERT(false, "Unknown attachment: %d", attachment); format = KNOB_COLOR_HOT_TILE_FORMAT; break;
154 if (attachment == SWR_ATTACHMENT_STENCIL)
156 else if (attachment == SWR_ATTACHMENT_DEPTH)
166 pContext->pfnStoreTile(GetPrivateState(pDC), format, attachment,
170 pContext->pfnLoadTile(GetPrivateState(pDC), format, attachment, variable
[all...]
/external/pdfium/fpdfsdk/
H A Dfpdfattachment_embeddertest.cpp23 // Retrieve the first attachment.
24 FPDF_ATTACHMENT attachment = FPDFDoc_GetAttachment(document(), 0); local
25 ASSERT_TRUE(attachment);
27 // Check that the name of the first attachment is correct.
28 unsigned long len = FPDFAttachment_GetName(attachment, nullptr, 0);
30 EXPECT_EQ(12u, FPDFAttachment_GetName(attachment, buf.data(), len));
35 // Check that the content of the first attachment is correct.
36 len = FPDFAttachment_GetFile(attachment, nullptr, 0);
39 ASSERT_EQ(4u, FPDFAttachment_GetFile(attachment, buf.data(), len));
43 EXPECT_FALSE(FPDFAttachment_HasKey(attachment, "non
100 FPDF_ATTACHMENT attachment = local
163 FPDF_ATTACHMENT attachment = local
239 FPDF_ATTACHMENT attachment = FPDFDoc_GetAttachment(document(), 0); local
[all...]
H A Dfpdfattachment.cpp91 // Add the new attachment name and filespec into the document's EmbeddedFiles.
130 FPDFAttachment_GetName(FPDF_ATTACHMENT attachment, argument
133 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment);
142 FPDFAttachment_HasKey(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key) { argument
143 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment);
152 FPDFAttachment_GetValueType(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key) { argument
153 if (!FPDFAttachment_HasKey(attachment, key))
156 CPDF_FileSpec spec(CPDFObjectFromFPDFAttachment(attachment));
162 FPDFAttachment_SetStringValue(FPDF_ATTACHMENT attachment, argument
165 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment);
184 FPDFAttachment_GetStringValue(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key, void* buffer, unsigned long buflen) argument
210 FPDFAttachment_SetFile(FPDF_ATTACHMENT attachment, FPDF_DOCUMENT document, const void* contents, const unsigned long len) argument
259 FPDFAttachment_GetFile(FPDF_ATTACHMENT attachment, void* buffer, unsigned long buflen) argument
[all...]
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/
H A DText_Suite.py18 class attachment(aetools.ComponentItem): class in inherits:aetools.ComponentItem
19 """attachment - Represents an inline text attachment. This class is used mainly for make commands. """
26 """file name - The path to the file for the attachment """
93 attachment._superclassnames = ['text']
94 attachment._privpropdict = {
98 attachment._privelemdict = {
175 'atts' : attachment,
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Terminal/
H A DText_Suite.py18 class attachment(aetools.ComponentItem): class in inherits:aetools.ComponentItem
19 """attachment - Represents an inline text attachment. This class is used mainly for make commands. """
26 """file name - The path to the file for the attachment """
93 attachment._superclassnames = ['text']
94 attachment._privpropdict = {
98 attachment._privelemdict = {
175 'atts' : attachment,
/external/skia/src/gpu/vk/
H A DGrVkRenderPass.cpp18 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...]
/external/skqp/src/gpu/vk/
H A DGrVkRenderPass.cpp18 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...]
/external/deqp/modules/gles2/functional/
H A Des2fFboStateQueryTests.cpp58 void checkAttachmentParam(tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, GLenum pname, GLenum reference) argument
61 gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, &state);
H A Des2fFboApiTest.cpp83 static const char* getAttachmentName (GLenum attachment) argument
85 switch (attachment)
90 default: throw tcu::InternalError("Unknown attachment", "", __FILE__, __LINE__);
128 static void checkFboAttachmentParam (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum attachment, GLenum pname, GLint expectedValue) argument
131 log << TestLog::Message << "// Querying " << getAttachmentName(attachment) << " " << getAttachmentParameterName(pname) << TestLog::EndMessage;
134 ctx.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, pname, &value);
143 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Invalid result for attachment param query");
631 addChild(new FboApiCase(m_context, "attachment_query_tex2d", "Query 2d texture attachment properties", attachmentQueryTex2DTest));
632 addChild(new FboApiCase(m_context, "attachment_query_texcube", "Query cubemap attachment properties", attachmentQueryTexCubeTest));
633 addChild(new FboApiCase(m_context, "attachment_query_rbo", "Query renderbuffer attachment propertie
[all...]
/external/mesa3d/src/gallium/drivers/swr/
H A Dswr_draw.cpp226 * Other renderTargets get stored back when attachment changes or
251 uint32_t attachment,
256 struct SWR_SURFACE_STATE *renderTarget = &pDC->renderTargets[attachment];
266 1 << attachment,
250 swr_store_render_target(struct pipe_context *pipe, uint32_t attachment, enum SWR_TILE_STATE post_tile_state) argument
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
H A DesextcGeometryShaderLayeredRenderingBoundaryCondition.cpp111 * @param attachment Attachment number (written to log on failure)
120 const unsigned char* referencePixel, int attachment,
134 << " attachment=" << attachment << " layer=" << layer << "] "
425 /* Configure read FBO's color attachment */
117 comparePixels(glw::GLint width, glw::GLint height, glw::GLint pixelSize, const unsigned char* textureData, const unsigned char* referencePixel, int attachment, int layer) argument
/external/mesa3d/src/amd/vulkan/
H A Dradv_meta_decompress.c83 VkAttachmentDescription attachment; local
85 attachment.format = VK_FORMAT_UNDEFINED;
86 attachment.samples = 1;
87 attachment.loadOp = VK_ATTACHMENT_LOAD_OP_LOAD;
88 attachment.storeOp = VK_ATTACHMENT_STORE_OP_STORE;
89 attachment.initialLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL;
90 attachment.finalLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL;
96 .pAttachments = &attachment,
105 .attachment = 0,
H A Dradv_meta_fast_clear.c83 VkAttachmentDescription attachment; local
85 attachment.format = VK_FORMAT_UNDEFINED;
86 attachment.samples = 1;
87 attachment.loadOp = VK_ATTACHMENT_LOAD_OP_LOAD;
88 attachment.storeOp = VK_ATTACHMENT_STORE_OP_STORE;
89 attachment.initialLayout = VK_IMAGE_LAYOUT_GENERAL;
90 attachment.finalLayout = VK_IMAGE_LAYOUT_GENERAL;
96 .pAttachments = &attachment,
104 .attachment = 0,
110 .attachment
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_fbo.c243 GLenum attachment, struct gl_renderbuffer *rb)
245 _mesa_FramebufferRenderbuffer_sw(ctx, fb, attachment, rb);
242 nouveau_framebuffer_renderbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, struct gl_renderbuffer *rb) argument
/external/deqp/external/openglcts/modules/gles31/
H A Des31cTextureStorageMultisampleDependenciesTests.cpp241 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not set up zeroth color attachment");
254 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not set up first color attachment");
397 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not set up zeroth color attachment");
402 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not set up first color attachment");
416 /* Detach the first color attachment */
420 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not detach first color attachment from the draw FBO");
439 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not set up first color attachment");
623 /* Set up FBO's zeroth color attachment */
643 /* Detach the first color attachment */
647 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not detach FBO's first color attachment");
1316 glw::GLenum attachment = (is_color_renderable) ? local
1465 glw::GLenum attachment = (is_color_renderable) ? local
1620 glw::GLenum attachment = (is_color_renderable) ? local
1776 glw::GLenum attachment = (is_color_renderable) ? local
[all...]
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayColorDepthAttachments.cpp213 /** Attaches an user-specified texture object to zeroth color attachment OR depth attachment of
224 glw::GLenum attachment = GL_NONE; local
227 /* Determine which attachment should be used */
230 attachment = GL_COLOR_ATTACHMENT0;
234 attachment = GL_DEPTH_ATTACHMENT;
241 /* Update the FBO's attachment */
242 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, attachment, texture_id, 0 /* level */);
246 /** Attaches an user-specified texture object to zeroth color attachment OR depth attachment o
777 glw::GLenum attachment = GL_NONE; local
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fFboApiTests.cpp79 static const char* getAttachmentName (GLenum attachment) argument
81 switch (attachment)
86 default: throw tcu::InternalError("Unknown attachment", "", __FILE__, __LINE__);
124 static void checkFboAttachmentParam (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum attachment, GLenum pname, GLint expectedValue) argument
127 log << TestLog::Message << "// Querying " << getAttachmentName(attachment) << " " << getAttachmentParameterName(pname) << TestLog::EndMessage;
130 ctx.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, pname, &value);
139 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Invalid result for attachment param query");
602 addChild(new FboApiCase(m_context, "attachment_query_tex2d", "Query 2d texture attachment properties", attachmentQueryTex2DTest));
603 addChild(new FboApiCase(m_context, "attachment_query_texcube", "Query cubemap attachment properties", attachmentQueryTexCubeTest));
604 addChild(new FboApiCase(m_context, "attachment_query_rbo", "Query renderbuffer attachment propertie
[all...]
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::__anon5074::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/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_fbo.c714 GLenum attachment, struct gl_renderbuffer *rb)
724 _mesa_FramebufferRenderbuffer_sw(ctx, fb, attachment, rb);
856 "%s: HW doesn't support format %s as output format of attachment %d\n",
712 radeon_framebuffer_renderbuffer(struct gl_context * ctx, struct gl_framebuffer *fb, GLenum attachment, struct gl_renderbuffer *rb) argument
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_fbo.c714 GLenum attachment, struct gl_renderbuffer *rb)
724 _mesa_FramebufferRenderbuffer_sw(ctx, fb, attachment, rb);
856 "%s: HW doesn't support format %s as output format of attachment %d\n",
712 radeon_framebuffer_renderbuffer(struct gl_context * ctx, struct gl_framebuffer *fb, GLenum attachment, struct gl_renderbuffer *rb) argument

Completed in 357 milliseconds

1234