Home
last modified time | relevance | path

Searched refs:getFormat (Results 1 - 25 of 351) sorted by relevance

12345678910>>...15

/third_party/vk-gl-cts/framework/opengl/
H A DgluPixelTransfer.cpp54 TCU_CHECK_INTERNAL(dst.getRowPitch() == dst.getFormat().getPixelSize()*dst.getWidth()); in readPixels()
58 TransferFormat format = getTransferFormat(dst.getFormat()); in readPixels()
60 gl.pixelStorei(GL_PACK_ALIGNMENT, getTransferAlignment(dst.getFormat())); in readPixels()
73 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage2D()
77 TransferFormat format = getTransferFormat(src.getFormat()); in texImage2D()
79 gl.pixelStorei(GL_UNPACK_ALIGNMENT, getTransferAlignment(src.getFormat())); in texImage2D()
91 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage3D()
97 TransferFormat format = getTransferFormat(src.getFormat()); in texImage3D()
99 gl.pixelStorei(GL_UNPACK_ALIGNMENT, getTransferAlignment(src.getFormat())); in texImage3D()
112 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat() in texSubImage2D()
[all...]
H A DgluTexture.cpp86 gl.pixelStorei(GL_UNPACK_ALIGNMENT, computePixelStore(m_refTexture.getFormat())); in upload()
89 TransferFormat transferFormat = getTransferFormat(m_refTexture.getFormat()); in upload()
132 , m_format (getGLFormat(levels[0].getFormat())) in Texture2D()
133 , m_refTexture (getUncompressedFormat(levels[0].getFormat()), levels[0].getWidth(), levels[0].getHeight(), isES2Context(context.getType())) in Texture2D()
169 gl.pixelStorei(GL_UNPACK_ALIGNMENT, computePixelStore(m_refTexture.getFormat())); in upload()
172 TransferFormat transferFormat = getTransferFormat(m_refTexture.getFormat()); in upload()
180 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
190 deUint32 compressedFormat = getGLFormat(levels[0].getFormat()); in loadCompressed()
229 TCU_CHECK_INTERNAL(level.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) || in create()
230 level.getFormat() in create()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DRenderbuffer.cpp44 return GetRedSize(getFormat()); in getRedSize()
49 return GetGreenSize(getFormat()); in getGreenSize()
54 return GetBlueSize(getFormat()); in getBlueSize()
59 return GetAlphaSize(getFormat()); in getAlphaSize()
64 return GetDepthSize(getFormat()); in getDepthSize()
69 return GetStencilSize(getFormat()); in getStencilSize()
125 GLint RenderbufferTexture2D::getFormat() const in getFormat() function in es2::RenderbufferTexture2D
127 return mTexture2D->getFormat(GL_TEXTURE_2D, mLevel); in getFormat()
188 GLint RenderbufferTexture2DRect::getFormat() const in getFormat() function in es2::RenderbufferTexture2DRect
190 return mTexture2DRect->getFormat(GL_TEXTURE_RECTANGLE_AR in getFormat()
256 GLint RenderbufferTexture3D::getFormat() const getFormat() function in es2::RenderbufferTexture3D
319 GLint RenderbufferTextureCubeMap::getFormat() const getFormat() function in es2::RenderbufferTextureCubeMap
397 GLint Renderbuffer::getFormat() const getFormat() function in es2::Renderbuffer
472 GLint RenderbufferStorage::getFormat() const getFormat() function in es2::RenderbufferStorage
[all...]
H A DFramebuffer.cpp350 if(!IsColorRenderable(colorbuffer->getFormat())) in completeness()
357 GLint format = colorbuffer->getFormat(); in completeness()
413 if(!es2::IsDepthRenderable(depthbuffer->getFormat())) in completeness()
420 if(!es2::IsDepthTexture(depthbuffer->getFormat())) in completeness()
465 if(!es2::IsStencilRenderable(stencilbuffer->getFormat())) in completeness()
472 GLenum internalformat = stencilbuffer->getFormat(); in completeness()
528 switch(colorbuffer->getFormat()) in getImplementationColorReadFormat()
576 UNREACHABLE(colorbuffer->getFormat()); in getImplementationColorReadFormat()
589 switch(colorbuffer->getFormat()) in getImplementationColorReadType()
637 UNREACHABLE(colorbuffer->getFormat()); in getImplementationColorReadType()
[all...]
H A DRenderbuffer.h57 virtual GLint getFormat() const = 0;
87 GLint getFormat() const override;
113 GLint getFormat() const override;
138 GLint getFormat() const override;
165 GLint getFormat() const override;
192 GLint getFormat() const override;
227 GLint getFormat() const;
H A DTexture.cpp510 GLint Texture2D::getFormat(GLenum target, GLint level) const in getFormat() function in es2::Texture2D
513 return image[level] ? image[level]->getFormat() : GL_NONE; in getFormat()
765 if(image[level]->getFormat() != image[mBaseLevel]->getFormat()) in isMipmapComplete()
788 return IsCompressed(getFormat(target, level)); in isCompressed()
793 return IsDepthTexture(getFormat(target, level)); in isDepth()
819 image[i] = egl::Image::create(this, std::max(image[mBaseLevel]->getWidth() >> i, 1), std::max(image[mBaseLevel]->getHeight() >> i, 1), image[mBaseLevel]->getFormat()); in generateMipmaps()
1010 GLint TextureCubeMap::getFormat(GLenum target, GLint level) const in getFormat() function in TextureCubeMap
1013 return image[face][level] ? image[face][level]->getFormat() : 0; in getFormat()
1157 image[face][mBaseLevel]->getFormat() ! in isCubeComplete()
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuImageCompare.cpp232 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in fuzzyCompare()
246 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in fuzzyCompare()
286 TCU_CHECK_INTERNAL(reference.getFormat() == result.getFormat()); result.getPixelPitch(); in bitwiseCompare()
313 const auto refChannelClass = tcu::getTextureChannelClass(reference.getFormat().type); in bitwiseCompare()
314 const auto resChannelClass = tcu::getTextureChannelClass(result.getFormat().type); in bitwiseCompare()
316 const bool refIsUint8 = (reference.getFormat().type == TextureFormat::UNSIGNED_INT8); in bitwiseCompare()
317 const bool resIsUint8 = (result.getFormat().type == TextureFormat::UNSIGNED_INT8); in bitwiseCompare()
341 if (result.getFormat() ! in bitwiseCompare()
[all...]
H A DtcuTextureUtil.cpp272 return ConstPixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitch(),
299 return PixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitch(),
342 return PixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDataPtr() + offsetToLast);
356 return ConstPixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDataPtr() + offsetToLast);
756 const int pixelSize = access.getFormat().getPixelSize();
770 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0);
787 const int pixelSize = access.getFormat().getPixelSize();
801 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0);
823 DE_ASSERT(access.getFormat().order == TextureFormat::DS || access.getFormat()
[all...]
H A DtcuTestLog.cpp68 if (tcu::isCombinedDepthStencilType(m_access.getFormat().type)) in LogImage()
70 if (m_access.getFormat().order == tcu::TextureFormat::D) in LogImage()
72 else if (m_access.getFormat().order == tcu::TextureFormat::S) in LogImage()
77 if (m_access.getFormat().order != tcu::TextureFormat::DS) in LogImage()
106 DE_ASSERT(access.getFormat().order != tcu::TextureFormat::DS); in LogImage()
109 if (tcu::isCombinedDepthStencilType(access.getFormat().type)) in LogImage()
111 if (access.getFormat().order == tcu::TextureFormat::D) in LogImage()
113 if (access.getFormat().order == tcu::TextureFormat::S) in LogImage()
126 if (m_access.getFormat().order != tcu::TextureFormat::DS) in write()
252 const TextureFormat& format = access.getFormat(); in writeImage()
[all...]
H A DtcuBilinearImageCompare.cpp193 DE_ASSERT(reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) &&
194 result.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8));
224 reference.getFormat() == result.getFormat());
229 if (reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8))
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
H A DElapsedTimer.java42 return diffTime(getFormat(), start, end); in elapsedTime()
46 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime()
95 private static NumberFormat getFormat() { in getFormat() method in ElapsedTimer
105 fmt = getFormat(); in diffTime()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
H A DElapsedTimer.java39 return diffTime(getFormat(), start, end); in elapsedTime()
43 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime()
92 private static NumberFormat getFormat() { in getFormat() method in ElapsedTimer
102 fmt = getFormat(); in diffTime()
/third_party/skia/third_party/externals/oboe/tests/
H A DtestStreamOpen.cpp243 ASSERT_EQ(mStream->getFormat(), AudioFormat::I16); in TEST_F()
254 ASSERT_EQ(mStream->getFormat(), AudioFormat::Float); in TEST_F()
276 ASSERT_EQ(mStream->getFormat(), AudioFormat::Float); in TEST_F()
286 ASSERT_EQ(mStream->getFormat(), AudioFormat::I16); in TEST_F()
296 ASSERT_EQ(mStream->getFormat(), AudioFormat::I16); in TEST_F()
307 ASSERT_EQ(mStream->getFormat(), AudioFormat::Float); in TEST_F()
329 ASSERT_EQ(mStream->getFormat(), AudioFormat::Float); in TEST_F()
338 ASSERT_EQ(mStream->getFormat(), AudioFormat::I16); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DFramebufferAttachment.cpp145 return getSize().empty() ? 0 : getFormat().info->redBits; in getRedSize()
150 return getSize().empty() ? 0 : getFormat().info->greenBits; in getGreenSize()
155 return getSize().empty() ? 0 : getFormat().info->blueBits; in getBlueSize()
160 return getSize().empty() ? 0 : getFormat().info->alphaBits; in getAlphaSize()
165 return getSize().empty() ? 0 : getFormat().info->depthBits; in getDepthSize()
170 return getSize().empty() ? 0 : getFormat().info->stencilBits; in getStencilSize()
175 return getFormat().info->componentType; in getComponentType()
180 return getFormat().info->colorEncoding; in getColorEncoding()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DOboeAudioStream.java62 requestedConfiguration.getFormat(), in open()
91 actualConfiguration.setFormat(getFormat()); in open()
178 public int getFormat() { in getFormat() method in OboeAudioStream
179 return getFormat(streamIndex); in getFormat()
181 public native int getFormat(int streamIndex); in getFormat() method in OboeAudioStream
/third_party/skia/third_party/externals/oboe/src/common/
H A DAudioStreamBuilder.cpp84 && (getFormat() == (AudioFormat)oboe::Unspecified || getFormat() == other.getFormat()) in isCompatible()
125 if (getFormat() == oboe::AudioFormat::Unspecified) { in openStream()
126 parentBuilder.setFormat(tempStream->getFormat()); in openStream()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fCopyImageTests.cpp350 deUint32 getFormat (void) const { return m_format; } in getFormat() function in deqp::gles31::Functional::__anon30812::ImageInfo
372 builder << info.getFormat() << info.getTarget() << info.getSize(); in operator <<()
822 const int texelBlockSize = getTexelBlockSize(info.getFormat());
823 const IVec3 texelBlockPixelSize = getTexelBlockPixelSize(info.getFormat());
850 genericTexImage(gl, info.getTarget(), faceNdx, levelNdx, levelPixelSize, info.getFormat(), levelSize, level.getElementPtr(faceNdx * levelSize));
876 const tcu::TextureFormat format = glu::mapGLInternalFormat(info.getFormat());
881 DE_ASSERT(!glu::isCompressedFormat(info.getFormat()));
890 gl.renderbufferStorage(GL_RENDERBUFFER, info.getFormat(), info.getSize().x(), info.getSize().y());
900 if (isFixedPointFormat(info.getFormat()))
919 if (isIntFormat(info.getFormat()))
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageUtil.cpp286 tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize(), bufferAlloc->getHostPtr()));
786 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getSize()
794 textureSize += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getSize()
810 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getCompressedSize()
850 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getBufferCopyRegions()
857 tcu::IVec3 blockPixelSize = getBlockPixelSize(level.getFormat()); in getBufferCopyRegions()
898 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getBufferCopyRegions()
931 layerDataOffset += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getBufferCopyRegions()
948 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in write()
965 offsetMultiples.push_back(getLevel(0, 0).getFormat() in write()
[all...]
H A DvktPipelineImageUtil.hpp218 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
240 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
262 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
284 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
305 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
327 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
349 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImageUtil.cpp276 tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize(), bufferAlloc->getHostPtr()));
776 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getSize()
784 textureSize += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getSize()
800 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getCompressedSize()
840 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getBufferCopyRegions()
847 tcu::IVec3 blockPixelSize = getBlockPixelSize(level.getFormat()); in getBufferCopyRegions()
888 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getBufferCopyRegions()
921 layerDataOffset += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getBufferCopyRegions()
938 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in write()
955 offsetMultiples.push_back(getLevel(0, 0).getFormat() in write()
[all...]
H A DvktPipelineImageUtil.hpp218 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
240 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
262 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
284 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
305 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
327 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
349 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
H A DMCWasmObjectWriter.h31 virtual Triple::ObjectFormatType getFormat() const { return Triple::Wasm; } in getFormat() function in llvm::MCWasmObjectTargetWriter
33 return W->getFormat() == Triple::Wasm; in classof()
H A DMCXCOFFObjectWriter.h25 Triple::ObjectFormatType getFormat() const override { return Triple::XCOFF; }
27 return W->getFormat() == Triple::XCOFF; in classof()
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
H A DDuplexEngine.cpp27 if (inStream->getFormat() == oboe::AudioFormat::Float) { in beginStreams()
30 } else if (inStream->getFormat() == oboe::AudioFormat::I16) { in beginStreams()
69 ->setFormat(inStream->getFormat()) in openOutStream()
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrMultisamplePixelBufferAccess.cpp44 return tcu::PixelBufferAccess(m_access.getFormat(), in toSinglesampleAccess()
54 original.getFormat(), in fromSinglesampleAccess()
84 return tcu::ConstPixelBufferAccess(m_access.getFormat(), in toSinglesampleAccess()
94 original.getFormat(), in fromSinglesampleAccess()
194 switch (src.raw().getFormat().order) in resolveMultisampleBuffer()

Completed in 35 milliseconds

12345678910>>...15