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

Unified Diff: ui/ozone/platform/drm/gpu/gbm_buffer_base.h

Issue 1483633002: ozone: support gfx::BufferFormat::RGBX_8888 as a native pixmap format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gl_image_ozone_native_pixmap also, which gl_unittests check Created 5 years 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 | « ui/ozone/platform/drm/gpu/gbm_buffer.cc ('k') | ui/ozone/platform/drm/gpu/gbm_buffer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/gbm_buffer_base.h
diff --git a/ui/ozone/platform/drm/gpu/gbm_buffer_base.h b/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
index e14fa8a9b20c1ac105022c35307d6417bb605cac..63017784244ed7201926fb91cd80d79807537672 100644
--- a/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
+++ b/ui/ozone/platform/drm/gpu/gbm_buffer_base.h
@@ -29,14 +29,17 @@ class GbmBufferBase : public ScanoutBuffer {
bool RequiresGlFinish() const override;
protected:
- GbmBufferBase(const scoped_refptr<DrmDevice>& drm, gbm_bo* bo, bool scanout);
+ GbmBufferBase(const scoped_refptr<DrmDevice>& drm,
+ gbm_bo* bo,
+ gfx::BufferFormat format,
+ gfx::BufferUsage usage);
~GbmBufferBase() override;
private:
scoped_refptr<DrmDevice> drm_;
gbm_bo* bo_;
uint32_t framebuffer_ = 0;
- uint32_t fb_pixel_format_ = 0;
+ uint32_t framebuffer_pixel_format_ = 0;
DISALLOW_COPY_AND_ASSIGN(GbmBufferBase);
};
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_buffer.cc ('k') | ui/ozone/platform/drm/gpu/gbm_buffer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698