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

Side by Side Diff: cc/frame_buffer_skpicture_canvas_layer_texture_updater.cc

Issue 11111005: Remove GraphicsContext3D:: stubs from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 8 years, 2 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 | « cc/frame_buffer_skpicture_canvas_layer_texture_updater.h ('k') | cc/geometry_binding.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 "config.h" 5 #include "config.h"
6 6
7 #include "cc/frame_buffer_skpicture_canvas_layer_texture_updater.h" 7 #include "cc/frame_buffer_skpicture_canvas_layer_texture_updater.h"
8 8
9 #include "cc/layer_painter.h" 9 #include "cc/layer_painter.h"
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 FrameBufferSkPictureCanvasLayerTextureUpdater::~FrameBufferSkPictureCanvasLayerT extureUpdater() 38 FrameBufferSkPictureCanvasLayerTextureUpdater::~FrameBufferSkPictureCanvasLayerT extureUpdater()
39 { 39 {
40 } 40 }
41 41
42 scoped_ptr<LayerTextureUpdater::Texture> FrameBufferSkPictureCanvasLayerTextureU pdater::createTexture(CCPrioritizedTextureManager* manager) 42 scoped_ptr<LayerTextureUpdater::Texture> FrameBufferSkPictureCanvasLayerTextureU pdater::createTexture(CCPrioritizedTextureManager* manager)
43 { 43 {
44 return scoped_ptr<LayerTextureUpdater::Texture>(new Texture(this, CCPrioriti zedTexture::create(manager))); 44 return scoped_ptr<LayerTextureUpdater::Texture>(new Texture(this, CCPrioriti zedTexture::create(manager)));
45 } 45 }
46 46
47 LayerTextureUpdater::SampledTexelFormat FrameBufferSkPictureCanvasLayerTextureUp dater::sampledTexelFormat(GC3Denum textureFormat) 47 LayerTextureUpdater::SampledTexelFormat FrameBufferSkPictureCanvasLayerTextureUp dater::sampledTexelFormat(GLenum textureFormat)
48 { 48 {
49 // Here we directly render to the texture, so the component order is always correct. 49 // Here we directly render to the texture, so the component order is always correct.
50 return LayerTextureUpdater::SampledTexelFormatRGBA; 50 return LayerTextureUpdater::SampledTexelFormatRGBA;
51 } 51 }
52 52
53 } // namespace cc 53 } // namespace cc
OLDNEW
« no previous file with comments | « cc/frame_buffer_skpicture_canvas_layer_texture_updater.h ('k') | cc/geometry_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698