Home
last modified time | relevance | path

Searched refs:textureData (Results 1 – 25 of 28) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/
DProjection.java97 float[] textureData = new float[vertexCount * TEXTURE_COORDS_PER_VERTEX]; in createEquirectangular() local
121 textureData[tOffset++] = i * quadWidthRads / horizontalFovRads; in createEquirectangular()
122 textureData[tOffset++] = (j + k) * quadHeightRads / verticalFovRads; in createEquirectangular()
134 textureData, in createEquirectangular()
136 textureData, in createEquirectangular()
147 new SubMesh(SubMesh.VIDEO_TEXTURE_ID, vertexData, textureData, DRAW_MODE_TRIANGLES_STRIP); in createEquirectangular()
/external/angle/src/tests/test_utils/
DMultiviewTest.cpp71 std::vector<GLubyte> textureData; in CreateMultiviewBackingTextures() local
72 textureData.resize(viewWidth * height * numLayers * 4, 0u); in CreateMultiviewBackingTextures()
103 GL_UNSIGNED_BYTE, textureData.data()); in CreateMultiviewBackingTextures()
130 GL_DEPTH_COMPONENT, GL_FLOAT, textureData.data()); in CreateMultiviewBackingTextures()
155 GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, textureData.data()); in CreateMultiviewBackingTextures()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp971 const TextureData& textureData, in uploadImage() argument
996 for (TextureData::const_iterator mit = textureData.begin(); mit != textureData.end(); ++mit) in uploadImage()
1031 for (size_t levelNdx = 0; levelNdx < textureData.size(); levelNdx++) in uploadImage()
1033 const TextureLayerData& layerData = textureData[levelNdx]; in uploadImage()
1233 const TextureData& textureData, in uploadSparseImage() argument
1267 for (TextureData::const_iterator mit = textureData.begin(); mit != textureData.end(); ++mit) in uploadSparseImage()
1303 for (size_t levelNdx = 0; levelNdx < textureData.size(); levelNdx++) in uploadSparseImage()
1305 const TextureLayerData& layerData = textureData[levelNdx]; in uploadSparseImage()
1356 TextureData textureData; in useSampler() local
1367 textureData.resize(mipLevels); in useSampler()
[all …]
DvktShaderRender.hpp559 const TextureData& textureData,
573 const TextureData& textureData,
586 const TextureData& textureData,
/external/angle/src/tests/perf_tests/
DFramebufferAttachmentPerfTest.cpp92 std::vector<GLubyte> textureData(kTextureSize * kTextureSize * 4); in initTextures() local
93 for (auto &byte : textureData) in initTextures()
102 GL_UNSIGNED_BYTE, textureData.data()); in initTextures()
DTexturesPerf.cpp176 std::vector<GLubyte> textureData(textureSize * textureSize * 4); in initTextures() local
177 for (auto &byte : textureData) in initTextures()
193 GL_RGBA, GL_UNSIGNED_BYTE, textureData.data()); in initTextures()
DClearPerf.cpp132 std::vector<float> textureData(params.textureSize * params.textureSize * 4, 0.5); in drawBenchmark() local
/external/angle/src/tests/gl_tests/
DCopyTexImageTest.cpp581 const GLColor *textureData);
585 const GLColor *textureData);
589 const GLColor *textureData);
829 const GLColor *textureData) in initialize3DTexture() argument
833 GL_UNSIGNED_BYTE, textureData); in initialize3DTexture()
844 const GLColor *textureData) in initialize2DTexture() argument
848 textureData); in initialize2DTexture()
856 const GLColor *textureData) in initialize2DTextureUShort4444() argument
860 GL_UNSIGNED_SHORT_4_4_4_4, textureData); in initialize2DTextureUShort4444()
921 std::vector<GLColor> textureData(kImageWidth * kImageHeight * kImageDepth);
[all …]
DWebGLCompatibilityTest.cpp77 const T textureData[4], in TestFloatTextureFormat()
137 glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, 1, 1, 0, format, type, textureData); in TestFloatTextureFormat()
150 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, format, type, textureData); in TestFloatTextureFormat()
3049 constexpr float textureData[] = {15.1f, 0.0f, 0.0f, 0.0f}; in TEST_P() local
3050 constexpr float readPixelData[] = {textureData[0], textureData[0], textureData[0], 1.0f}; in TEST_P()
3066 textureData, readPixelData); in TEST_P()
3077 render, textureData, readPixelData); in TEST_P()
3084 constexpr float textureData[] = {33.33f, 0.0f, 0.0f, 0.0f}; in TEST_P() local
3085 constexpr float readPixelData[] = {0.0f, 0.0f, 0.0f, textureData[0]}; in TEST_P()
3101 textureData, readPixelData); in TEST_P()
[all …]
DIncompleteTextureTest.cpp121 std::vector<GLColor> textureData(kTextureSize * kTextureSize, GLColor::red); in TEST_P() local
125 GL_UNSIGNED_BYTE, textureData.data()); in TEST_P()
141 GL_UNSIGNED_BYTE, textureData.data()); in TEST_P()
DReadPixelsTest.cpp826 std::vector<GLuint> textureData(layers * layerSize); in initializeTextureData() local
832 std::fill(textureData.begin() + offset, textureData.begin() + offset + layerSize, in initializeTextureData()
837 GL_UNSIGNED_BYTE, textureData.data()); in initializeTextureData()
/external/skia/tests/
DTransferPixelsTest.cpp281 std::unique_ptr<char[]> textureData(new char[kTexDims.fHeight * textureDataRowBytes]); in basic_transfer_from_test() local
283 textureData.get()); in basic_transfer_from_test()
285 data.fPixels = textureData.get(); in basic_transfer_from_test()
370 ComparePixels(GrCPixmap(textureDataInfo, textureData.get(), textureDataRowBytes), in basic_transfer_from_test()
402 textureData.get() + textureDataRowBytes * kPartialTop + textureDataBpp * kPartialLeft; in basic_transfer_from_test()
/external/angle/src/tests/gl_tests/gles1/
DDrawTextureTest.cpp76 std::array<GLColor, 2> textureData = { in TEST_P() local
82 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, textureData.data()); in TEST_P()
/external/skqp/gm/
Dbitmaprect.cpp96 const SkColor textureData[xSize][ySize] = { in make_3x3_bitmap() local
108 paint.setColor(textureData[x][y]); in make_3x3_bitmap()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp311 TextureBinding::TextureBinding (Context& context, const TestTextureSp& textureData, const TextureBi… in TextureBinding() argument
315 , m_textureData (textureData) in TextureBinding()
330 void TextureBinding::updateTextureData (const TestTextureSp& textureData, const TextureBinding::Typ… in updateTextureData() argument
338 m_textureData = textureData; in updateTextureData()
346 … = textureData->isCompressed() ? mapCompressedTextureFormat(textureData->getCompressedLevel(0,… in updateTextureData()
347 const tcu::UVec3 textureDimension = textureData->getTextureDimension(); in updateTextureData()
348 const deUint32 mipLevels = textureData->getNumLevels(); in updateTextureData()
349 const deUint32 arraySize = textureData->getArraySize(); in updateTextureData()
DvktTextureTestUtil.hpp146 TextureBinding (Context& context, const TestTextureSp& textureData, const Type type,
160 void updateTextureData (const TestTextureSp& textureData, const Type type);
/external/skia/gm/
Dbitmaprect.cpp105 const SkColor textureData[xSize][ySize] = { in make_3x3_bitmap() local
117 paint.setColor(textureData[x][y]); in make_3x3_bitmap()
/external/deqp/modules/glshared/
DglsStateChangePerfTestCases.cpp343 vector<deUint8> textureData; in requireTextures() local
344 genTextureData(textureData, textureWidth, textureHeight); in requireTextures()
346 DE_ASSERT(textureData.size() == textureWidth * textureHeight * 4); in requireTextures()
358 …TURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, &(textureData[0])); in requireTextures()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingBoundaryCondition.hpp61 const unsigned char* textureData, const unsigned char* referencePixel, int att,
DesextcGeometryShaderLayeredRenderingBoundaryCondition.cpp119 const unsigned char* textureData, in comparePixels() argument
129 const unsigned char* renderedData = textureData + y * rowWidth + x * m_texture_components; in comparePixels()
/external/angle/src/libANGLE/renderer/gl/eagl/
DIOSurfaceSurfaceEAGL.mm204 void *textureData = nullptr;
214 textureData = IOSurfaceGetBaseAddress(mIOSurface);
220 format.nativeFormat, format.nativeType, textureData);
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp1231 std::vector<GLubyte> textureData(resultTextureSize * MAX_PIXEL_SIZE, 0); in iterate() local
1232 std::fill(textureData.begin(), textureData.end(), 0); in iterate()
1244 …(GL_TEXTURE_2D, 0, GL_RGBA8, viewWidth, viewHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, &textureData[0]); in iterate()
1248 fillTextureWithColor(&textureData[0], m_width, m_height, internalformat); in iterate()
1256 …2D(GL_TEXTURE_2D, m_lodLevel, internalformat, m_width, m_height, 0, format, type, &textureData[0]); in iterate()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.cpp488 …std::vector<glw::GLuint> textureData = getDataFromTexture(context, textureId, textureSize, format,… in calcPixelSumValue() local
492 for (size_t texel = 0; texel < textureData.size(); ++texel) in calcPixelSumValue()
494 tcu::RGBA rgba(textureData[texel]); in calcPixelSumValue()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp1662 de::MovePtr<BufferWithMemory> textureData; in iterate() local
1674textureData = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, alloc, textureDataCr… in iterate()
1675 auto& textureDataAlloc = textureData->getAllocation(); in iterate()
1753 …vkd.cmdCopyBufferToImage(cmdBuffer, textureData->get(), textures[i]->get(), VK_IMAGE_LAYOUT_TRANSF… in iterate()
1775 …vkd.cmdCopyBufferToImage(cmdBuffer, textureData->get(), textures.back()->get(), VK_IMAGE_LAYOUT_TR… in iterate()
/external/angle/src/tests/egl_tests/
DEGLSurfaceTest.cpp1038 std::vector<Color<uint8_t>> textureData(kTextureWidth * kTextureHeight, kOpaqueBlack); in TEST_P() local
1041 initialData.pSysMem = textureData.data(); in TEST_P()

12