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

Unified Diff: gpu/ipc/in_process_command_buffer.cc

Issue 2629633003: Refactor GL bindings so there is no global GLApi or DriverGL. (Closed)
Patch Set: rebase Created 3 years, 11 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
« no previous file with comments | « gpu/config/gpu_info_collector_unittest.cc ('k') | gpu/ipc/service/gpu_channel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/in_process_command_buffer.cc
diff --git a/gpu/ipc/in_process_command_buffer.cc b/gpu/ipc/in_process_command_buffer.cc
index e400376138f1b0de0d4dfac5de68240e736cc081..85580ce735317f9b75a8bb8cc1ad108b51cdbe96 100644
--- a/gpu/ipc/in_process_command_buffer.cc
+++ b/gpu/ipc/in_process_command_buffer.cc
@@ -166,8 +166,8 @@ InProcessCommandBuffer::Service::mailbox_manager() {
gpu::gles2::ProgramCache* InProcessCommandBuffer::Service::program_cache() {
if (!program_cache_.get() &&
- (gl::g_driver_gl.ext.b_GL_ARB_get_program_binary ||
- gl::g_driver_gl.ext.b_GL_OES_get_program_binary) &&
+ (gl::g_current_gl_driver->ext.b_GL_ARB_get_program_binary ||
+ gl::g_current_gl_driver->ext.b_GL_OES_get_program_binary) &&
!gpu_preferences().disable_gpu_program_cache) {
const GpuDriverBugWorkarounds& workarounds = gpu_driver_bug_workarounds_;
bool disable_disk_cache =
« no previous file with comments | « gpu/config/gpu_info_collector_unittest.cc ('k') | gpu/ipc/service/gpu_channel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698