| Index: chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
|
| ===================================================================
|
| --- chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc (revision 68245)
|
| +++ chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc (working copy)
|
| @@ -90,7 +90,7 @@
|
| GPUInfo gpu_info = host->gpu_info();
|
| UMA_HISTOGRAM_ENUMERATION(
|
| "GPU.WebGraphicsContext3D_Init_CanLoseContext",
|
| - attributes.canRecoverFromContextLoss * 2 + gpu_info.can_lose_context(),
|
| + attributes.canRecoverFromContextLoss * 2 + gpu_info.can_lose_context(),
|
| 4);
|
| if (attributes.canRecoverFromContextLoss == false) {
|
| if (gpu_info.can_lose_context())
|
| @@ -371,6 +371,16 @@
|
| copyTextureToCompositor(texture, parentTexture);
|
| }
|
|
|
| +WebKit::WebString WebGraphicsContext3DCommandBufferImpl::
|
| + getRequestableExtensionsCHROMIUM() {
|
| + return WebKit::WebString::fromUTF8(glGetRequestableExtensionsCHROMIUM());
|
| +}
|
| +
|
| +void WebGraphicsContext3DCommandBufferImpl::requestExtensionCHROMIUM(
|
| + const char* extension) {
|
| + glRequestExtensionCHROMIUM(extension);
|
| +}
|
| +
|
| // Helper macros to reduce the amount of code.
|
|
|
| #define DELEGATE_TO_GL(name, glname) \
|
|
|