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

Side by Side Diff: gpu/command_buffer/service/image_factory.cc

Issue 2061743004: Implement native GMB backbuffers in the GLES2 Command Decoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing change to gpu_param_traits_macros.h, since there are no consumers of it yet. Created 4 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "gpu/command_buffer/service/image_factory.h" 5 #include "gpu/command_buffer/service/image_factory.h"
6 6
7 #include "ui/gl/gl_image.h"
8
7 namespace gpu { 9 namespace gpu {
8 10
9 ImageFactory::ImageFactory() { 11 ImageFactory::ImageFactory() {
10 } 12 }
11 13
12 ImageFactory::~ImageFactory() { 14 ImageFactory::~ImageFactory() {
13 } 15 }
14 16
17 scoped_refptr<gl::GLImage> ImageFactory::CreateAnonymousImage(
18 const gfx::Size& size,
19 gfx::BufferFormat format,
20 unsigned internalformat) {
21 NOTREACHED();
22 return nullptr;
23 }
24
25 unsigned ImageFactory::RequiredTextureType() {
26 NOTREACHED();
piman 2016/06/27 22:46:15 nit: this is reached on !mac if the client request
erikchen 2016/06/28 01:38:42 Done.
27 return 0;
28 }
29
30 bool ImageFactory::SupportsFormatRGB() {
31 return true;
32 }
33
15 } // namespace gpu 34 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/image_factory.h ('k') | gpu/command_buffer/service/in_process_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698