| Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| index 5a6dff18019e33cbffc8826e8532cff5a8c36955..30943fa99ade8b0851a91e7ef86e3da3b3f3bb7d 100644
|
| --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| @@ -1644,6 +1644,36 @@ WGC3Dboolean WebGraphicsContext3DCommandBufferImpl::unmapBufferCHROMIUM(
|
| return gl_->UnmapBufferCHROMIUM(target);
|
| }
|
|
|
| +GLboolean WebGraphicsContext3DCommandBufferImpl::asyncTexImage2DCHROMIUM(
|
| + WGC3Denum target,
|
| + WGC3Dint level,
|
| + WGC3Denum internalformat,
|
| + WGC3Dsizei width,
|
| + WGC3Dsizei height,
|
| + WGC3Dint border,
|
| + WGC3Denum format,
|
| + WGC3Denum type,
|
| + const void* pixels) {
|
| + return gl_->AsyncTexImage2DCHROMIUM(
|
| + target, level, internalformat,
|
| + width, height, border, format, type, pixels);
|
| +}
|
| +
|
| +GLboolean WebGraphicsContext3DCommandBufferImpl::asyncTexSubImage2DCHROMIUM(
|
| + WGC3Denum target,
|
| + WGC3Dint level,
|
| + WGC3Dint xoffset,
|
| + WGC3Dint yoffset,
|
| + WGC3Dsizei width,
|
| + WGC3Dsizei height,
|
| + WGC3Denum format,
|
| + WGC3Denum type,
|
| + const void *pixels) {
|
| + return gl_->AsyncTexSubImage2DCHROMIUM(
|
| + target, level, xoffset, yoffset,
|
| + width, height, format, type, pixels);
|
| +}
|
| +
|
| GrGLInterface* WebGraphicsContext3DCommandBufferImpl::onCreateGrGLInterface() {
|
| return webkit::gpu::CreateCommandBufferSkiaGLBinding();
|
| }
|
|
|