Home
last modified time | relevance | path

Searched refs:posX (Results 1 - 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DTexture.cpp1210 egl::Image *posX = image[CubeFaceIndex(GL_TEXTURE_CUBE_MAP_POSITIVE_X)][level]; in updateBorders() local
1217 if(!posX || !negX || !posY || !negY || !posZ || !negZ) in updateBorders()
1222 if(posX->getBorder() == 0) // Non-seamless cube map. in updateBorders()
1227 if(!posX->hasDirtyContents() || !posY->hasDirtyContents() || !posZ->hasDirtyContents() || !negX->hasDirtyContents() || !negY->hasDirtyContents() || !negZ->hasDirtyContents()) in updateBorders()
1233 posX->copyCubeEdge(sw::Surface::BOTTOM, negY, sw::Surface::RIGHT); in updateBorders()
1240 posX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::RIGHT); in updateBorders()
1249 posX->copyCubeEdge(sw::Surface::RIGHT, negZ, sw::Surface::LEFT); in updateBorders()
1250 posY->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::TOP); in updateBorders()
1251 posZ->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::LEFT); in updateBorders()
1253 negY->copyCubeEdge(sw::Surface::RIGHT, posX, s in updateBorders()
[all...]
/third_party/skia/modules/particles/src/
H A DSkParticleDrawable.cpp33 float posX, float posY, float dirX, float dirY, float scale) { in make_rsxform()
37 posX + -c * ofs.fX + s * ofs.fY, in make_rsxform()
32 make_rsxform(SkPoint ofs, float posX, float posY, float dirX, float dirY, float scale) make_rsxform() argument
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp614 const float posX = (float)x / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; // map from [0, len(s_specialFloats) - 1] to [-1, 1]
617 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f);
834 const float posX = (float)x / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map from [0, len(s_specialFloats) ] to [-1, 1]
837 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f);
1138 const float posX = (float)x / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; // map from [0, len(s_specialFloats) - 1] to [-1, 1]
1141 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f);
1522 const float posX = (float)x / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map from [0, len(s_specialFloats)] to [-1, 1]
1525 gridVertices[x * (numBlendFuncs + 1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f);
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sSpecialFloatTests.cpp626 const float posX = (float)x / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; // map from [0, len(s_specialFloats) - 1] to [-1, 1]
629 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f);
849 const float posX = (float)x / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map from [0, len(s_specialFloats) ] to [-1, 1]
852 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f);
1176 const float posX = (float)x / ((float)gridSize - 1.0f) * 2.0f - 1.0f; // map from [0, gridSize - 1] to [-1, 1]
1181 gridVertices[x * gridSize + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f);
1493 const float posX = (float)x / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; // map from [0, len(s_specialFloats) - 1] to [-1, 1]
1496 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f);
1890 const float posX = (float)x / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map from [0, len(s_specialFloats)] to [-1, 1]
1893 gridVertices[x * (numBlendFuncs + 1) + y] = tcu::Vec4(posX, pos
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DSimpleOperationTest.cpp1015 const Vector3 posX(1, 0, 0); in TEST_P()
1023 posX, posX, posX, posX /* first face */, negX, negX, negX, negX /* second face */, in TEST_P()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBlitter.cpp2296 VkImageSubresource posX = subresource; in updateBorders() local
2297 VkImageSubresource negX = posX; in updateBorders()
2309 copyCubeEdge(image, posX, BOTTOM, negY, RIGHT); in updateBorders()
2316 copyCubeEdge(image, posX, TOP, posY, RIGHT); in updateBorders()
2324 copyCubeEdge(image, posX, RIGHT, negZ, LEFT); in updateBorders()
2325 copyCubeEdge(image, posY, RIGHT, posX, TOP); in updateBorders()
2326 copyCubeEdge(image, posZ, RIGHT, posX, LEFT); in updateBorders()
2328 copyCubeEdge(image, negY, RIGHT, posX, BOTTOM); in updateBorders()
2331 copyCubeEdge(image, posX, LEFT, posZ, RIGHT); in updateBorders()
2336 copyCubeEdge(image, negZ, LEFT, posX, RIGH in updateBorders()
[all...]
/third_party/skia/modules/skparagraph/src/
H A DRun.cpp335 float x = hOffset + posX(i + pos) + halfWidth + fOffsets[i + pos].x() + fTextShift; in scaleFontWithCompressionConfig()
598 return posX(pos) + (fJustificationShifts.empty() ? 0 : fJustificationShifts[pos].fY) + in scaleFontWithCompressionConfig()
602 SkScalar Run::posX(size_t index) const { in scaleFontWithCompressionConfig() function in skia::textlayout::Run
H A DOneLineShaper.cpp210 auto runAdvance = SkVector::Make(run->posX(glyphs.end) - run->posX(glyphs.start), run->fAdvance.fY); in finish()
H A DRun.h100 SkScalar posX(size_t index) const;
H A DParagraphImpl.cpp922 return posX(end) - posX(start) + correction; in GetLineFontMetrics()
/third_party/vk-gl-cts/modules/glshared/
H A DglsTextureBufferCase.cpp117 const size_t posX = (size_t(index) * 2) + 0; in genRandomCoords() local
120 if (posX >= offset && posX < offset+size) in genRandomCoords()
121 coords[posX - offset] = ((i % 2) == 0 ? extend2BitsToByte(0x0u) : extend2BitsToByte(0x3u)); in genRandomCoords()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fDrawTests.cpp1283 << " float posX = (float(x) / float(gridSize)) * 2.0 - 1.0;\n"
1289 << " attribs[((y * gridSize + x) * 6u + 0u) * 2u + 0u] = vec4(posX, posY, 0.0, 1.0);\n"
1292 << " attribs[((y * gridSize + x) * 6u + 3u) * 2u + 0u] = vec4(posX, posY, 0.0, 1.0);\n"
1294 << " attribs[((y * gridSize + x) * 6u + 5u) * 2u + 0u] = vec4(posX, posYp1, 0.0, 1.0);\n"
1309 << " float posX = (float(x) / float(gridSize)) * 2.0 - 1.0;\n"
1312 << " attribs[(y * (gridSize+1u) + x) * 4u + 0u] = vec4(posX, posY, 0.0, 1.0);\n"
1314 << " attribs[(y * (gridSize+1u) + x) * 4u + 2u] = vec4(posX, posY, 0.0, 1.0);\n"
1418 const float posX = ((float)x / (float)m_gridSize) * 2.0f - 1.0f;
1423 buffer[((y * m_gridSize + x) * 6 + 0) * 2 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f);
1424 buffer[((y * m_gridSize + x) * 6 + 1) * 2 + 0] = tcu::Vec4(posX
[all...]
H A Des31fPrimitiveBoundingBoxTests.cpp4431 const float posX = rnd.getFloat(minX, maxX);
4436 m_objectVertices.push_back(tcu::Vec4(posX, posY, posZ, posW));
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
H A Dvulkan_command_buffer_utils.h236 float posX, posY, posZ, posW; // Position data member
242 float posX, posY, posZ, posW; // Position data member
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DVertexRoutine.cpp122 auto posX = pos[it->second.FirstComponent + 0]; in computeClipFlags() local
127 Int4 maxX = CmpLT(posW, posX); in computeClipFlags()
129 Int4 minX = CmpNLE(-posW, posX); in computeClipFlags()
145 Int4 finiteX = CmpLE(Abs(posX), maxPos); in computeClipFlags()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcInternalformatTests.cpp524 float posX = (lwidth - static_cast<float>(x)) / lwidth; in generateTextureData() local
526 float rposX = 1.f - posX; in generateTextureData()
528 tcu::Vec4 c = colors[0] * (posX * posY) + colors[1] * (rposX * posY) + colors[2] * (posX * rposY); in generateTextureData()
/third_party/skia/src/svg/
H A DSkSVGDevice.cpp1000 const SkString& posX() const { return fPosXStr; }
1097 elem.addAttribute("x", builder.posX());

Completed in 34 milliseconds