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

Side by Side Diff: gpu/blink/webgraphicscontext3d_impl.h

Issue 898263002: remove useless APIs in WGC3DImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add my email into AUTHORS file" Created 5 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 unified diff | Download patch
« no previous file with comments | « AUTHORS ('k') | gpu/blink/webgraphicscontext3d_impl.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 (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 #ifndef GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 5 #ifndef GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
6 #define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 6 #define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 virtual void vertexAttribPointer(WGC3Duint index, 364 virtual void vertexAttribPointer(WGC3Duint index,
365 WGC3Dint size, 365 WGC3Dint size,
366 WGC3Denum type, 366 WGC3Denum type,
367 WGC3Dboolean normalized, 367 WGC3Dboolean normalized,
368 WGC3Dsizei stride, 368 WGC3Dsizei stride,
369 WGC3Dintptr offset); 369 WGC3Dintptr offset);
370 370
371 virtual void viewport(WGC3Dint x, WGC3Dint y, 371 virtual void viewport(WGC3Dint x, WGC3Dint y,
372 WGC3Dsizei width, WGC3Dsizei height); 372 WGC3Dsizei width, WGC3Dsizei height);
373 373
374 // Support for buffer creation and deletion
375 virtual void genBuffers(WGC3Dsizei count, WebGLId* ids);
376 virtual void genFramebuffers(WGC3Dsizei count, WebGLId* ids);
377 virtual void genRenderbuffers(WGC3Dsizei count, WebGLId* ids);
378 virtual void genTextures(WGC3Dsizei count, WebGLId* ids);
379
380 virtual void deleteBuffers(WGC3Dsizei count, WebGLId* ids);
381 virtual void deleteFramebuffers(WGC3Dsizei count, WebGLId* ids);
382 virtual void deleteRenderbuffers(WGC3Dsizei count, WebGLId* ids);
383 virtual void deleteTextures(WGC3Dsizei count, WebGLId* ids);
384
385 virtual WebGLId createBuffer(); 374 virtual WebGLId createBuffer();
386 virtual WebGLId createFramebuffer(); 375 virtual WebGLId createFramebuffer();
387 virtual WebGLId createRenderbuffer(); 376 virtual WebGLId createRenderbuffer();
388 virtual WebGLId createTexture(); 377 virtual WebGLId createTexture();
389 378
390 virtual void deleteBuffer(WebGLId); 379 virtual void deleteBuffer(WebGLId);
391 virtual void deleteFramebuffer(WebGLId); 380 virtual void deleteFramebuffer(WebGLId);
392 virtual void deleteRenderbuffer(WebGLId); 381 virtual void deleteRenderbuffer(WebGLId);
393 virtual void deleteTexture(WebGLId); 382 virtual void deleteTexture(WebGLId);
394 383
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 std::vector<WGC3Denum> synthetic_errors_; 595 std::vector<WGC3Denum> synthetic_errors_;
607 596
608 ::gpu::gles2::GLES2Interface* gl_; 597 ::gpu::gles2::GLES2Interface* gl_;
609 bool lose_context_when_out_of_memory_; 598 bool lose_context_when_out_of_memory_;
610 uint32_t flush_id_; 599 uint32_t flush_id_;
611 }; 600 };
612 601
613 } // namespace gpu_blink 602 } // namespace gpu_blink
614 603
615 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 604 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698