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

Side by Side Diff: cc/output/context_provider.h

Issue 27973002: cc: Adding ETC1 support to UIResourceBitmap and ResourceProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: latest comments Created 7 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/debug/test_web_graphics_context_3d.h ('k') | cc/output/context_provider.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CC_OUTPUT_CONTEXT_PROVIDER_H_ 5 #ifndef CC_OUTPUT_CONTEXT_PROVIDER_H_
6 #define CC_OUTPUT_CONTEXT_PROVIDER_H_ 6 #define CC_OUTPUT_CONTEXT_PROVIDER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 23 matching lines...) Expand all
34 bool egl_image_external; 34 bool egl_image_external;
35 bool fast_npot_mo8_textures; 35 bool fast_npot_mo8_textures;
36 bool iosurface; 36 bool iosurface;
37 bool map_image; 37 bool map_image;
38 bool map_sub; 38 bool map_sub;
39 bool post_sub_buffer; 39 bool post_sub_buffer;
40 bool set_visibility; 40 bool set_visibility;
41 bool shallow_flush; 41 bool shallow_flush;
42 bool swapbuffers_complete_callback; 42 bool swapbuffers_complete_callback;
43 bool texture_format_bgra8888; 43 bool texture_format_bgra8888;
44 bool texture_format_etc1;
44 bool texture_rectangle; 45 bool texture_rectangle;
45 bool texture_storage; 46 bool texture_storage;
46 bool texture_usage; 47 bool texture_usage;
47 bool discard_framebuffer; 48 bool discard_framebuffer;
48 size_t max_transfer_buffer_usage_bytes; 49 size_t max_transfer_buffer_usage_bytes;
49 50
50 CC_EXPORT Capabilities(); 51 CC_EXPORT Capabilities();
51 }; 52 };
52 // Returns the capabilities of the currently bound 3d context. 53 // Returns the capabilities of the currently bound 3d context.
53 virtual Capabilities ContextCapabilities() = 0; 54 virtual Capabilities ContextCapabilities() = 0;
(...skipping 30 matching lines...) Expand all
84 const MemoryPolicyChangedCallback& memory_policy_changed_callback) = 0; 85 const MemoryPolicyChangedCallback& memory_policy_changed_callback) = 0;
85 86
86 protected: 87 protected:
87 friend class base::RefCountedThreadSafe<ContextProvider>; 88 friend class base::RefCountedThreadSafe<ContextProvider>;
88 virtual ~ContextProvider() {} 89 virtual ~ContextProvider() {}
89 }; 90 };
90 91
91 } // namespace cc 92 } // namespace cc
92 93
93 #endif // CC_OUTPUT_CONTEXT_PROVIDER_H_ 94 #endif // CC_OUTPUT_CONTEXT_PROVIDER_H_
OLDNEW
« no previous file with comments | « cc/debug/test_web_graphics_context_3d.h ('k') | cc/output/context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698