Home | History | Annotate | Download | only in gpu

Lines Matching defs:Buffer

18 CompositorSoftwareOutputDevice::Buffer::Buffer(
26 CompositorSoftwareOutputDevice::Buffer::~Buffer() {
29 void CompositorSoftwareOutputDevice::Buffer::SetParent(
30 Buffer* parent, const gfx::Rect& damage) {
35 bool CompositorSoftwareOutputDevice::Buffer::FindDamageDifferenceFrom(
36 Buffer* buffer, SkRegion* result) const {
37 if (!buffer)
40 if (buffer == this) {
46 const Buffer* current = this;
49 if (current->parent_ == buffer) {
78 CompositorSoftwareOutputDevice::Buffer*
86 return new Buffer(GetNextId(), mem.Pass());
122 Buffer* previous = NULL;
126 Buffer* current = buffers_[current_index_];
130 // Set up a canvas for the current front buffer.
142 // to be copied from the |previous| buffer.
170 Buffer* buffer = buffers_[i];
171 if (buffer->parent() == current)
172 buffer->SetParent(NULL, gfx::Rect(viewport_size_));
184 Buffer* buffer = buffers_[current_index_];
185 frame_data->id = buffer->id();
188 frame_data->handle = buffer->handle();
197 // The reclaimed buffer id might not be among the currently
199 ScopedVector<Buffer>::iterator it =