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

Side by Side Diff: src/gpu/gl/GrGLProgramDataManager.cpp

Issue 1151603005: Revert of Store context options on caps. (Closed) Base URL: https://skia.googlesource.com/skia.git@onecaps
Patch Set: Created 5 years, 7 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/gl/GrGLGpu.cpp ('k') | src/gpu/gl/builders/GrGLProgramBuilder.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 2012 Google Inc. 2 * Copyright 2012 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 #include "gl/GrGLPathRendering.h" 8 #include "gl/GrGLPathRendering.h"
9 #include "gl/GrGLUniformHandle.h" 9 #include "gl/GrGLUniformHandle.h"
10 #include "gl/GrGLGpu.h" 10 #include "gl/GrGLGpu.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 matrix.get(SkMatrix::kMTransX), 254 matrix.get(SkMatrix::kMTransX),
255 matrix.get(SkMatrix::kMTransY), 255 matrix.get(SkMatrix::kMTransY),
256 matrix.get(SkMatrix::kMPersp2), 256 matrix.get(SkMatrix::kMPersp2),
257 }; 257 };
258 this->setMatrix3f(u, mt); 258 this->setMatrix3f(u, mt);
259 } 259 }
260 260
261 #ifdef SK_DEBUG 261 #ifdef SK_DEBUG
262 void GrGLProgramDataManager::printUnused(const Uniform& uni) const { 262 void GrGLProgramDataManager::printUnused(const Uniform& uni) const {
263 if (kUnusedUniform == uni.fFSLocation && kUnusedUniform == uni.fVSLocation) { 263 if (kUnusedUniform == uni.fFSLocation && kUnusedUniform == uni.fVSLocation) {
264 GrCapsDebugf(fGpu->caps(), "Unused uniform in shader\n"); 264 GrContextDebugf(fGpu->getContext(), "Unused uniform in shader\n");
265 } 265 }
266 } 266 }
267 #endif 267 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/builders/GrGLProgramBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698