Commit 563327d4 authored by qiankun.miao's avatar qiankun.miao Committed by Commit bot

Unify texture and fbo creation for ES2 and ES3 in gl_tests

These are some reasons to do this:
1. Code can be shared between ES2 and ES3 tests.
2. We don't always create GL_TEXTURE_2D textures in test.
3. We may create textures many times in a single test. In such case,
  it's ugly to delete the textures created in Setup at the beginning of
  each test round.

BUG=612542
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2602933002
Cr-Commit-Position: refs/heads/master@{#441297}
parent 28a8f8e3
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment