Home | History | Annotate | Download | only in src

Lines Matching refs:record

489                                       OffscreenRecord* record) {
492 GrAssert(NULL == record->fEntry0);
493 GrAssert(NULL == record->fEntry1);
512 record->fDownsample = OffscreenRecord::kFSAA_Downsample;
516 record->fDownsample = (fGpu->supports4x4DownsampleFilter()) ?
526 record->fEntry0 = this->lockKeylessTexture(desc);
528 if (NULL == record->fEntry0) {
532 if (OffscreenRecord::k4x4TwoPass_Downsample == record->fDownsample) {
535 record->fEntry1 = this->lockKeylessTexture(desc);
536 if (NULL == record->fEntry1) {
537 this->unlockTexture(record->fEntry0);
538 record->fEntry0 = NULL;
543 GrRenderTarget* offRT0 = record->fEntry0->texture()->asRenderTarget();
546 target->saveCurrentDrawState(&record->fSavedState);
572 OffscreenRecord* record) {
574 GrAssert(NULL != record->fEntry0);
577 if (OffscreenRecord::k4x4SinglePass_Downsample == record->fDownsample) {
587 GrTexture* src = record->fEntry0->texture();
594 if (OffscreenRecord::k4x4TwoPass_Downsample == record->fDownsample) {
595 GrAssert(NULL != record->fEntry1);
597 GrRenderTarget* dst = record->fEntry1->texture()->asRenderTarget();
611 src = record->fEntry1->texture();
612 } else if (OffscreenRecord::kFSAA_Downsample == record->fDownsample) {
618 record->fDownsample);
625 target->restoreDrawState(record->fSavedState);
648 this->unlockTexture(record->fEntry0);
649 record->fEntry0 = NULL;
650 if (NULL != record->fEntry1) {
651 this->unlockTexture(record->fEntry1);
652 record->fEntry1 = NULL;
654 target->restoreDrawState(record->fSavedState);
1112 OffscreenRecord record;
1146 if (this->setupOffscreenAAPass1(target, false, bounds, &record)) {
1164 this->offscreenAAPass2(target, paint, bounds, &record);
1181 OffscreenRecord record;
1215 if (this->setupOffscreenAAPass1(target, needsStencil, bound, &record)) {
1217 this->offscreenAAPass2(target, paint, bound, &record);