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

Side by Side Diff: include/gpu/GrBuffer.h

Issue 1870893002: Implement texel buffers (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_texelfetch
Patch Set: GrBuffer(Access) into include/gpu Created 4 years, 8 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
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrBufferAccess.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrBuffer_DEFINED 8 #ifndef GrBuffer_DEFINED
9 #define GrBuffer_DEFINED 9 #define GrBuffer_DEFINED
10 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) = 0; 132 virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) = 0;
133 133
134 size_t fGpuMemorySize; 134 size_t fGpuMemorySize;
135 GrAccessPattern fAccessPattern; 135 GrAccessPattern fAccessPattern;
136 bool fCPUBacked; 136 bool fCPUBacked;
137 137
138 typedef GrGpuResource INHERITED; 138 typedef GrGpuResource INHERITED;
139 }; 139 };
140 140
141 #endif 141 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrBufferAccess.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698