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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: rebase Created 3 years, 10 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: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 1cca38374e0e7df4154823ddfad42aeafe43a8db..e2ba0094d7d0e5ac69b162fd1329269f8b6cf692 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1728,6 +1728,12 @@ void GL_APIENTRY GLES2SwapBuffersWithBoundsCHROMIUM(GLsizei count,
const GLint* rects) {
gles2::GetGLContext()->SwapBuffersWithBoundsCHROMIUM(count, rects);
}
+void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x,
+ GLint y,
+ GLint width,
+ GLint height) {
+ gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height);
+}
namespace gles2 {
@@ -3036,6 +3042,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM),
},
{
+ "glSetDrawRectangleCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM),
+ },
+ {
NULL, NULL,
},
};

Powered by Google App Engine
This is Rietveld 408576698