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

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.h

Issue 1129943006: Implement StreamTexture::BindTexImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CreateStreamTexture Flow Change. Created 5 years, 6 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: content/browser/gpu/browser_gpu_channel_host_factory.h
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h
index 049cec1f2b3a176c26f65d36046e8749d694c65c..679486e323c8038fbb1fd7202119769679cc83b5 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h
@@ -31,6 +31,9 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
int32 surface_id,
const GPUCreateCommandBufferConfig& init_params,
int32 route_id) override;
+ bool CreateStreamTexture(int32 image_id,
+ int32 route_id,
+ int32 stream_id) override;
IPC::AttachmentBroker* GetAttachmentBroker() override;
int GpuProcessHostId() { return gpu_host_id_; }
@@ -48,6 +51,7 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
private:
struct CreateRequest;
+ struct CreateStreamTextureRequest;
class EstablishRequest;
BrowserGpuChannelHostFactory();
@@ -58,8 +62,13 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
CreateRequest* request,
int32 surface_id,
const GPUCreateCommandBufferConfig& init_params);
+
reveman 2015/06/29 16:02:00 why blank line here but not below?
sivag 2015/06/30 11:17:17 Done.
+ void CreateStreamTextureOnIO(CreateStreamTextureRequest* request);
+
static void CommandBufferCreatedOnIO(CreateRequest* request,
CreateCommandBufferResult result);
+ static void StreamTextureCreatedOnIO(CreateStreamTextureRequest* request,
+ bool result);
static void AddFilterOnIO(int gpu_host_id,
scoped_refptr<IPC::MessageFilter> filter);
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_channel_host_factory.cc » ('j') | content/common/gpu/gpu_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698