Searched defs:colorFormat (Results 1 - 25 of 52) sorted by relevance

123

/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicClass.cpp74 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
79 makeImageCreateInfo(resolution, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_BUFFER_USAGE_TRANSFER_SRC_BIT),
82 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat));
86 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubRange));
108 const VkDeviceSize colorBufferSizeBytes = resolution.x()*resolution.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
196 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr());
/external/deqp/framework/opengl/
H A DgluFboRenderContext.cpp64 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat) argument
66 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat));
215 const deUint32 colorFormat = chooseColorFormat(config); local
226 if (colorFormat == 0)
239 pixelFormat = getPixelFormat(colorFormat);
245 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height);
247 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height);
/external/deqp/modules/gles3/functional/
H A Des3fFboStencilbufferTests.cpp68 const deUint32 colorFormat = GL_RGBA8; local
82 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_size.x(), m_size.y());
132 readPixels(dst, 0, 0, m_size.x(), m_size.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
157 const deUint32 colorFormat = GL_RGBA8; local
176 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height);
229 readPixels(dst, 0, 0, width, height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
H A Des3fFboDepthbufferTests.cpp68 const deUint32 colorFormat = GL_RGBA8; local
89 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height);
132 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
160 const deUint32 colorFormat = GL_RGBA8; local
179 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height);
218 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
246 const deUint32 colorFormat = GL_RGBA8; local
265 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height);
298 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
H A Des3fFboMultisampleTests.cpp58 BasicFboMultisampleCase (Context& context, const char* name, const char* desc, deUint32 colorFormat, deUint32 depthStencilFormat, const IVec2& size, int numSamples) argument
60 , m_colorFormat (colorFormat)
H A Des3fFboStateQueryTests.cpp537 const GLenum colorFormat = requiredColorformats[ndx].internalFormat; local
542 glTexStorage2D(GL_TEXTURE_2D, 1, colorFormat, 128, 128);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineReferenceRenderer.cpp166 const tcu::TextureFormat& colorFormat,
172 , m_colorFormat (colorFormat)
176 const tcu::TextureChannelClass formatClass = tcu::getTextureChannelClass(colorFormat.type);
163 ReferenceRenderer(int surfaceWidth, int surfaceHeight, int numSamples, const tcu::TextureFormat& colorFormat, const tcu::TextureFormat& depthStencilFormat, const rr::Program* const program) argument
H A DvktPipelineReferenceRenderer.hpp122 ColorFragmentShader (const tcu::TextureFormat& colorFormat, argument
125 , m_colorFormat (colorFormat)
229 const tcu::TextureFormat& colorFormat,
H A DvktPipelineSpecConstantUtil.cpp273 const VkFormat colorFormat)
278 colorFormat, // VkFormat format;
271 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat) argument
H A DvktPipelineMultisampleImageTests.cpp68 VkFormat colorFormat; member in struct:vkt::pipeline::__anon4389::CaseDef
320 const VkFormat colorFormat,
327 colorFormat, // VkFormat format;
387 const VkFormat colorFormat)
392 colorFormat, // VkFormat format;
718 const int numComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order);
719 const bool isUint = isUintFormat(caseDef.colorFormat);
720 const bool isSint = isIntFormat(caseDef.colorFormat);
746 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint);
752 << "layout(location = 0) out " << colorFormat << " o_colo
318 makeMultisampleRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const VkSampleCountFlagBits numSamples, const deUint32 numLayers) argument
385 makeSimpleRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationGeometryPointSizeTests.cpp316 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
319 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
324 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
329 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
330 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
415 tcu::ConstPixelBufferAccess image(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr());
H A DvktTessellationMiscDrawTests.cpp162 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
165 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
170 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
198 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
199 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat));
304 const tcu::ConstPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr());
H A DvktTessellationCommonEdgeTests.cpp351 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
354 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
359 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
364 const Unique<VkImageView> colorAttachmentView (makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
365 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
453 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr());
H A DvktTessellationGeometryGridRenderTests.cpp541 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
543 const VkImageCreateInfo colorImageCreateInfo = makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, m_params.numLayers);
549 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * m_params.numLayers * tcu::getPixelSize(mapVkFormat(colorFormat));
554 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, colorAttachmentViewType, colorFormat, colorImageAllLayersRange));
555 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
630 const tcu::ConstPixelBufferAccess imageAllLayers(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), m_params.numLayers, alloc.getHostPtr());
H A DvktTessellationGeometryPassthroughTests.cpp351 const VkFormat colorFormat,
357 return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr());
472 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
475 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
481 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
488 const Unique<VkImageView> colorAttachmentView(makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
489 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat));
599 tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat, colorBufferSizeBytes, renderSize);
600 tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat, colorBufferSizeBytes, renderSize);
348 getPixelBufferAccess(const DeviceInterface& vk, const VkDevice device, const Buffer& colorBuffer, const VkFormat colorFormat, const VkDeviceSize colorBufferSizeBytes, const tcu::IVec2& renderSize) argument
H A DvktTessellationWindingTests.cpp419 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
422 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
427 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
432 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
433 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
570 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr());
/external/deqp/external/vulkancts/modules/vulkan/
H A DvktDrawUtil.hpp46 vk::VkFormat colorFormat; member in struct:vkt::drawutil::DrawState
/external/skia/src/gpu/vk/
H A DGrVkRenderTarget.cpp240 VkFormat colorFormat; local
241 GrPixelConfigToVkFormat(this->config(), &colorFormat);
242 desc->fColor.fFormat = colorFormat;
/external/skqp/src/gpu/vk/
H A DGrVkRenderTarget.cpp240 VkFormat colorFormat; local
241 GrPixelConfigToVkFormat(this->config(), &colorFormat);
242 desc->fColor.fFormat = colorFormat;
/external/deqp/external/vulkancts/modules/vulkan/api/
H A DvktApiSmokeTests.cpp338 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
903 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat);
950 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
1520 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat);
H A DvktApiGetMemoryCommitment.cpp721 const VkFormat colorFormat = VK_FORMAT_R32_UINT; local
726 const VkDeviceSize pixelDataSize = m_renderSize.x() * m_renderSize.y() * mapVkFormat(colorFormat).getPixelSize();
/external/deqp/external/vulkancts/modules/vulkan/multiview/
H A DvktMultiViewRenderUtil.cpp189 const VkFormat colorFormat,
196 colorFormat, // VkFormat format;
279 const VkFormat colorFormat,
287 colorFormat, // VkFormat format;
300 colorFormat, // VkFormat format;
187 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const vector<deUint32>& viewMasks) argument
277 makeRenderPassWithAttachments(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const vector<deUint32>& viewMasks) argument
/external/swiftshader/src/OpenGL/libGL/
H A Dutilities.cpp731 unsigned int GetAlphaSize(sw::Format colorFormat) argument
733 switch(colorFormat)
753 unsigned int GetRedSize(sw::Format colorFormat) argument
755 switch(colorFormat)
774 unsigned int GetGreenSize(sw::Format colorFormat) argument
776 switch(colorFormat)
796 unsigned int GetBlueSize(sw::Format colorFormat) argument
798 switch(colorFormat)
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
H A DMediaCodecVideoEncoder.java124 private int colorFormat; // Used by native code. field in class:MediaCodecVideoEncoder
143 public EncoderProperties(String codecName, int colorFormat) { argument
145 this.colorFormat = colorFormat;
148 public final int colorFormat; // Color format supported by codec. field in class:MediaCodecVideoEncoder.EncoderProperties
198 for (int colorFormat : capabilities.colorFormats) {
199 Logging.v(TAG, " Color: 0x" + Integer.toHexString(colorFormat));
307 colorFormat = properties.colorFormat;
308 Logging.d(TAG, "Color format: " + colorFormat);
[all...]
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp97 const VkFormat colorFormat)
102 colorFormat, // VkFormat format;
554 const VkFormat colorFormat,
558 , m_colorFormat (colorFormat)
725 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
730 const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
744 const ScissorRenderer renderer (context, renderSize, numViewports, scissors, colorFormat, clearColor, vertexColors);
752 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr());
753 const tcu::TextureLevel referenceImage = generateReferenceImage(mapVkFormat(colorFormat), renderSize, clearColor, scissors, vertexColors);
95 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat) argument
550 ScissorRenderer(Context& context, const IVec2& renderSize, const int numViewports, const std::vector<IVec4>& scissors, const VkFormat colorFormat, const Vec4& clearColor, const std::vector<Vec4>& vertices) argument

Completed in 371 milliseconds

123