Lines Matching refs:srcInfo
275 SurfaceDataRasInfo srcInfo;
362 srcInfo.bounds.x1 = sx1;
363 srcInfo.bounds.y1 = sy1;
364 srcInfo.bounds.x2 = sx2;
365 srcInfo.bounds.y2 = sy2;
366 if (srcOps->Lock(env, srcOps, &srcInfo, pPrim->srcflags) != SD_SUCCESS) {
369 if (srcInfo.bounds.x2 <= srcInfo.bounds.x1 ||
370 srcInfo.bounds.y2 <= srcInfo.bounds.y1)
372 SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);
392 if (x >= srcInfo.bounds.x1 && x < srcInfo.bounds.x2) {
396 dstInfo.bounds.x1 = ((srcInfo.bounds.x1 <= sx1)
399 (srcInfo.bounds.x1-sx1) << shift, sxinc));
401 (srcInfo.bounds.x2-sx1) << shift, sxinc);
406 if (y >= srcInfo.bounds.y1 && y < srcInfo.bounds.y2) {
410 dstInfo.bounds.y1 = ((srcInfo.bounds.y1 <= sy1)
413 (srcInfo.bounds.y1-sy1) << shift, syinc));
415 (srcInfo.bounds.y2-sy1) << shift, syinc);
424 SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);
431 srcOps->GetRasInfo(env, srcOps, &srcInfo);
433 if (srcInfo.rasBase && dstInfo.rasBase) {
435 void *pSrc = PtrCoord(srcInfo.rasBase,
436 sx1, srcInfo.pixelStride,
437 sy1, srcInfo.scanStride);
466 &srcInfo, &dstInfo,
515 &srcInfo, &dstInfo,
524 SurfaceData_InvokeRelease(env, srcOps, &srcInfo);
527 SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);