Home | History | Annotate | Download | only in tests

Lines Matching defs:tex

86     GrTexture* tex = texProxy->priv().peekTexture();
91 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() == tex->uniqueID().asUInt());
94 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() != tex->uniqueID().asUInt());
98 REPORTER_ASSERT(reporter, tex->width() == texProxy->width());
99 REPORTER_ASSERT(reporter, tex->height() == texProxy->height());
101 REPORTER_ASSERT(reporter, tex->width() >= texProxy->width());
102 REPORTER_ASSERT(reporter, tex->height() >= texProxy->height());
104 REPORTER_ASSERT(reporter, tex->config() == texProxy->config());
131 sk_sp<GrTexture> tex;
133 tex = resourceProvider->createApproxTexture(desc, 0);
135 tex = resourceProvider->createTexture(desc, budgeted);
140 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy));
163 sk_sp<GrTexture> tex;
165 tex = resourceProvider->createApproxTexture(desc, 0);
167 tex = resourceProvider->createTexture(desc, budgeted);
172 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy));