Lines Matching refs:rasInfo
47 SurfaceDataRasInfo rasInfo;
64 rasInfo.bounds.x1 = x;
65 rasInfo.bounds.y1 = y;
66 rasInfo.bounds.x2 = x + w;
67 rasInfo.bounds.y2 = y + h;
68 if (sdOps->Lock(env, sdOps, &rasInfo, pPrim->dstflags) != SD_SUCCESS) {
72 if (rasInfo.bounds.x2 > rasInfo.bounds.x1 &&
73 rasInfo.bounds.y2 > rasInfo.bounds.y1)
76 sdOps->GetRasInfo(env, sdOps, &rasInfo);
77 if (rasInfo.rasBase) {
78 jint width = rasInfo.bounds.x2 - rasInfo.bounds.x1;
79 jint height = rasInfo.bounds.y2 - rasInfo.bounds.y1;
80 void *pDst = PtrCoord(rasInfo.rasBase,
81 rasInfo.bounds.x1, rasInfo.pixelStride,
82 rasInfo.bounds.y1, rasInfo.scanStride);
88 SurfaceData_InvokeRelease(env, sdOps, &rasInfo);
89 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);
92 maskoff += ((rasInfo.bounds.y1 - y) * maskscan +
93 (rasInfo.bounds.x1 - x));
97 color, &rasInfo,
104 SurfaceData_InvokeRelease(env, sdOps, &rasInfo);
106 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);
687 SurfaceDataRasInfo rasInfo;
719 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
720 SurfaceData_IntersectBoundsXYXY(&rasInfo.bounds, ix1, iy1, ix2, iy2);
721 if (rasInfo.bounds.y2 <= rasInfo.bounds.y1 ||
722 rasInfo.bounds.x2 <= rasInfo.bounds.x1)
727 if (sdOps->Lock(env, sdOps, &rasInfo, pPrim->dstflags) != SD_SUCCESS) {
731 ix1 = rasInfo.bounds.x1;
732 iy1 = rasInfo.bounds.y1;
733 ix2 = rasInfo.bounds.x2;
734 iy2 = rasInfo.bounds.y2;
743 sdOps->GetRasInfo(env, sdOps, &rasInfo);
744 if (rasInfo.rasBase != NULL && pMask != NULL) {
745 void *pDst = PtrCoord(rasInfo.rasBase,
746 ix1, rasInfo.pixelStride,
747 iy1, rasInfo.scanStride);
754 fillAARect(pPrim, &rasInfo, &compInfo,
763 fillAARect(pPrim, &rasInfo, &compInfo,
767 fillAAPgram(pPrim, &rasInfo, &compInfo,
772 SurfaceData_InvokeRelease(env, sdOps, &rasInfo);
777 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);
953 SurfaceDataRasInfo rasInfo;
1011 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
1012 SurfaceData_IntersectBoundsXYXY(&rasInfo.bounds, ix1, iy1, ix2, iy2);
1013 if (rasInfo.bounds.y2 <= rasInfo.bounds.y1 ||
1014 rasInfo.bounds.x2 <= rasInfo.bounds.x1)
1019 if (sdOps->Lock(env, sdOps, &rasInfo, pPrim->dstflags) != SD_SUCCESS) {
1023 ix1 = rasInfo.bounds.x1;
1024 iy1 = rasInfo.bounds.y1;
1025 ix2 = rasInfo.bounds.x2;
1026 iy2 = rasInfo.bounds.y2;
1035 sdOps->GetRasInfo(env, sdOps, &rasInfo);
1036 if (rasInfo.rasBase != NULL && pMask != NULL) {
1037 void *pDst = PtrCoord(rasInfo.rasBase,
1038 ix1, rasInfo.pixelStride,
1039 iy1, rasInfo.scanStride);
1044 * drawAARect(pPrim, &rasInfo, &compInfo,
1048 * drawAARect(pPrim, &rasInfo, &compInfo,
1053 drawAAPgram(pPrim, &rasInfo, &compInfo,
1062 SurfaceData_InvokeRelease(env, sdOps, &rasInfo);
1067 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);