Lines Matching refs:rasInfo
180 SurfaceDataRasInfo rasInfo;
194 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
195 if (rasInfo.bounds.y2 <= rasInfo.bounds.y1 ||
196 rasInfo.bounds.x2 <= rasInfo.bounds.x1)
201 ret = sdOps->Lock(env, sdOps, &rasInfo, pPrim->dstflags);
204 if (!RefineBounds(gbv, &rasInfo.bounds)) {
205 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);
213 sdOps->GetRasInfo(env, sdOps, &rasInfo);
214 if (!rasInfo.rasBase) {
215 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);
218 clipLeft = rasInfo.bounds.x1;
219 clipRight = rasInfo.bounds.x2;
220 clipTop = rasInfo.bounds.y1;
221 clipBottom = rasInfo.bounds.y2;
224 (*func)(&rasInfo,
230 SurfaceData_InvokeRelease(env, sdOps, &rasInfo);
233 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);
247 SurfaceDataRasInfo rasInfo;
261 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
262 if (rasInfo.bounds.y2 <= rasInfo.bounds.y1 ||
263 rasInfo.bounds.x2 <= rasInfo.bounds.x1)
268 ret = sdOps->Lock(env, sdOps, &rasInfo, pPrim->dstflags);
271 if (!RefineBounds(gbv, &rasInfo.bounds)) {
272 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);
280 sdOps->GetRasInfo(env, sdOps, &rasInfo);
281 if (!rasInfo.rasBase) {
282 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);
285 clipLeft = rasInfo.bounds.x1;
286 clipRight = rasInfo.bounds.x2;
287 clipTop = rasInfo.bounds.y1;
288 clipBottom = rasInfo.bounds.y2;
292 (*func)(&rasInfo,
299 SurfaceData_InvokeRelease(env, sdOps, &rasInfo);
302 SurfaceData_InvokeUnlock(env, sdOps, &rasInfo);