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

Unified Diff: cc/resources/resource_provider.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: bilinear filter for rg88, float and half float added. 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/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 4f38ca95f89b183545fd4d72642ee2d3a24b2518..a10e060892160b213ef1a79bbe0bc496c7f98a7d 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -106,6 +106,7 @@ class CC_EXPORT ResourceProvider
return best_render_buffer_format_;
}
ResourceFormat YuvResourceFormat(int bits) const;
+ ResourceFormat Y16ResourceFormat(int bits) const;
bool use_sync_query() const { return use_sync_query_; }
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager() {
return gpu_memory_buffer_manager_;
@@ -679,6 +680,7 @@ class CC_EXPORT ResourceProvider
bool use_compressed_texture_etc1_;
ResourceFormat yuv_resource_format_;
ResourceFormat yuv_highbit_resource_format_;
+ ResourceFormat y16_resource_format_;
int max_texture_size_;
ResourceFormat best_texture_format_;
ResourceFormat best_render_buffer_format_;

Powered by Google App Engine
This is Rietveld 408576698