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

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

Issue 26342006: Move renderable config list to GrDrawTargetCaps (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix size_t/int comparison 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/gl/GrGLCaps.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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 bool isNewTexture, 254 bool isNewTexture,
255 int left, int top, int width, int height, 255 int left, int top, int width, int height,
256 GrPixelConfig dataConfig, 256 GrPixelConfig dataConfig,
257 const void* data, 257 const void* data,
258 size_t rowBytes); 258 size_t rowBytes);
259 259
260 bool createRenderTargetObjects(int width, int height, 260 bool createRenderTargetObjects(int width, int height,
261 GrGLuint texID, 261 GrGLuint texID,
262 GrGLRenderTarget::Desc* desc); 262 GrGLRenderTarget::Desc* desc);
263 263
264 void fillInConfigRenderableTable();
265
266 GrGLContext fGLContext; 264 GrGLContext fGLContext;
267 265
268 // GL program-related state 266 // GL program-related state
269 ProgramCache* fProgramCache; 267 ProgramCache* fProgramCache;
270 SkAutoTUnref<GrGLProgram> fCurrentProgram; 268 SkAutoTUnref<GrGLProgram> fCurrentProgram;
271 269
272 /////////////////////////////////////////////////////////////////////////// 270 ///////////////////////////////////////////////////////////////////////////
273 ///@name Caching of GL State 271 ///@name Caching of GL State
274 ///@{ 272 ///@{
275 int fHWActiveTextureUnitIdx; 273 int fHWActiveTextureUnitIdx;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 ///@} 448 ///@}
451 449
452 // we record what stencil format worked last time to hopefully exit early 450 // 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. 451 // from our loop that tries stencil formats and calls check fb status.
454 int fLastSuccessfulStencilFmtIdx; 452 int fLastSuccessfulStencilFmtIdx;
455 453
456 typedef GrGpu INHERITED; 454 typedef GrGpu INHERITED;
457 }; 455 };
458 456
459 #endif 457 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698