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

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

Issue 1658823002: Remove deferred clear from SkGpuDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix ptr->bool warning on windows Created 4 years, 10 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/batches/GrClearBatch.h ('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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 void invalidateBoundRenderTarget() { 120 void invalidateBoundRenderTarget() {
121 fHWBoundRenderTargetUniqueID = SK_InvalidUniqueID; 121 fHWBoundRenderTargetUniqueID = SK_InvalidUniqueID;
122 } 122 }
123 123
124 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTa rget* rt, 124 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTa rget* rt,
125 int width, 125 int width,
126 int height) over ride; 126 int height) over ride;
127 127
128 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h, 128 GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h,
129 GrPixelConfig config) const override; 129 GrPixelConfig config) overri de;
130 bool isTestingOnlyBackendTexture(GrBackendObject) const override; 130 bool isTestingOnlyBackendTexture(GrBackendObject) const override;
131 void deleteTestingOnlyBackendTexture(GrBackendObject, bool abandonTexture) c onst override; 131 void deleteTestingOnlyBackendTexture(GrBackendObject, bool abandonTexture) o verride;
132 132
133 void resetShaderCacheForTesting() const override; 133 void resetShaderCacheForTesting() const override;
134 134
135 void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override; 135 void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override;
136 136
137 void performFlushWorkaround() override; 137 void performFlushWorkaround() override;
138 138
139 private: 139 private:
140 GrGLGpu(GrGLContext* ctx, GrContext* context); 140 GrGLGpu(GrGLContext* ctx, GrContext* context);
141 141
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 } fPLSSetupProgram; 581 } fPLSSetupProgram;
582 582
583 bool fHWPLSEnabled; 583 bool fHWPLSEnabled;
584 bool fPLSHasBeenUsed; 584 bool fPLSHasBeenUsed;
585 585
586 typedef GrGpu INHERITED; 586 typedef GrGpu INHERITED;
587 friend class GrGLPathRendering; // For accessing setTextureUnit. 587 friend class GrGLPathRendering; // For accessing setTextureUnit.
588 }; 588 };
589 589
590 #endif 590 #endif
OLDNEW
« no previous file with comments | « src/gpu/batches/GrClearBatch.h ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698