Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: gpu/command_buffer/client/gl_in_process_context.cc

Issue 23660006: FeatureInfo: Remove allowed_extensions and init workarounds early (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android_webview build Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/gl_in_process_context.cc
diff --git a/gpu/command_buffer/client/gl_in_process_context.cc b/gpu/command_buffer/client/gl_in_process_context.cc
index a8e33b65162c613744401f350171b437382d009c..cf0c8a79ec68a481678667b086fe85f4142c19c0 100644
--- a/gpu/command_buffer/client/gl_in_process_context.cc
+++ b/gpu/command_buffer/client/gl_in_process_context.cc
@@ -57,7 +57,6 @@ class GLInProcessContextImpl
bool share_resources,
gfx::AcceleratedWidget window,
const gfx::Size& size,
- const char* allowed_extensions,
const GLInProcessContextAttribs& attribs,
gfx::GpuPreference gpu_preference);
@@ -153,7 +152,6 @@ bool GLInProcessContextImpl::Initialize(
bool share_resources,
gfx::AcceleratedWidget window,
const gfx::Size& size,
- const char* allowed_extensions,
const GLInProcessContextAttribs& attribs,
gfx::GpuPreference gpu_preference) {
DCHECK(size.width() >= 0 && size.height() >= 0);
@@ -233,7 +231,6 @@ bool GLInProcessContextImpl::Initialize(
share_resources,
window,
size,
- allowed_extensions,
attrib_vector,
gpu_preference,
wrapped_callback,
@@ -367,7 +364,6 @@ GLInProcessContext* GLInProcessContext::CreateContext(
gfx::AcceleratedWidget window,
const gfx::Size& size,
bool share_resources,
- const char* allowed_extensions,
const GLInProcessContextAttribs& attribs,
gfx::GpuPreference gpu_preference) {
scoped_ptr<GLInProcessContextImpl> context(
@@ -378,7 +374,6 @@ GLInProcessContext* GLInProcessContext::CreateContext(
share_resources,
window,
size,
- allowed_extensions,
attribs,
gpu_preference))
return NULL;
@@ -390,7 +385,6 @@ GLInProcessContext* GLInProcessContext::CreateContext(
GLInProcessContext* GLInProcessContext::CreateWithSurface(
scoped_refptr<gfx::GLSurface> surface,
bool share_resources,
- const char* allowed_extensions,
const GLInProcessContextAttribs& attribs,
gfx::GpuPreference gpu_preference) {
scoped_ptr<GLInProcessContextImpl> context(
@@ -401,7 +395,6 @@ GLInProcessContext* GLInProcessContext::CreateWithSurface(
share_resources,
gfx::kNullAcceleratedWidget,
surface->GetSize(),
- allowed_extensions,
attribs,
gpu_preference))
return NULL;
« no previous file with comments | « gpu/command_buffer/client/gl_in_process_context.h ('k') | gpu/command_buffer/service/buffer_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698