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

Side by Side Diff: content/common/gpu/texture_image_transport_surface.cc

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/texture_image_transport_surface.h ('k') | content/common/sandbox_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/gpu/texture_image_transport_surface.h" 5 #include "content/common/gpu/texture_image_transport_surface.h"
6 6
7 #include "content/common/gpu/gpu_channel.h" 7 #include "content/common/gpu/gpu_channel.h"
8 #include "content/common/gpu/gpu_channel_manager.h" 8 #include "content/common/gpu/gpu_channel_manager.h"
9 #include "content/common/gpu/gpu_messages.h" 9 #include "content/common/gpu/gpu_messages.h"
10 #include "gpu/command_buffer/service/context_group.h" 10 #include "gpu/command_buffer/service/context_group.h"
11 #include "gpu/command_buffer/service/gpu_scheduler.h" 11 #include "gpu/command_buffer/service/gpu_scheduler.h"
12 #include "gpu/command_buffer/service/texture_manager.h" 12 #include "gpu/command_buffer/service/texture_manager.h"
13 #include "ui/gfx/gl/scoped_make_current.h" 13 #include "ui/gl/scoped_make_current.h"
14 14
15 using gpu::gles2::ContextGroup; 15 using gpu::gles2::ContextGroup;
16 using gpu::gles2::TextureManager; 16 using gpu::gles2::TextureManager;
17 typedef TextureManager::TextureInfo TextureInfo; 17 typedef TextureManager::TextureInfo TextureInfo;
18 18
19 namespace { 19 namespace {
20 20
21 class ScopedFrameBufferBinder { 21 class ScopedFrameBufferBinder {
22 public: 22 public:
23 ScopedFrameBufferBinder(unsigned int fbo) { 23 ScopedFrameBufferBinder(unsigned int fbo) {
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 Texture& texture = textures_[i]; 431 Texture& texture = textures_[i];
432 texture.info = NULL; 432 texture.info = NULL;
433 if (!texture.sent_to_client) 433 if (!texture.sent_to_client)
434 continue; 434 continue;
435 GpuHostMsg_AcceleratedSurfaceRelease_Params params; 435 GpuHostMsg_AcceleratedSurfaceRelease_Params params;
436 params.identifier = texture.client_id; 436 params.identifier = texture.client_id;
437 helper_->SendAcceleratedSurfaceRelease(params); 437 helper_->SendAcceleratedSurfaceRelease(params);
438 } 438 }
439 parent_stub_ = NULL; 439 parent_stub_ = NULL;
440 } 440 }
OLDNEW
« no previous file with comments | « content/common/gpu/texture_image_transport_surface.h ('k') | content/common/sandbox_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698