| 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 4288daad505b27fa8fcc003f13e7c7850a6f5f46..cdebc7dab3e20333049b0491790b4a18ad9c76db 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_glue::CreateCommandBufferSkiaGLBinding();
|
| }
|
|
|