Searched refs:mSnapshot (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/ |
D | OpenGLRenderer.cpp | 187 mSnapshot = new Snapshot(mFirstSnapshot, in setupFrameState() 189 mSnapshot->fbo = getTargetFbo(); in setupFrameState() 192 mSnapshot->setClip(left, top, right, bottom); in setupFrameState() 211 startTiling(mSnapshot, true); in startFrame() 231 if (mSnapshot->fbo == 0) { in prepareDirty() 258 mCaches.setScissor(left, mSnapshot->height - bottom, right - left, bottom - top); in clear() 356 sp<Snapshot> snapshot = (mSnapshot != NULL) ? mSnapshot : mFirstSnapshot; in resume() 377 sp<Snapshot> snapshot = (mSnapshot != NULL) ? mSnapshot : mFirstSnapshot; in resumeAfterLayer() 433 if (mSnapshot->isIgnored()) return DrawGlInfo::kStatusDone; in callDrawGLFunction() 443 Rect clip(*mSnapshot->clipRect); in callDrawGLFunction() [all …]
|
D | OpenGLRenderer.h | 302 return mSnapshot->transform->isSimple(); in isCurrentTransformSimple() 311 return mSnapshot->clipRegion->isEmpty(); in isCurrentClipSimple() 319 mSnapshot->alpha *= alpha; in scaleAlpha() 446 return mSnapshot; in getSnapshot() 453 return mSnapshot->region; in getRegion() 460 return (mSnapshot->flags & Snapshot::kFlagFboTarget) && mSnapshot->region; in hasLayer() 985 return *mSnapshot->transform; in currentTransform() 1002 sp<Snapshot> mSnapshot; variable
|
D | DisplayListRenderer.cpp | 126 mSnapshot = new Snapshot(mFirstSnapshot, in prepareDirty() 130 mSnapshot->setClip(0.0f, 0.0f, mWidth, mHeight); in prepareDirty()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Canvas_Delegate.java | 66 private GcSnapshot mSnapshot; field in Canvas_Delegate 90 return mSnapshot; in getSnapshot() 498 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp); in native_clipPath() 515 return canvasDelegate.mSnapshot.clip(region.getJavaArea(), regionOp); in native_clipRegion() 1206 canvasDelegate.mSnapshot.draw(drawable); in draw() 1210 mSnapshot = GcSnapshot.createDefaultSnapshot(mBitmap = bitmap); in Canvas_Delegate() 1214 mSnapshot = GcSnapshot.createDefaultSnapshot(null /*image*/); in Canvas_Delegate() 1221 mSnapshot.dispose(); in dispose() 1226 int count = mSnapshot.size(); in save() 1228 mSnapshot = mSnapshot.save(saveFlags); in save() [all …]
|