1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17

gpu / command_buffer / common / gles2_cmd_copy_texture_chromium_utils.cc [blame]

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "gpu/command_buffer/common/gles2_cmd_copy_texture_chromium_utils.h"

#include "gpu/command_buffer/common/gles2_cmd_utils.h"

namespace gpu {
namespace gles2 {

bool CopyTextureCHROMIUMNeedsESSL3(uint32_t dest_format) {
  return gpu::gles2::GLES2Util::IsIntegerFormat(dest_format);
}

}  // namespace gles2
}  // namespace gpu