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

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

Issue 2448593002: Remove SkAutoTUnref and SkAutoTDelete from public includes. (Closed)
Patch Set: And Vulcan. Created 4 years, 1 month 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/GrGLExtensions.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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override; 157 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override;
158 158
159 GrTexture* onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, 159 GrTexture* onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
160 const SkTArray<GrMipLevel>& texels) override; 160 const SkTArray<GrMipLevel>& texels) override;
161 GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc, 161 GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc,
162 SkBudgeted budgeted, 162 SkBudgeted budgeted,
163 const SkTArray<GrMipLevel>& texels) ove rride; 163 const SkTArray<GrMipLevel>& texels) ove rride;
164 164
165 GrBuffer* onCreateBuffer(size_t size, GrBufferType intendedType, GrAccessPat tern, 165 GrBuffer* onCreateBuffer(size_t size, GrBufferType intendedType, GrAccessPat tern,
166 const void* data) override; 166 const void* data) override;
167 GrTexture* onWrapBackendTexture(const GrBackendTextureDesc&, GrWrapOwnership ) override; 167 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTextureDesc&, GrWrapOwn ership) override;
168 GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTargetDesc&, 168 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTargetD esc&,
169 GrWrapOwnership) override; 169 GrWrapOwnership) override;
170 GrRenderTarget* onWrapBackendTextureAsRenderTarget(const GrBackendTextureDes c&) override; 170 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendText ureDesc&) override;
171 171
172 gr_instanced::InstancedRendering* onCreateInstancedRendering() override; 172 gr_instanced::InstancedRendering* onCreateInstancedRendering() override;
173 173
174 // Given a GrPixelConfig return the index into the stencil format array on G rGLCaps to a 174 // Given a GrPixelConfig return the index into the stencil format array on G rGLCaps to a
175 // compatible stencil format, or negative if there is no compatible stencil format. 175 // compatible stencil format, or negative if there is no compatible stencil format.
176 int getCompatibleStencilIndex(GrPixelConfig config); 176 int getCompatibleStencilIndex(GrPixelConfig config);
177 177
178 178
179 // Returns whether the texture is successfully created. On success, the 179 // Returns whether the texture is successfully created. On success, the
180 // result is stored in |info|. 180 // result is stored in |info|.
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 bool fPLSHasBeenUsed; 643 bool fPLSHasBeenUsed;
644 644
645 float fHWMinSampleShading; 645 float fHWMinSampleShading;
646 646
647 typedef GrGpu INHERITED; 647 typedef GrGpu INHERITED;
648 friend class GrGLPathRendering; // For accessing setTextureUnit. 648 friend class GrGLPathRendering; // For accessing setTextureUnit.
649 friend class gr_instanced::GLInstancedRendering; // For accessing flushGLSta te. 649 friend class gr_instanced::GLInstancedRendering; // For accessing flushGLSta te.
650 }; 650 };
651 651
652 #endif 652 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLExtensions.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698