Home
last modified time | relevance | path

Searched refs:dstX (Results 1 – 25 of 59) sorted by relevance

123

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_renderer.c200 float srcX, float srcY, float dstX, float dstY, in add_vertex_data1() argument
233 add_vertex_1tex(r, dstX, dstY, s0, t0); in add_vertex_data1()
235 add_vertex_1tex(r, dstX + width, dstY, s1, t1); in add_vertex_data1()
237 add_vertex_1tex(r, dstX + width, dstY + height, s2, t2); in add_vertex_data1()
239 add_vertex_1tex(r, dstX, dstY + height, s3, t3); in add_vertex_data1()
245 float dstX, float dstY, float width, float height, in add_vertex_data2() argument
286 add_vertex_2tex(r, dstX, dstY, in add_vertex_data2()
289 add_vertex_2tex(r, dstX + width, dstY, in add_vertex_data2()
292 add_vertex_2tex(r, dstX + width, dstY + height, in add_vertex_data2()
295 add_vertex_2tex(r, dstX, dstY + height, in add_vertex_data2()
[all …]
Dxa_composite.c511 int dstX, int dstY, int width, int height) in xa_composite_rect() argument
514 renderer_solid(ctx, dstX, dstY, dstX + width, dstY + height, in xa_composite_rect()
518 int pos[6] = {srcX, srcY, maskX, maskY, dstX, dstY}; in xa_composite_rect()
522 xa_scissor_update(ctx, dstX, dstY, dstX + width, dstY + height); in xa_composite_rect()
Dxa_composite.h136 int dstX, int dstY, int width, int height);
/external/mesa3d/src/mesa/main/
Dcopyimage.c539 int dstX, int dstY, int dstZ, int dstLevel, in copy_image_subdata() argument
569 dstX, dstY, newDstZ, in copy_image_subdata()
578 GLint dstX, GLint dstY, GLint dstZ, in _mesa_CopyImageSubData_no_error() argument
593 srcLevel, dstTexImage, dstRenderbuffer, dstX, dstY, dstZ, in _mesa_CopyImageSubData_no_error()
601 GLint dstX, GLint dstY, GLint dstZ, in _mesa_CopyImageSubData() argument
621 dstX, dstY, dstZ, in _mesa_CopyImageSubData()
675 if ((dstX % dst_bw != 0) || (dstY % dst_bh != 0)) { in _mesa_CopyImageSubData()
705 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth, in _mesa_CopyImageSubData()
729 srcLevel, dstTexImage, dstRenderbuffer, dstX, dstY, dstZ, in _mesa_CopyImageSubData()
/external/clang/test/CodeGenCXX/
Dcopy-assign-synthesis.cpp70 X dstX; variable
74 dstY = dstX = srcX; in main()
76 dstX.pr(); in main()
Dcopy-assign-synthesis-1.cpp85 X dstX; variable
89 dstY = dstX = srcX; in main()
91 dstX.pr(); in main()
/external/skia/src/codec/
DSkBmpRLECodec.cpp176 const int dstX = get_dst_coord(x, fSampleX); in setPixel() local
181 dstRow[dstX] = fColorTable->operator[](index); in setPixel()
186 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index)); in setPixel()
210 const int dstX = get_dst_coord(x, fSampleX); in setRGBPixel() local
214 dstRow[dstX] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in setRGBPixel()
219 dstRow[dstX] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in setRGBPixel()
224 dstRow[dstX] = SkPack888ToRGB16(red, green, blue); in setRGBPixel()
DSkWebpCodec.cpp398 int dstX = frameRect.x(); in onGetPixels() local
412 int minXOffset = SkTMin(dstX, subset.x()); in onGetPixels()
414 dstX -= minXOffset; in onGetPixels()
449 dstX = scaleX * dstX; in onGetPixels()
500 config.output.u.RGBA.rgba = reinterpret_cast<uint8_t*>(webpDst.getAddr(dstX, dstY)); in onGetPixels()
529 dst = SkTAddOffset<void>(dst, dstBpp * dstX + rowBytes * dstY); in onGetPixels()
DSkBmpStandardCodec.cpp331 for (int dstX = 0; dstX < sampledWidth; dstX++) { in decodeIcoMask() local
337 applyMask(dstRow, dstX, alphaBit); in decodeIcoMask()
/external/skqp/src/codec/
DSkBmpRLECodec.cpp176 const int dstX = get_dst_coord(x, fSampleX); in setPixel() local
181 dstRow[dstX] = fColorTable->operator[](index); in setPixel()
186 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index)); in setPixel()
210 const int dstX = get_dst_coord(x, fSampleX); in setRGBPixel() local
214 dstRow[dstX] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in setRGBPixel()
219 dstRow[dstX] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in setRGBPixel()
224 dstRow[dstX] = SkPack888ToRGB16(red, green, blue); in setRGBPixel()
DSkWebpCodec.cpp398 int dstX = frameRect.x(); in onGetPixels() local
412 int minXOffset = SkTMin(dstX, subset.x()); in onGetPixels()
414 dstX -= minXOffset; in onGetPixels()
449 dstX = scaleX * dstX; in onGetPixels()
500 config.output.u.RGBA.rgba = reinterpret_cast<uint8_t*>(webpDst.getAddr(dstX, dstY)); in onGetPixels()
529 dst = SkTAddOffset<void>(dst, dstBpp * dstX + rowBytes * dstY); in onGetPixels()
DSkBmpStandardCodec.cpp331 for (int dstX = 0; dstX < sampledWidth; dstX++) { in decodeIcoMask() local
337 applyMask(dstRow, dstX, alphaBit); in decodeIcoMask()
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c437 GLint dstX, GLint dstY, GLenum type) in swrast_fast_copy_pixels() argument
487 dstX < dstFb->_Xmin || dstX + width > dstFb->_Xmax || in swrast_fast_copy_pixels()
513 dstMap = map + dstY * rowStride + dstX * pixelBytes; in swrast_fast_copy_pixels()
538 ctx->Driver.MapRenderbuffer(ctx, dstRb, dstX, dstY, in swrast_fast_copy_pixels()
Dswrast.h146 GLint dstX, GLint dstY, GLenum type);
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c350 int dstX = x; in xmesa_DrawPixels_8R8G8B() local
378 if (_mesa_clip_drawpixels(ctx, &dstX, &dstY, &w, &h, &clippedUnpack)) { in xmesa_DrawPixels_8R8G8B()
415 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h); in xmesa_DrawPixels_8R8G8B()
482 int dstX = x; in xmesa_DrawPixels_5R6G5B() local
510 if (_mesa_clip_drawpixels(ctx, &dstX, &dstY, &w, &h, &clippedUnpack)) { in xmesa_DrawPixels_5R6G5B()
546 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h); in xmesa_DrawPixels_5R6G5B()
/external/skqp/include/core/
DSkSurface.h637 void writePixels(const SkPixmap& src, int dstX, int dstY);
652 void writePixels(const SkBitmap& src, int dstX, int dstY);
/external/skia/tests/
DBitmapCopyTest.cpp203 const int dstX = gRec[i].fExpectedDstLoc.x(); in DEF_TEST() local
210 int sx = x - dstX + srcR.x(); in DEF_TEST()
/external/skqp/tests/
DBitmapCopyTest.cpp203 const int dstX = gRec[i].fExpectedDstLoc.x(); in DEF_TEST() local
210 int sx = x - dstX + srcR.x(); in DEF_TEST()
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp400 byte *dstX = destBuffer; in copyBuffer() local
401 for(unsigned int x = 0; x < width; ++x, dstX += bytes, srcX -= bytes) in copyBuffer()
403 memcpy(dstX, srcX, bytes); in copyBuffer()
412 byte *dstX = destBuffer; in copyBuffer() local
413 for(unsigned int x = 0; x < width; ++x, dstX += bytes, srcX -= bytes) in copyBuffer()
415 memcpy(dstX, srcX, bytes); in copyBuffer()
/external/skia/include/core/
DSkSurface.h686 void writePixels(const SkPixmap& src, int dstX, int dstY);
701 void writePixels(const SkBitmap& src, int dstX, int dstY);
/external/skqp/src/pdf/
DSkPDFUtils.cpp75 SkScalar dstX, SkScalar dstY, SkWStream* content) { in append_cubic() argument
81 if (ctl2X != dstX || ctl2Y != dstY) { in append_cubic()
88 SkPDFUtils::AppendScalar(dstX, content); in append_cubic()
/external/skia/src/pdf/
DSkPDFUtils.cpp75 SkScalar dstX, SkScalar dstY, SkWStream* content) { in append_cubic() argument
81 if (ctl2X != dstX || ctl2Y != dstY) { in append_cubic()
88 SkPDFUtils::AppendScalar(dstX, content); in append_cubic()
/external/skqp/docs/
DSkSurface_Reference.bmh1062 #Method void writePixels(const SkPixmap& src, int dstX, int dstY)
1068 Destination Rect corners are (dstX, dstY) and
1069 #Formula # (dstX + Surface width(), dstY + Surface height()) ##.
1075 #Param dstX x-axis position relative to Surface to begin copy; may be negative ##
1101 #Method void writePixels(const SkBitmap& src, int dstX, int dstY)
1106 Destination Rect corners are (dstX, dstY) and
1107 #Formula # (dstX + Surface width(), dstY + Surface height()) ##.
1113 #Param dstX x-axis position relative to Surface to begin copy; may be negative ##
/external/skia/docs/
DSkSurface_Reference.bmh1079 #Method void writePixels(const SkPixmap& src, int dstX, int dstY)
1085 Destination Rect corners are (dstX, dstY) and
1086 #Formula # (dstX + Surface width(), dstY + Surface height()) ##.
1092 #Param dstX x-axis position relative to Surface to begin copy; may be negative ##
1118 #Method void writePixels(const SkBitmap& src, int dstX, int dstY)
1123 Destination Rect corners are (dstX, dstY) and
1124 #Formula # (dstX + Surface width(), dstY + Surface height()) ##.
1130 #Param dstX x-axis position relative to Surface to begin copy; may be negative ##
/external/skqp/src/core/
DSkBitmap.cpp466 bool SkBitmap::writePixels(const SkPixmap& src, int dstX, int dstY) { in writePixels() argument
471 SkWritePixelsRec rec(src.info(), src.addr(), src.rowBytes(), dstX, dstY); in writePixels()

123