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

Side by Side Diff: src/gpu/gl/GrGLGpu.h

Issue 1904723003: Revert of Use transfer buffer for BatchAtlas texture copies (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('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 2011 Google Inc. 2 * Copyright 2011 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 GrGLGpu_DEFINED 8 #ifndef GrGLGpu_DEFINED
9 #define GrGLGpu_DEFINED 9 #define GrGLGpu_DEFINED
10 10
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 int width, int height, 177 int width, int height,
178 GrPixelConfig, 178 GrPixelConfig,
179 void* buffer, 179 void* buffer,
180 size_t rowBytes) override; 180 size_t rowBytes) override;
181 181
182 bool onWritePixels(GrSurface*, 182 bool onWritePixels(GrSurface*,
183 int left, int top, int width, int height, 183 int left, int top, int width, int height,
184 GrPixelConfig config, 184 GrPixelConfig config,
185 const SkTArray<GrMipLevel>& texels) override; 185 const SkTArray<GrMipLevel>& texels) override;
186 186
187 bool onTransferPixels(GrTexture*, 187 bool onTransferPixels(GrSurface*,
188 int left, int top, int width, int height, 188 int left, int top, int width, int height,
189 GrPixelConfig config, GrBuffer* transferBuffer, 189 GrPixelConfig config, GrBuffer* transferBuffer,
190 size_t offset, size_t rowBytes) override; 190 size_t offset, size_t rowBytes) override;
191 191
192 void onResolveRenderTarget(GrRenderTarget* target) override; 192 void onResolveRenderTarget(GrRenderTarget* target) override;
193 193
194 void onDraw(const GrPipeline&, 194 void onDraw(const GrPipeline&,
195 const GrPrimitiveProcessor&, 195 const GrPrimitiveProcessor&,
196 const GrMesh*, 196 const GrMesh*,
197 int meshCount) override; 197 int meshCount) override;
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 bool fHWPLSEnabled; 564 bool fHWPLSEnabled;
565 bool fPLSHasBeenUsed; 565 bool fPLSHasBeenUsed;
566 566
567 float fHWMinSampleShading; 567 float fHWMinSampleShading;
568 568
569 typedef GrGpu INHERITED; 569 typedef GrGpu INHERITED;
570 friend class GrGLPathRendering; // For accessing setTextureUnit. 570 friend class GrGLPathRendering; // For accessing setTextureUnit.
571 }; 571 };
572 572
573 #endif 573 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698