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

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

Issue 1541903002: added support for PLS path rendering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix for ASAN failure 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/GrGeometryProcessor.h ('k') | src/gpu/GrGpu.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 GrGpu_DEFINED 8 #ifndef GrGpu_DEFINED
9 #define GrGpu_DEFINED 9 #define GrGpu_DEFINED
10 10
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 , fDesc(desc) { 342 , fDesc(desc) {
343 SkASSERT(primProc && pipeline && desc); 343 SkASSERT(primProc && pipeline && desc);
344 } 344 }
345 const GrPrimitiveProcessor* fPrimitiveProcessor; 345 const GrPrimitiveProcessor* fPrimitiveProcessor;
346 const GrPipeline* fPipeline; 346 const GrPipeline* fPipeline;
347 const GrProgramDesc* fDesc; 347 const GrProgramDesc* fDesc;
348 }; 348 };
349 349
350 void draw(const DrawArgs&, const GrVertices&); 350 void draw(const DrawArgs&, const GrVertices&);
351 351
352 // Called by drawtarget when flushing. Provides a hook for working around an ARM PLS driver bug.
353 virtual void performFlushWorkaround();
354
352 /////////////////////////////////////////////////////////////////////////// 355 ///////////////////////////////////////////////////////////////////////////
353 // Debugging and Stats 356 // Debugging and Stats
354 357
355 class Stats { 358 class Stats {
356 public: 359 public:
357 #if GR_GPU_STATS 360 #if GR_GPU_STATS
358 Stats() { this->reset(); } 361 Stats() { this->reset(); }
359 362
360 void reset() { 363 void reset() {
361 fRenderTargetBinds = 0; 364 fRenderTargetBinds = 0;
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 ResetTimestamp fResetTi mestamp; 574 ResetTimestamp fResetTi mestamp;
572 uint32_t fResetBi ts; 575 uint32_t fResetBi ts;
573 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu. 576 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu.
574 GrContext* fContext ; 577 GrContext* fContext ;
575 578
576 friend class GrPathRendering; 579 friend class GrPathRendering;
577 typedef SkRefCnt INHERITED; 580 typedef SkRefCnt INHERITED;
578 }; 581 };
579 582
580 #endif 583 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGeometryProcessor.h ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698