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

Side by Side Diff: cc/output/gl_renderer.h

Issue 207233002: cc: Support texcoord offsets in YUVVideoDrawQuad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 5baa37b0 Initial. Created 6 years, 9 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
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_OUTPUT_GL_RENDERER_H_ 5 #ifndef CC_OUTPUT_GL_RENDERER_H_
6 #define CC_OUTPUT_GL_RENDERER_H_ 6 #define CC_OUTPUT_GL_RENDERER_H_
7 7
8 #include "base/cancelable_callback.h" 8 #include "base/cancelable_callback.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/base/scoped_ptr_vector.h" 10 #include "cc/base/scoped_ptr_vector.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 typedef ProgramBinding<VertexShaderQuadTexTransformAA, 279 typedef ProgramBinding<VertexShaderQuadTexTransformAA,
280 FragmentShaderRGBATexAlphaColorMatrixAA> 280 FragmentShaderRGBATexAlphaColorMatrixAA>
281 RenderPassColorMatrixProgramAA; 281 RenderPassColorMatrixProgramAA;
282 typedef ProgramBinding<VertexShaderPosTexTransform, 282 typedef ProgramBinding<VertexShaderPosTexTransform,
283 FragmentShaderRGBATexAlphaMaskColorMatrix> 283 FragmentShaderRGBATexAlphaMaskColorMatrix>
284 RenderPassMaskColorMatrixProgram; 284 RenderPassMaskColorMatrixProgram;
285 285
286 // Video shaders. 286 // Video shaders.
287 typedef ProgramBinding<VertexShaderVideoTransform, FragmentShaderRGBATex> 287 typedef ProgramBinding<VertexShaderVideoTransform, FragmentShaderRGBATex>
288 VideoStreamTextureProgram; 288 VideoStreamTextureProgram;
289 typedef ProgramBinding<VertexShaderPosTexYUVStretch, FragmentShaderYUVVideo> 289 typedef ProgramBinding<VertexShaderPosTexYUVStretchOffset,
290 VideoYUVProgram; 290 FragmentShaderYUVVideo> VideoYUVProgram;
291 typedef ProgramBinding<VertexShaderPosTexYUVStretch, FragmentShaderYUVAVideo> 291 typedef ProgramBinding<VertexShaderPosTexYUVStretchOffset,
292 VideoYUVAProgram; 292 FragmentShaderYUVAVideo> VideoYUVAProgram;
293 293
294 // Special purpose / effects shaders. 294 // Special purpose / effects shaders.
295 typedef ProgramBinding<VertexShaderPos, FragmentShaderColor> 295 typedef ProgramBinding<VertexShaderPos, FragmentShaderColor>
296 DebugBorderProgram; 296 DebugBorderProgram;
297 typedef ProgramBinding<VertexShaderQuad, FragmentShaderColor> 297 typedef ProgramBinding<VertexShaderQuad, FragmentShaderColor>
298 SolidColorProgram; 298 SolidColorProgram;
299 typedef ProgramBinding<VertexShaderQuadAA, FragmentShaderColorAA> 299 typedef ProgramBinding<VertexShaderQuadAA, FragmentShaderColorAA>
300 SolidColorProgramAA; 300 SolidColorProgramAA;
301 301
302 const TileProgram* GetTileProgram( 302 const TileProgram* GetTileProgram(
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 #if DEBUG_GL_CALLS && !defined(NDEBUG) 440 #if DEBUG_GL_CALLS && !defined(NDEBUG)
441 #define GLC(context, x) \ 441 #define GLC(context, x) \
442 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) 442 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__))
443 #else 443 #else
444 #define GLC(context, x) (x) 444 #define GLC(context, x) (x)
445 #endif 445 #endif
446 446
447 } // namespace cc 447 } // namespace cc
448 448
449 #endif // CC_OUTPUT_GL_RENDERER_H_ 449 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698