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

Side by Side Diff: src/gpu/GrSWMaskHelper.h

Issue 798723002: More win64 warning fixes (Closed) Base URL: https://skia.googlesource.com/skia.git@size_t
Patch Set: off_t is signed Created 6 years 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/GrProgramDesc.h ('k') | src/gpu/GrSWMaskHelper.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 2012 Google Inc. 2 * Copyright 2012 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 GrSWMaskHelper_DEFINED 8 #ifndef GrSWMaskHelper_DEFINED
9 #define GrSWMaskHelper_DEFINED 9 #define GrSWMaskHelper_DEFINED
10 10
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // only allocated (non-null) if fCompressionMode is kBlitter_CompressionMode 121 // only allocated (non-null) if fCompressionMode is kBlitter_CompressionMode
122 SkAutoMalloc fCompressedBuffer; 122 SkAutoMalloc fCompressedBuffer;
123 123
124 // This is the desired format within which to compress the 124 // This is the desired format within which to compress the
125 // texture. This value is only valid if fCompressionMode is not kNone_Compre ssionMode. 125 // texture. This value is only valid if fCompressionMode is not kNone_Compre ssionMode.
126 SkTextureCompressor::Format fCompressedFormat; 126 SkTextureCompressor::Format fCompressedFormat;
127 127
128 // Actually sends the texture data to the GPU. This is called from 128 // Actually sends the texture data to the GPU. This is called from
129 // toTexture with the data filled in depending on the texture config. 129 // toTexture with the data filled in depending on the texture config.
130 void sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc, 130 void sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc,
131 const void *data, int rowbytes); 131 const void *data, size_t rowbytes);
132 132
133 // Compresses the bitmap stored in fBM and sends the compressed data 133 // Compresses the bitmap stored in fBM and sends the compressed data
134 // to the GPU to be stored in 'texture' using sendTextureData. 134 // to the GPU to be stored in 'texture' using sendTextureData.
135 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc); 135 void compressTextureData(GrTexture *texture, const GrSurfaceDesc& desc);
136 136
137 typedef SkNoncopyable INHERITED; 137 typedef SkNoncopyable INHERITED;
138 }; 138 };
139 139
140 #endif // GrSWMaskHelper_DEFINED 140 #endif // GrSWMaskHelper_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/GrProgramDesc.h ('k') | src/gpu/GrSWMaskHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698