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

Unified Diff: gpu/command_buffer/service/image_factory.cc

Issue 2061743004: Implement native GMB backbuffers in the GLES2 Command Decoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from piman. Created 4 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
« no previous file with comments | « gpu/command_buffer/service/image_factory.h ('k') | gpu/command_buffer/service/in_process_command_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/image_factory.cc
diff --git a/gpu/command_buffer/service/image_factory.cc b/gpu/command_buffer/service/image_factory.cc
index 8990bb188cc804aec07b08ded8ba85c39e888903..bd1530e80fbe965f663dee1adfef279a5361201e 100644
--- a/gpu/command_buffer/service/image_factory.cc
+++ b/gpu/command_buffer/service/image_factory.cc
@@ -4,6 +4,8 @@
#include "gpu/command_buffer/service/image_factory.h"
+#include "ui/gl/gl_image.h"
+
namespace gpu {
ImageFactory::ImageFactory() {
@@ -12,4 +14,21 @@ ImageFactory::ImageFactory() {
ImageFactory::~ImageFactory() {
}
+scoped_refptr<gl::GLImage> ImageFactory::CreateAnonymousImage(
+ const gfx::Size& size,
+ gfx::BufferFormat format,
+ unsigned internalformat) {
+ NOTREACHED();
+ return nullptr;
+}
+
+unsigned ImageFactory::RequiredTextureType() {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
+bool ImageFactory::SupportsFormatRGB() {
+ return true;
+}
+
} // namespace gpu
« no previous file with comments | « gpu/command_buffer/service/image_factory.h ('k') | gpu/command_buffer/service/in_process_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698