Home
last modified time | relevance | path

Searched refs:newX (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/docs/examples/
DCanvas_accessTopLayerPixels_b.cpp28 int newX = (x - v / 2) * 2 + v / 2; in draw() local
29 if (newX < 0 || newX >= v) { in draw()
33 access[newY * rowWords + newX] = SK_ColorGRAY; in draw()
/third_party/flutter/skia/docs/examples/
DCanvas_accessTopLayerPixels_b.cpp28 int newX = (x - v / 2) * 2 + v / 2; in draw() local
29 if (newX < 0 || newX >= v) { in draw()
33 access[newY * rowWords + newX] = SK_ColorGRAY; in draw()
/third_party/flutter/skia/third_party/externals/angle2/samples/WindowTest/
DWindowTest.cpp46 int newX = x; in main() local
62 newX = x - 20; in main()
65 newX = x + 20; in main()
107 if (newX != x || newY != y) in main()
109 x = newX; in main()
/third_party/skia/third_party/externals/angle2/samples/WindowTest/
DWindowTest.cpp46 int newX = x; in main() local
62 newX = x - 20; in main()
65 newX = x + 20; in main()
107 if (newX != x || newY != y) in main()
109 x = newX; in main()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h421 uint32_t newX, newY, newSampleX, newSampleY;
425 newX = x;
434 newX = pdep_u32(x, xMask);
446 newX = pdep_u32(x, mask);
459 newX = pdep_u32(x, xMask);
471 newX = pdep_u32(x, mask);
479 newX = newY = 0;
483 x = newX | (newSampleX << 1);
/third_party/flutter/skia/src/core/
DSkScan_Path.cpp141 SkFixed newX; in walk_edges() local
146 newX = currE->fX; in walk_edges()
153 newX = currE->fX; in walk_edges()
160 newX = currE->fX + currE->fDX; in walk_edges()
161 currE->fX = newX; in walk_edges()
163 if (newX < prevX) { // ripple currE backwards until it is x-sorted in walk_edges()
166 prevX = newX; in walk_edges()
DSkScan_AAAPath.cpp1737 SkFixed newX; in aaa_walk_edges() local
1762 newX = currE->fX; in aaa_walk_edges()
1764 if (newX < prevX) { // ripple currE backwards until it is x-sorted in aaa_walk_edges()
1781 prevX = newX; in aaa_walk_edges()
/third_party/skia/src/core/
DSkScan_Path.cpp140 SkFixed newX; in walk_edges() local
145 newX = currE->fX; in walk_edges()
152 newX = currE->fX; in walk_edges()
159 newX = currE->fX + currE->fDX; in walk_edges()
160 currE->fX = newX; in walk_edges()
162 if (newX < prevX) { // ripple currE backwards until it is x-sorted in walk_edges()
165 prevX = newX; in walk_edges()
DSkScan_AAAPath.cpp1741 SkFixed newX; in aaa_walk_edges() local
1766 newX = currE->fX; in aaa_walk_edges()
1768 if (newX < prevX) { // ripple currE backwards until it is x-sorted in aaa_walk_edges()
1785 prevX = newX; in aaa_walk_edges()
/third_party/skia/include/core/
DSkRect.h390 void offsetTo(int32_t newX, int32_t newY) { in offsetTo()
391 fRight = Sk64_pin_to_s32((int64_t)fRight + newX - fLeft); in offsetTo()
393 fLeft = newX; in offsetTo()
1047 void offsetTo(SkScalar newX, SkScalar newY) { in offsetTo()
1048 fRight += newX - fLeft; in offsetTo()
1050 fLeft = newX; in offsetTo()
/third_party/flutter/skia/include/core/
DSkRect.h362 void offsetTo(int32_t newX, int32_t newY) { in offsetTo()
363 fRight = Sk64_pin_to_s32((int64_t)fRight + newX - fLeft); in offsetTo()
365 fLeft = newX; in offsetTo()
1189 void offsetTo(SkScalar newX, SkScalar newY) { in offsetTo()
1190 fRight += newX - fLeft; in offsetTo()
1192 fLeft = newX; in offsetTo()
/third_party/flutter/skia/src/gpu/text/
DGrTextBlob.cpp199 const SkMatrix& newViewMatrix, SkScalar newX, SkScalar newY, in calculate_translation() argument
204 newViewMatrix.getScaleX() * (newX - currentX) + in calculate_translation()
209 newViewMatrix.getSkewY() * (newX - currentX) + in calculate_translation()
213 *transX = newX - currentX; in calculate_translation()
/third_party/flutter/skia/samplecode/
DSampleLitAtlas.cpp48 SkScalar newX = c * fLightDir.fX - s * fLightDir.fY; in rotateLight() local
51 fLightDir.set(newX, newY, 0.0f); in rotateLight()
/third_party/vk-gl-cts/modules/egl/
DteglResizeTests.cpp287 const int newX = xCorner == 0 ? 0 : newWidth - minWidth; in compareCorners() local
296 getSubregion(newSurface.getAccess(), newX, newY, minWidth, minHeight); in compareCorners()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp1118 …const deInt32 newX = computeBinaryAtomicOperationResult(m_params.atomicOperation, oldX, atomicArg… in calculateAtomicRef() local
1120 reference.setPixel(tcu::IVec4(newX, 0, 0, 0), x, y); in calculateAtomicRef()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dcanvas.dart1170 final double newX = _currentX + dx;
1172 _openNewSubpath(newX, newY);
1173 _commands.add(engine.MoveTo(newX, newY));
1189 final double newX = _currentX + dx;
1194 _commands.add(engine.LineTo(newX, newY));
1195 _setCurrentPoint(newX, newY);
/third_party/flutter/skia/site/user/api/
DSkIRect_Reference.md48 void <a href='#SkIRect_offsetTo'>offsetTo</a>(int32_t newX, int32_t newY);
1228 void <a href='#SkIRect_offsetTo'>offsetTo</a>(int32_t newX, int32_t newY)
1231 …a href='#SkIRect_fLeft'>fLeft</a> equals <a href='#SkIRect_offsetTo_newX'>newX</a>, and <a href='#…
1236 <table> <tr> <td><a name='SkIRect_offsetTo_newX'><code><strong>newX</strong></code></a></td>
DSkRect_Reference.md61 …void <a href='#SkRect_offsetTo'>offsetTo</a>(<a href='undocumented#SkScalar'>SkScalar</a> newX, <a…
1774 void <a href='#SkRect_offsetTo'>offsetTo</a>(<a href='undocumented#SkScalar'>SkScalar</a> newX, <a …
1777 … <a href='#SkRect_fLeft'>fLeft</a> equals <a href='#SkRect_offsetTo_newX'>newX</a>, and <a href='#…
1782 <table> <tr> <td><a name='SkRect_offsetTo_newX'><code><strong>newX</strong></code></a></td>
/third_party/flutter/skia/tools/fiddle/
Ddocumumentation_examples_map.txt1145 void offsetTo(int32_t newX, int32_t newY);
3609 void offsetTo(SkScalar newX, SkScalar newY);
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt1137 void offsetTo(int32_t newX, int32_t newY);
3566 void offsetTo(SkScalar newX, SkScalar newY);