Lines Matching defs:texture
188 GrDawnTexture* texture = static_cast<GrDawnTexture*>(surface->asTexture());
189 if (!texture) {
192 this->uploadTextureData(srcColorType, texels, mipLevelCount, rect, texture->texture());
193 if (mipLevelCount < texture->maxMipmapLevel() + 1) {
194 texture->markMipmapsDirty();
199 bool GrDawnGpu::onTransferPixelsTo(GrTexture* texture,
358 wgpu::Texture texture) {
382 dstTexture.texture = texture;
438 dstTexture.texture = info.fTexture;
587 return t->texture();
606 srcTextureView.texture = srcTexture;
608 dstTextureView.texture = dstTexture;
643 srcTexture.texture = tex;
687 // Create a temporary texture for mipmap generation, then copy to source.
689 // contains a view, not a texture.
755 wgpu::TextureView srcView = src->texture().CreateView(&srcViewDesc);
796 srcCopyView.texture = dstTexture;
800 dstCopyView.texture = src->texture();
856 std::unique_ptr<GrSemaphore> GrDawnGpu::prepareTextureForCrossContextUsage(GrTexture* texture) {