Home
last modified time | relevance | path

Searched refs:GetFormat (Results 1 – 25 of 73) sorted by relevance

123

/external/deqp-deps/amber/src/amberscript/
Dparser_buffer_test.cc70 EXPECT_TRUE(buffer->GetFormat()->IsUint32()); in TEST_F()
71 EXPECT_EQ(Format::Layout::kStd430, buffer->GetFormat()->GetLayout()); in TEST_F()
103 EXPECT_TRUE(buffer->GetFormat()->IsUint32()); in TEST_F()
104 EXPECT_EQ(Format::Layout::kStd140, buffer->GetFormat()->GetLayout()); in TEST_F()
136 EXPECT_TRUE(buffer->GetFormat()->IsFloat32()); in TEST_F()
137 EXPECT_EQ(Format::Layout::kStd430, buffer->GetFormat()->GetLayout()); in TEST_F()
169 EXPECT_TRUE(buffer->GetFormat()->IsFloat32()); in TEST_F()
170 EXPECT_EQ(Format::Layout::kStd140, buffer->GetFormat()->GetLayout()); in TEST_F()
201 EXPECT_TRUE(buffer->GetFormat()->IsUint32()); in TEST_F()
202 EXPECT_EQ(Format::Layout::kStd430, buffer->GetFormat()->GetLayout()); in TEST_F()
[all …]
Dparser_image_test.cc215 EXPECT_TRUE(buffer->GetFormat()->IsUint32()); in TEST_F()
239 EXPECT_TRUE(buffer->GetFormat()->IsUint32()); in TEST_F()
304 EXPECT_TRUE(buffer->GetFormat()->IsUint32()); in TEST_F()
334 EXPECT_TRUE(buffer->GetFormat()->IsFloat32()); in TEST_F()
Dparser_shader_test.cc38 EXPECT_EQ(kShaderFormatSpirvAsm, shader->GetFormat()); in TEST_F()
149 EXPECT_EQ(kShaderFormatGlsl, shader->GetFormat()); in TEST_F()
366 EXPECT_EQ(kShaderFormatGlsl, shader->GetFormat()); in TEST_P()
412 EXPECT_EQ(test_data.format, shader->GetFormat()); in TEST_P()
Dparser_bind_test.cc1400 bufs[0].buffer->GetFormat()->GetFormatType()); in TEST_F()
1438 bufs[0].buffer->GetFormat()->GetFormatType()); in TEST_F()
2967 bufs[i].buffer->GetFormat()->GetFormatType()); in TEST_F()
3006 bufs[i].buffer->GetFormat()->GetFormatType()); in TEST_F()
3047 bufs[i].buffer->GetFormat()->GetFormatType()); in TEST_F()
3268 bufs[0].buffer->GetFormat()->GetFormatType()); in TEST_F()
3305 bufs[0].buffer->GetFormat()->GetFormatType()); in TEST_F()
3311 bufs[1].buffer->GetFormat()->GetFormatType()); in TEST_F()
3406 bufs[0].buffer->GetFormat()->GetFormatType()); in TEST_F()
3443 bufs[0].buffer->GetFormat()->GetFormatType()); in TEST_F()
[all …]
/external/deqp-deps/amber/src/vkscript/
Dparser_test.cc137 bufs[0]->GetFormat()->GetFormatType()); in TEST_F()
152 bufs[1]->GetFormat()->GetFormatType()); in TEST_F()
235 bufs[0]->GetFormat()->GetFormatType()); in TEST_F()
238 bufs[1]->GetFormat()->GetFormatType()); in TEST_F()
257 EXPECT_TRUE(bufs[1]->GetFormat()->IsUint32()); in TEST_F()
342 EXPECT_EQ(FormatType::kR32G32_SFLOAT, bufs[1]->GetFormat()->GetFormatType()); in TEST_F()
347 bufs[2]->GetFormat()->GetFormatType()); in TEST_F()
371 EXPECT_EQ(FormatType::kR32G32_SFLOAT, bufs[1]->GetFormat()->GetFormatType()); in TEST_F()
373 auto& segs1 = bufs[1]->GetFormat()->GetSegments(); in TEST_F()
380 EXPECT_EQ(FormatType::kR32G32B32_SINT, bufs[2]->GetFormat()->GetFormatType()); in TEST_F()
[all …]
Dcommand_parser.cc599 if (buf->FormatIsDefault() || !buf->GetFormat()) { in ProcessSSBO()
603 } else if (!buf->GetFormat()->Equal(fmt.get())) { in ProcessSSBO()
616 if ((token->AsUint32() % buf->GetFormat()->SizeInBytes()) != 0) { in ProcessSSBO()
619 std::to_string(buf->GetFormat()->SizeInBytes())); in ProcessSSBO()
625 Result r = ParseValues("ssbo", buf->GetFormat(), &values); in ProcessSSBO()
646 if (!buf->GetFormat()) { in ProcessSSBO()
762 if (buf->FormatIsDefault() || !buf->GetFormat()) { in ProcessUniform()
766 } else if (!buf->GetFormat()->Equal(fmt.get())) { in ProcessUniform()
780 auto buf_size = static_cast<int32_t>(buf->GetFormat()->SizeInBytes()); in ProcessUniform()
787 Result r = ParseValues("uniform", buf->GetFormat(), &values); in ProcessUniform()
[all …]
/external/deqp-deps/amber/src/vulkan/
Dindex_buffer.cc39 if (buffer->GetFormat()->IsUint32()) in SendIndexData()
41 else if (buffer->GetFormat()->IsUint16()) in SendIndexData()
43 else if (buffer->GetFormat()->IsUint8()) in SendIndexData()
Dpush_constant.cc125 if (!buffer_->GetFormat()) { in UpdateMemoryWithInput()
126 buffer_->SetFormat(input.buffer->GetFormat()); in UpdateMemoryWithInput()
127 } else if (!buffer_->GetFormat()->Equal(input.buffer->GetFormat())) { in UpdateMemoryWithInput()
Dframe_buffer.cc71 device_, *info->buffer->GetFormat(), VK_IMAGE_ASPECT_COLOR_BIT, in Initialize()
85 depth_stencil_attachment_.buffer->GetFormat()->IsFormatKnown()) { in Initialize()
87 if (depth_stencil_attachment_.buffer->GetFormat()->HasDepthComponent()) in Initialize()
89 if (depth_stencil_attachment_.buffer->GetFormat()->HasStencilComponent()) in Initialize()
98 device_, *depth_stencil_attachment_.buffer->GetFormat(), aspect, in Initialize()
113 device_, *info->buffer->GetFormat(), VK_IMAGE_ASPECT_COLOR_BIT, in Initialize()
Dgraphics_pipeline.cc427 device_->GetVkFormat(*info->buffer->GetFormat()); in CreateRenderPass()
444 depth_stencil_buffer_.buffer->GetFormat()->IsFormatKnown()) { in CreateRenderPass()
447 device_->GetVkFormat(*depth_stencil_buffer_.buffer->GetFormat()); in CreateRenderPass()
462 device_->GetVkFormat(*info->buffer->GetFormat()); in CreateRenderPass()
700 depth_stencil_buffer_.buffer->GetFormat()->IsFormatKnown()) { in CreateVkGraphicsPipeline()
794 !depth_stencil_buffer_.buffer->GetFormat()->IsFormatKnown()) { in SetClearStencil()
806 !depth_stencil_buffer_.buffer->GetFormat()->IsFormatKnown()) { in SetClearDepth()
843 depth_stencil_buffer_.buffer->GetFormat()->IsFormatKnown()) { in Clear()
848 if (depth_stencil_buffer_.buffer->GetFormat()->HasStencilComponent()) in Clear()
Dengine_vulkan.cc149 auto fmt = colour_info.buffer->GetFormat(); in CreatePipeline()
157 auto fmt = depth_stencil_info.buffer->GetFormat(); in CreatePipeline()
208 auto fmt = vtex_info.buffer->GetFormat(); in CreatePipeline()
512 vertex_buffer->SetData(0, buf.get(), InputRate::kVertex, buf->GetFormat(), 0, in DoDrawRect()
513 buf->GetFormat()->SizeInBytes()); in DoDrawRect()
600 vertex_buffer->SetData(0, buf.get(), InputRate::kVertex, buf->GetFormat(), 0, in DoDrawGrid()
601 buf->GetFormat()->SizeInBytes()); in DoDrawGrid()
Dbuffer_backed_descriptor.cc84 buffer->SetElementCount(size_in_bytes / buffer->GetFormat()->SizeInBytes()); in MoveTransferResourceToBufferOutput()
/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp75 if (!Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat())) in Copy()
128 switch (GetFormat()) { in Clear()
169 FXDIB_Format::kRgb32 == GetFormat()) { in Clear()
201 FXDIB_Format dest_format = GetFormat(); in TransferBitmap()
202 FXDIB_Format src_format = pSrcBitmap->GetFormat(); in TransferBitmap()
302 const int srcOffset = pSrcBitmap->GetFormat() == FXDIB_Format::kArgb ? 3 : 0; in SetChannelFromBitmap()
380 const int destOffset = GetFormat() == FXDIB_Format::kArgb ? 3 : 0; in SetUniformOpaqueAlpha()
433 DCHECK_EQ(GetFormat(), FXDIB_Format::kArgb); in MultiplyAlpha()
452 switch (GetFormat()) { in MultiplyAlpha()
501 switch (GetFormat()) { in GetPixel()
[all …]
Dcfx_imagestretcher.cpp27 FXDIB_Format format = src.GetFormat(); in GetStretchedFormat()
47 DCHECK_EQ(FXDIB_Format::k1bppRgb, source->GetFormat()); in BuildPaletteFrom1BppSource()
97 if (m_pSource->GetFormat() == FXDIB_Format::k1bppRgb && in Start()
Dcfx_dibextractor.cpp18 if (!m_pBitmap->Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat(), in CFX_DIBExtractor()
/external/deqp-deps/amber/src/
Dshader_compiler.cc76 if (shader->GetFormat() == kShaderFormatOpenCLC) { in Compile()
122 if (shader->GetFormat() == kShaderFormatSpirvHex) { in Compile()
128 } else if (shader->GetFormat() == kShaderFormatGlsl) { in Compile()
135 } else if (shader->GetFormat() == kShaderFormatHlsl) { in Compile()
142 } else if (shader->GetFormat() == kShaderFormatSpirvAsm) { in Compile()
150 } else if (shader->GetFormat() == kShaderFormatOpenCLC) { in Compile()
Dscript.cc36 ShaderInfo{shader->GetFormat(), shader->GetType(), in GetShaderInfo()
46 ret.emplace_back(ShaderInfo{shader->GetFormat(), in GetShaderInfo()
Dshader.h40 ShaderFormat GetFormat() const { return shader_format_; } in GetFormat() function
/external/webrtc/modules/audio_coding/neteq/
Dtimestamp_scaler.cc48 if (info->GetFormat().clockrate_hz == 0) { in ToInternal()
53 denominator_ = info->GetFormat().clockrate_hz; in ToInternal()
/external/angle/src/libANGLE/renderer/
Ddxgi_format_map.h23 const angle::Format &GetFormat(DXGI_FORMAT dxgiFormat);
/external/pdfium/core/fxcodec/
Dprogressive_decoder.cpp225 FXDIB_Format format = m_pDeviceBitmap->GetFormat(); in PngReadHeader()
268 switch (pDIBitmap->GetFormat()) { in PngAskScanlineBuf()
587 switch (pDeviceBitmap->GetFormat()) { in ResampleVertBT()
726 GetTransMethod(m_pDeviceBitmap->GetFormat(), m_SrcFormat); in BmpStartDecode()
796 GetTransMethod(m_pDeviceBitmap->GetFormat(), m_SrcFormat); in GifStartDecode()
862 switch (pDeviceBitmap->GetFormat()) { in GifDoubleLineResampleVert()
1070 switch (pDeviceBitmap->GetFormat()) { in PngOneOneMapResampleHorz()
1172 switch (m_pDeviceBitmap->GetFormat()) { in PngStartDecode()
1194 GetTransMethod(m_pDeviceBitmap->GetFormat(), m_SrcFormat); in PngStartDecode()
1306 switch (m_pDeviceBitmap->GetFormat()) { in TiffContinueDecode()
[all …]
/external/skia/src/gpu/graphite/dawn/
DDawnTypesPriv.cpp20 fFormat = texture.GetFormat(); in DawnTextureInfo()
/external/vulkan-validation-layers/tests/
Dvktestframeworkandroid.h45 VkFormat GetFormat(VkInstance instance, vk_testing::Device *device);
Dvktestframework.h62 VkFormat GetFormat(VkInstance instance, vk_testing::Device *device);
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp100 DCHECK_EQ(pBitmap->GetFormat(), FXDIB_Format::kArgb); in DrawAxialShading()
167 DCHECK_EQ(pBitmap->GetFormat(), FXDIB_Format::kArgb); in DrawRadialShading()
263 DCHECK_EQ(pBitmap->GetFormat(), FXDIB_Format::kArgb); in DrawFuncShading()
424 DCHECK_EQ(pBitmap->GetFormat(), FXDIB_Format::kArgb); in DrawFreeGouraudShading()
463 DCHECK_EQ(pBitmap->GetFormat(), FXDIB_Format::kArgb); in DrawLatticeGouraudShading()
785 DCHECK_EQ(pBitmap->GetFormat(), FXDIB_Format::kArgb); in DrawCoonPatchMeshes()

123