Lines Matching refs:context3d
226 scoped_ptr<WebKit::WebGraphicsContext3D> context3d(
230 EXPECT_TRUE(context3d->makeContextCurrent());
233 context3d->waitSyncPoint(texture_mailbox.sync_point());
235 unsigned texture_id = context3d->createTexture();
236 context3d->bindTexture(GL_TEXTURE_2D, texture_id);
237 context3d->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
238 context3d->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
239 context3d->texParameteri(
241 context3d->texParameteri(
243 context3d->consumeTextureCHROMIUM(texture_mailbox.target(),
245 context3d->bindTexture(GL_TEXTURE_2D, 0);
247 unsigned fbo = context3d->createFramebuffer();
248 context3d->bindFramebuffer(GL_FRAMEBUFFER, fbo);
249 context3d->framebufferTexture2D(GL_FRAMEBUFFER,
255 context3d->checkFramebufferStatus(GL_FRAMEBUFFER));
258 context3d->readPixels(0,
266 context3d->deleteFramebuffer(fbo);
267 context3d->deleteTexture(texture_id);
296 scoped_ptr<WebKit::WebGraphicsContext3D> context3d,
301 context3d->waitSyncPoint(sync_point);
302 context3d->deleteTexture(texture);
315 scoped_ptr<WebKit::WebGraphicsContext3D> context3d(
319 EXPECT_TRUE(context3d->makeContextCurrent());
321 unsigned texture_id = context3d->createTexture();
322 context3d->bindTexture(GL_TEXTURE_2D, texture_id);
323 context3d->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
324 context3d->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
325 context3d->texParameteri(
327 context3d->texParameteri(
353 context3d->texImage2D(GL_TEXTURE_2D,
365 context3d->genMailboxCHROMIUM(mailbox.name);
366 context3d->produceTextureCHROMIUM(GL_TEXTURE_2D, mailbox.name);
367 context3d->bindTexture(GL_TEXTURE_2D, 0);
368 uint32 sync_point = context3d->insertSyncPoint();
374 base::Passed(&context3d),