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

Side by Side Diff: cc/output/gl_renderer.h

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed a signed vs. unsigned comparison in video_resource_updater.cc Created 7 years, 3 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 | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 #ifndef CC_OUTPUT_GL_RENDERER_H_ 5 #ifndef CC_OUTPUT_GL_RENDERER_H_
6 #define CC_OUTPUT_GL_RENDERER_H_ 6 #define CC_OUTPUT_GL_RENDERER_H_
7 7
8 #include "base/cancelable_callback.h" 8 #include "base/cancelable_callback.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/base/scoped_ptr_vector.h" 10 #include "cc/base/scoped_ptr_vector.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void InitializeGrContext(); 95 void InitializeGrContext();
96 96
97 const gfx::QuadF& SharedGeometryQuad() const { return shared_geometry_quad_; } 97 const gfx::QuadF& SharedGeometryQuad() const { return shared_geometry_quad_; }
98 const GeometryBinding* SharedGeometry() const { 98 const GeometryBinding* SharedGeometry() const {
99 return shared_geometry_.get(); 99 return shared_geometry_.get();
100 } 100 }
101 101
102 void GetFramebufferPixelsAsync(gfx::Rect rect, 102 void GetFramebufferPixelsAsync(gfx::Rect rect,
103 scoped_ptr<CopyOutputRequest> request); 103 scoped_ptr<CopyOutputRequest> request);
104 void GetFramebufferTexture(unsigned texture_id, 104 void GetFramebufferTexture(unsigned texture_id,
105 unsigned texture_format, 105 ResourceFormat texture_format,
106 gfx::Rect device_rect); 106 gfx::Rect device_rect);
107 void ReleaseRenderPassTextures(); 107 void ReleaseRenderPassTextures();
108 108
109 void SetStencilEnabled(bool enabled); 109 void SetStencilEnabled(bool enabled);
110 bool stencil_enabled() const { return stencil_shadow_; } 110 bool stencil_enabled() const { return stencil_shadow_; }
111 void SetBlendEnabled(bool enabled); 111 void SetBlendEnabled(bool enabled);
112 bool blend_enabled() const { return blend_shadow_; } 112 bool blend_enabled() const { return blend_shadow_; }
113 113
114 virtual void BindFramebufferToOutputSurface(DrawingFrame* frame) OVERRIDE; 114 virtual void BindFramebufferToOutputSurface(DrawingFrame* frame) OVERRIDE;
115 virtual bool BindFramebufferToTexture(DrawingFrame* frame, 115 virtual bool BindFramebufferToTexture(DrawingFrame* frame,
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 #if DEBUG_GL_CALLS && !defined(NDEBUG) 466 #if DEBUG_GL_CALLS && !defined(NDEBUG)
467 #define GLC(context, x) \ 467 #define GLC(context, x) \
468 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) 468 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__))
469 #else 469 #else
470 #define GLC(context, x) (x) 470 #define GLC(context, x) (x)
471 #endif 471 #endif
472 472
473 } // namespace cc 473 } // namespace cc
474 474
475 #endif // CC_OUTPUT_GL_RENDERER_H_ 475 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698