| Index: ui/gl/gl_image_win.cc
|
| diff --git a/ui/gl/gl_image_win.cc b/ui/gl/gl_image_win.cc
|
| index 26b4a8f692074a3af357b5a3afffa2385f74c2d3..4c23087711d708b2d07c8bf25fbeb1d2b94dee7e 100644
|
| --- a/ui/gl/gl_image_win.cc
|
| +++ b/ui/gl/gl_image_win.cc
|
| @@ -53,4 +53,20 @@ scoped_refptr<GLImage> GLImage::CreateGLImageForGpuMemoryBuffer(
|
| }
|
| }
|
|
|
| +scoped_refptr<GLImage> GLImage::CreateGLImageForStreamTexture(
|
| + unsigned int texture_id) {
|
| + TRACE_EVENT0("gpu", "GLImage::CreateGLImageForStreamTexture");
|
| + switch (GetGLImplementation()) {
|
| + case kGLImplementationOSMesaGL:
|
| + case kGLImplementationDesktopGL:
|
| + case kGLImplementationEGLGLES2:
|
| + return NULL;
|
| + case kGLImplementationMockGL:
|
| + return new GLImageStub;
|
| + default:
|
| + NOTREACHED();
|
| + return NULL;
|
| + }
|
| +}
|
| +
|
| } // namespace gfx
|
|
|