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

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

Issue 824753002: Rename GrGpuGL -> GrGLGpu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address nit 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/gl/GrGLBufferImpl.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 GrGpuGL_DEFINED 8 #ifndef GrGLGpu_DEFINED
9 #define GrGpuGL_DEFINED 9 #define GrGLGpu_DEFINED
10 10
11 #include "GrDrawState.h" 11 #include "GrDrawState.h"
12 #include "GrGLContext.h" 12 #include "GrGLContext.h"
13 #include "GrGLIRect.h" 13 #include "GrGLIRect.h"
14 #include "GrGLIndexBuffer.h" 14 #include "GrGLIndexBuffer.h"
15 #include "GrGLPathRendering.h" 15 #include "GrGLPathRendering.h"
16 #include "GrGLProgram.h" 16 #include "GrGLProgram.h"
17 #include "GrGLRenderTarget.h" 17 #include "GrGLRenderTarget.h"
18 #include "GrGLStencilBuffer.h" 18 #include "GrGLStencilBuffer.h"
19 #include "GrGLTexture.h" 19 #include "GrGLTexture.h"
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 405
406 private: 406 private:
407 GrGLuint fBoundVertexArrayID; 407 GrGLuint fBoundVertexArrayID;
408 GrGLuint fBoundVertexBufferID; 408 GrGLuint fBoundVertexBufferID;
409 bool fBoundVertexArrayIDIsValid; 409 bool fBoundVertexArrayIDIsValid;
410 bool fBoundVertexBufferIDIsValid; 410 bool fBoundVertexBufferIDIsValid;
411 411
412 GrGLuint fDefaultVertexArrayBoundIndexBufferID; 412 GrGLuint fDefaultVertexArrayBoundIndexBufferID;
413 bool fDefaultVertexArrayBoundIndexBufferIDIsValid; 413 bool fDefaultVertexArrayBoundIndexBufferIDIsValid;
414 // We return a non-const pointer to this from bindArrayAndBuffersToDraw when vertex array 0 414 // We return a non-const pointer to this from bindArrayAndBuffersToDraw when vertex array 0
415 // is bound. However, this class is internal to GrGpuGL and this object never leaks out of 415 // is bound. However, this class is internal to GrGLGpu and this object never leaks out of
416 // GrGpuGL. 416 // GrGLGpu.
417 GrGLAttribArrayState fDefaultVertexArrayAttribState; 417 GrGLAttribArrayState fDefaultVertexArrayAttribState;
418 418
419 // This is used when we're using a core profile and the vertices are in a VBO. 419 // This is used when we're using a core profile and the vertices are in a VBO.
420 GrGLVertexArray* fVBOVertexArray; 420 GrGLVertexArray* fVBOVertexArray;
421 } fHWGeometryState; 421 } fHWGeometryState;
422 422
423 struct { 423 struct {
424 GrBlendCoeff fSrcCoeff; 424 GrBlendCoeff fSrcCoeff;
425 GrBlendCoeff fDstCoeff; 425 GrBlendCoeff fDstCoeff;
426 GrColor fConstColor; 426 GrColor fConstColor;
(...skipping 24 matching lines...) Expand all
451 451
452 // we record what stencil format worked last time to hopefully exit early 452 // we record what stencil format worked last time to hopefully exit early
453 // from our loop that tries stencil formats and calls check fb status. 453 // from our loop that tries stencil formats and calls check fb status.
454 int fLastSuccessfulStencilFmtIdx; 454 int fLastSuccessfulStencilFmtIdx;
455 455
456 typedef GrGpu INHERITED; 456 typedef GrGpu INHERITED;
457 friend class GrGLPathRendering; // For accessing setTextureUnit. 457 friend class GrGLPathRendering; // For accessing setTextureUnit.
458 }; 458 };
459 459
460 #endif 460 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLBufferImpl.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698