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

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

Issue 27192003: Start cleaning up 64bit Win warnings (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: revertedGrBytesPerPixel to returning a size_t 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 | « src/gpu/SkGrFontScaler.cpp ('k') | src/gpu/gl/GrGpuGL.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 GrGpuGL_DEFINED 8 #ifndef GrGpuGL_DEFINED
9 #define GrGpuGL_DEFINED 9 #define GrGpuGL_DEFINED
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const SkIRect& srcRect, 110 const SkIRect& srcRect,
111 const SkIPoint& dstPoint) SK_OVERRIDE; 111 const SkIPoint& dstPoint) SK_OVERRIDE;
112 112
113 private: 113 private:
114 // GrGpu overrides 114 // GrGpu overrides
115 virtual void onResetContext(uint32_t resetBits) SK_OVERRIDE; 115 virtual void onResetContext(uint32_t resetBits) SK_OVERRIDE;
116 116
117 virtual GrTexture* onCreateTexture(const GrTextureDesc& desc, 117 virtual GrTexture* onCreateTexture(const GrTextureDesc& desc,
118 const void* srcData, 118 const void* srcData,
119 size_t rowBytes) SK_OVERRIDE; 119 size_t rowBytes) SK_OVERRIDE;
120 virtual GrVertexBuffer* onCreateVertexBuffer(uint32_t size, 120 virtual GrVertexBuffer* onCreateVertexBuffer(size_t size, bool dynamic) SK_O VERRIDE;
121 bool dynamic) SK_OVERRIDE; 121 virtual GrIndexBuffer* onCreateIndexBuffer(size_t size, bool dynamic) SK_OVE RRIDE;
122 virtual GrIndexBuffer* onCreateIndexBuffer(uint32_t size,
123 bool dynamic) SK_OVERRIDE;
124 virtual GrPath* onCreatePath(const SkPath&, const SkStrokeRec&) SK_OVERRIDE; 122 virtual GrPath* onCreatePath(const SkPath&, const SkStrokeRec&) SK_OVERRIDE;
125 virtual GrTexture* onWrapBackendTexture(const GrBackendTextureDesc&) SK_OVER RIDE; 123 virtual GrTexture* onWrapBackendTexture(const GrBackendTextureDesc&) SK_OVER RIDE;
126 virtual GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTarge tDesc&) SK_OVERRIDE; 124 virtual GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTarge tDesc&) SK_OVERRIDE;
127 virtual bool createStencilBufferForRenderTarget(GrRenderTarget* rt, 125 virtual bool createStencilBufferForRenderTarget(GrRenderTarget* rt,
128 int width, 126 int width,
129 int height) SK_OVERRIDE; 127 int height) SK_OVERRIDE;
130 virtual bool attachStencilBufferToRenderTarget( 128 virtual bool attachStencilBufferToRenderTarget(
131 GrStencilBuffer* sb, 129 GrStencilBuffer* sb,
132 GrRenderTarget* rt) SK_OVERRIDE; 130 GrRenderTarget* rt) SK_OVERRIDE;
133 131
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 ///@} 446 ///@}
449 447
450 // we record what stencil format worked last time to hopefully exit early 448 // we record what stencil format worked last time to hopefully exit early
451 // from our loop that tries stencil formats and calls check fb status. 449 // from our loop that tries stencil formats and calls check fb status.
452 int fLastSuccessfulStencilFmtIdx; 450 int fLastSuccessfulStencilFmtIdx;
453 451
454 typedef GrGpu INHERITED; 452 typedef GrGpu INHERITED;
455 }; 453 };
456 454
457 #endif 455 #endif
OLDNEW
« no previous file with comments | « src/gpu/SkGrFontScaler.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698