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

Side by Side Diff: ui/gl/gl_image_glx.cc

Issue 1830453002: WebGL: GL_RGB emulation for IOSurface backed textures. [For reference only] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile error. Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « ui/gl/gl_image_glx.h ('k') | ui/gl/gl_image_io_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 extern "C" { 5 extern "C" {
6 #include <X11/Xlib.h> 6 #include <X11/Xlib.h>
7 } 7 }
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 const gfx::RectF& crop_rect) { 200 const gfx::RectF& crop_rect) {
201 return false; 201 return false;
202 } 202 }
203 203
204 void GLImageGLX::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, 204 void GLImageGLX::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
205 uint64_t process_tracing_id, 205 uint64_t process_tracing_id,
206 const std::string& dump_name) { 206 const std::string& dump_name) {
207 // TODO(ericrk): Implement GLImage OnMemoryDump. crbug.com/514914 207 // TODO(ericrk): Implement GLImage OnMemoryDump. crbug.com/514914
208 } 208 }
209 209
210 bool GLImageGLX::EmulatingRGB() const {
211 return false;
212 }
213
210 } // namespace gl 214 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gl_image_glx.h ('k') | ui/gl/gl_image_io_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698