Home
last modified time | relevance | path

Searched refs:posY (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/gm/
Dimageresizetiled.cpp49 float posY = 0; in DEF_SIMPLE_GM() local
51 posY += 100.0f; in DEF_SIMPLE_GM()
52 canvas->drawString(str[i], 0.0f, posY, font, SkPaint()); in DEF_SIMPLE_GM()
Dimageblurtiled.cpp59 int posY = 0; in onDraw() local
61 posY += 100; in onDraw()
62 canvas->drawString(str[i], 0, SkIntToScalar(posY), font, SkPaint()); in onDraw()
/third_party/glfw/tests/
Dsharing.c53 static GLFWwindow* open_window(const char* title, GLFWwindow* share, int posX, int posY) in open_window() argument
65 glfwSetWindowPos(window, posX, posY); in open_window()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp1212 egl::Image *posY = image[CubeFaceIndex(GL_TEXTURE_CUBE_MAP_POSITIVE_Y)][level]; in updateBorders() local
1217 if(!posX || !negX || !posY || !negY || !posZ || !negZ) in updateBorders()
1227 …if(!posX->hasDirtyContents() || !posY->hasDirtyContents() || !posZ->hasDirtyContents() || !negX->h… in updateBorders()
1234 posY->copyCubeEdge(sw::Surface::BOTTOM, posZ, sw::Surface::TOP); in updateBorders()
1240 posX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::RIGHT); in updateBorders()
1241 posY->copyCubeEdge(sw::Surface::TOP, negZ, sw::Surface::TOP); in updateBorders()
1242 posZ->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::BOTTOM); in updateBorders()
1243 negX->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::LEFT); in updateBorders()
1245 negZ->copyCubeEdge(sw::Surface::TOP, posY, sw::Surface::TOP); in updateBorders()
1250 posY->copyCubeEdge(sw::Surface::RIGHT, posX, sw::Surface::TOP); in updateBorders()
[all …]
/third_party/vk-gl-cts/modules/gles2/stress/
Des2sSpecialFloatTests.cpp615 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local
617 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
835 const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; in iterate() local
837 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1139 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local
1141 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1327 …const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fro… in testFBO() local
1329 gridVertices[y * 2 + 0] = tcu::Vec4(-1.0, posY, 0.0f, 1.0f); in testFBO()
1330 gridVertices[y * 2 + 1] = tcu::Vec4( 1.0, posY, 0.0f, 1.0f); in testFBO()
1523 const float posY = (float)y / (float)numBlendFuncs * 2.0f - 1.0f; in testFBO() local
[all …]
/third_party/vk-gl-cts/modules/gles3/stress/
Des3sSpecialFloatTests.cpp627 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local
629 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
850 const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; in iterate() local
852 gridVertices[x * (DE_LENGTH_OF_ARRAY(s_specialFloats)+1) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1177 const float posY = (float)y / ((float)gridSize - 1.0f) * 2.0f - 1.0f; in iterate() local
1181 gridVertices[x * gridSize + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1494 const float posY = (float)y / ((float)DE_LENGTH_OF_ARRAY(s_specialFloats) - 1.0f) * 2.0f - 1.0f; in iterate() local
1496 gridVertices[x * DE_LENGTH_OF_ARRAY(s_specialFloats) + y] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in iterate()
1690 …const float posY = (float)y / (float)DE_LENGTH_OF_ARRAY(s_specialFloats) * 2.0f - 1.0f; // map fro… in testFBO() local
1692 gridVertices[y * 2 + 0] = tcu::Vec4(-1.0, posY, 0.0f, 1.0f); in testFBO()
[all …]
/third_party/skia/modules/particles/src/
DSkParticleDrawable.cpp33 float posX, float posY, float dirX, float dirY, float scale) { in make_rsxform() argument
38 posY + -s * ofs.fX + -c * ofs.fY); in make_rsxform()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DSimpleOperationTest.cpp1017 const Vector3 posY(0, 1, 0); in TEST_P() local
1024 posY, posY, posY, posY /* third face */, negY, negY, negY, negY /* fourth face */, in TEST_P()
/third_party/ffmpeg/libswscale/
Dswscale.c393 int posY, cPosY, firstPosY, lastPosY, firstCPosY, lastCPosY; in swscale() local
442 posY = hout_slice->plane[0].sliceY + hout_slice->plane[0].sliceH; in swscale()
443 if (posY <= lastLumSrcY && !hasLumHoles) { in swscale()
444 firstPosY = FFMAX(firstLumSrcY, posY); in swscale()
447 firstPosY = posY; in swscale()
462 if (posY < lastLumSrcY + 1) { in swscale()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DBlitter.cpp2299 VkImageSubresource posY = negX; in updateBorders() local
2300 posY.arrayLayer++; in updateBorders()
2301 VkImageSubresource negY = posY; in updateBorders()
2310 copyCubeEdge(image, posY, BOTTOM, posZ, TOP); in updateBorders()
2316 copyCubeEdge(image, posX, TOP, posY, RIGHT); in updateBorders()
2317 copyCubeEdge(image, posY, TOP, negZ, TOP); in updateBorders()
2318 copyCubeEdge(image, posZ, TOP, posY, BOTTOM); in updateBorders()
2319 copyCubeEdge(image, negX, TOP, posY, LEFT); in updateBorders()
2321 copyCubeEdge(image, negZ, TOP, posY, TOP); in updateBorders()
2325 copyCubeEdge(image, posY, RIGHT, posX, TOP); in updateBorders()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawTests.cpp1419 const float posY = ((float)y / (float)m_gridSize) * 2.0f - 1.0f; in createDrawData() local
1423 buffer[((y * m_gridSize + x) * 6 + 0) * 2 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
1424 buffer[((y * m_gridSize + x) * 6 + 1) * 2 + 0] = tcu::Vec4(posX + cellSize, posY, 0.0f, 1.0f); in createDrawData()
1425 …buffer[((y * m_gridSize + x) * 6 + 2) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f,… in createDrawData()
1426 buffer[((y * m_gridSize + x) * 6 + 3) * 2 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
1427 …buffer[((y * m_gridSize + x) * 6 + 4) * 2 + 0] = tcu::Vec4(posX + cellSize, posY + cellSize, 0.0f,… in createDrawData()
1428 buffer[((y * m_gridSize + x) * 6 + 5) * 2 + 0] = tcu::Vec4(posX, posY + cellSize, 0.0f, 1.0f); in createDrawData()
1453 const float posY = ((float)y / (float)m_gridSize) * 2.0f - 1.0f; in createDrawData() local
1455 buffer[(y * (m_gridSize+1) + x) * 4 + 0] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
1457 buffer[(y * (m_gridSize+1) + x) * 4 + 2] = tcu::Vec4(posX, posY, 0.0f, 1.0f); in createDrawData()
Des31fPrimitiveBoundingBoxTests.cpp4432 const float posY = rnd.getFloat(minY, maxY); in createVbo() local
4436 m_objectVertices.push_back(tcu::Vec4(posX, posY, posZ, posW)); in createVbo()
/third_party/vk-gl-cts/modules/glshared/
DglsTextureBufferCase.cpp118 const size_t posY = (size_t(index) * 2) + 1; in genRandomCoords() local
123 if (posY >= offset && posY < offset+size) in genRandomCoords()
124 coords[posY - offset] = ((i / 2) == 1 ? extend2BitsToByte(0x3u) : extend2BitsToByte(0x0u)); in genRandomCoords()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
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/
DVertexRoutine.cpp123 auto posY = pos[it->second.FirstComponent + 1]; in computeClipFlags() local
128 Int4 maxY = CmpLT(posW, posY); in computeClipFlags()
130 Int4 minY = CmpNLE(-posW, posY); in computeClipFlags()
146 Int4 finiteY = CmpLE(Abs(posY), maxPos); in computeClipFlags()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcInternalformatTests.cpp525 float posY = (lheight - static_cast<float>(y)) / lheight; in generateTextureData() local
527 float rposY = 1.f - posY; 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/
DSkSVGDevice.cpp1001 const SkString& posY() const { return fHasConstY ? fConstYStr : fPosYStr; } in posY() function in SVGTextBuilder
1098 elem.addAttribute("y", builder.posY()); in onDrawGlyphRunList()
/third_party/skia/modules/skparagraph/src/
DRun.h85 SkScalar posY(size_t index) const { return fPositions[index].fY; } in posY() function