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

Unified Diff: cc/output/shader.h

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: cc/output/shader.h
diff --git a/cc/output/shader.h b/cc/output/shader.h
index 836c9f57e05b28ea043cd7b1dd0b02adf990f74d..5d62dd9ce9f9dc9407abb2a9ff1e275dfcbd260e 100644
--- a/cc/output/shader.h
+++ b/cc/output/shader.h
@@ -861,6 +861,14 @@ class FragmentShaderYUVAVideo : public FragmentTexBlendMode {
DISALLOW_COPY_AND_ASSIGN(FragmentShaderYUVAVideo);
};
+class FragmentShaderYVideo : public FragmentTexOpaqueBinding {
+ public:
+ std::string GetShaderString(
+ TexCoordPrecision precision, SamplerType sampler) const;
+ static std::string GetShaderHead();
+ static std::string GetShaderBody();
+};
+
class FragmentShaderColor : public FragmentTexBlendMode {
public:
FragmentShaderColor();

Powered by Google App Engine
This is Rietveld 408576698