Lines Matching defs:Snapshot
36 * A snapshot holds information about the current state of the rendering
37 * surface. A snapshot is usually created whenever the user calls save()
38 * and discarded when the user calls restore(). Once a snapshot is created,
41 * Each snapshot has a link to a previous snapshot, indicating the previous
44 class Snapshot: public LightRefBase<Snapshot> {
46 Snapshot(): flags(0), previous(NULL), layer(NULL), fbo(0), invisible(false), empty(false) {
53 * Copies the specified snapshot/ The specified snapshot is stored as
54 * the previous snapshot.
56 Snapshot(const sp<Snapshot>& s, int saveFlags):
73 if (s->flags & Snapshot::kFlagFboTarget) {
74 flags |= Snapshot::kFlagFboTarget;
87 * snapshot is restored so must the clip.
91 * Indicates that this snapshot was created when saving
96 * Indicates that this snapshot is a special type of layer
102 * Indicates that this snapshot has changed the ortho matrix.
106 * Indicates that this snapshot or an ancestor snapshot is
115 * by this snapshot's trasnformation.
161 flags |= Snapshot::kFlagClipSet;
172 flags |= Snapshot::kFlagClipSet;
193 flags |= Snapshot::kFlagClipSet;
206 * Previous snapshot.
208 sp<Snapshot> previous;
222 * Indicates that this snapshot is invisible and nothing should be drawn
240 * Height of the framebuffer the snapshot is rendering into.
271 }; // class Snapshot